Date: Mon, 12 May 2008 06:40:03 GMT From: "Joost Bekkers" <joost@jodocus.org> To: freebsd-ipfw@FreeBSD.org Subject: Re: kern/117234: [ipfw] [patch] ipfw send_pkt() and ipfw_tick() don't seem to support IPV6 Message-ID: <200805120640.m4C6e3Uu012661@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/117234; it has been noted by GNATS. From: "Joost Bekkers" <joost@jodocus.org> To: "Max Laier" <max@love2party.net>, bug-followup@FreeBSD.org Cc: john.w.court@nokia.com Subject: Re: kern/117234: [ipfw] [patch] ipfw send_pkt() and ipfw_tick() don't seem to support IPV6 Date: Mon, 12 May 2008 08:40:04 +0200 (CEST) Hello I've just tried the patch in this PR and found it not to work (yet). The keep-alive packets that are sent for IPv6 have their tcp port octets in the wrong order. Eg. if a dynamic rule exists for a connetion to port 4000 (0x0FA0), the keepalives are sent to 40975 (0xA00F) I haven't looked into where this difference between ipv4 and ipv6 originates, but forcing the byte-swap in send_pkt() makes everything work. I'd post the change I made, but I'm fairly sertain it's The Wrong Way (tm) to fix this. Greetings Joost.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805120640.m4C6e3Uu012661>