I'm trying to get a transparent bridge/firewall running on a little SBC* device I have and I can't get ebtables to work properly. I want ebtables to filter traffic based on MAC, but it only reports an error of "The kernel doesn't support the ebtables filter table." I don't understand why this is.
I'm running linux kernel 2.4.26 and I have downloaded the file called "ebtables-brnf-6_vs_2.4.26.diff" from sourceforge and patched the kernel source. Then config'd the kernel to include 802.1d and "bridge: ebtables" along with all the sub-options within ebtables, INCLUDING ebt: filter tables support. Then I built the kernel as make dep/make bzImage.
At that point I compiled the bridge utils and installed them
These two pieces work together great, my little embedded device bridges traffic awesome.
Then I download the ebtables source from sourceforge and compiled that (note: I'm cross compiling from an x86/glibc to and x86/uclibc for all my apps but not the kernel of course) ebtables compiles and installs one file into an sbin folder in my root-dir.
Now, I'm thinking that all those *.o files in ebtables-source/extensions have to go somewhere and be inserted into the kernel, but just not sure as to how. Also, when compiling ebtables would I need to point to my kernel includes, I have tried but it just errors cause the necessary files were not there.
P.S. dl'd doom3 demo today for my RH9 box, man is that ever cool!
* - SBC = Single Board Computer (WRAP,
www.pcengines.ch)