From nobody Mon Apr 1 08:24:55 2024 X-Original-To: net@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 4V7PFg668Pz5FwgV for ; Mon, 1 Apr 2024 08:24:55 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V7PFg537Hz4rML for ; Mon, 1 Apr 2024 08:24:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711959895; a=rsa-sha256; cv=none; b=yhJTO99Knc2F666Og7exMWXUoJYhuA0pSsOAWqxYHrKHxyr1eX0xA5szyUrA5amE89Ceqm K9mK30UxqQWxWpUVEWBiKXveQIVlSoYakfILrkLK3NFJd0tOXbFL9WLgHZap0EI3orlGeU j2qJWX8o0PBF6a+MhGTuJDfLG8TpU0wJq9OLtNbBEebfm1V8FPzCMT50qud+qftGht/scf NZPVNoUy/SA/KBGzPm5C0mWlHZxxhAZmyBUo1MPmOe8eAhQ7kBuZQ/CgobjO/FHb3QGgGD XFpz4yIwA3EeNJYW/1oFaiS7ZGXrfLga/qgzR29+vMBjV5S9NYEcstzOpkDO5g== 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=1711959895; 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: in-reply-to:in-reply-to:references:references; bh=eqooMrL8BoZAPy2onxu0zO4VXqy75lBqKerAEISDJ/o=; b=KuBunqoIw4KKt37WZp/6E9oGyA3ppzwzIA7e0/ZvvDuyN7VKFQX1m6yuBzIOGIb8rptzkk SAq+SUdWFMRqJAHlBv1kFgyztP9Ds+2loLi4a/A2UuRa9J+IzOXeRonIX2Ouuhdgem/k9i ZuDdZtCa4QuzHxe9cTvpczCdWVbFPqmPeA9ZbKHvMv0t+5CDI/u3UUERVMJoKZ78QXxfF0 kte1ccislMqTYlLW1PzCDn0ta2T4iUNANYHdWOYldrqINeCy97G3uqcDnehczBW3X9Vb3v Ekx0+GuZr/kZQde/FuZLT7Px6IN0CuoYKmQpThePv6bTQJqbwwyafiLc1zNjAw== 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 4V7PFg4fhJz1DKm for ; Mon, 1 Apr 2024 08:24:55 +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 4318Ott3045668 for ; Mon, 1 Apr 2024 08:24:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4318Otue045667 for net@FreeBSD.org; Mon, 1 Apr 2024 08:24:55 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: net@FreeBSD.org Subject: [Bug 277875] pfctl cowardly refuses to load rules, broken between 8c94ed992702 & f29af8618bf9 Date: Mon, 01 Apr 2024 08:24:55 +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-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kp@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277875 --- Comment #5 from Kristof Provost --- That truss output is strange. We only DIOCXROLLBACK from pfctl_rules() (in sbin/pfctl), and then only aft= er a 'goto _error'. That must mean we've failed to load one of the options in pfctl_load_option= s(). All but one of those are old-style ioctls and show no errors, so that would imply that it has to be pfctl_load_logif() (i.e. pfctl_set_statusif() in libpfctl) that fails. However, that can really only fail if the log interface name is too long, a= nd that does not appear to be the case here. That's a newly converted-to-netlink call, so at least that's somewhat plaus= ible at a source of shiny new bugs. It's also all we have to go on right now. Can you try running `dtrace -n 'fbt::pf_handle_set_statusif:return { printf("%#x %#x", arg0, arg1); }'` and then loading the relevant pf.conf? --=20 You are receiving this mail because: You are the assignee for the bug.=