iptables -L lags on non localhost or anywhere address

Posted by DazSlayer on Super User See other posts from Super User or by DazSlayer
Published on 2012-10-08T01:08:53Z Indexed on 2012/10/08 3:39 UTC
Read the original article Hit count: 272

Filed under:
|

I am trying to configure iptables for ubuntu 10.04 and I have a problem with iptables -L lagging on rows where the destination or source address is not localhost or anywhere. The following entries will cause lag on their row:

iptables -A INPUT -p tcp --dport 111 -s 192.168.1.14 -j ACCEPT
iptables -A INPUT -p tcp --dport 90 -d 192.168.1.14 -j ACCEPT

while this does not:

iptables -A INPUT -p tcp --dport localhost -s 192.168.1.14 -j ACCEPT
iptables -A INPUT -p tcp --dport localhost -d 192.168.1.14 -j ACCEPT

I feel like this might be due to iptables checking to see if the ip is reachable. If not, what is the cause, if it is how can I disable it?

© Super User or respective owner

iptables -L lags on non localhost or anywhere address

Posted by DazSlayer on Ask Ubuntu See other posts from Ask Ubuntu or by DazSlayer
Published on 2012-10-08T01:09:42Z Indexed on 2012/10/08 3:48 UTC
Read the original article Hit count: 272

Filed under:
|

I am trying to configure iptables for ubuntu 10.04 and I have a problem with iptables -L lagging on rows where the destination or source address is not localhost or anywhere. The following entries will cause lag on their row:

iptables -A INPUT -p tcp --dport 111 -s 192.168.1.14 -j ACCEPT
iptables -A INPUT -p tcp --dport 90 -d 192.168.1.14 -j ACCEPT

while this does not:

iptables -A INPUT -p tcp --dport localhost -s 192.168.1.14 -j ACCEPT
iptables -A INPUT -p tcp --dport localhost -d 192.168.1.14 -j ACCEPT

I feel like this might be due to iptables checking to see if the ip is reachable. If not, what is the cause, if it is how can I disable it?

© Ask Ubuntu or respective owner

Related posts about ubuntu-10.04

Related posts about iptables