NetBSD Problem Report #60791
From www@netbsd.org Fri Sep 25 16:28:15 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id CFFBF1A923B
for <gnats-bugs@gnats.NetBSD.org>; Fri, 25 Sep 2026 16:28:14 +0000 (UTC)
Message-Id: <20260925162813.CF9CA1A923C@mollari.NetBSD.org>
Date: Fri, 25 Sep 2026 16:28:13 +0000 (UTC)
From: joe@ns1.eloisystems.com
Reply-To: joe@ns1.eloisystems.com
To: gnats-bugs@NetBSD.org
Subject: route in npf(7) needs a via option to specify next hop explicitly
X-Send-Pr-Version: www-1.0
X-From4GNATS: "joe@ns1.eloisystems.com via gnats" <gnats-admin@NetBSD.org>
>Number: 60791
>Category: kern
>Synopsis: route in npf(7) needs a via option to specify next hop explicitly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: joe
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Sep 25 16:30:00 +0000 2026
>Last-Modified: Fri Oct 02 12:50:01 +0000 2026
>Originator: Emmanuel Nyarko
>Release: NetBSD current
>Organization:
NetBSD
>Environment:
NetBSD 11.9.8
>Description:
in npf route procedure, we need a "via" option as part of the routing options.
main purpose is to set the next hop/ gateway of the new interface we are forcing our packets through. This is because some traffic might not be able to reach their next hop from the main route based on the real destination address.
>How-To-Repeat:
Code inspection.
>Fix:
Yes please!
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->joe
Responsible-Changed-By: joe@NetBSD.org
Responsible-Changed-When: Fri, 25 Sep 2026 16:32:02 +0000
Responsible-Changed-Why:
Working on it
From: "Emmanuel" <joe@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/60791 CVS commit: src/usr.sbin/npf/npfctl
Date: Fri, 2 Oct 2026 12:46:56 +0000
Module Name: src
Committed By: joe
Date: Fri Oct 2 12:46:56 UTC 2026
Modified Files:
src/usr.sbin/npf/npfctl: npf.conf.5 npf_parse.y
Log Message:
PR kern/60791
man for updated npf routing
To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/usr.sbin/npf/npfctl/npf.conf.5
cvs rdiff -u -r1.59 -r1.60 src/usr.sbin/npf/npfctl/npf_parse.y
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.