Re: Don't understand these errors with logdrop target

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

 



Le mer 25/08/2004 à 10:36, Steve Comfort a écrit :
>         echo 2
>         $IPTABLES -P INPUT LOGDROP
[...]
> 2
> iptables: Bad policy name
> The question is : Why does using LOGDROP as a policy cause these errors?

Because only builtin targets can be used as policy, meaning ACCEPT and
DROP. If you want to use your LOGDROP as "policy", then you'll have to
keep it as last chain rule...


-- 
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
>> Hi! I'm your friendly neighbourhood signature virus.
>> Copy me to your signature file and help me spread!



[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