atom feed23 messages in org.freebsd.freebsd-stableRe: FreeBSD eats 169.254.x.x addresse...
FromSent OnAttachments
Stephen ClarkJun 8, 2010 10:45 am 
Jeremy ChadwickJun 8, 2010 11:04 am 
Guy HelmerJun 8, 2010 11:20 am 
Stephen ClarkJun 8, 2010 11:25 am 
Stephen ClarkJun 8, 2010 11:30 am 
Garrett CooperJun 8, 2010 11:35 am 
Torfinn IngolfsenJun 8, 2010 11:35 am 
Matthew SeamanJun 8, 2010 11:38 am 
Garrett CooperJun 8, 2010 11:40 am 
Guy HelmerJun 8, 2010 11:40 am 
Jeremy ChadwickJun 8, 2010 11:44 am 
Stephen ClarkJun 8, 2010 11:45 am 
Peter C. LaiJun 8, 2010 11:48 am 
Jeremy ChadwickJun 8, 2010 11:56 am 
Stephen ClarkJun 8, 2010 12:00 pm 
Stephen ClarkJun 9, 2010 4:58 am 
Jeremy ChadwickJun 9, 2010 5:16 am 
Reko TurjaJun 9, 2010 5:28 am 
Stephen ClarkJun 9, 2010 6:25 am 
jhellJun 9, 2010 6:54 am 
sth...@nethelp.noJun 9, 2010 9:18 am 
sth...@nethelp.noJun 9, 2010 12:39 pm 
Bruce SimpsonJun 12, 2010 7:12 pm 
Subject:Re: FreeBSD eats 169.254.x.x addressed packets
From:Bruce Simpson (bm@incunabulum.net)
Date:Jun 12, 2010 7:12:07 pm
List:org.freebsd.freebsd-stable

Guy Helmer wrote:

My previous understanding was that RFC 3927 did not allow transmitting datagrams
involving the 169.254.0.0/16 link-local prefix; now that I've looked over the
RFC more closely, I'm not sure that is the case.

I have cc'ed Bruce Simpson on this message in hopes that he can shed some light
on this. I believe he committed the change that disallowed transmitting from
169.254.0.0/16 addresses.

RFC 3927 is pretty clear that 169.254.0.0/16 traffic is not to be forwarded beyond the link.

I do not understand why the OP is losing traffic, unless he's relying on pre-RFC 3927 behaviour in his network topology.

The IN_LINKLOCAL() check happens after ip_input() walks the address hash looking for exact address matches. So if an interface has a link-local address, the packet should get delivered upstack as usual.

When I made this change, link-local addressing couldn't be fully implemented in FreeBSD, due to the lack of support for address scopes in the FreeBSD IPv4 code.

Hopefully new people can pick up on it as they wish.

thanks BMS