From nobody Tue Feb 8 20:53:39 2022 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 3F8E219B4EA7 for ; Tue, 8 Feb 2022 20:53:40 +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 4JtZx00bTqz3nt0 for ; Tue, 8 Feb 2022 20:53:40 +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 E967D202EF for ; Tue, 8 Feb 2022 20:53:39 +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 218KrdiQ039373 for ; Tue, 8 Feb 2022 20:53:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 218KrdO6039372 for ports-bugs@FreeBSD.org; Tue, 8 Feb 2022 20:53:39 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 261802] net/mpd5: set nat red-port with an alias_addr of 0.0.0.0 does not work anymore Date: Tue, 08 Feb 2022 20:53:39 +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: d8zNeCFG@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644353620; 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=5IrbFAlfxHW5L/HAfw4DyiUF+Ul+DyybuY5x1mUyiL0=; b=JPCCLxwrMPwDxU06+AOmBDcm7yVMU7z9jNIPL7uoTgIKj9Rg5hYtMf3ECS+mXC48b0YtNz xWr3MsX7U9cz22JWf8Zd3GFS7z9YAN/VOCSSry3HuAam4dHtSIIXLOmSfC+qu+XCQaXHjQ OpcgNaSIz/nOiyya/rHu085e0emeUCloUOx0l0sJc3j50msuyYzdPdLavtTX+Ptl9VMeLr qaLoQcywsAhhTnpBvTBFIVcq9nhQPmoVRX8kB02tl+rCVOvT3xdEHfAKdXpw9pDNCFnZEz 25+jxRMXpnsP30hTHpkQZzG4prAVbVarvpbxSjl/lQM9WHfgqtX/C2Tw/d6Scw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644353620; a=rsa-sha256; cv=none; b=ymMtJqDVVrATzNGSjrGC14Rd4b5VIPIa2e/wdj7GoC3qyUzHOQGi4mT/pF6ltpwF3ykgB0 aIYWQwkQjfI+8/cxBhrNnP9mnYZYuYC7httG8GCbvRPU1j/qqaTIWb7M7P14o3ChYHCwIT mUdnquafWSLZy6GLMvQe2NtAhOjzlASEpit0JYG92/ECkuEw6diJxi6HZ4U9wganAQBVfY iRbAfbEMRcHumgba8v/+RUMBCK7821ol7V6dpz45tb8FJuMuybvkdkb8FtssdD/w+NYmTp OM3L/aLO5E4XI6eclRqUrFTxODfO8HPilIFc2i5Hpc19l72ja4F2q64QkIKY5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261802 Bug ID: 261802 Summary: net/mpd5: set nat red-port with an alias_addr of 0.0.0.0 does not work anymore Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: eugen@freebsd.org Reporter: d8zNeCFG@aon.at Assignee: eugen@freebsd.org Flags: maintainer-feedback?(eugen@freebsd.org) Scenario: - FreeBSD 12.3 latest - ports latest - using mpd5 with the following statement: # set nat red-port proto alias_addr alias_port local_addr local_por= t [ remote_addr remote_port ] set nat red-port tcp 0.0.0.0 8765 192.168.1.5 12345 11.12.13.14 0 - The intention is that whenever the remote host 11.12.13.14 connects from = any source port to the aliased port 8765, regardless of alias_addr, the connect= ion is redirected to the local port 12345 on the local address 192.168.1.5. - The alias_addr is dynamically assigned and may change, therefore 0.0.0.0 = is used as a wildcard. See LibAliasRedirectPort() in libalias(3). Result: - This worked until a few weeks ago. - Now the rule does not seem to work anymore, i.e., the aliasing does not t= ake place, and the TCP destination stays at :8765 instead of being redirected to 192.168.1.5:12345. Note: - This might actually be an issue in the base system, with ng_nat and libal= ias. -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.=