buglwIP - A Lightweight TCP/IP stack - Bugs: bug #29478, AutoIP can assign nonconformant IP...

 
 

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

bug #29478: AutoIP can assign nonconformant IP addresses

Submitted by:  Bill Auerbach <billauerbach>
Submitted on:  Thu 08 Apr 2010 05:08:39 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

Thu 08 Apr 2010 06:33:53 PM UTC, comment #3:

No, I missed it by just seeing the macro and not looking enough into it. It's the problem with multitasking and not being focused on it. Thanks for correcting me!

Simon: please delete this bug listing.

Bill Auerbach <billauerbach>
Thu 08 Apr 2010 06:18:23 PM UTC, comment #2:

Maybe I'm missing something, but it looks like those ranges are already being handled in lwip/src/core/ipv4/autoip.c:

/* 169.254.0.0 */
#define AUTOIP_NET 0xA9FE0000
/* 169.254.1.0 */
#define AUTOIP_RANGE_START (AUTOIP_NET | 0x0100)
/* 169.254.254.255 */
#define AUTOIP_RANGE_END (AUTOIP_NET | 0xFEFF)

Jeff Barber <jeffbabar>
Thu 08 Apr 2010 05:14:25 PM UTC, comment #1:

I also see the range 169.254.255.0 to 169.254.255.255 is bad also.

Bill Auerbach <billauerbach>
Thu 08 Apr 2010 05:08:39 PM UTC, original submission:

This bug report possibly could be more of an RFC clarification than an actual bug.

AutoIP can assign 169.254.0.0 to 169.254.0.255. Throughout RFC 3927 it does mention "169.254/16" to indicate all 65536 addresses in the 169.254 subnet, but notice that section 2.1 states:

"When a host wishes to configure an IPv4 Link-Local address, it selects an address using a pseudo-random number generator with a uniform distribution in the range from 169.254.1.0 to 169.254.254.255 inclusive."

This implies that 169.254.0.0 to 169.254.0.255 are not valid link local addresses.

Thoughts?

Bill Auerbach <billauerbach>

 

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 kieranm (Updated the item)
  • -unavailable- added by jeffbabar (Posted a comment)
  • -unavailable- added by billauerbach (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 09 Apr 2010 08:08:01 AM UTCkieranmStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1