Re: Difference between two policies

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

 



Le mar 11/02/2003 à 18:54, Emmanuel lesouef a écrit :
> I would like to know if you see a difference between these two script-parts :
> script 1 : 
> iptables -P INPUT ACCEPT
> [... some rules related to INPUT...]
> iptables -A INPUT DROP
> script 2 :
> iptables -P INPUT DROP
> [...the same rules related to INPUT...]

Produce the same effect. The second one is, imho, much more clean.

-- 
Cédric Blancher  <blancher@cartel-securite.fr>
Consultant en sécurité des systèmes et réseaux  - Cartel Sécurité
Tél: +33 (0)1 44 06 97 87 - Fax: +33 (0)1 44 06 97 99
PGP KeyID:157E98EE  FingerPrint:FA62226DA9E72FA8AECAA240008B480E157E98EE




[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