google / packetdrill

The official Google release of packetdrill
GNU General Public License v2.0
887 stars 220 forks source link

run script has tcp_psh issue. #46

Open mmxcraft opened 3 years ago

mmxcraft commented 3 years ago

When I run script in tcp/epoll/epoll_out_edge.pkt, it has an issue for tcp_psh? How can I resolve this?

my os version: Ubuntu 18.04.4 LTS 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

./packetdrill -v ../tcp/epoll/epoll_out_edge.pkt socket syscall: 1605520417.515781 setsockopt syscall: 1605520417.515832 bind syscall: 1605520417.515856 listen syscall: 1605520417.515866 inbound injected packet: 0.000125 S 0:0(0) win 32792 <mss 1000,sackOK,nop,nop,nop,wscale 7> outbound sniffed packet: 0.000213 S. 3303488705:3303488705(0) ack 1 win 29200 <mss 1460,nop,nop,sackOK,nop,wscale 8> inbound injected packet: 0.000355 . 1:1(0) ack 3303488706 win 257 accept syscall: 1605520417.516149 setsockopt syscall: 1605520417.516164 getsockopt syscall: 1605520417.516176 fcntl syscall: 1605520417.516188 epoll_create syscall: 1605520417.516199 epoll_ctl syscall: 1605520417.516224 epoll_wait syscall: 1605520417.516237 epoll_wait syscall: 1605520417.516246 write syscall: 1605520417.516316 epoll_wait syscall: 1605520417.516326 outbound sniffed packet: 0.000530 . 3303488706:3303493706(5000) ack 1 win 115 outbound sniffed packet: 0.000549 . 3303493706:3303498706(5000) ack 1 win 115 ../tcp/epoll/epoll_out_edge.pkt:38: error handling packet: live packet field tcp_psh: expected: 1 (0x1) vs actual: 0 (0x0) script packet: 0.000574 P. 1:10001(10000) ack 1 actual packet: 0.000549 . 1:10001(10000) ack 1 win 115