Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run script has tcp_psh issue. #46

Open
mmxcraft opened this issue Nov 16, 2020 · 0 comments
Open

run script has tcp_psh issue. #46

mmxcraft opened this issue Nov 16, 2020 · 0 comments

Comments

@mmxcraft
Copy link

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

dcaratti pushed a commit to dcaratti/packetdrill that referenced this issue Mar 15, 2021
fix support for outbound echoed ADD_ADDR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant