From nobody Thu Feb 23 03:44:48 2023 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 4PMf6T2q2Mz3stMr for ; Thu, 23 Feb 2023 03:44:49 +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 4PMf6S5Tcqz4Mv5 for ; Thu, 23 Feb 2023 03:44:48 +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=1677123888; 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=NamAL/zEorUIpdriDG1yX7TwIXk/+o23QwWVeGi93VY=; b=ntglYCLGK4/dNWZlnRxW6V1CxIsMkrCdL5PlPvlYjDqxo5dGRPTVr/B7U5OdCu7SsOhvxv 8rPLGJfp1NQ42uoMkDYpRLz5z6APz36ePtNZHiET0g3bzPOdv565MunpwLXzmAwoZkmobV h8M7bb4DtSLWaM0uUd3qRdGrMrtYKNMoA4NG7S920v/4abjd6cbW9Q+p+O65aOfza0pSAn /4Ec3RDAx1AD0EqS4oruVNNOdRQ4pmxE5uxc9oVmB3RYsMeo+sJbRF7W2jRDmmoss+aEjc tzCvl0fWfn9Qhtsk4d9BEBNmdp6g2JHnef/0kUQVpdQ8JQdNUDUcbHypji6pcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677123888; a=rsa-sha256; cv=none; b=lXkR+XKpf9Og4IJdGBbjw5IZLoNehtWyUExcs1gdp3WiS0lgYL+opiHCineNvzIVCNthJv XO+HZh66Mqu8uJA7+AIYejCamaNSxHXkt7p4Di10EEugH+E3/1HNc27EcyLalQdF32t0S6 hQ0gNdGBGke7g9WcNTq+O8QzN7MSiV3PidAThMvPKS4YFZp5TkBekWssTgXkwKkBBzB+zw fSS3RbwxgckhI8hz1vUcp29yYGtDA+9oTz1ToMataaPtIjFHl+dtNVaFVT4hEY3V+kagk9 ++s2MV/fQIpabk0CQ1k6CsfoRMEcAt/jv5fPLDpKlDGbImhPiYT90XJTmLrOYw== 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 4PMf6S4YqnzRwC for ; Thu, 23 Feb 2023 03:44:48 +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 31N3im1e024798 for ; Thu, 23 Feb 2023 03:44:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31N3imqK024797 for bugs@FreeBSD.org; Thu, 23 Feb 2023 03:44:48 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: Thu, 23 Feb 2023 03:44:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269770 Bug ID: 269770 Summary: libalias udp redirect_port temporary translation failure Product: Base System Version: 13.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: pmc@citylink.dinoex.sub.org I occasionally observe temporary failures on my public UDP ports. The problem seems to be with libalias when used for UDP port_redirect: ipfw nat 3 config log same_ports unreg_only ip \ redirect_port udp 192.168.xx.xx:5007 5006 \ redirect_port tcp 192.168.xx.xx:5007 5006 02420 0 0 count log proto ip4 src-port 64000-64010 02425 0 0 nat 3 proto ip4 02430 0 0 count log proto ip4 src-port 64000-64010 Then randomly # nc -u4p 64000 5006 # nc -u4p 64001 5006 # nc -u4p 64002 5006 Feb 23 03:51:45 edge kernel: [75643] ipfw-oper: 2420 Count = UDP 91.12.117.156:64000 :5006 in via tun3 Feb 23 03:51:45 edge kernel: [75643] ipfw-oper: 2430 Count = UDP 91.12.117.156:64000 192.168.xx.xx:5007 in via tun3 Feb 23 03:52:08 edge kernel: [75666] ipfw-oper: 2420 Count = UDP 91.12.117.156:64001 :5006 in via tun3 Feb 23 03:52:08 edge kernel: [75666] ipfw-oper: 2430 Count = UDP 91.12.117.156:64001 192.168.xx.xx:5007 in via tun3 Feb 23 03:52:29 edge kernel: [75687] ipfw-oper: 2420 Count = UDP 91.12.117.156:64001 :5006 in via tun3 Feb 23 03:52:29 edge kernel: [75687] ipfw-oper: 2430 Count = UDP 91.12.117.156:64001 192.168.xx.xx:5007 in via tun3 Feb 23 03:52:36 edge kernel: [75694] ipfw-oper: 2420 Count = UDP 91.12.117.156:64001 51.158.21.23:5006 in via tun3 Feb 23 03:52:36 edge kernel: [75694] ipfw-oper: 2430 Count = UDP 91.12.117.156:64001 192.168.98.18:5007 in via tun3 Feb 23 03:52:56 edge kernel: [75714] ipfw-oper: 2420 Count = UDP 91.12.117.156:64002 :5006 in via tun3 Feb 23 03:52:56 edge kernel: [75714] ipfw-oper: 2430 Count = UDP 91.12.117.156:64002 192.168.xx.xx:5007 in via tun3 Feb 23 03:53:06 edge kernel: [75724] ipfw-oper: 2420 Count = UDP 91.12.117.156:64000 :5006 in via tun3 Feb 23 03:53:06 edge kernel: [75724] ipfw-oper: 2430 Count = UDP 91.12.117.156:64000 :5006 in via tun3 Feb 23 03:53:06 edge kernel: [75724] ipfw-oper: 2685 Unreac= h 13 UDP 91.12.117.156:64000 :5006 in via tun3 In the beginning 64000 and 64001 get through. Now only using 64001 for some time, and then starting to use 64002, suddenly 64000 is no longer translated. (Not always happens in that exact sequence.) # ipfw nat show log nat 2: icmp=3D32, udp=3D1, tcp=3D40, sctp=3D0, pptp=3D0, proto=3D0, frag_id= =3D0 frag_ptr=3D0 / tot=3D73 nat 3: icmp=3D0, udp=3D2, tcp=3D72, sctp=3D0, pptp=3D0, proto=3D0, frag_id= =3D0 frag_ptr=3D0 / tot=3D74 These udp=3D counters are changing meanwhile, but I don't get a clue from it, and didn't find a way to log details. Platform 13.2-BETA2 (but the problem is older) --=20 You are receiving this mail because: You are the assignee for the bug.=