To: [EMAIL PROTECTED]
Subject: Re: [Bridge] ebtables v 1.0 is out
References: <[EMAIL PROTECTED]>

I was making a new filtering bridge and had to patch a few things to get
everything working. I thought I'd post the results here.

First, to compile bridge-nf (from
http://bridge.sourceforge.net/devel/bridge-nf/20010907-2/) against
2.4.12 with everything as modules, you need this patch (with or without
Bart's additional ebtables patch):

diff -urN linux/net/bridge/Makefile linux-bridge-nf/net/bridge/Makefile
--- linux/net/bridge/Makefile   Fri Dec 29 17:07:24 2000
+++ linux-bridge-nf/net/bridge/Makefile Fri Oct 12 12:45:20 2001
@@ -8,6 +8,7 @@
 # Note 2! The CFLAGS definition is now in the main makefile...

 O_TARGET       := bridge.o
+export-objs    := br.o
 obj-y          := br.o br_device.o br_fdb.o br_forward.o br_if.o br_input.o \
                        br_ioctl.o br_notify.o br_stp.o br_stp_bpdu.o \
                        br_stp_if.o br_stp_timer.o

Otherwise the kernel compile bombs out. Is there some reason I shouldn't
be building these as modules?

I also fixed up the ebtables v1.0 distribution a little bit. The
following patch cleans up most of the compilation warnings with -Wall.
It also changes around some header includes. (Bart, do you see anything
wrong with that?) Ebtables won't compile on my debian box otherwise
because netdb.h and linux/in.h conflict.

In addition, I removed all references to brepf from the manpage and
elsewhere, and cleaned up the Makefile to include simple "clean" and
"install" targets.

-- 
Jason Lunz              Trellis Network Security
[EMAIL PROTECTED]        http://www.trellisinc.com/
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to