Re: ipfw divert with layer2 (if_bridge) packets

2006-05-16 Thread Carlos E Gaspar
Hi. You're right, net.link.bridge.ipfw must be set to 1 to enable layer2 filtering. Anyway, divert still doesn't work. Thanks! Carlos Andrew Thompson wrote: On Tue, May 09, 2006 at 05:45:02PM -0300, Carlos E Gaspar wrote: Hi. I have the following setup: FreeBSD abc5.5-PRERELEASE FreeBS

Re: ipfw divert with layer2 (if_bridge) packets

2006-05-10 Thread Özkan KIRIK
hi, i have a question about these similar problems with bridging. i use if_bridge on a FreeBSD 6.1 Box. ipfw doesn't support fwd rules via bridge. So that i had to use pf for transparent proxying. but pf doesnt work like fwd. pf makes nat (rdr) on packets, so that proxy software can't find the o

Re: ipfw divert with layer2 (if_bridge) packets

2006-05-09 Thread Luigi Rizzo
On Wed, May 10, 2006 at 10:07:10AM +0400, Andrey V. Elsukov wrote: > Julian Elischer wrote: > > I have changes that make it work in 4.x but they will not apply to 5.x > > or later.. > > Luigi also has some changes that allow it.. > > I can try porting an older patches which allow this. > Is there

Re: ipfw divert with layer2 (if_bridge) packets

2006-05-09 Thread Andrey V. Elsukov
Julian Elischer wrote: I have changes that make it work in 4.x but they will not apply to 5.x or later.. Luigi also has some changes that allow it.. I can try porting an older patches which allow this. Is there a chance for including this feature into base system? -- WBR, Andrey V. Elsukov _

Re: ipfw divert with layer2 (if_bridge) packets

2006-05-09 Thread Andrew Thompson
On Tue, May 09, 2006 at 05:45:02PM -0300, Carlos E Gaspar wrote: > Hi. > > I have the following setup: > > FreeBSD abc5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #0: Wed Apr 26 14:58:22 > BRT 2006 [EMAIL PROTECTED]:/usr/src/sys/alpha/compile/ABC alpha > > bridge0: flags=8043 mtu 1500 >eth

Re: ipfw divert with layer2 (if_bridge) packets

2006-05-09 Thread Julian Elischer
Carlos E Gaspar wrote: Hi. I have the following setup: FreeBSD abc5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #0: Wed Apr 26 14:58:22 BRT 2006 [EMAIL PROTECTED]:/usr/src/sys/alpha/compile/ABC alpha bridge0: flags=8043 mtu 1500 ether xx:xx:xx:xx:xx:xx priority 32768 hellotime 2 f

ipfw divert with layer2 (if_bridge) packets

2006-05-09 Thread Carlos E Gaspar
Hi. I have the following setup: FreeBSD abc5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #0: Wed Apr 26 14:58:22 BRT 2006 [EMAIL PROTECTED]:/usr/src/sys/alpha/compile/ABC alpha bridge0: flags=8043 mtu 1500 ether xx:xx:xx:xx:xx:xx priority 32768 hellotime 2 fwddelay 15 maxage 20