Re: -p protocol question

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

 



Le jeu 06/05/2004 à 15:16, wschroed@xxxxxxxxxxxxxxxx a écrit :
>  iptables -A INPUT -i eth0 -p 132 -s 192.168.0.1  -d 192.168.0.22 -j ACCEPT
>  iptables -A INPUT -i eth0 -p smp -s 192.168.0.1  -d 192.168.0.22 -j ACCEPT
> both work... I will clarify this point in my paper.

It works as long as you have the appropriate entry within /etc/protocols
file. And you have the same feature for services regarding /etc/services
file, and DNS stuff with /etc/hosts and resolver configuration.

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