Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2001 12:10:02 +0200
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Daniel Rock <D.Rock@t-online.de>
Cc:        current@FreeBSD.ORG, Luigi Rizzo <luigi@FreeBSD.ORG>
Subject:   Re: Bug in libalias (firewall manipulating)
Message-ID:  <20011126121002.A61002@sunbay.com>
In-Reply-To: <3C01B9A3.CFE7157@t-online.de>
References:  <3C01B9A3.CFE7157@t-online.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 26, 2001 at 04:40:19AM +0100, Daniel Rock wrote:
> Hi,
> 
> just noticed:
> 
> adding dynamic rules to ipfw via PKT_ALIAS_PUNCH_FW (or the command
> "nat punch_fw" in ppp) doesn't work:
> For adding firewall rules, IP_FW_ADD requires getsockopt() instead of
> setsockopt().
> 
> This should also be reflected in the manual page.
> 
> Below is my fix and a quick test suggest it is indeed working now.
> 
Fixed in 5.0-CURRENT, sys/netinet/raw_ip.c,v 1.88.
Fixed in 4.4-STABLE, sys/netinet/raw_ip.c,v 1.64.2.10.

Thanks for the report!


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011126121002.A61002>