freebsd-nq/usr.sbin/traceroute6
Zhenlei Huang 1d712c0537 traceroute6: Properly calculate UDP checksum
The revision D25604 capsicumize traceroute6. For UDP the send socket was
changed from SOCK_DGRAM to SOCK_RAW and thus the UDP checksum need be
calculated by application itself other than the kernel.

outpacket is filled with zeros by line 707, thus the first round the UDP
checksum is correct. But subsequent rounds outudp->uh_sum will be left
with garbage.

PR:		255507
Reviewed by:	ae, markj, tuexen
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D30042
2021-05-03 13:24:30 -04:00
..
Makefile Remove duplicated line. 2020-09-06 15:44:09 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
traceroute6.8 ping: fix some man pages and tests after r368045 2020-11-26 04:55:02 +00:00
traceroute6.c traceroute6: Properly calculate UDP checksum 2021-05-03 13:24:30 -04:00