Hello,

I have an issue where RYU pcaplib.Writer() isn’t writing full packets. 

Ive created a RYU PCAP Writer Object as described here. 
https://github.com/osrg/ryu/blob/master/ryu/lib/pcaplib.py 
<https://github.com/osrg/ryu/blob/master/ryu/lib/pcaplib.py>
        self.pcap_writer = pcaplib.Writer(open('mypcap.pcap', 'wb’))

However, when I tcpdump the resulting pcap, it shows that the packets are all 
truncated at 62 bytes. 
I’ve adjusted the snaplen=4294967295 and the issue is still the same. 

Any suggestions would be greatly appreciated. 

tcpdump -r mypcap.pcap …

23:05:39.948667 IP truncated-ip - 1 bytes missing! ubuntu.65277 > 
amazonaws.com.https: Flags [P.], seq 317:380, ack 253, win 4096, options 
[nop,nop,TS val 800045157 ecr 739067198], length 63
23:05:39.995833 IP truncated-ip - 1 bytes missing! amazonaws.com.https > 
ubuntu.65277: Flags [P.], seq 253:316, ack 380, win 1136, options [nop,nop,TS 
val 739069697 ecr 800045157], length 63





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to