All of lore.kernel.org
 help / color / mirror / Atom feed
* no log various hosts
@ 2003-10-09 11:19 Emilio Casbas
  0 siblings, 0 replies; only message in thread
From: Emilio Casbas @ 2003-10-09 11:19 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 872 bytes --]

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 #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3958 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-09 11:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-09 11:19 no log various hosts Emilio Casbas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.