]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Disallow AS Sets by default
authorIgor Putovny <igor.putovny@nic.cz>
Mon, 2 Jun 2025 11:44:42 +0000 (13:44 +0200)
committerMaria Matejka <mq@ucw.cz>
Thu, 12 Jun 2025 09:08:54 +0000 (11:08 +0200)
commita8a429ca825e120f7760f92e1aacb07d30b1e495
tree7ba299b1c57754b2fd3d1794bd4de94dbb18be6e
parent8fbc8ad708d52ccd2e8d24df3f4c2c0406ef8f44
BGP: Disallow AS Sets by default

For a long time, AS Sets have been considered obsolete
but they were still valid by the original RFC. Recently,
RFC 9774 flipped this and AS Sets are now formally deprecated.

Therefore, all BGP sessions will now by default reject routes
containing AS Sets in their AS Paths. If you want to keep the
old behavior, you may simply state

    allow as set;

in every BGP protocol configuration where you want to accept AS Sets.

This closes #248.
proto/bgp/config.Y