Arptables
Posted in Linux SysAdmin on January 31st, 2007 by Johan Huysmans – Be the first to commentEverybody know iptables. But do you know arptables?
From the man pages of iptables and arptables:
Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel.
Arptables is used to set up, maintain, and inspect the tables of ARP packet filter rules in the Linux kernel.
The only difference between these 2 tools is that iptables will filter IP packets and arptables will filter ARP packets. The usage is very simple, if you can work with iptables you can work with arptables, and vice-versa. All commands (Append, Insert, List, …) can be used for both iptables and arptables. The arguments are, off course, different but are very similar in usage.
The package containing arptables is called arptables_jf. I guess the jf stands for Jay Fenlason, which is the name of the writer of arptables.