[Toybox] [PATCH] ping: fix ICMP checksum error.

Longjun Luo luolongjuna at gmail.com
Tue Mar 24 09:42:12 PDT 2020


Since toybox uses unprivileged implementation in ping.c, it is not
necessary to calculate ICMP checksum. Even if using a random checksum, it
still works. And, I just find the result of toybox ICMP checksum is not
right, I wonder if it is a mistake. According to RFC1071, I fix some errors
and have tested it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200325/6fa404b7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ping-fix-ICMP-checksum-error.patch
Type: application/octet-stream
Size: 1336 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200325/6fa404b7/attachment.obj>


More information about the Toybox mailing list