Lightweight BGP route server with TCP session management, route table, community-based filtering, management HTTP API, and SQLite peer store. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
11 lines
313 B
C#
11 lines
313 B
C#
using BGPLite.Configuration;
|
|
|
|
namespace BGPLite.Routing;
|
|
|
|
public sealed class AllowAllFilter : IRouteFilter
|
|
{
|
|
public static AllowAllFilter Instance { get; } = new();
|
|
|
|
public bool AcceptIncoming(Route route, PeerConfig peer) => true;
|
|
public bool AcceptOutgoing(Route route, PeerConfig peer) => true;
|
|
}
|