arptables userspace tool
Hello,
I've hacked up the userspace iptables program and made arptables out of it. It wasn't very hard.
No support for matches (yet), since the kernel code doesn't support them (yet).
Bugreports are welcomed, it wasn't thoroughly tested.
A simple "make; make install; arptables -h" should do the trick.
I've put the tar.gz at the ebtables page, since I was too lazy to apply for a new project place for it:
http://sourceforge.net/projects/ebtables/
The CVS is there too:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ebtables/ebtables2/userspace/arptables/
Signature · 2 lines
cheers, Bart
Quoted 2 lines
No support for matches (yet), since the kernel code doesn't support them (yet).
Matches are not necessary for arp, heh.
cheers,
Bart
Quoted 4 lines · Bart De Schuymer
Hello,
I've hacked up the userspace iptables program and made arptables out of it. It wasn't very hard.
oh no. Please not yet another copy+past 'port' of anything inside netfilter/iptables. *sigh*. This is driving me mad...
Quoted 2 lines
cheers,
Bart
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie
Quoted 2 lines
oh no. Please not yet another copy+past 'port' of anything inside netfilter/iptables. *sigh*. This is driving me mad...
I see. Not that I want to drive you to complete mental insanity, but arptables happens to be a part of the 2.4 and 2.5 kernel (already 15 months) and didn't have a userspace tool to use it. Since the kernel arptables part is basically a copy/paste action performed upon iptables (done by David Miller), it surprises me that you'd think the accompanying userspace tool would not be.
I must admit your reply puzzles me, but there's enough war already so I'll just let it pass.
cheers,
Bart
Quoted 6 lines · Bart De Schuymer
Quoted 2 lines
oh no. Please not yet another copy+past 'port' of anything inside netfilter/iptables. *sigh*. This is driving me mad...
I see. Not that I want to drive you to complete mental insanity, but arptables happens to be a part of the 2.4 and 2.5 kernel (already 15 months) and didn't have a userspace tool to use it.
Yes, I am well aware of that fact.
Quoted 3 lines
Since the kernel arptables part is basically a copy/paste action performed upon iptables (done by David Miller), it surprises me that you'd think the accompanying userspace tool would not be.
In both cases I think exactly the same way. As well as with iptables/ip6tables/ebtables.
No, it's not your fault, it's ours. Why don't we provide something flexible enough to deal with all cases. In particular, it's my problem. Why don't I find all the time I want to work on pkttables.
Quoted 2 lines
I must admit your reply puzzles me, but there's enough war already so I'll just let it pass.
No, I don't want to start any war. I just wanted to express my very ambiguous feeling towards all of those 'ports'.
Quoted 2 lines
cheers,
Bart
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie