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

Submitter:  Bill Auerbach <billauerbach>
Submitted:  Thu 08 Apr 2010 05:08:39 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned 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>

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2010-04-09 kieranm StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code