The BGP-4 spec says that the marker must be "all ones", which means all bits
set to one, not bytes equal to 0x01 as is currently done in Dpkt. This bug
prevents generating BGP-4 packets correctly without specifying the correct
marker field manually.
Specifically, please modify class dpkt.bgp.BGP to change:
('marker', '16s', '\x01' * 16),
into:
('marker', '16s', '\xff' * 16),
Original issue reported on code.google.com by lengletr...@googlemail.com on 5 Aug 2010 at 2:44
Original issue reported on code.google.com by
lengletr...@googlemail.com
on 5 Aug 2010 at 2:44