Problem with iprange

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

 



Hi all,

i've got problem to use iprange with iptables...

iptables -V : iptables v1.3.1

When i try :

iptables -I INPUT -p tcp -m iprange --src-range 192.168.1.1-192.168.1.5 -j DROP

I've got this error:

iptables:  No chain/target/match by that name

but when it try :

iptables -I INPUT -p tcp -s 192.168.1.1

it works perfectly...

I've seen on the web that the iprange is built-in iptables... Moreover, when i try :

iptables -I INPUT -p tcp -m iprange -s 192.168.1.1-192.168.1.10 -j DROP

i've got this error message:

iptables v1.3.1: iprange match: You must specify '--src-range' or '--dst-range'
Try 'iptables -h' or 'iptables --help' for more information

but when i try iptables -h, there is no information about iprange...

Do you have any idea?? Is there a patch to apply in order to use iprange? Module to be load?

Thanks a lot for your help!

lm.





[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