Iptables and Interface Names...
Joshua Snyder
Joshua Snyder <josh@imagestream.com>
Thu, 3 Jan 2002 13:57:18 -0500 (EST)
I recently upgraded from 2.2.14 with ipchains to 2.4.14 and iptables
1.2.4. I have been getting the following error messages when I specify an
interface.
iptables -A firewall -i Serial0.1 -p tcp --dport 53 -j DROP
Warning: wierd character in interface `Serial0.1' (No aliases, :, ! or *).
I know that iptables doesn't work with aliases but this isn't an alias.
This interface is a Frame Relay hardware sub-interface (it's a pvc).
Linux treats this as a normal interface, not an alias.
ip addr shows the following... (ip address's changed...)
27: Serial0.1: <BROADCAST,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 50
link/dlci
inet 205.169.253.241/32 brd 205.169.253.241 scope global Serial0.1
Even though it produces an error message it still works. Should I
concerned? Also the period in the Interface name isn't listed as a "wierd
character" according to the error message, so should it even be
complaining?
josh