buglwIP - A Lightweight TCP/IP stack - Bugs: bug #41785, raw_input() ipv6 protocol...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #41785: raw_input() ipv6 protocol misjudgment!

Submitter:  hanhui <hanhui03>
Submitted:  Thu 06 Mar 2014 04:07:16 AM UTC
   
 
Category:  IPv6 Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Invalid
Privacy:  Public Assigned to:  idelamer
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Wed 18 Mar 2015 06:10:07 PM UTC, comment #2: 

Yes, this is how it's done. Fragments are either eaten by reassembly or discarded.

Once reassembled, the packet contains a fragment header that specifies that the packet is in a single fragment now. raw input should skip this header, as it should skip any other IPv6 headers included, such as Hop-By-Hop header, Routing header, Destination options, etc.

Marking this as invalid.

Ivan Delamer <idelamer>
Group Member
Thu 06 Mar 2014 06:33:11 PM UTC, comment #1: 

I'm not sure, but wouldn't the correct thing to do be to pass fragmented packets to raw sockets after reassembling them?

Simon Goldschmidt <goldsimon>
Group administrator
Thu 06 Mar 2014 04:07:16 AM UTC, original submission:  


if input packet is a IPv6 fragment packet,

proto = IP6H_NEXTH(ip6hdr);

proto must be IP6_NEXTH_FRAGMENT

so if proto == IP6_NEXTH_FRAGMENT we must get fragment header to determine the real protocol!

Han.hui

hanhui <hanhui03>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by idelamer (Posted a comment)
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by hanhui03 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-18 idelamer StatusNone Invalid
        Assigned toNone idelamer
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code