Date: Thu, 08 Jul 2021 16:22:07 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257057] icmp6 error messages not forwarding to traceroute6 Message-ID: <bug-257057-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257057 Bug ID: 257057 Summary: icmp6 error messages not forwarding to traceroute6 Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: jcaplan@blackberry.com Created attachment 226304 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D226304&action= =3Dedit proposed patch Overview -------- traceroute6 expects to receive ICMP6_TIME_EXCEEDED from the network stack, = but icmp6_rip6_input() does not let them through Steps to Reproduce ------------------ Setup with 3 targets DUT1 DUT2 DUT3 3001::1:11 -> 3001::1:12 -> 2001::1:12 -> 2001::1:13 DUT2 has forwarding enabled: net.inet6.ip6.forwarding: 1 -> 0 and on DUT1: traceroute6 -n -I 2001::1:13 Actual Results -------------- # traceroute6 -I dut3=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 raceroute6 to dut3 (2001::1:13) from 3001::1:11, 64 hops max, 20 byte packe= ts=20=20=20 1 * * *=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 2 dut3 0.000 ms 0.000 ms 1.000 ms=20=20=20 Expected Results ---------------- # traceroute6 -I dut3=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 traceroute6 to dut3 (2001::1:13) from 3001::1:11, 64 hops max, 20 byte pack= ets=20=20 1 dut2 0.000 ms 1.000 ms 1.000 ms=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 2 dut3 2.000 ms 1.000 ms 2.000 ms=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 Build Date & Hardware --------------------- FreeBSD freebsd 13.0-RELEASE FreeBSD 13.0-RELEASE #6 releng/13.0-n244733-ea31abc261f: Sat Jun 19 06:23:53 UTC 2021 Additional Information ---------------------- icmp6_rip6_input() should only check if the packet destination address is correct. attaching proposed patch. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257057-227>