Hi !
I am working on ethernet bridge device based on embedded linux and ADM5120
chip. I want basic firewall funcionality in my kernel, but i dont need
most of netfilter advanced features. Simply filtering based on source and
dst ip address, source and dst port number and protocol type is everything
what i need.
I've tested two configurations of kernel (i am using 2.6 kernel tree):
first - no netfilter enabled - my device was able to bridge 70 Mbit of
traffic.
second - netfilter compiled in, but no rules applied - traffic is only 20
Mbit

Adding some test rules has minor affect to traffic. Simply
existence of netfiler makes maximal possible traffic to be equal one third
of that when only routing exists in kernel.
Then I found ebtables. As much simplier than netfilter it should be also
much faster. But there is no way to use only ebtables. Netfilter must be
enabled in .config if you want use ebtables.
So i have two questions:
1. Is it possible to simplify netfilter somehow ? I need only very basic
filtering (no statefull inspection, only IP header based packet
filtering) ? I need it to be much faster and much simplier than it is
now. Maybe there is any 'light' version of netfiler ?
2. Is it possible to use only ebtables, without netfilter ?
--
z powazaniem "In every work of genius we recognize
Marcin Szczepaniak our own rejected thoughts."
-- Ralph Waldo Emerson