This rule doesn't work!...
Hi
I have seen recently that I had many attempt connection from source address 127.0.0.1, source port 80.
I had theses rules in my list:
iptables -A INPUT -i ppp0 -s "127.0.0.0/8" -m limit --limit 30/m -j LOG --log-prefix "iptable NO_ROUTABLE_ADDR "
iptables -A INPUT -i ppp0 -s "127.0.0.0/8" -j DROP
I haven't any log in syslog just for this rule otherwise everything goes well. I don't understand why theses rules doesn't work.
Best regards
Bruno
Quoted 5 lines · On Tue, 11 Nov 2003 19:45:00 +0100 caruso bruno <[email protected]> wrote:
Hi
I have seen recently that I had many attempt connection from source address 127.0.0.1, source port 80.
Quoted 7 lines
I had theses rules in my list:
iptables -A INPUT -i ppp0 -s "127.0.0.0/8" -m limit --limit 30/m -j LOG --log-prefix "iptableNO_ROUTABLE_ADDR"
iptables -A INPUT -i ppp0 -s "127.0.0.0/8" -j DROPI haven't any log in syslog just for this rule otherwise everything goes well. I don't understand why theses rules doesn't work.
I'd guess that ppp0 isn't the interace dealing with 127.0.0.1 but it is the interface with your connection to the internet? The device for 127.0.0.1 is called loopback-device, you might try with -i lo, but I'm not sure what to use here exactly.
Quoted 5 lines
Best regards
Bruno
Regards,
Milan
Signature · 1 line
Missing signature...
I guess my question would be why are you using rate limiting on a spoofed source IP address? Why not take them all out. I would set that rule up first and get it working. Then if you wanted to play around with limiting (for what ever reason), then do that. The LIMIT target can sometimes be difficult to get it to do what you want it to do, or think it should do.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of caruso bruno
Sent: Tuesday, November 11, 2003 10:45 AM
To: [email protected]
Subject: This rule doesn't work!...
Hi
I have seen recently that I had many attempt connection from source address 127.0.0.1, source port 80.
I had theses rules in my list:
iptables -A INPUT -i ppp0 -s "127.0.0.0/8" -m limit --limit 30/m -j LOG --log-prefix "iptable NO_ROUTABLE_ADDR "
iptables -A INPUT -i ppp0 -s "127.0.0.0/8" -j DROP
I haven't any log in syslog just for this rule otherwise everything goes well.
I don't understand why theses rules doesn't work.
Best regards
Bruno