google / packetdrill

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

Mac-OS Compatibility Problem When running run_all.py #72

Closed xzwDavid closed 1 year ago

xzwDavid commented 1 year ago

Hi, I run virtual machine on my macos, and I use ubuntu20.04 with 5.40 kernel version. However, something goes wrong with testfile.

Screen Shot 2023-02-28 at 22 59 56
nealcardwell commented 1 year ago

I think you need to simply change your script to use "wscale 8" rather than "wscale 7" for the wscale option in that SYNACK packet.

Please note that all other tests in the Linux packetdrill tests cases expect wscale 8 for outgoing SYNACK packets:

$ find . -name 'pkt' | xargs egrep '> S[.] ' | grep 'wscale 8' | wc -l 48 $ find . -name 'pkt' | xargs egrep '> S[.] ' | grep 'wscale 7' | wc -l 0

Thanks!

xzwDavid commented 1 year ago

I think you need to simply change your script to use "wscale 8" rather than "wscale 7" for the wscale option in that SYNACK packet.

Please note that all other tests in the Linux packetdrill tests cases expect wscale 8 for outgoing SYNACK packets:

$ find . -name 'pkt' | xargs egrep '> S[.] ' | grep 'wscale 8' | wc -l 48 $ find . -name 'pkt' | xargs egrep '> S[.] ' | grep 'wscale 7' | wc -l 0

Thanks!

Yeah, it works. Thanks for your advice. It makes my day. : )