Re: rtadvd bug ?

2018-06-19 Thread Bastien Durel
Le 17/06/2018 à 22:57, Sebastian Benoit a écrit : you have to do check if (rtm->rtm_flags & RTF_CONNECTED) The priority of a connected route depends on the interface priority, see ifconfig(8) on the priority option and wifi and carp interfaces have a different default prio than other

Re: rtadvd bug ?

2018-06-18 Thread Florian Obser
Be careful not to break dhcpv6-pd. I suspect the problem is actually in make_prefix() in config.c which unconditionally sets onlink and autoconf. I stared at this for some time but can't figure out how to fix this. RFC 4861 has this which I don't think rtadvd is implementing correctly:

Re: rtadvd bug ?

2018-06-17 Thread Sebastian Benoit
Hi, Denis Fondras(open...@ledeuns.net) on 2018.06.17 21:45:37 +0200: > On Mon, Jun 11, 2018 at 10:13:36AM +0200, Bastien Durel wrote: > > Because it's lower than RTP_CONNECTED and I don't know what it is. The > > /* local address routes (must be the highest) */ comment makes me think > > it MAY

Re: rtadvd bug ?

2018-06-17 Thread Denis Fondras
On Mon, Jun 11, 2018 at 10:13:36AM +0200, Bastien Durel wrote: > Because it's lower than RTP_CONNECTED and I don't know what it is. The > /* local address routes (must be the highest) */ comment makes me think > it MAY be 127.0.0.0/8 or ::1/128 (useless for rtadvd then), but it may > be related to

Re: rtadvd bug ?

2018-06-11 Thread Bastien Durel
Le samedi 09 juin 2018 à 19:23 +0200, Denis Fondras a écrit : > On Thu, Jun 07, 2018 at 04:02:34PM +0200, Bastien Durel wrote: > > shouldn't it check the rtm_priority to be RTP_LOCAL or > > RTP_CONNECTED ?? > > it make no sense to start advertising prefix on an interface if the > > prefix is over

Re: rtadvd bug ?

2018-06-09 Thread Denis Fondras
On Thu, Jun 07, 2018 at 04:02:34PM +0200, Bastien Durel wrote: > shouldn't it check the rtm_priority to be RTP_LOCAL or RTP_CONNECTED ?? > it make no sense to start advertising prefix on an interface if the > prefix is over a gateway. > Why RTP_LOCAL ?

Re: rtadvd bug ?

2018-06-07 Thread Bastien Durel
Le mercredi 06 juin 2018 à 17:11 +0200, Bastien Durel a écrit : > Le mercredi 06 juin 2018 à 13:55 +0200, Bastien Durel a écrit : > > Hello, > > > > I run rtadvd on a router, which also run ospfd (on 6.3). > > [...] > > if an ospf neighbour start advertising a new network (in my case > >

Re: rtadvd bug ?

2018-06-06 Thread Bastien Durel
Le mercredi 06 juin 2018 à 13:55 +0200, Bastien Durel a écrit : > Hello, > > I run rtadvd on a router, which also run ospfd (on 6.3). > > rtadvd runs with static config (noifprefix): > fremen# cat /etc/rtadvd.conf > em0:\ > :rdnss="2a01:e35:8aea:ac42::10":\ >

rtadvd bug ?

2018-06-06 Thread Bastien Durel
Hello, I run rtadvd on a router, which also run ospfd (on 6.3). rtadvd runs with static config (noifprefix): fremen# cat /etc/rtadvd.conf em0:\ :rdnss="2a01:e35:8aea:ac42::10":\ :dnssl="geekwu.org":\ :addr0="2001:41d0:fe4b:ec21::":\

rtadvd bug ?

2018-06-06 Thread Bastien Durel
Hello, I run rtadvd on a router, which also run ospfd (on 6.3). rtadvd runs with static config (noifprefix): fremen# cat /etc/rtadvd.conf em0:\ :rdnss="2a01:e35:8aea:ac42::10":\ :dnssl="geekwu.org":\ :addr0="2001:41d0:fe4b:ec21::":\