Date: Sun, 18 Mar 2018 09:08:54 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ipfw@FreeBSD.org Subject: [Bug 226688] [ipfw] rejects adding 255.255.255.255 to a table Message-ID: <bug-226688-7515-bwuLqwetWo@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-226688-7515@https.bugs.freebsd.org/bugzilla/> References: <bug-226688-7515@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=3D226688 Alexander V. Chernikov <melifaro@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |melifaro@FreeBSD.org --- Comment #6 from Alexander V. Chernikov <melifaro@FreeBSD.org> --- Interestingly, there seem to be an issue with the ipfw <> radix interaction. ipfw record add process for radix-backed table: input -> ta_prepare_add_radix() -> tei_to_sockaddr_ent() ta_add_radix -> rnh->rnh_addaddr() =3D=3D rn_addroute() dtrace: ## good one: 1 65028 tei_to_sockaddr_ent:return addr=3D255.255.255.251 mask=3D255.255.255.255 1 26742 rn_addroute:entry addr=3Dfffff8006fc26560 mask=3D0 rh=3Dfffff80005046d00 elem=3Dfffff8006fc26500 key: addr=3D255.255.255.251 len=3D8 family=3D2 1 26743 rn_addroute:return ret=3Dfffff8006fc26500 1 64859 ta_add_radix:return return=3D0 ## bad one: 1 65028 tei_to_sockaddr_ent:return addr=3D255.255.255.255 mask=3D255.255.255.255 1 26742 rn_addroute:entry addr=3Dfffff8006fc26be0 mask=3D0 rh=3Dfffff80005046d00 elem=3Dfffff8006fc26b80 key: addr=3D255.255.255.255 len=3D8 family=3D2 1 26743 rn_addroute:return ret=3D0 1 64859 ta_add_radix:return return=3D22 ## in general, radix seem to work with 255.255.255.255: ## route add -host 255.255.255.255 10.0.0.2 1 26742 rn_addroute:entry addr=3Dfffff80003b63ce0 mask=3D0 rh=3Dfffff80003b02800 elem=3Dfffff800320cdc30 key: addr=3D255.255.255.255 len=3D16 family=3D2 1 26743 rn_addroute:return ret=3Dfffff800320cdc30 --=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-226688-7515-bwuLqwetWo>