View Single Post

  #3 (permalink)  
Old 07-04-2003
Ken
 
Posts: n/a
Default Re: iptables: are DROP and LOG order sensitive

Hi Tony -

On Thu, 03 Jul 2003 15:46:27 -0700, Anthony Ewell <aewell@gbis.com>
wrote:

>iptables -A dsl-in -j DROP
>iptables -A dsl-in -j LOG --log-level debug --log-prefix "yada ... "


Yes. DROP terminates, LOG continues. So in this order no logging
will occur. You must LOG *before* you DROP (or ACCEPT).

Ken
http://www.ke9nr.net/
Reply With Quote