kern/117234: [ipfw] [patch] ipfw send_pkt() and ipfw_tick()
don't seem to support IPV6
Joost Bekkers
joost at jodocus.org
Mon May 12 06:40:03 UTC 2008
The following reply was made to PR kern/117234; it has been noted by GNATS.
From: "Joost Bekkers" <joost at jodocus.org>
To: "Max Laier" <max at love2party.net>, bug-followup at FreeBSD.org
Cc: john.w.court at 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.
More information about the freebsd-ipfw
mailing list