Open ortylp opened 9 years ago
Can you provide sample .pcap? There is no upstream for this project. It was forked, and it lives fully independently.
Unfortunately I cannot give you the live data. I would have to generate one. I'll try to write small python script, that sends such packets. The UDP datagrams are about 6KB large, so that you get them split into 5 ethernet frames.
Wireshark shows them like this:
where 0 < b < c < d < e What is to be observed here is that:
The behaviour of scapy is that these 10 packets would get split into two sessions: one would contain ethernet frames 5 and 10 (only those contain UDP headers), the other one 1,2,3,4,6,7,8,9
Warning: if you record with tcpdump and filter on UDP port number, you catch only frame 5 and 10, the rest gets omitted. This is actually a bug in tcpdump, with status WONTFIX because they want filters to be stateless... :(
Use case:
Expected result: all ethernet frames with IP headers get included into the correct of those 3 sessions.
Should this issue be handled here or in the python 2 upstream?