From: Iva "Cabric" Cabric <ivac@gnjilux.srk.fer.hr>
To: netfilter@lists.netfilter.org
Subject: ULOG with -m state
Date: Fri, 22 Nov 2002 16:53:52 +0100 [thread overview]
Message-ID: <20021122155352.GA5665@gnjilux.srk.fer.hr> (raw)
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
next reply other threads:[~2002-11-22 15:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-22 15:53 Iva Cabric Cabric [this message]
2002-11-25 0:45 ` ULOG with -m state 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021122155352.GA5665@gnjilux.srk.fer.hr \
--to=ivac@gnjilux.srk.fer.hr \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox