Skip to contentSkip to conversation

U?LOG filters?

DISCUSSION Roy Sigurd Karlsbakk 1 participant 1 message Sep 23, 2002

lore
Share & tools
lore
#0 lore raw

hi all

I've been using iptables for a while now, logging connection attempts to illegal/closed ports. but. The logs fill up with old/broken http/whatever connections (SPT 80 DPT lots).

Today I have the rules
ACCEPT
ACCEPT
ACCEPT
etc.
DROP (don't log this)
LOG all -- anywhere anywhere LOG level \
warning prefix `Attack: '

can I set a --state here to only log the 'true' attacks?

roy

Signature · 6 lines
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.