no log various hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying add a iptables rules and not to log various hosts of the form:

$IPTABLES -A INPUT -p tcp --src ! 127.0.0.1/32 -m limit --limit 100/minute -j LOG --log-level debug
$IPTABLES -A INPUT -p tcp --src ! myred/24 -m limit --limit 100/minute -j LOG --log-level debug


and I see with iptables -vnL this

134 121K LOG tcp -- * * !127.0.0.1/32 0.0.0.0/0 limit: avg 100/min burst 5 LOG flags 0 level 7
87 7268 LOG tcp -- * * !myred/24 0.0.0.0/0 limit: avg 100/min burst 5 LOG flags 0 level 7


but it continue logging 127.0.0.0 and all myred,

however, if i have only a rule:

$IPTABLES -A INPUT -p tcp --src ! myred/24 -m limit --limit 100/minute -j LOG --log-level debug

works fine!,

How I can to put two o more hosts in a rule for not log ?


Thanks.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux