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
Because bgp runs on top of tcp - there could be a single bgp update encapsulated into multiple tcp packets.
See for example packets 17 and 18 in the attached pcap. So we need tcp_reassemble() to decode the update.
Brief description
Because bgp runs on top of tcp - there could be a single bgp update encapsulated into multiple tcp packets.
See for example packets 17 and 18 in the attached pcap. So we need tcp_reassemble() to decode the update.
capture.pcap.zip
Scapy version
the latest git version on 3/16/2025 sha a4f958b
Python version
3.13.2
Operating system
24.3.0 Darwin Kernel Version 24.3.0
Additional environment information
No response
How to reproduce
The attached script does not find bgp update in packet 17 and 18 of the attached packet capture.
test_scapy.py.zip
Actual result
script finds bgp update only in packet 21
Expected result
bgp update should be found in packet 17/18
in some older version of scapy - the update was found ... but scapy could not parse full update.
Related resources
It should be relatively easy to implement. See
https://datatracker.ietf.org/doc/html/rfc4271#section-4.1
The text was updated successfully, but these errors were encountered: