Difference between two policies

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

 



Hello all,

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...]

Thank you in advance.

-- 
Emmanuel Lesouef
Association CaLviX
Caen - 14000 (France)
elesouef@nerim.net

Attachment: pgp00320.pgp
Description: PGP signature


[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