Linux Netfilter discussions
 help / color / mirror / Atom feed
* ULOG with -m state
@ 2002-11-22 15:53 Iva Cabric Cabric
  2002-11-25  0:45 ` Joel Newkirk
  0 siblings, 1 reply; 9+ messages in thread
From: Iva Cabric Cabric @ 2002-11-22 15:53 UTC (permalink / raw)
  To: netfilter

Hello,
I have found a bug in iptables when "-j ULOG" and "-m state" are
used together, for example:

$ iptables -A ssh -j ULOG -p tcp -m state --state NEW

reports:

iptables v1.2.6a: You must specify `--state'
Try `iptables -h' or 'iptables --help' for more information.

but using DROP works fine:

$ iptables -A ssh -j DROP -p tcp -m state --state NEW
(no error)

$ iptables -L ssh
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             xxx.xxx.xxx.xxx    state ESTABLISHED
DROP       tcp  --  anywhere             anywhere           state NEW 
(first rule is not important...)

Kernel is 2.4.19, iptables are v1.2.6a and system is Debian based
(iptables are from .deb packet, and kernel is manually bulit from
kernel-source-2.4.19).

I haven't found anything about that in changelog for v1.2.7a, but
maybe it has been already fixed. Anyone else with same problem?

p.s.

It could also be Debian specific problem, in that case I'll send
bug report to them, but I would like to check with you first.

TIA



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

end of thread, other threads:[~2002-11-26 21:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-22 15:53 ULOG with -m state Iva Cabric Cabric
2002-11-25  0:45 ` Joel Newkirk
2002-11-25  8:16   ` Iva Cabric Cabric
2002-11-26 10:54   ` Iva Cabric Cabric
2002-11-26 13:53     ` Joel Newkirk
2002-11-26 14:03       ` Iva Cabric Cabric
2002-11-26 19:49         ` Still an IPTABLES newbie Bob Avery-Babel
2002-11-26 21:18           ` Dan Egli
2002-11-26 11:34   ` ULOG with -m state Iva Cabric Cabric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox