Date: Thu, 01 Apr 2021 14:01:53 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 254623] traceroute6: ICMP6 no longer works due to Capsicum'ization: data too short (-1 bytes) from invalid Message-ID: <bug-254623-7501-nGWpR5pmPf@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-254623-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-254623-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254623 --- Comment #8 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db8ae450f05e62a851f444edaf7db2506f= f99aa37 commit b8ae450f05e62a851f444edaf7db2506ff99aa37 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2021-04-01 13:58:32 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2021-04-01 14:00:29 +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@gmail.com> Reviewed by: oshogbo MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D29523 usr.sbin/traceroute6/traceroute6.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254623-7501-nGWpR5pmPf>