Just one implementors choices on these...

> From: Grigory Kljuchnikov <[EMAIL PROTECTED]>

> 1. How to process packets that have incorrect version number?
> Should we discard it or send an ICMPv6 error message?

I don't care what the original Ethernet framing was. I only check the
version field from IP header, and process the packet accordingly. If
it was not 4 or 6, packet is silently dropped.

> 2. How to process packets that have incorrect payload length field?

If the packet is shorter than the length indicated by the length field
of the IP header, the packet is silently dropped. If actual length is
longer, the extra octets are silently ignored and packet is processed
normally.


> 3.  What to do when the total size of options does not match the size
> of the header (Hop-by-hop and Destination options headers)?
> Each TLV options contains it's data size. What implementations are
> supposed to do if the total length of options (calculated from their
> Option Data length fields) does not match the length of the header?

Packet is silently dropped (while processing options, when it bumps
against the end of the option header).


> 4.  Jumbo Payload options errors.

I don't do jumbo.

> 5.  What to do with malformed fragments sequences?
> There several possible exceptional situations not covered by
> RFC 2460 Section 4.5 such as:
> 5.1  Fragments overlap.

Hmm. currently just last received overlapped octets will end up the
final content of the packet. No error generated.

> 5.2  Suppose we have received a fragment with M flag set to 0
> ("rightmost" fragment).  Then an exception is a fragment with M flag
> set to 1 offset greater than the offset of the "rightmost" fragment.
> How implementations are supposed to handle these cases?

Another hmm.. I would need to check my source :-). But, depends on
when the fragment with M=0 arrives.

- If by that time, all the preceding fragments are available, the
  packet is declared as complete. The later arriving M=1 will start a
  new assembly (which will probably time out, if nothing else
  arrives).

- If at point of M=1, I still have the assembly and M=0 has been
  received. Need to check this, probably drop the new fragment.

-- 
Markku Savela <[EMAIL PROTECTED]>
--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page:                      http://playground.sun.com/ipng
FTP archive:                      ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to