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!

Submitted by:  hanhui <hanhui03>
Submitted on:  Thu 06 Mar 2014 04:07:16 AM UTC  
 
Category: IPv6Severity: 3 - Normal
Item Group: Faulty BehaviourStatus: Invalid
Privacy: PublicAssigned to: Ivan Delamer <idelamer>
Open/Closed: ClosedPlanned 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>
Project MemberIn charge of this item.
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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 18 Mar 2015 06:10:07 PM UTCidelamerStatusNone=>Invalid
      Assigned toNone=>idelamer
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1