Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-30-2006, 01:46 PM   #1
LQ Newbie
Registered: Jul 2006
Distribution: SlackWare/RHEL
Posts: 19

Rep: Reputation: 0
iptables string match

hello, i have a little problem with this when i try to a string
iptables@filter # iptables -A INPUT -j DROP -m string --algo --string 'test'
Bad argument `test'
Try `iptables -h' or 'iptables --help' for more information.
I had tryed without the --algo and i got this error
iptables@filter # iptables -A INPUT -j DROP -m string --string 'test'
iptables v1.3.5: STRING match: You must specify `--algo'
Try `iptables -h' or 'iptables --help' for more information.
any ideea what`s wrong ?
Old 08-30-2006, 01:54 PM   #2
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
you dont seem to have specified an algo
--algo xxx --string
Old 08-30-2006, 02:37 PM   #3
LQ Newbie
Registered: Jul 2006
Distribution: SlackWare/RHEL
Posts: 19

Original Poster
Rep: Reputation: 0
nevermind i downgrade to an older version of iptables

Last edited by htb; 08-30-2006 at 02:55 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IPTABLES with UNCLEAN match ALInux Linux - Networking 0 08-11-2006 11:22 AM
I need Policy Match Support for iptables cccc Debian 2 03-18-2006 02:19 PM
Regular expression to match a valid URL string vharishankar Programming 13 07-21-2005 09:17 PM
iptables string match kahpeetan Linux - Security 3 11-09-2003 06:36 PM
how to grep only one string pr match gummimann Linux - General 3 11-06-2003 09:40 AM

All times are GMT -5. The time now is 08:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration