Ask Your Question

Revision history [back]

IPv4 18 Bogus IPv4 version (13, must be 4)

Sending the following packet using code

od -t x1 tx.bin 0000000 b4 96 91 ad 8b d0 b4 96 91 ad 8b d0 08 00 de ad 0000020 be ef

tshark -i ens2f0 Capturing on 'ens2f0' 1 0.000000000 b4:96:91:ad:8b:d0 ?? b4:96:91:ad:8b:d0 IPv4 18 Bogus IPv4 version (13, must be 4)

Linux: Ubuntu 20.04.4 LTS Kernel: 5.15.0-50-generic

The port is externally looped back. It works with scapy as shown below: [sudo scapy] >>> sendp("Test", iface="ens2f0")

tshark -i ens2f0 Capturing on 'ens2f0' 1 0.000000000 00:00:00:00:00:00 ?? 54:65:73:74:00:00 0x0000 60 Ethernet II 2 0.000143244 00:00:00:00:00:00 ?? 54:65:73:74:00:00 0x0000 60 Ethernet II

Appreciate pointers to resolve the error.

click to hide/show revision 2
None

IPv4 18 Bogus IPv4 version (13, must be 4)

Sending the following packet using code

od -t x1 tx.bin
0000000 b4 96 91 ad 8b d0 b4 96 91 ad 8b d0 08 00 de ad
0000020 be ef

ef

tshark -i ens2f0
Capturing on 'ens2f0'
    1 0.000000000 b4:96:91:ad:8b:d0 ?? b4:96:91:ad:8b:d0 IPv4 **IPv4 18 Bogus IPv4 version (13, must be 4)

4)**

Linux: Ubuntu 20.04.4 LTS Kernel: 5.15.0-50-generic

The port is externally looped back. It works with scapy as shown below: [sudo scapy] >>> sendp("Test", iface="ens2f0")

tshark -i ens2f0
Capturing on 'ens2f0'
    1 0.000000000 00:00:00:00:00:00 ?? 54:65:73:74:00:00 0x0000 60 Ethernet II
    2 0.000143244 00:00:00:00:00:00 ?? 54:65:73:74:00:00 0x0000 60 Ethernet II

II

Appreciate pointers to resolve the error.