[Bug 291420] [epair] Bad UDP packet checksum with epair(4) and txcsum enabled

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291420

--- Comment #8 from Dmitry Lukhtionov <[email protected]> ---
On host machine
from first jail
```
root@DL360_Gen9_m19:/home/mitya # tcpdump -envv -i bge1 host 193.34.20.8 and
proto ICMP
tcpdump: listening on bge1, link-type EN10MB (Ethernet), snapshot length 262144
bytes
15:01:51.478254 02:ef:5d:1e:0d:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x0800),
length 98: (tos 0x0, ttl 64, id 26254, offset 0, flags [none], proto ICMP (1),
length 84)
    193.34.20.8 > 193.34.20.5: ICMP echo request, id 50894, seq 0, length 64
15:01:52.478934 02:ef:5d:1e:0d:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x0800),
length 98: (tos 0x0, ttl 64, id 26255, offset 0, flags [none], proto ICMP (1),
length 84)
    193.34.20.8 > 193.34.20.5: ICMP echo request, id 50894, seq 1, length 64
15:01:53.511342 02:ef:5d:1e:0d:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x0800),
length 98: (tos 0x0, ttl 64, id 1919, offset 0, flags [none], proto ICMP (1),
length 84)
    193.34.20.8 > 193.34.20.5: ICMP echo request, id 50894, seq 2, length 64
15:01:54.515891 02:ef:5d:1e:0d:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x0800),
length 98: (tos 0x0, ttl 64, id 51781, offset 0, flags [none], proto ICMP (1),
length 84)
    193.34.20.8 > 193.34.20.5: ICMP echo request, id 50894, seq 3, length 64
15:01:55.426640 02:ef:5d:1e:0d:0b > 88:28:fb:29:a4:6c, ethertype IPv4 (0x0800),
length 78: (tos 0x0, ttl 64, id 54890, offset 0, flags [none], proto ICMP (1),
length 64)
    193.34.20.8 > 87.120.191.127: ICMP 193.34.20.8 udp port 123 unreachable,
length 44
        (tos 0x0, ttl 249, id 54321, offset 0, flags [none], proto UDP (17),
length 36)
    87.120.191.127.36373 > 193.34.20.8.123: [no cksum] NTPv2, Reserved, length
8
        Leap indicator:  (0)
^C
5 packets captured
7462 packets received by filter
0 packets dropped by kernel
```
from second jail
```
root@DL360_Gen9_m19:/home/mitya # tcpdump -envv -i bge1 host 193.34.20.5 and
proto ICMP
tcpdump: listening on bge1, link-type EN10MB (Ethernet), snapshot length 262144
bytes
15:02:54.598806 02:15:ec:28:01:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x0800),
length 98: (tos 0x0, ttl 64, id 55087, offset 0, flags [none], proto ICMP (1),
length 84)
    193.34.20.6 > 193.34.20.5: ICMP echo request, id 60110, seq 0, length 64
15:02:55.604780 02:15:ec:28:01:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x0800),
length 98: (tos 0x0, ttl 64, id 11515, offset 0, flags [none], proto ICMP (1),
length 84)
    193.34.20.6 > 193.34.20.5: ICMP echo request, id 60110, seq 1, length 64
15:02:56.607245 02:15:ec:28:01:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x0800),
length 98: (tos 0x0, ttl 64, id 11516, offset 0, flags [none], proto ICMP (1),
length 84)
    193.34.20.6 > 193.34.20.5: ICMP echo request, id 60110, seq 2, length 64
15:02:57.610034 02:15:ec:28:01:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x0800),
length 98: (tos 0x0, ttl 64, id 11517, offset 0, flags [none], proto ICMP (1),
length 84)
    193.34.20.6 > 193.34.20.5: ICMP echo request, id 60110, seq 3, length 64
15:02:58.613346 02:15:ec:28:01:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x0800),
length 98: (tos 0x0, ttl 64, id 11518, offset 0, flags [none], proto ICMP (1),
length 84)
    193.34.20.6 > 193.34.20.5: ICMP echo request, id 60110, seq 4, length 64
15:02:59.613541 02:15:ec:28:01:0b > c4:34:6b:b8:e4:39, ethertype IPv4 (0x0800),
length 98: (tos 0x0, ttl 64, id 22118, offset 0, flags [none], proto ICMP (1),
length 84)
    193.34.20.6 > 193.34.20.5: ICMP echo request, id 60110, seq 5, length 64
^C
6 packets captured
6957 packets received by filter
0 packets dropped by kernel
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.