Re[3]: how to negate a limit match?

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

 



On Sun, 2 Nov 2003, Peteris Krumins wrote:

> Sunday, November 2, 2003, 1:32:00 PM, you wrote:
> 
> RPJD> On Sun, 2 Nov 2003, Peteris Krumins wrote:
> 
> >>
> >> Limit cannot be negated...
> 
> RPJD> from the iptables man page:
> 
> RPJD> limit 
> 
> RPJD>   This module matches at a limited rate using a token bucket filter.  A
> RPJD> rule using this extension will match until this limit is reached (unless
> RPJD> the ! flag is used).  It can be used in combination with the LOG target to
> RPJD> give limited logging, for example.
> 
> Do you believe in everything said?

well, no.

> The syntax is:
>  cd /usr/src/linux/net/ipv4/netfilter
>  grep 'invert' ipt_limit.c
>  if [ $? -gt 0 ]; then
>    echo "'!' is not implemented in this match module"
>  fi
>  cd -

i'm sorry.  i don't believe you. :-)

rday



[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