From: Peter Bieringer <pb@bieringer.de>
To: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>,
yasuyuki.kozakai@toshiba.co.jp
Cc: netdev@oss.sgi.com, usagi-users@linux-ipv6.org,
laforge@gnumonks.org, kaber@trash.net,
netfilter-devel@lists.netfilter.org
Subject: Re: netfilter6: ICMPv6 type 143 doesn't match (130 also not)
Date: Sun, 02 Jan 2005 10:12:42 +0100 [thread overview]
Message-ID: <44BA844FEB4A052700F3C77E@worker.muc.bieringer.de> (raw)
In-Reply-To: <20041227.100205.102356251.yoshfuji@linux-ipv6.org>
Hi,
--On Monday, December 27, 2004 10:02:05 AM +0100 "YOSHIFUJI Hideaki /
=?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?=" <yoshfuji@linux-ipv6.org> wrote:
> In article <200412270417.iBR4HZRG021429@toshiba.co.jp> (at Mon, 27 Dec
> 2004 13:17:34 +0900 (JST)), Yasuyuki Kozakai
> <yasuyuki.kozakai@toshiba.co.jp> says:
>
>>
>> - ptr = IPV6_HDR_LEN;
>> + ptr = ((u8*)skb->nh.ipv6h - skb->data) + IPV6_HDR_LEN;
>>
>
> IMHO, skb->nh.ipv6h does not points ipv6 header anymore;
> it should be skb->nh.raw in this case.
>
> --yoshfuji
Can someone pls. provide me a patch for kernel version 2.6.9? If so, I
would run tests.
BTW: at the moment, I have an additional packet where no ICMPv6 rule
matches:
Jan 2 10:04:15 gate kernel: default-drop-extIN:IN=sit1 OUT=
MAC=53:2e:55:**:**:**->00:00:65:**:**:** TUNNEL=212.224.
0.188->217.228.***.*** SRC=fe80:0000:0000:0000:0000:0000:d4e0:00bc
DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=76 TC=0 HOPLIMIT=1
FLOWLBL=0 OPT ( ) PROTO=ICMPv6 TYPE=130 CODE=0
10:08:25.540037 fe80::d4e0:bc > ff02::1: HBH icmp6: multicast listener
query max resp delay: 2000 addr: :: [hlim 1]
0x0000: 6000 0000 0024 0001 fe80 0000 0000 0000 `....$..........
0x0010: 0000 0000 d4e0 00bc ff02 0000 0000 0000 ................
0x0020: 0000 0000 0000 0001 3a00 0502 0000 0100 ........:.......
0x0030: 8200 a03a 07d0 0000 0000 0000 0000 0000 ...:............
0x0040: 0000 0000 0000 0000 027d 0000 .........}..
# ip6tables -vnL INPUT --line-num
Chain INPUT (policy DROP 0 packets, 0 bytes)
num pkts bytes target prot opt in out source
destination
1 0 0 ACCEPT icmpv6 * * ::/0
fe80::/10 ipv6-icmp type 136 HL match HL == 255
2 0 0 ACCEPT icmpv6 * * ::/0
ff02::1:ff00:1/128 ipv6-icmp type 135 HL match HL == 255
3 0 0 ACCEPT icmpv6 * * ::/128
fe80::/10 ipv6-icmp type 135 HL match HL == 255
4 0 0 ACCEPT icmpv6 * * fe80::/10
::/0 ipv6-icmp type 135 HL match HL == 255
5 4 384 ACCEPT icmpv6 * * fe80::/10
ff02::1/128 ipv6-icmp type 134 HL match HL == 255
6 0 0 ACCEPT icmpv6 * * fe80::/10
fe80::/10 ipv6-icmp type 133 HL match HL == 255
7 0 0 ACCEPT icmpv6 * * fe80::/10
ff02::1/128 ipv6-icmp type 130 HL match HL == 1
8 0 0 ACCEPT icmpv6 * * ::/0
::/0 ipv6-icmp type 4
9 0 0 ACCEPT icmpv6 * * ::/0
::/0 ipv6-icmp type 3
10 0 0 ACCEPT icmpv6 * * ::/0
::/0 ipv6-icmp type 2
11 0 0 ACCEPT icmpv6 * * ::/0
::/0 ipv6-icmp type 1
Expected: match of rule 7
Peter
--
Dr. Peter Bieringer http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D mailto: pb at bieringer dot de
Deep Space 6 Co-Founder and Core Member http://www.deepspace6.net/
next prev parent reply other threads:[~2005-01-02 9:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-25 17:47 netfilter6: ICMPv6 type 143 doesn't match Peter Bieringer
2004-12-27 4:17 ` Yasuyuki Kozakai
2004-12-27 9:02 ` YOSHIFUJI Hideaki / 吉藤英明
2005-01-02 9:12 ` Peter Bieringer [this message]
2005-01-08 11:45 ` (usagi-users 03180) " Peter Bieringer
2005-01-09 17:41 ` (usagi-users 03187) " Peter Bieringer
2005-01-10 13:17 ` (usagi-users 03180) " Olaf Kirch
2005-01-11 19:56 ` (usagi-users 03190) " Peter Bieringer
2005-05-05 19:53 ` Patrick McHardy
2005-05-05 20:20 ` Patrick McHardy
2005-05-05 21:34 ` David S. Miller
2005-05-05 22:26 ` David Stevens
2005-05-05 22:32 ` Patrick McHardy
2005-05-05 22:31 ` David S. Miller
2005-05-05 22:50 ` Patrick McHardy
2005-05-06 13:22 ` Herbert Xu
2005-05-06 14:39 ` Patrick McHardy
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=44BA844FEB4A052700F3C77E@worker.muc.bieringer.de \
--to=pb@bieringer.de \
--cc=kaber@trash.net \
--cc=laforge@gnumonks.org \
--cc=netdev@oss.sgi.com \
--cc=netfilter-devel@lists.netfilter.org \
--cc=usagi-users@linux-ipv6.org \
--cc=yasuyuki.kozakai@toshiba.co.jp \
--cc=yoshfuji@linux-ipv6.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).