On Sat, Oct 24, 2015 at 06:15:48PM +0200, Sebastian Benoit wrote:
> Alexander Bluhm([email protected]) on 2015.10.24 17:21:27 +0200:
> > On Sat, Oct 24, 2015 at 04:02:59PM +0200, Martin Pieuchot wrote:
> > > ...at least better than OpenBSD's source code.
> > > 
> > > This diff gets rid of the horrible per-ifp autoconf'd-ndp only hoplimit.
> > > Alexander verified that this is not mandatory in the corresponding RFCs
> > > and what really matters is the per-PCB specified hop limit.
> > > 
> > > See how this simplifies a lot of rt_ifp usages?
> > > 
> > > Ok?
> > 
> > It is a SHOULD in RFC 4861 and we are OpenBSD and don't believe in
> > what those Cisco routers claim anyway.
> > 
> >    Router Advertisement messages also contain Internet parameters such
> >    as the hop limit that hosts should use in outgoing packets and,
> >    optionally, link parameters such as the link MTU.  This facilitates
> >    centralized administration of critical parameters that can be set on
> >    routers and automatically propagated to all attached hosts.
> > 
> >    If the received Cur Hop Limit value is non-zero, the host SHOULD set
> >    its CurHopLimit variable to the received value.
> > 
> > > + if (nd_ra->nd_ra_curhoplimit) {
> > > +         /*
> > > +          * Ignore it.  The router doesn't know the size of the
> > > +          * internet better than this source code.
> > > +          */
> > > + }
> > 
> > s/size/diameter/ to quote RFC 2461 correctly
> > 
> >     The value should be set to that current diameter of the Internet.
> 
> who measures that and tells me what to set there?

The universe^Winternet is a spheroid region, 705 meters in diameter.

> 
> ok on the diff.
> 

already ok'ed in private.

-- 
I'm not entirely sure you are real.

Reply via email to