[Bug 254623] traceroute6: ICMP6 no longer works due to Capsicum'ization: data too short (-1 bytes) from invalid
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 5 13:52:48 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254623
--- Comment #9 from commit-hook at FreeBSD.org ---
A commit in branch stable/13 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=d3f2c31b43b726ffbb180a42cee4b9f00c5ad5ed
commit d3f2c31b43b726ffbb180a42cee4b9f00c5ad5ed
Author: Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-04-01 13:58:32 +0000
Commit: Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-04-05 13:51:56 +0000
traceroute6: Fix Capsicum rights for rcvsock
- Always use distinct sockets for send and recv
- Limit rights on the recv socket
For ICMP6 we were using the same socket for both send and receive, and
we limited rights on the socket such that it's impossible to receive
anything.
PR: 254623
Diagnosed by: Zhenlei Huang <zlei.huang at gmail.com>
Reviewed by: oshogbo
Differential Revision: https://reviews.freebsd.org/D29523
(cherry picked from commit b8ae450f05e62a851f444edaf7db2506ff99aa37)
usr.sbin/traceroute6/traceroute6.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-net
mailing list