Re: LOG Rate Limit Problem

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

 



duplicate the rule that limits, first log and then drop with the same 
limitation (2/s). 
I use this setup to limit syns logging them and dropping them and it runs.

jumping to LOG doesnt ACCEPT de packet as i understand...


El Martes, 5 de Octubre de 2004 03:04, Lucky Leavell escribió:
> iptables v1.2.8
> OS: SuSE 9.1
>
> After reading several references here on rate limiting logging I tried the
> following short chain which was intended to log a packet subject to the
> rate limit and then drop it unconditionally:
>
> -A LogDrop  -m limit --limit 2/s -j LOG --log-prefix "ICMP:Drop "
> -A LogDrop -physdev --physdev-in eth0 -j DROP
> -A LogDrop -physdev --physdev-in eth1 -j DROP
>
> However, the first statement not only logged the packets subject to the
> rate limit but also acted as an implicit ACCEPT.  My understanding was
> that the logging should take place but then the packets should be dropped
> unconditionally by one of the following DROPs. When the LOG statement was
> commented out, the packets were dropped as desired.
>
> I have reread my documentation and still do not see where my mistake is.
> Could someone please enlighten my understanding>
>
> Thank you,
> Lucky Leavell

-- 
-------------------------------------------------
Clister UAH
-------------------------------------------------



[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