| To: | Harald Welte <laforge@xxxxxxxxxxxx> |
|---|---|
| Subject: | Re: IPv6 fragmentation and IPv6 header parsing |
| From: | Brad Chapman <kakadu@xxxxxxxxxxxxx> |
| Date: | Tue, 31 Jul 2001 20:27:20 -0400 |
| Cc: | netfilter-devel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| References: | <3B64B076.6090709@earthlink.net> <20010729212317.I1486@obroa-skai.gnumonks.org> <3B65914B.3070403@earthlink.net> <20010731031710.J1486@obroa-skai.gnumonks.org> |
| Sender: | owner-netdev@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux 2.4.7 i586; en-US; C-UPD: MaxLinux0301) Gecko/20001107 Netscape6/6.0 |
Mr. Harald, Harald Welte wrote: On Mon, Jul 30, 2001 at 12:54:35PM -0400, Brad Chapman wrote: Well, okay. I was under the impression that if you configured your low-level hardware to a decent PMTU size and somebody was doing fragmenting, that it was broken and didn't deserve to be tracked. What do you mean by "discouraged" ?
That could be a major problem. How much of a delay would be reasonable? Something like (time to pass through conntrack) + (time to skb_clone() packet) ?
Ahhh. That makes sense. So you just grab the fragment header, and look for the final fragment bit. Thus, the code path would be: - fragmented packet arrives at ip6_conntrack_in() - ip6_conntrack_in() scans frag header, looking for `final fragment' bit - not there: send it onward there: stop forwarding - ip6_conntrack_in() calls ip6_ct_gather_frags(), who calls ip6_reassembly() - we send the defragmented packet through conntrack - NF_ACCEPT: send the final fragment onward NF_DROP: drop the final fragment Is this correct? If not, then please point me in the correct direction ;-)
Well, that's another thing entirely, and would have to wait until 2.5 is mandated. OT1: does anybody know if Linus thinks it's time to open a 2.5 tree?
I agree. Anything like what we've just discussed would have to wait until you (or someone on the list) figured out a good way to select packets for trackage. OT2: any ideas? I can think of one already, but Henrik Nordstrom told me it would add some overhead.
Please have a look. Kis-Szabo Andras helped me out a lot on this, but I would also like to ask someone who lives, breathes, and eats IPv6 ;-)
Maybe I should subscribe as well..... ;-) Anyway, AOTB is great discussion for now, but I have started to play with the code and have found some more bugs in either ip6_conntrack, the ethertap setup, or the testsuite packet generators. Plus, the ip6t_state module is giving me fits about `unrecognized arguments' >:-( I'll have to compile with -D0 and pore over the logs for a while...... Brad |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: airport reset on iBook2, Benjamin Herrenschmidt |
|---|---|
| Next by Date: | Re: conflicting alignment requirements, Ralf Baechle |
| Previous by Thread: | Re: IPv6 fragmentation and IPv6 header parsing, Brad Chapman |
| Next by Thread: | final words on udp/ICMP dest unreach issue [+PATCH], clemens |
| Indexes: | [Date] [Thread] [Top] [All Lists] |