Re: git: dd235f097af4 - main - route(8): Add prefsrc option in netlink

From: Shawn Webb <shawn.webb_at_hardenedbsd.org>
Date: Fri, 31 Jul 2026 15:58:23 UTC
On Tue, Jul 28, 2026 at 08:57:41PM +0000, Pouria Mousavizadeh Tehrani wrote:
> The branch main has been updated by pouria:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=dd235f097af48ba5bf4324362b4fae6e14e19dfa
> 
> commit dd235f097af48ba5bf4324362b4fae6e14e19dfa
> Author:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
> AuthorDate: 2026-07-17 12:06:46 +0000
> Commit:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
> CommitDate: 2026-07-28 20:54:37 +0000
> 
>     route(8): Add prefsrc option in netlink
>     
>     Add prefsrc option that is frequently used on unnumbered interfaces
>     or L3 multi-homed network hosts.
>     This option uses RTA_PREFSRC.
>     Now you can add a static route by specifying the prefsrc option
>     with the loopback IP.
>     
>     PR:             285422
>     Reviewed by:    glebius
>     Differential Revision: https://reviews.freebsd.org/D58294

Hey Pouria,

This commit causes /sbin/route to crash. I will work on getting a core
dump this weekend. Reverting this commit made /sbin/route happy again.
I just figured I'd send the email now while I'm thinking about it.

Note that I'm using HardenedBSD, so the core dump might be a little
bit different than one generated by FreeBSD.

Thanks,

-- 
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

Signal Username:  shawn_webb.74
Tor-ified Signal: +1 (719) 756-1197 / activist_opsec.27
https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc