From nobody Wed Jan 05 21:18:45 2022 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 BDFFF1925077 for ; Wed, 5 Jan 2022 21:18:45 +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 4JTj5d3LXqz55MF for ; Wed, 5 Jan 2022 21:18:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 5365F1375B for ; Wed, 5 Jan 2022 21:18:45 +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 205LIjld090624 for ; Wed, 5 Jan 2022 21:18:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 205LIjY6090623 for bugs@FreeBSD.org; Wed, 5 Jan 2022 21:18:45 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 260958] pfctl: expand_rule: strlcpy Date: Wed, 05 Jan 2022 21:18:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kp@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: cc 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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641417525; 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=HYtEIeQOTM16vcnQdGq7RUj8VQUl0qSObikUdYvL9Co=; b=jOrFdU1Juwih7zQrKcDFI1Gl3lsxH4oIaVPSwque3YzQNo+z0EdSWpDhGSJyd+TIGhltW7 GwS29IV20vpnaWXUVoTO4ewY/GVZSHziax+BYDuoOdd6H1UInEhH1OybApr9iy+gKuF2fo wZW9H3mjNCH1jQ4u8HLWvtZ8GrJSDYjKxM3llhjdYvnu3i0wVthmcJIXzjik4BEdrvlDBj 6hUXOyMP2cPvLt0pEtrE2gZTJ2GIo53ZKGUUJDJFkOjWol9RMD2QG3CXFqzHv4GfC7ssuf 6ac6pA0JpaJNnHNBXgyzl4jqKg5MugCSU4I51Es19nOK/dhraSTHCkSgdANVCw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641417525; a=rsa-sha256; cv=none; b=rky4Rq/9MS4QZZbiOygVBsxi1m9P1c0lLfLaKSVlZcM4tEF+CRnQrTu3WvbNCALE65Hmu9 UGrH8V1ziU/hAqLcWYRF7Xk/hlz/KW7Ft0K9gOYRAb//re6DAX4XOpWhUhSLAk7vrF8nQ6 D3Jmoc2plAfkgsW0DuPZd1CXdgltA8xp+wwIfEh25rXhReaGH8K+zUOdSsatT7N2SDw5kb 7qa4WEZPsUKmE8hsxeJ3jXUdJAJmW34qPFmqPNwJxFLl/hRCBCorRw3vw+Se3ssqQzu08z dxX+RI/uremd6vulTx52BIC1iKIeOPGm4IrSoPIvDoKPQBiyoaR7FdUSZd9Sxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260958 Kristof Provost changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kp@freebsd.org --- Comment #1 from Kristof Provost --- I can reproduce the error, but my current thinking is that this is a misconfiguration rather than a bug in pf. (Although arguably the error mess= age could be better). Note that reply-to expects to be followed by a routehost (' routehost= =20=20=20=20=20 =3D "(" interface-name [ address [ "/" mask-bits ] ] ")"', which is suppose= d to be an interface-name and optionally an address. The pfctl parser code puts the string it finds after route-to in an ifname field, which is IFNAMSIZ bytes long, so the IPv6 address you provide doesn't fit and that's what produces the error message. --=20 You are receiving this mail because: You are the assignee for the bug.=