Adding a rule with invalid interface name

Phil Oester kernel at linuxace.com
Thu Sep 16 17:42:15 CEST 2004


On Thu, Sep 16, 2004 at 06:04:24PM +0530, Swapnil Nagle wrote:
> 
> iptables lets me add a rule with invalid interface name :
> 
> # iptables -A FORWARD -i abc -o xyz -j ACCEPT

How is iptables supposed to know that you won't at some point down
the line bring up an interface called 'abc' or 'xyz'?  

Nothing invalid about iptables allowing you to add this rule...

Phil



More information about the netfilter-devel mailing list