Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2025 22:42:12 +0100
From:      A FreeBSD User <freebsd@walstatt-de.de>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   rtadvctl -vv show : Segmentation fault
Message-ID:  <20250211224239.51cf1d2e@thor.sb211.local>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello,

I'm running a small 14-STABLE (FreeBSD 14.2-STABLE #11 n270324-8d5d7e2ba3a6: Thu Feb  6
16:56:03 CET 2025 amd64) based router appliance, running rtadvd(8).

When stoppimg/starting mpd5 several times, changing the IPv6 prefix, I can almost with a 100%
certainty reproduce such an error calling rtadvctl:

[...]
root@gate:~ # rtadvctl -vv show
igb0: flags=<UP,CONFIGURED,PERSIST> status=<RA_SEND> mtu 1500
        DefaultLifetime: 30m
        MinAdvInterval/MaxAdvInterval: 3m20s/10m
        AdvLinkMTU: <none>, Flags: <none>, Preference: medium
        ReachableTime: 0s, RetransTimer: 0s, CurHopLimit: 64
        AdvIfPrefixes: no
        Next RA send: Tue Feb 11 22:36:21 2025
        Last RA send: Tue Feb 11 22:30:23 2025
        Prefixes (1):
Segmentation fault
[...]

The indication of such a rtadvd failure within our network is no prefix delegation any
more, several IPv6 on the (client) hosts's NICs are marked "deprecated" or "detached", but
none usable.

Checking on the gateway with the command shown above results in a segmentation fault ... funny.

To solve this, we have to restart rtadvd.

-- 

A FreeBSD user

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCZ6vETwAKCRCxzvs8Oqok
r6HCAP45dndlnK95E11aXVx5FJD2lQP1q2W4TbIbrMxHSTYzaAD5AaS26/IXIYNw
NL+JgzM4STVGVVyg7SNc1YQqLdu7xgw=
=mcT4
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250211224239.51cf1d2e>