]> git.ipfire.org Git - thirdparty/bird.git/commit - proto/bgp/attrs.c
BGP: Add option to enforce first AS in AS_PATH
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 10 Nov 2019 01:06:07 +0000 (02:06 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 10 Nov 2019 01:06:07 +0000 (02:06 +0100)
commit0b228fca04c8a9a81af6a4973877ceba9aede3f0
treeae5a7e9a1c8d4c6adc86db1d543a2befbcfa3a63
parentbecda5638a8ff8b056ec04b5e156e86b168cb9ef
BGP: Add option to enforce first AS in AS_PATH

This is optional check described in RFC 4271. Although this can be also
done by filters, it is widely implemented option in BGP implementations.

Thanks to Eugene Bogomazov for the original patch.
doc/bird.sgml
proto/bgp/attrs.c
proto/bgp/bgp.c
proto/bgp/bgp.h
proto/bgp/config.Y