* Problem using "string" support on iptables
@ 2006-09-06 18:50 Ing. Rogelio Sevilla Fernandez
2006-09-06 19:50 ` Ruben Cardenal
0 siblings, 1 reply; 2+ messages in thread
From: Ing. Rogelio Sevilla Fernandez @ 2006-09-06 18:50 UTC (permalink / raw)
To: netfilter
I want block a certain packets with some text on it.
Im using iptables 1.3.5 and i want do the follow:
iptables -I FORWARD -p tcp --dport 1863 -m string --string "someuser" -j DROP
And i get this error:
iptables v1.3.5: STRING match: You must specify `--algo'
Why i get that problem?
Thanks.
--
Ing. Rogelio C. Sevilla Fernández
Dirección de Desarrollo Telemático / Secretaria de Administración
Tel (312)3162062 / (312)3162000 ext 2360
Gobierno del Estado de Colima.
-----------------------------------------------------
"2006, AÑO DEL BICENTENARIO DEL NATALICIO DEL LIC.
BENITO JUAREZ BENEMERITO DE LAS AMERICAS"
-----------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Problem using "string" support on iptables
2006-09-06 18:50 Problem using "string" support on iptables Ing. Rogelio Sevilla Fernandez
@ 2006-09-06 19:50 ` Ruben Cardenal
0 siblings, 0 replies; 2+ messages in thread
From: Ruben Cardenal @ 2006-09-06 19:50 UTC (permalink / raw)
To: netfilter
Hi,
> iptables -I FORWARD -p tcp --dport 1863 -m string --string "someuser" -j
> DROP
>
> And i get this error:
>
> iptables v1.3.5: STRING match: You must specify `--algo'
>
> Why i get that problem?
1st of all, use the string module in the raw table. Then:
-m string --string "your string" --algo bm
Ruben
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-06 19:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-06 18:50 Problem using "string" support on iptables Ing. Rogelio Sevilla Fernandez
2006-09-06 19:50 ` Ruben Cardenal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox