Newansage v0.4.0 is out
Reference / Supported standards

Supported standards

The RFCs ansage implements, and what it deliberately leaves out.

BGP

RFCWhatIn ansage
4271BGP-4sessions, state machine, best path selection
4760Multiprotocol extensionsIPv4 and IPv6 unicast on one session
2545BGP for IPv6global and link-local next hops
5492Capabilities advertisement
67934-octet AS numbers
8654Extended messagesUPDATEs up to 65535 bytes
9072Extended optional parameters lengthdecoding OPENs that use it
2918Route refreshanswers a refresh with our routes; asks for one when an import policy changes
4724Graceful Restartgraceful_restart, ansage upgrade
8538Notification support for Graceful Restart (N bit)Hard Reset on stop
8326Graceful shutdownansage drain, drain_time
8212Default eBGP route propagation behaviorimport = "none" by default
9234Route leak prevention with rolesrole, strict_role: BGP Role capability, Only-To-Customer attribute, no provider or peer routes to providers or peers
7606Revised error handling for UPDATEstreat-as-withdraw, attribute discard
4486Cease subcodesmax prefixes, reconnect backoff
9003Shutdown communicationansage peer N disable --reason
6286AS-wide unique BGP identifier
6608Subcodes for BGP FSM errors
1997, 8092Communities, large communitiesshown in ansage show rib, matched and set by filters; NO_EXPORT and NO_ADVERTISE are honored

Transport and security

RFCWhatIn ansage
2385TCP-MD5password, password_file
5082GTSMttl_security

Not supported

  • Address families other than IPv4 and IPv6 unicast (no VPN, EVPN, flowspec, multicast).
  • Route reflection, route servers (role = "rs-client"), confederations.
  • Enhanced route refresh (RFC 7313), outbound route filtering (ORF, RFC 5291), ADD-PATH, BFD, TCP-AO.
  • With [kernel]: routes whose next hop is of the other family (RFC 8950) are not installed.

The protocol code is the ansage-bgp crate, see Crates.

Esc to close