List Info

Thread: Re: kern/117234: ipfw send_pkt() and ipfw_tick() don't seem to support IPV6




Re: kern/117234: ipfw send_pkt() and ipfw_tick() don't seem to support IPV6
country flaguser name
United States
2008-05-12 01:40:03
The following reply was made to PR kern/117234; it has been
noted by GNATS.

From: "Joost Bekkers" <joostjodocus.org>
To: "Max Laier" <maxlove2party.net>,
bug-followupFreeBSD.org
Cc: john.w.courtnokia.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.
 
_______________________________________________
freebsd-ipfwfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw

To unsubscribe, send any mail to
"freebsd-ipfw-unsubscribefreebsd.org"

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )