hkLAUeJeiJ/iO6Q/+KJpmA/J9Gt1ZjZ7Upz6sV+xbz +aElIq3gk5vwXU7s7Bjag0thwEbLgj4sCz2CbQIQdCO7yPdOkDlYO6ugBTFHVTnI2PlvAw CyrYtCTj9wYTI4ZUTg729tjoZhKfSEC0G8TKFOjFHk3++2gZ/WpoYg8aDk3CcIQJVRvURR 6Y8niX/QmDJzfK5WVodxm+CYps8yh+Y+GmHOsoSyMzfgrloErJnJVOljSrYk4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dFlzr4Tjxzgkw for ; Tue, 25 Nov 2025 01:51:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5AP1pqw3054361 for ; Tue, 25 Nov 2025 01:51:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5AP1pqSh054360 for bugs@FreeBSD.org; Tue, 25 Nov 2025 01:51:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 291163] feature request: blacklist-helper support for route --blackhole Date: Tue, 25 Nov 2025 01:51:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jlduran@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291163 --- Comment #1 from Jose Luis Duran --- Thank you for sharing your ideas regarding blocklistd. With respect to this particular request, I can initially think of: 1. Using a custom control script: You can use your own control script with the functionality you wish to have= .=20 For example: cp /usr/libexec/blocklistd-helper /usr/libexec/my-blocklistd-helper Configure blocklistd to use your control script: sysrc blocklistd_flags=3D"-C /usr/libexec/my-blocklistd-helper" Change the "add", "rem", and "flush" actions to achieve whatever you are looking for. For example: add) ... route add -blackhole ${addr}/${mask} If your routing daemon redistributes static routes, you'll achieve your objective. The opposite can be done for "rem", and optionally "flush". 2. Suggest pre/post action hooks upstream: Given we are a downstream of https://github.com/zoulasc/blocklist, I'd sugg= est opening the feature request upstream. Maybe with the option to add pre/post hooks to the control script actions. In this case, you would just attach y= our custom functionality to the post-add/rem hooks, for example. --=20 You are receiving this mail because: You are the assignee for the bug.=