[Xorp-hackers] BGP native ASN32 peerings support
Bruce Simpson
bms at incunabulum.net
Fri Sep 4 07:15:59 PDT 2009
Hi all,
I took a brief look at BGP the other night whilst examining a bug report
about ASN32 support.
It seems XORP should do the right thing with tunneled 4-byte ASNs in AS
path attributes, however, it looks as though native ASN32 peerings will
not yet work (tested against OpenBGPD).
If anyone is looking for something to do, this would be an ideal
contribution which would be gratefully received.
The code probably just needs to be taught to look for AS_TRAN (23456) in
the BGP OPEN negotiation, and only perform the valid peer AS check after
the optional parameters have been parsed.
BGPPeer::check_open_packet() is the place to start. In
BGPPeer::event_openmess(), the call to open_negotiation() actually
parses the 4-byte ASN tuple.
thanks,
BMS
More information about the Xorp-hackers
mailing list