Re: string is not working, any help?

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

 



--- Michael Kearey <mutk@xxxxxxxxxxxxxx> wrote:
> Esteban wrote:
> <snip>
> > root@xxxxxx:~# iptables -t mangle -A PREROUTING -p tcp -m --string
> > "pepee" -j DROP
> > iptables v1.2.7a: Couldn't load match
> > `--string':/lib/iptables/libipt_--string.so: 
> 
> The clue is above. You don't have 'so' called libipt_--string, it's 
> called libipt_string.so
> 
> >cannot open shared object
> > file: No such file or directory
> > 
> > Try `iptables -h' or 'iptables --help' for more information.
> > 
> > why is not working --string match??
> > im using pom version patch-o-matic-20030107 under 2.4.20 kernel.
> 
> The correct syntax is :
> 
> iptables -t mangle -A PREROUTING -p tcp -m string "pepee" -j DROP
> 
> Cheers,
> Michael
> 
> 
no offence Michael but I think you are wrong

it's -m string --string "string to match"

Cheers
John

=====
"Winky is not knowing how sir, winky is not knowing how?" -=Winky / Harry Potter and the Goblet of Fire=-"

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.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