From nobody Tue Jul 30 19:45:41 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WYQgn6XK4z5RrVq for ; Tue, 30 Jul 2024 19:45:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WYQgn3NGWz4dyR for ; Tue, 30 Jul 2024 19:45:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722368741; a=rsa-sha256; cv=none; b=psBY1a7W2zQzQmu0zRG2spmBXPmQJU95DsDqGJ/duUZKMR5BgftdIAbFcnF98xeU6KngTJ 0ugKfjO0+d3VfHfS3LzhQKdB6Q2d8G3mxqGiLIJyZrAuxUoD4uLEkMA8aF6cdSB4lfMIh4 JS6dsdBqP4ZvGI3JxIgi1wbjntzvBWGRBk018F0vzKkb4DeuUi3YVNl2T37HHJm1ShydZ4 +r0GGbsu/LMXxsXBboj7QkKMEUGiOryk9Zx78qqm4aEeddD4cPZxhWJsUGAugAEmO2T0Xi xCE3jvLlx/xJLqDr3bAjMu0aOWJJe1zfKHozRmtVJ8cGjcG56HNQSQ7FioAH2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722368741; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mpLLuPFk4gt4ph+4Pk21CCuIzDO+BnJPVSuKECNh7k8=; b=m39IIsWgnDRhv9aLulLaTEotC6tnFG2LuAY4yzLhK9GJrIB7v6sakvivLLsaJoaVf7kjfb a5uAo3T2N9z5ZZ0OsKZAa0WVlSL7zJIc3sR2eSP1PNttDjc1oMk/Qk4xo932DSqN2XFGoE 4oI7SoH8xHSBx7AfpzN76vQiI+D2vasM+3XcW4hAhQU/Ir4A3jNNmKaDGefkTG9IhV/a2Q unwFkgJ5u7UWBa+g0RBFVa54UfL4rzvojtuvF/3JaF4LAsjHTzFkXro60WYYNTEqME0N9b 5hBUwK23RhKVEVGx8FpZcvpsuo0TjS3NV/Gq6Xreht6J8q10P6u+ZLs53UTq1A== 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 4WYQgn2t5KzX0d for ; Tue, 30 Jul 2024 19:45:41 +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 46UJjf6j067014 for ; Tue, 30 Jul 2024 19:45:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46UJjfLM067013 for bugs@FreeBSD.org; Tue, 30 Jul 2024 19:45:41 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 280516] blacklistd: Silence a bogus warning about the blacklistd anchor not being found Date: Tue, 30 Jul 2024 19:45:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jlduran@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D280516 Bug ID: 280516 Summary: blacklistd: Silence a bogus warning about the blacklistd anchor not being found Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: jlduran@gmail.com Created attachment 252376 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252376&action= =3Dedit Silence a bogus warning when starting up Silence a bogus warning when starting up: Anchor 'blacklistd' not found. The anchor is indeed there, and working correctly. To my untrained eye, it looks like a bug in pfctl.c (see the attached diff = with the sample pf.conf): # pfctl -a blacklistd -sa | grep XXX pfctl: XXX DIOCGETETHRULES: No such file or directory pfctl: XXX DIOCGETRULES: Invalid argument pfctl: XXX DIOCGETRULES: Invalid argument pfctl: XXX DIOCGETRULES: Invalid argument The warning from blacklistd stems from: # pfctl -a blacklistd -sA XXX Anchor 'blacklistd' not found. Evidently the anchor is there, it's just "empty", and the warning seems misleading. # /usr/libexec/blacklistd-helper add blacklistd tcp 198.51.100.0 24 22 1 # pfctl -a blacklistd -sA blacklistd/22 It might be related to bug #262590. --=20 You are receiving this mail because: You are the assignee for the bug.=