All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about -m string module
@ 2005-02-04 15:23 Maxime Ducharme
  2005-02-04 15:58 ` Samuel Jean
  0 siblings, 1 reply; 4+ messages in thread
From: Maxime Ducharme @ 2005-02-04 15:23 UTC (permalink / raw)
  To: netfilter


Hello guys

I have a question about -m string module and
I think you iptables geeks can answer me :)

Suppose I want to drop TCP connections with
specific requests.

Example : a mail which contains the word "sperm",

I'd add a rule like

$IPTABLES -t filter -A FORWARD -p tcp --dport 25 -d OURMAILSERVER \
    -m string --string "sperm" -j DROP

What is the reaction in the TCP connection ?

The further packets of the same connection get dropped too ?
This would mean the email cannot be sent, and stay in the foreign
mail server queue for X days ?

Would it be the same if I use a REJECT rule ?

Also, can fragmented TCP packets get through this ?

Thanks in advance

Maxime Ducharme
Programmeur / Spécialiste en sécurité réseau




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-02-04 20:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-04 15:23 Question about -m string module Maxime Ducharme
2005-02-04 15:58 ` Samuel Jean
2005-02-04 16:27   ` Ramoni
2005-02-04 20:23     ` Maxime Ducharme

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.