[quagga-dev 16665] [PATCH] Fix malformed AS_SEQUENCE segments for long as path

Eugene Bogomazov eb at qrator.net
Fri Oct 13 15:09:28 BST 2017


At the end of September we observed update from 262197 ASN with very large
prepend (563) of origin ASN.
It caused 2 problems. First of all, it wasn't properly counting AS_PATH
length in octets, thereby forcing
bgp neighbor speaker send NOTIFICATION and broke the session. Secondly, all
AS_SEQUENCE from second to
penultimate in AS_PATH were wrong due to forgetten offset.

First part of problem, that caused continious session flaps, was fixed with
latest Quagga release (1.2.2). However,
the encoded AS_PATH attribute is still malformed. So, we attach a patch to
fix this problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quagga.net/pipermail/quagga-dev/attachments/20171013/c93d167f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-malformed-AS_SEQUENCE-segments-for-long-as-path.patch
Type: application/octet-stream
Size: 950 bytes
Desc: not available
URL: <http://lists.quagga.net/pipermail/quagga-dev/attachments/20171013/c93d167f/attachment.obj>

More information about the Quagga-dev mailing list