From nobody Tue Aug 13 09:28:18 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 4WjmJz3S34z5Smpt for ; Tue, 13 Aug 2024 09:28:19 +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 4WjmJy5HDxz4ccj for ; Tue, 13 Aug 2024 09:28:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723541298; a=rsa-sha256; cv=none; b=aF+0HZ9DSLAU1HeumjlylLsg2ZMcKTOitYz3owUTpB+2WREsgyP9nBpdY1Z0jOTI300qyp 3s43EbeLHp9QwPUx7tGafRBymaPOHYETtpdANOACpsf1C2YpM5Q7RSFHGUGwujczegbWyl HA2ob1FZFEzrBvpoe3vfC4QaSUNGLDJUG/mFMrleihoEqD/OVkc6huZfR3nczrAQw0jmpv sRm1sRGrypjKijgpgnjGdxPJX3O3VVLNyhPYw/3wy9uIMf5FLn3ukeLSgUeN4VUn+Zk8Yu IxXAPoUF62nc9BtlCbSfOEr1+I7p3iDQGUErpzVfDAMrw6h2FKGh1ezeduh7gw== 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=1723541298; 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=PRVUa8t6COhT9aK8zOExvCW727VQEGPCpSY479BXwvg=; b=ZBBdqKNkx5511Se/0fbjgxe9YO0AAJJNrMLnDEG65UFWki1iF2i8RZM8bCuVAeDQdj9kkq Lbk5og1Jd34cjw4ZW+jFY0unc6DC9xcxB9+UqB+E9/jVed/2L69AlXDf2c49YJNQXkz0uz CzyBRHpHfsK/OMiwfHeI7+TLygZhKcoznZ3cqEJXaOVJ3x5oaBBtgua1NZAl1QoR+st80c Sb+CeV1p6u/oMUu/Luuzefhjagmka55DVmrF1f3PM0WNa4NVMXUCBO4boi+GUB+PrKIsGx GR+XDkoxnx6QlCDaGp9sWyyBGj7zLACptciq2gegIrEdnja3EMs7ZilWQVPQzg== 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 4WjmJy4n1nz14XN for ; Tue, 13 Aug 2024 09:28:18 +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 47D9SIZY008637 for ; Tue, 13 Aug 2024 09:28:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47D9SIKV008636 for bugs@FreeBSD.org; Tue, 13 Aug 2024 09:28:18 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: Tue, 13 Aug 2024 09:28:18 +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: pmc@citylink.dinoex.sub.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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269770 Peter Much changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |donner@FreeBSD.org --- Comment #6 from Peter Much --- Hunting it down - the problem is a race condition: libalias has an internal representation of a flow (called a "temporary link").=20 These can expire and get deleted - the logic when and how this happens is unintellegible, but there is a time gap between expiry and deletion. When another packet arrives from outside during this time gap - which is unlikely in TCP, but likely with UDP (like syslog sending another message a= fter some pause, or VPN restarting after reboot) - libalias finds the old "tempo= rary link", detects that it is already expired, and deletes it - but does then n= ot anymore check for a configured portforward for this flow. So the newly installed "temporary link" is without portforwarding, and will continue to exist until perchance traffic ceases and it might get expired. --=20 You are receiving this mail because: You are the assignee for the bug.=