Mailing List Archive

quagga 1.1 seems to have completely broken ospf6
I posted on FreeBSD-net last night how quagga 1.1 doesn't appear to be
picking up ipv6 routes correctly. It attributes them to the wrong
interface. This may be part of this problem.

I have a linux router running ospf, ospf6 and zebra. It's running
0.99.23.1-1+deb8u. It's an border router between the main LAN and it's own
guests. sh ipv6 ospf6 route gives expected output as does sh ipv6 ospf6
nei.

The FreeBSD BGP router (running quagga-1.1.0_1) shows expected neighbour
output, but shows no ospf6 routes ... not even it's own interfaces and
static routes. oddly, the ospf6 database is populated.

Help?
Re: quagga 1.1 seems to have completely broken ospf6 [ In reply to ]
I noticed the same issues.
After upgrading one of my BGP routers I got blackholes in my IPv6 OSPF
core.
I'm using 0.99.24.1 in my core network and the router I upgraded was
upgraded to version 1.1.
After downgrading the router again everything was fixed.

Jan Hugo


On 11/13/2016 05:29 PM, Zaphod Beeblebrox wrote:
> I posted on FreeBSD-net last night how quagga 1.1 doesn't appear to be
> picking up ipv6 routes correctly. It attributes them to the wrong
> interface. This may be part of this problem.
>
> I have a linux router running ospf, ospf6 and zebra. It's running
> 0.99.23.1-1+deb8u. It's an border router between the main LAN and
> it's own guests. sh ipv6 ospf6 route gives expected output as does sh
> ipv6 ospf6 nei.
>
> The FreeBSD BGP router (running quagga-1.1.0_1) shows expected
> neighbour output, but shows no ospf6 routes ... not even it's own
> interfaces and static routes. oddly, the ospf6 database is populated.
>
> Help?
>
>
> _______________________________________________
> Quagga-users mailing list
> Quagga-users@lists.quagga.net
> https://lists.quagga.net/mailman/listinfo/quagga-users
Re: quagga 1.1 seems to have completely broken ospf6 [ In reply to ]
I have a custom version that I built using the 418805 revision of the port
and the quagga-1.0.20161017 revision of the tarball. The current version
of the port won't patch the older tarball.

That said, 1.0.20161017 works for ipv6 (although ospf6d has a tendency to
crash every so often) and 1.1.0 is broken.

On Mon, Nov 14, 2016 at 10:26 AM, jan hugo prins <jhp@jhprins.org> wrote:

> I noticed the same issues.
> After upgrading one of my BGP routers I got blackholes in my IPv6 OSPF
> core.
> I'm using 0.99.24.1 in my core network and the router I upgraded was
> upgraded to version 1.1.
> After downgrading the router again everything was fixed.
>
> Jan Hugo
>
>
>
> On 11/13/2016 05:29 PM, Zaphod Beeblebrox wrote:
>
> I posted on FreeBSD-net last night how quagga 1.1 doesn't appear to be
> picking up ipv6 routes correctly. It attributes them to the wrong
> interface. This may be part of this problem.
>
> I have a linux router running ospf, ospf6 and zebra. It's running
> 0.99.23.1-1+deb8u. It's an border router between the main LAN and it's own
> guests. sh ipv6 ospf6 route gives expected output as does sh ipv6 ospf6
> nei.
>
> The FreeBSD BGP router (running quagga-1.1.0_1) shows expected neighbour
> output, but shows no ospf6 routes ... not even it's own interfaces and
> static routes. oddly, the ospf6 database is populated.
>
> Help?
>
>
> _______________________________________________
> Quagga-users mailing listQuagga-users@lists.quagga.nethttps://lists.quagga.net/mailman/listinfo/quagga-users
>
>
>
> _______________________________________________
> Quagga-users mailing list
> Quagga-users@lists.quagga.net
> https://lists.quagga.net/mailman/listinfo/quagga-users
>
>
Re: quagga 1.1 seems to have completely broken ospf6 [ In reply to ]
At this moment version 0.99.24.1 is stable with both OSPFv2 and OSPFv3.
I have some issues with BGP though, see my mails with subject "Serious
BGP issue"

Jan Hugo Prins


On 11/14/2016 07:22 PM, Zaphod Beeblebrox wrote:
> I have a custom version that I built using the 418805 revision of the
> port and the quagga-1.0.20161017 revision of the tarball. The current
> version of the port won't patch the older tarball.
>
> That said, 1.0.20161017 works for ipv6 (although ospf6d has a tendency
> to crash every so often) and 1.1.0 is broken.
>
> On Mon, Nov 14, 2016 at 10:26 AM, jan hugo prins <jhp@jhprins.org
> <mailto:jhp@jhprins.org>> wrote:
>
> I noticed the same issues.
> After upgrading one of my BGP routers I got blackholes in my IPv6
> OSPF core.
> I'm using 0.99.24.1 in my core network and the router I upgraded
> was upgraded to version 1.1.
> After downgrading the router again everything was fixed.
>
> Jan Hugo
>
>
>
> On 11/13/2016 05:29 PM, Zaphod Beeblebrox wrote:
>> I posted on FreeBSD-net last night how quagga 1.1 doesn't appear
>> to be picking up ipv6 routes correctly. It attributes them to
>> the wrong interface. This may be part of this problem.
>>
>> I have a linux router running ospf, ospf6 and zebra. It's
>> running 0.99.23.1-1+deb8u. It's an border router between the
>> main LAN and it's own guests. sh ipv6 ospf6 route gives expected
>> output as does sh ipv6 ospf6 nei.
>>
>> The FreeBSD BGP router (running quagga-1.1.0_1) shows expected
>> neighbour output, but shows no ospf6 routes ... not even it's own
>> interfaces and static routes. oddly, the ospf6 database is
>> populated.
>>
>> Help?
>>
>>
>> _______________________________________________
>> Quagga-users mailing list
>> Quagga-users@lists.quagga.net <mailto:Quagga-users@lists.quagga.net>
>> https://lists.quagga.net/mailman/listinfo/quagga-users
>> <https://lists.quagga.net/mailman/listinfo/quagga-users>
> _______________________________________________ Quagga-users
> mailing list Quagga-users@lists.quagga.net
> <mailto:Quagga-users@lists.quagga.net>
> https://lists.quagga.net/mailman/listinfo/quagga-users
> <https://lists.quagga.net/mailman/listinfo/quagga-users>
>
> _______________________________________________
> Quagga-users mailing list
> Quagga-users@lists.quagga.net
> https://lists.quagga.net/mailman/listinfo/quagga-users
Re: quagga 1.1 seems to have completely broken ospf6 [ In reply to ]
On 14 Nov 2016, at 10:22, Zaphod Beeblebrox wrote:

> I have a custom version that I built using the 418805 revision of the
> port
> and the quagga-1.0.20161017 revision of the tarball. The current
> version
> of the port won't patch the older tarball.
>
> That said, 1.0.20161017 works for ipv6 (although ospf6d has a tendency
> to
> crash every so often) and 1.1.0 is broken.

Can you clarify on the “broken” in 1.1.0?

- FreeBSD Version?
- Broken = no neighbors formed? No routes in routing table?

Thanks,
Martin

> On Mon, Nov 14, 2016 at 10:26 AM, jan hugo prins <jhp@jhprins.org>
> wrote:
>
>> I noticed the same issues.
>> After upgrading one of my BGP routers I got blackholes in my IPv6
>> OSPF
>> core.
>> I'm using 0.99.24.1 in my core network and the router I upgraded was
>> upgraded to version 1.1.
>> After downgrading the router again everything was fixed.
>>
>> Jan Hugo
>>
>>
>>
>> On 11/13/2016 05:29 PM, Zaphod Beeblebrox wrote:
>>
>> I posted on FreeBSD-net last night how quagga 1.1 doesn't appear to
>> be
>> picking up ipv6 routes correctly. It attributes them to the wrong
>> interface. This may be part of this problem.
>>
>> I have a linux router running ospf, ospf6 and zebra. It's running
>> 0.99.23.1-1+deb8u. It's an border router between the main LAN and
>> it's own
>> guests. sh ipv6 ospf6 route gives expected output as does sh ipv6
>> ospf6
>> nei.
>>
>> The FreeBSD BGP router (running quagga-1.1.0_1) shows expected
>> neighbour
>> output, but shows no ospf6 routes ... not even it's own interfaces
>> and
>> static routes. oddly, the ospf6 database is populated.
>>
>> Help?
>>
>>
>> _______________________________________________
>> Quagga-users mailing
>> listQuagga-users@lists.quagga.nethttps://lists.quagga.net/mailman/listinfo/quagga-users
>>
>>
>>
>> _______________________________________________
>> Quagga-users mailing list
>> Quagga-users@lists.quagga.net
>> https://lists.quagga.net/mailman/listinfo/quagga-users
>>
>>


> _______________________________________________
> Quagga-users mailing list
> Quagga-users@lists.quagga.net
> https://lists.quagga.net/mailman/listinfo/quagga-users

_______________________________________________
Quagga-users mailing list
Quagga-users@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-users
Re: quagga 1.1 seems to have completely broken ospf6 [ In reply to ]
On Tue, 2016-11-15 at 15:12 -0800, Martin Winter wrote:

Hello Martin,

> Can you clarify on the “broken” in 1.1.0?

https://bugzilla.quagga.net/show_bug.cgi?id=885
https://bugzilla.quagga.net/show_bug.cgi?id=886

> - FreeBSD Version?

FreeBSD 11.0 but it's not related to FreeBSD because users have reported
the same issue on Linux.

> - Broken = no neighbors formed? No routes in routing table?

Neighbors are formed but no routes in routing table.

Between 1.0.20160315 and 1.1.0 the following commit have been done:
ospf6d: fix off-by-one on display of spf reasons
ospf6d: don't access nexthops out of bounds
ospf6d: Fix double increment of Sequence Number
ospf6d: Fix loss of hello's on interface
ospf6d: Adding the initialization check in ospfv3_clean()
ospf6d: Fixing a couple of issues with ospf6_route_remo...
ospf6d: LA (local-address) bit related inter-op fix.
ospf6d: We should accept long form of "no redistribute"
ospf6d: Add the missing ospf6 running check in show...
ospf6d: Support for 'clear ipv6 ospf6 interface [ifname]
opsf6d: Update router-LSA when nbr's interface-ID changes
ospf6d, ripd, vtysh: Fix "no set metric" for ospf6...
ospf6d: implement admin distance

One of this commit break ospf6d.

Thanks

--
Nicolas DEFFAYET


_______________________________________________
Quagga-users mailing list
Quagga-users@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-users
Re: quagga 1.1 seems to have completely broken ospf6 [ In reply to ]
I’ve reproduced the issue and created a topology test for it.

Thanks to Jan Hugo Prins for his time to help me debug this. Don’t know
why this didn’t trigger an error in my RFC compliance tests)

Test is requires a Ubuntu 16.04 with Mininet installed

Python script for the test and documentation is in the git at
https://git.netdef.org/scm/netdef/topotests.git

I’m going to add this test to my CI system AFTER the code is fixed
(otherwise every patch submission will be flagged as bad)

Regards,
Martin Winter


PS: I have not spent time in any bisect or any search for the bad
commit. I hope someone else here takes over…

PSS: I’m working on topology tests for some time and I’m planning to add
more to the automated tests. Working on some BGP tests as well and
want to add several tests with route-map and redistribution etc to it.
Suggestions welcome…


On 15 Nov 2016, at 23:51, Nicolas DEFFAYET wrote:

> On Tue, 2016-11-15 at 15:12 -0800, Martin Winter wrote:
>
> Hello Martin,
>
>> Can you clarify on the “broken” in 1.1.0?
>
> https://bugzilla.quagga.net/show_bug.cgi?id=885
> https://bugzilla.quagga.net/show_bug.cgi?id=886
>
>> - FreeBSD Version?
>
> FreeBSD 11.0 but it's not related to FreeBSD because users have reported
> the same issue on Linux.
>
>> - Broken = no neighbors formed? No routes in routing table?
>
> Neighbors are formed but no routes in routing table.
>
> Between 1.0.20160315 and 1.1.0 the following commit have been done:
> ospf6d: fix off-by-one on display of spf reasons
> ospf6d: don't access nexthops out of bounds
> ospf6d: Fix double increment of Sequence Number
> ospf6d: Fix loss of hello's on interface
> ospf6d: Adding the initialization check in ospfv3_clean()
> ospf6d: Fixing a couple of issues with ospf6_route_remo...
> ospf6d: LA (local-address) bit related inter-op fix.
> ospf6d: We should accept long form of "no redistribute"
> ospf6d: Add the missing ospf6 running check in show...
> ospf6d: Support for 'clear ipv6 ospf6 interface [ifname]
> opsf6d: Update router-LSA when nbr's interface-ID changes
> ospf6d, ripd, vtysh: Fix "no set metric" for ospf6...
> ospf6d: implement admin distance
>
> One of this commit break ospf6d.
>
> Thanks
>
> --
> Nicolas DEFFAYET
>

_______________________________________________
Quagga-users mailing list
Quagga-users@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-users