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, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message