All of lore.kernel.org
 help / color / mirror / Atom feed
* -m string  and RELATED
@ 2002-11-04 10:14 Arkadiusz Miskiewicz
  2002-11-04 10:42 ` Cedric Blancher
  2002-11-04 19:04 ` Antony Stone
  0 siblings, 2 replies; 4+ messages in thread
From: Arkadiusz Miskiewicz @ 2002-11-04 10:14 UTC (permalink / raw)
  To: netfilter


Hi,

I'm trying to log whole stream basing on string match.

iptables -A INPUT -m string --string "xyztest" -j LOG --log-prefix "xyztest: " -m state --state NEW,ESTABLISHED,RELATED 

[misiek@ikar misiek]$ telnet misie.k.pl 25
Trying 156.17.236.105...
Connected to misie.k.pl.
Escape character is '^]'.
220 misie.k.pl ESMTP Exim 4.10 Mon, 04 Nov 2002 11:11:18 +0100
xyztest
500 unrecognized command

- Nov  4 11:11:20 arm kernel: xyztest: IN=eth0 OUT= MAC=00:10:22:fe:5a:91:00:02:44:1f:f3:b4:08:00 SRC=156.17.235.253 DST=156.17.236.105 LEN=61 TOS=0x10 PREC=0x00 TTL=62 ID=53540 DF PROTO=TCP SPT=2637 DPT=25 WINDOW=5840 RES=0x00 ACK PSH URGP=0 
 (logged packet which contains xyztest packet)

tralala
500 unrecognized command

 - nothing logged

Why is this not working - there is ESTABILISHED,RELATED rule - any ideas?
(I have conntrack modules loaded).

-- 
Arkadiusz Mi¶kiewicz    CS at FoE, Wroclaw University of Technology
arekm@sse.pl   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux


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

end of thread, other threads:[~2002-11-04 19:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-04 10:14 -m string and RELATED Arkadiusz Miskiewicz
2002-11-04 10:42 ` Cedric Blancher
2002-11-04 12:25   ` Arkadiusz Miskiewicz
2002-11-04 19:04 ` Antony Stone

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.