From nobody Tue Aug 5 20:03:30 2025 X-Original-To: net@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 4bxPW63qYMz63fMV for ; Tue, 05 Aug 2025 20:03:30 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bxPW62l2xz3w8T for ; Tue, 05 Aug 2025 20:03:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754424210; 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=Mcy463PW5mgJIby3M9VFxDhB+J5ooBH+ld4HnU09hi4=; b=iSu+I2fy9P5+h2EmIo/ka9UoZ3ePjYd0x/zNOkK0QpLatFhH/Hcti0rtn0jefok/bn4x8h pbnLuLaXqK5wVUfSXDO6u2eae6/MoMGEeyVc9CA3RSkWZqNydaXFwP7KLwyIAqRsoweOgK zHiavtSMvpl2eO5Wi/wdJal0bdcAYwnkQWZdnIpUqXKN1lUfwspmqkuLdSpoHbyWPhb/cJ c/S7d51WroplkMyyMm5HkimC02BX66dBOkxrh75dodqY4R3fDbwuTPf07rBp23vY6mOLNy gN5q3O2mkva4pGwhJNDMfMUoceXn4Vb618xEfWirL+wznm86e3vxMWyZMvg87Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754424210; 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=Mcy463PW5mgJIby3M9VFxDhB+J5ooBH+ld4HnU09hi4=; b=deDP9tIeAsCjLLBUWf4v4nQ/gIBCCxUA5kUXLAWTTsQ7PYCQSRrH0tYeznS2Y9TsrzyIPK B+AkCVIK3lKwom/dCHCt8p99hD3IosaGvAA1SgNahos12VlNA5x1En6CybVEgk2GwJocXd qOaOouSMkB2wS6B8CWSO6E2JR20VkCOr6rSrY003tHMbJUdzrMfnVR4EFJ0q/ZzMfOqsJC tMHV01hyC849Q+ep+bENiOa4QmXEcC45ihgpSDSVzVnfivftvEFn9rg5KRBhd3iXyqxNC9 aiapxNqC+QalhSa+zUpVAkp1f3xHz5LH4KfIL+y64yUGjLUVSaAwLZeyrhczxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754424210; a=rsa-sha256; cv=none; b=rOar+eM1/psJQIpsODu2nxt2FaK8Ielwu6dO4aiHhzTqicyJ82q5q/Jahbg9DxnCPhFtto 5ZUMXjMSXK/RYJmyPHkjhntbfUHy0zoW1zZ0aqyFSadmZ9Eh+7luX3Qbb8Oz93u3vhVp37 0OVp0AvzYqIvNGQax4n3+nku2tjCW6V9jLgOLrllVjlPFDgqFoGR62nt8kLejUwoNvwyjM GYDNLoPsSSAo1sVMB96009pAoA2GQFWiVTEtbbHQLVulaRkdRIWpIgFVEpXbzSCapLZNtr RHJtDG5GbHtuSKITjaGZjbk78vpP+zbn6butNZV73hLhSnhS4/tJvL7Q/MGHZg== 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 4bxPW62HrVzqR8 for ; Tue, 05 Aug 2025 20:03:30 +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 575K3U5r098843 for ; Tue, 5 Aug 2025 20:03:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 575K3USZ098842 for net@FreeBSD.org; Tue, 5 Aug 2025 20:03:30 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: net@FreeBSD.org Subject: [Bug 288654] netgraph ng_nat: add command to set port range mask Date: Tue, 05 Aug 2025 20:03:30 +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: Unspecified X-Bugzilla-Keywords: feature X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tatsuki_makino@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288654 --- Comment #1 from Tatsuki Makino --- Additional, If the feature added by bug 280736 is not being used, it is recommended that the ${ng_if} interface be set to mtu 1240. This is because the ping is ping -D -s 1213 ... when the tunnel packet is f= irst fragmented. > These commands can also be automated in the script file /etc/{start,stop}= _if.gif0, maybe :) I am trying to challenge that :) It will require ngctl shutdown on the stop_if side. as follows ngctl shutdown nat_map_e:out ngctl shutdown nat_map_e:in When the ends of the hooks on ng_nat are shutdown, ng_nat will also automatically disappear. However, when this is quickly restarted by service netif restart gif0, it causes an increase in clones similar to the originally created ng_iface. I don't really understand, but it seems to be happening due to some race condition in which gif_demux, nat, and iface are being recreated. It occurs in 14.3-STABLE. Also, it seems that pausing for a longer time with commands like sleep 10 a= fter ngctl shutdown can be a workaround. --=20 You are receiving this mail because: You are the assignee for the bug.=