From: Bernd Kohler <kohler@umic.rwth-aachen.de>
To: netfilter-devel@vger.kernel.org
Subject: filter IP protocol with ip6tables
Date: Wed, 30 May 2012 17:33:06 +0200 [thread overview]
Message-ID: <4FC63DB2.8000503@umic.rwth-aachen.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 920 bytes --]
Hi,
I tried to filter IP packets with ip6tables (next hdr field)
But as you can see in output [1] the kernel maps "0" to all and not to
ip as listed in /etc/protocols.
With default policy DROP this might not that big problem in dual stack
mode, but in case I want to check if IPv6 with IPv4 encapsulated
arrives, I have no chance to LOG
Am I running in the wrong direction (an the kernel drops these packets
silently or forwards them to ipv4 netfilter hooks) or is this an
implementation error that might need to be fixed?
Thanks for your great iptables/ip6tables support
best
Bernd
[1]
http://pastebin.com/jC4rwpG4
--
UMIC - RWTH Aachen
http://www.umic.rwth-aachen.de
Mies-van-der-Rohe Str. 15
52074 Aachen
Tel.: +49 241 80 20791
Fax: +49 241 80 22731
E-Mail: kohler@umic.rwth-aachen.de
RIP Dennis Ritchie (*09.09.1941 †09.10.2011)
Thx 4 UNIX and all the ><(((('>
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4513 bytes --]
next reply other threads:[~2012-05-30 16:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-30 15:33 Bernd Kohler [this message]
2012-05-30 16:42 ` filter IP protocol with ip6tables Jan Engelhardt
-- strict thread matches above, loose matches on Subject: below --
2012-05-30 16:59 Hans Schillstrom
2012-05-31 9:19 ` Bernd Kohler
2012-05-31 10:05 ` Bernd Kohler
2012-05-31 10:17 ` Jan Engelhardt
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=4FC63DB2.8000503@umic.rwth-aachen.de \
--to=kohler@umic.rwth-aachen.de \
--cc=netfilter-devel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).