bin/104921: [patch] ipfw(8) sometimes treats ipv6 input as ipv4 (another variation on PR 91245)

Ryan Steinmetz zi at FreeBSD.org
Sat Sep 24 13:10:03 UTC 2011


The following reply was made to PR bin/104921; it has been noted by GNATS.

From: Ryan Steinmetz <zi at FreeBSD.org>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: bin/104921: [patch] ipfw(8) sometimes treats ipv6 input as ipv4
 (another variation on PR 91245)
Date: Sat, 24 Sep 2011 08:42:20 -0400

 I can confirm this issue also exists on 8.2 as of today.  It appears as
 if ipfw is incorrectly assuming that an IPv6 address is an invalid IPv4
 address with a mask.
 
 For example:
 2001:1:2:3::4,2001:1:2:3::5 is treated as an IPv4 address of 2001 with a
 mask of 1:2:3::4 (as if it were specified as 1.2.3.4:255.255.255.0).
 
 Specifying the IPv6 address without the comma results in a successful
 rule being created.
 
 -- 
 Ryan Steinmetz
 PGP: EF36 D45A 5CA9 28B1 A550  18CD A43C D111 7AD7 FAF2


More information about the freebsd-ipfw mailing list