How to filter this packet?

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

 



Hello, all.

I can filter some protocol packet like below.

iptables -A INPUT -p x 

But how can I filtre like (proto 0) below?
proto 0 means protocol 0 ?

I can find protocol 0 information at  
http://www.iana.org/assignments/protocol-numbers


 11.34.254.146 -> xx.xx.xx.xx [proto 0]
  ........WinSock 2.0.....LG@.
B..Y..|............#...............                   
                

 24.57.19.22 -> xx.xx.xx.xx [proto 0]
  ........WinSock
2.0.....LG@.....Y..|............#...............      
                             


# iptables -A INPUT -p 0 -j DROP 

When I execute like above, protocol 0 means all
protocol.

# iptables -L INPUT -n
target     prot opt source               destination
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0



Thanks for your time.... 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[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