From: "Rob Sterenborg" <rsterenborg@xs4all.nl>
To: netfilter@lists.netfilter.org
Subject: RE: simply confusing
Date: Thu, 23 Jan 2003 22:41:49 +0100 [thread overview]
Message-ID: <003b01c2c328$3c65fc20$0401000a@robbysan.org> (raw)
In-Reply-To: <20030123204057.27229.qmail@web11405.mail.yahoo.com>
> Well, I added a logging rule before that:
>
> iptables -A INPUT --source 10.11.0.0/16 \
> -j LOG --log-level info --log-prefix "iptables "
>
> But when ever something gets through, it isn't being
> logged either... If I do "iptables -L -v", then I see
> that both rules (first the LOG, then the DROP) have
> the same packet count.
>
> I can try using "-I" instead, but I'd also like to
> log, so how would I do that? Am I missing something fundamental?
iptables -N log_drop
iptables -A log_drop -j LOG --log-level info --log-prefix "ipt:log_drop
"
iptables -A log_drop -j DROP
iptables -I INPUT 1 -s 10.11.0.0/16 -j log_drop
What about this ?
Rob
next prev parent reply other threads:[~2003-01-23 21:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-23 20:03 simply confusing Ralph Churchill
2003-01-23 20:18 ` Michael P. Soulier
2003-01-23 20:24 ` Maciej Soltysiak
2003-01-23 20:40 ` Ralph Churchill
2003-01-23 21:41 ` Rob Sterenborg [this message]
2003-01-23 20:31 ` Aldo S. Lagana
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='003b01c2c328$3c65fc20$0401000a@robbysan.org' \
--to=rsterenborg@xs4all.nl \
--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 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.