From nobody Sat Aug 17 06:51:26 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 4Wm8f74pqcz5SQCs for ; Sat, 17 Aug 2024 06:51:27 +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 4Wm8f73mSVz46QS for ; Sat, 17 Aug 2024 06:51:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723877487; a=rsa-sha256; cv=none; b=yPJbimPKdengNQAl83jCLIbXf95r4YAqnf9fUC+uOEWw50OguwRmEXbAxEja8Yx3FLPlP8 pRWA2CWGPsgG73i+rvmptExrBuuOUsgqm6UkhpvIfIaKCjTKhji5ITcVnsGLbZmG14qnmq 1EhkQkLoF8Vq8ejis6XMks0jfbiHAMyPwsHvRRf6fuLNcavmb20wPKgHGly0intgg3rmsh UjKuui+xLS67iO/4VLt/rh5fDFX9Cy4IaEwzh5NB0/4YbfxPsSmG9F9O5VH08QdzdkGxdP 7xB+3Miz/3sN6OX/nXTY2Gv66PDlT53gu8GMDTM8DYMb3FhSd1qmvaHjs2NsYQ== 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=1723877487; 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=E8WFRKlTyA6JU5YmQFeElkt4hCOaazu8BHy2V7b+znc=; b=NQGjwGnXRLQ3/XtCnsmb4ARAQ6NBrWtxHkJFXC4uGD/+NSK3GoXonAfpjpIO7k0i+GwXMb BdjnuqvB6Sc9dJbcU7KTlQ2rjvnKIYM6rLQhwr8O31Y2ECmgG/GlOvzrGOpfRlQDV4x4hI bPpAMIxRBt6NAfMKwumWAD5u9Cf8Lf4HcFODoiPD6uX25Y0xVqySt48J5YFXBq3coTygbD bW/j/ICnCHaNji5AQKG/jSi+NqaQSiX/OEUOPk01bKplQQSq3SIGGqxTYKpxup4gc1sv+J c5uA/Csy0CexAwOw3SmzCeOel4LkDfwRanSqbsVqFsaiYrgRIbPLaa5HgMV8ig== 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 4Wm8f73MRqzg7N for ; Sat, 17 Aug 2024 06:51:27 +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 47H6pR2k082004 for ; Sat, 17 Aug 2024 06:51:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47H6pRrd082001 for bugs@FreeBSD.org; Sat, 17 Aug 2024 06:51:27 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 269770] libalias udp redirect_port temporary translation failure Date: Sat, 17 Aug 2024 06:51:26 +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.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269770 --- Comment #7 from Eugene Grosbein --- (In reply to Peter Much from comment #6) > the logic when and how this happens is unintellegible In case of ipfw nat: 1) When "ipfw nat" rule processes packets in-kernel, a packet is passed to ipfw_nat_ptr() that points to ipfw_nat() function in sys/netpfil/ipfw/ip_fw_nat.c 2) ipfw_nat() can call LibAliasOut(), LibAliasOutTry() or LibAliasIn(). 2.1) LibAliasIn() calls LibAliasInLocked(). 2.2) LibAliasOut() and LibAliasOutTry() call LibAliasOutLocked() than can c= all LibAliasInLocked(), too. 3) So we end up in LibAliasInLocked() or LibAliasOutLocked() and both call HouseKeeping() function sometimes (not every time) calls CleanupLink(la, &l= nk, 0) to remove expired links but it is not supposed to touch permanent links = we have configured for port forwarding. --=20 You are receiving this mail because: You are the assignee for the bug.=