From nobody Thu Feb 22 20:50:01 2024 X-Original-To: ports-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 4TgldQ6NFWz5BNlj for ; Thu, 22 Feb 2024 20:50:02 +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 4TgldQ5HlMz4vTP for ; Thu, 22 Feb 2024 20:50:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708635002; 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=eCY76jCuPRhtF6oRhNBl3hWzCmbMTqcTwBnf62rIbcw=; b=qGbxmvjHCeKJgwzMOj7VKnCZPZz+J9caGG3L6dapBbyqL19GLpIaxIPdRh++VRGU7aQxUF +qWuzvo8Lf7r/MIGtr86klptgcJlVo36mbSfaidpfkMa7m2P8QC9T0RngphJvjHBJNY7Lp nytqayyNq0x2BXR0Koa+Uu4b2ep9WtSF0yukeIpwOAyVFIuMifjuY3mB0Wef1iAUWYxlo6 QpZ1037FGJme5GrGUw1dqmwpook7oKyItaN8rpXKbHZ2cXetvXIgnsiakfscBDp+o7JS7v sH1tuMOlwuc1cq02HpBrFypv+pV9vb/UVENhkpSbwag4k+AWUGjMh32rpDc9fQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708635002; a=rsa-sha256; cv=none; b=HEMnvHhuDLPtovNRxPHB+3fbGFWRFoi5BloD7lGPK1ct9TEjXkJvUJHCU+KAb1VedzbRyA 2iXfsmi2ntqtwxmiuelb0/dpFMYegts/ub1QEAjAO2RE+fdY52H+HVbwgkLWaEESNE5jY1 iD2IkhVBtT2+yCTnW6Cj7afWNjb1IlMVVCzInMxRFgVQdAsZzvRqh05jjWFKbyelfX8WhX VraA1+V1ClwKk/HkFC9gn+kyM8TtDO2VcQsmWU0V1LumeeNU1y3PVJ8gtacCuywO0sHlbe cz/tpT8A0QvZVs7w8diiPq5RHvB5eMDXqn2k7vq1ganCSQ1qhd1mDLe2QiWeGg== 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 4TgldQ4GG8znMy for ; Thu, 22 Feb 2024 20:50:02 +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 41MKo2SO006160 for ; Thu, 22 Feb 2024 20:50:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41MKo20w006159 for ports-bugs@FreeBSD.org; Thu, 22 Feb 2024 20:50:02 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: ports-bugs@FreeBSD.org Subject: [Bug 277226] net/miniupnpd: duplicate mappings, corrupted replies to clients Date: Thu, 22 Feb 2024 20:50:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbaranov@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277226 Bug ID: 277226 Summary: net/miniupnpd: duplicate mappings, corrupted replies to clients Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: sbaranov@gmail.com CC: squat@squat.no CC: squat@squat.no Flags: maintainer-feedback?(squat@squat.no) Originally discovered in OPNSense: https://github.com/opnsense/plugins/issues/3831. See also https://forum.opnsense.org/index.php?topic=3D38732.0. OPNsense 24.1.2_1-amd64 FreeBSD 13.2-RELEASE-p10 OpenSSL 3.0.13 miniupnpd 2.3.3 Over time, duplicate mappings like this are created: ``` 62852 tcp 10.0.0.87 6690 upnpclient:6690 62852 tcp 10.0.0.87 6690 upnpclient:6690 62852 tcp 10.0.0.87 6690 upnpclient:6690 ``` If you try to get the mapping list using miniupnpc, it returns corrupted results: ``` i protocol exPort->inAddr:inPort description remoteHost leaseTime 0 UDP 0->10.0.0.87:0 '' '34.26.0.0' 0 1 UDP 0->10.0.0.87:0 '' '34.26.0.0' 0 2 UDP 0->10.0.0.87:0 '' '34.26.0.0' 0 ``` --=20 You are receiving this mail because: You are the assignee for the bug.=