Ping: checks payloads incorrectly, ignores all mismatch replies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iputils (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Focal |
Fix Released
|
Low
|
Unassigned |
Bug Description
= Impact =
the ping statistics are incorrect when dealing with truncated packets
= Test case =
$ ping -c 1 -s 1200 8.8.8.8
should list truncated replies and received packets
= Regression potential =
the changes are limited to the ping source any regression would impact that utility, check that responses are correctly handled and statistics reflecting what is expected
-------
Problematic commit reverted upstream causing incorrect behavior in Ubuntu Focal.
Discussion: https:/
Fix: https:/
Release: https:/
Could this patch be added for a Focal update please?
1) Ubuntu 20.04.3 LTS
2) 3:20190709-3
3)
focal$ ping -c 1 -s 1200 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 1200(1228) bytes of data.
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
4)
xenial$ ping -c 1 -s 1200 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 1200(1228) bytes of data.
76 bytes from 8.8.8.8: icmp_seq=1 ttl=61 (truncated)
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.284/0.
Changed in iputils (Ubuntu Focal): | |
status: | Incomplete → Opinion |
status: | Opinion → Incomplete |
The issue is fixed in the version available in the current Ubuntu serie