ipfw fwd on FreeBSD 8.1, does it work?

2011-07-05 Thread Unga
Hi all Following ipfw rule develop error indicated: ipfw add 100 fwd 127.0.0.1,1234 tcp from any to any 1234 out via wlan0 Error: ipfw: getsockopt(IP_FW_ADD): Invalid argument What I want to do is forward any packet going out of the computer to port 1234 forward back to 127.0.0.1:1234. There

Re: bin/117214: ipfw(8) fwd with IPv6 treats input as IPv4

2011-07-05 Thread emaste
Synopsis: ipfw(8) fwd with IPv6 treats input as IPv4 Responsible-Changed-From-To: freebsd-ipfw-bz Responsible-Changed-By: emaste Responsible-Changed-When: Tue Jul 5 13:57:09 UTC 2011 Responsible-Changed-Why: Sandvine has a patch to implement ipv6 fwd that bz@'s going to clean up and get into the

Re: ipfw fwd on FreeBSD 8.1, does it work?

2011-07-05 Thread Fabian Wenk
Hello Unga On 05.07.2011 12:47, Unga wrote: Following ipfw rule develop error indicated: ipfw add 100 fwd 127.0.0.1,1234 tcp from any to any 1234 out via wlan0 Error: ipfw: getsockopt(IP_FW_ADD): Invalid argument Does your kernel have 'options IPFIREWALL_FORWARD' (if this is needed for

Re: ipfw fwd on FreeBSD 8.1, does it work?

2011-07-05 Thread Unga
--- On Tue, 7/5/11, Fabian Wenk fab...@wenks.ch wrote: From: Fabian Wenk fab...@wenks.ch Subject: Re: ipfw fwd on FreeBSD 8.1, does it work? To: freebsd-ipfw@freebsd.org Date: Tuesday, July 5, 2011, 10:00 PM Hello Unga On 05.07.2011 12:47, Unga wrote: Following ipfw rule develop

Re: ipfw fwd on FreeBSD 8.1, does it work?

2011-07-05 Thread Unga
--- On Wed, 7/6/11, Andrey V. Elsukov bu7c...@yandex.ru wrote: From: Andrey V. Elsukov bu7c...@yandex.ru Subject: Re: ipfw fwd on FreeBSD 8.1, does it work? To: Unga unga...@yahoo.com Cc: freebsd-ipfw@freebsd.org, Fabian Wenk fab...@wenks.ch Date: Wednesday, July 6, 2011, 1:51 AM On

Re: ipfw fwd on FreeBSD 8.1, does it work?

2011-07-05 Thread Andrey V. Elsukov
On 05.07.2011 22:46, Fabian Wenk wrote: ipfw(8) man page for 'fwd' shows to add only the IPFIREWALL_FORWARD. I guess the manpage implies that 'options IPFIREWALL' is already there, or the module is loaded, can be done with: kldload ipfw So you do not need to rebuild the kernel. fwd

Re: ipfw fwd on FreeBSD 8.1, does it work?

2011-07-05 Thread Fabian Wenk
Hello Andrey On 05.07.2011 21:04, Andrey V. Elsukov wrote: fwd does not work when ipfw loaded as module. Ups, did not know this exactly, thanks for clarify. But it really makes sense that both options are in the kernel. After sending out my mail, it somehow crossed my mind that this

Re: kern/157239: [ipfw] [dummynet] ipfw + dummynet corrupts ipv6 packets

2011-07-05 Thread ae
Synopsis: [ipfw] [dummynet] ipfw + dummynet corrupts ipv6 packets State-Changed-From-To: patched-closed State-Changed-By: ae State-Changed-When: Wed Jul 6 05:49:09 UTC 2011 State-Changed-Why: Merged to stable/8. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=157239

Re: kern/157239: commit references a PR

2011-07-05 Thread dfilter service
The following reply was made to PR kern/157239; it has been noted by GNATS. From: dfil...@freebsd.org (dfilter service) To: bug-follo...@freebsd.org Cc: Subject: Re: kern/157239: commit references a PR Date: Wed, 6 Jul 2011 05:43:13 + (UTC) Author: ae Date: Wed Jul 6 05:42:52 2011 New