You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parsing these bytes should result in a prefix with length 13 (first byte - 0x0d), where the start address is the first 13 bits of the following two bytes - 0x0b0d, as stated in https://tools.ietf.org/html/rfc4271#section-4.3:
The Prefix field contains an IP address prefix, followed by
the minimum number of trailing bits needed to make the end
of the field fall on an octet boundary. Note that the value
of trailing bits is irrelevant.
So, ignoring the trailing bits, the prefix should be 11.8.0.0/13.
However, bgpdump outputs this:
so it appears bgpdump uses full two bytes as the start address, and does not ignore trailing bits.
Furthermore, there is still one byte left in the message, which is not enough to represent a prefix, but bgpdump does not provide any indication of that.
The text was updated successfully, but these errors were encountered:
When parsing an MRT with this base64 representation (which appears in http://data.ris.ripe.net/rrc00/2010.11/updates.20101107.2220.gz with index 5118):
these bytes appear after the path attribute:
and should represent NLRI prefixes.
Parsing these bytes should result in a prefix with length 13 (first byte - 0x0d), where the start address is the first 13 bits of the following two bytes - 0x0b0d, as stated in https://tools.ietf.org/html/rfc4271#section-4.3:
So, ignoring the trailing bits, the prefix should be 11.8.0.0/13.
However, bgpdump outputs this:
so it appears bgpdump uses full two bytes as the start address, and does not ignore trailing bits.
Furthermore, there is still one byte left in the message, which is not enough to represent a prefix, but bgpdump does not provide any indication of that.
The text was updated successfully, but these errors were encountered: