From nobody Tue Jul 23 20:15:27 2024 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 4WT7gM0CrJz5QLLP for ; Tue, 23 Jul 2024 20:15: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 4WT7gL6CD0z4GZC for ; Tue, 23 Jul 2024 20:15:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721765726; a=rsa-sha256; cv=none; b=PEvj46EEQyOdWM9ooTot3mA9QfTbWUmvVAYZEGMcsHgtubg7U5Ak/Fp5BpdAV/pct84SIe 3A7vfsfwS7gVLlV5f8jgZeEOy4gRaCuwyFoQj+XUVQJTh5WyvFUC/ckVvDUaTE/Rd242fZ zFhCdnPPT9aTB5swOt7P4oiJ5qH6C8PEDV9+EhDFPJCl/E3H/Z8gnzcCjWWXcJnUs37dgM krYTNKMW+Stg44IgonCD5j2p/PFa+EX/zlX0ikaIrTjqZ0aP/8OARHpmW+TJFalfVZ3jpV GnXldObajU7vI4vxMD1XrQk6DL7U9ovdhssECf0x2wvoXzCr802VGPuhYavWjg== 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=1721765726; 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=fJKQh+9bmEManx5G/xyDQ5gQ5WF8ZLLZOvoGIzfzTN0=; b=TPdJXDJ8nB69zPehGvJWyx6HkEDz9Wa2/i8KfhirBuiMZ/8NeABsBG5cnV9QSOExZxeGa9 OESo9j8TQCG2DYf8UcWjvjjGE1FIM0qvKKFnDKHDc1KH2UH7megElG39d4sCFnRKevMr0i 7ALTDCYv33EqFXlZaDkpVy8DxHxETvKTfST7eU7xMM3QxkLqSREZoLWr4KGdmre1mv8maf q/mQ+FXq1BEmaQIhAZTJ0KrzfBp/xAEOc6H0njjCA+4x2aYYEMF36xsJ5a7qVX7pcqODUo fkYIZUkBwCVuqpJD+zY0IREb823xXjlKvnuSm3CXboykWYBuz6wlqJhWmU1v/g== 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 4WT7gL5pfqzjRp for ; Tue, 23 Jul 2024 20:15:26 +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 46NKFQNA028279 for ; Tue, 23 Jul 2024 20:15:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46NKFQCk028278 for net@FreeBSD.org; Tue, 23 Jul 2024 20:15:26 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 280390] NPTv6 not working Date: Tue, 23 Jul 2024 20:15:27 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cnbatch@gmail.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-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: 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=3D280390 --- Comment #13 from cnbatch@gmail.com --- With the configuration: #!/bin/sh ipfw -q -f flush cmd=3D"ipfw -q add " ipfw disable one_pass ipfw nptv6 NPT create int_prefix fdc9:281f:4d7:9ee9:: ext_if vtnet0 prefixl= en 64 $cmd nptv6 NPT ip6 from any to any $cmd allow icmp6 from any to any $cmd allow icmp from any to any $cmd allow ip6 from any to any via vtnet0 ipfw -q nat 1 config if vtnet0 same_ports unreg_only reset $cmd nat 1 ip4 from any to any via vtnet0 $cmd allow all from any to any $cmd check-state captured: 20:10:52.345074 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 20:10:53.380628 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 20:10:54.265688 IP6 2a05:f480:1c00:2c:8ef7::2.63514 > 2a03:f80:XXXX:552b::1.59823: UDP, length 74 20:10:54.265698 IP6 2a05:f480:1c00:2c:8ef7::2.43131 > 2a03:f80:XXXX:552b::1.57042: UDP, length 74 20:10:54.266375 IP6 2a05:f480:1c00:2c:8ef7::2.12124 > 2a03:f80:XXXX:552b::1.58151: UDP, length 74 20:10:54.266383 IP6 2a05:f480:1c00:2c:8ef7::2.25972 > 2a03:f80:XXXX:552b::1.59274: UDP, length 74 20:10:54.266386 IP6 2a05:f480:1c00:2c:8ef7::2.33932 > 2a03:f80:XXXX:552b::1.57280: UDP, length 74 20:10:54.404592 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 20:10:54.466137 IP6 2a05:f480:1c00:2c:8ef7::2.63514 > 2a03:f80:XXXX:552b::1.59823: UDP, length 74 20:10:54.466151 IP6 2a05:f480:1c00:2c:8ef7::2.43131 > 2a03:f80:XXXX:552b::1.57042: UDP, length 74 20:10:54.466769 IP6 2a05:f480:1c00:2c:8ef7::2.25972 > 2a03:f80:XXXX:552b::1.59274: UDP, length 74 20:10:54.466846 IP6 2a05:f480:1c00:2c:8ef7::2.12124 > 2a03:f80:XXXX:552b::1.58151: UDP, length 74 20:10:54.466907 IP6 2a05:f480:1c00:2c:8ef7::2.33932 > 2a03:f80:XXXX:552b::1.57280: UDP, length 74 20:10:54.481396 IP6 2a05:f480:1c00:2c:8ef7::2 > 2610:1c1:1:606c::50:15: ICM= P6, echo request, id 1205, seq 0, length 16 20:10:54.766084 IP6 2a05:f480:1c00:2c:8ef7::2.63514 > 2a03:f80:XXXX:552b::1.59823: UDP, length 74 20:10:54.766095 IP6 2a05:f480:1c00:2c:8ef7::2.43131 > 2a03:f80:XXXX:552b::1.57042: UDP, length 74 20:10:54.766765 IP6 2a05:f480:1c00:2c:8ef7::2.25972 > 2a03:f80:XXXX:552b::1.59274: UDP, length 74 20:10:54.767361 IP6 2a05:f480:1c00:2c:8ef7::2.12124 > 2a03:f80:XXXX:552b::1.58151: UDP, length 74 20:10:54.767371 IP6 2a05:f480:1c00:2c:8ef7::2.33932 > 2a03:f80:XXXX:552b::1.57280: UDP, length 74 20:10:55.216168 IP6 2a05:f480:1c00:2c:8ef7::2.63514 > 2a03:f80:XXXX:552b::1.59823: UDP, length 74 20:10:55.216178 IP6 2a05:f480:1c00:2c:8ef7::2.43131 > 2a03:f80:XXXX:552b::1.57042: UDP, length 74 20:10:55.216832 IP6 2a05:f480:1c00:2c:8ef7::2.25972 > 2a03:f80:XXXX:552b::1.59274: UDP, length 74 20:10:55.217422 IP6 2a05:f480:1c00:2c:8ef7::2.12124 > 2a03:f80:XXXX:552b::1.58151: UDP, length 74 20:10:55.217431 IP6 2a05:f480:1c00:2c:8ef7::2.33932 > 2a03:f80:XXXX:552b::1.57280: UDP, length 74 20:10:55.505021 IP6 2a05:f480:1c00:2c:8ef7::2 > 2610:1c1:1:606c::50:15: ICM= P6, echo request, id 1205, seq 1, length 16 20:10:55.583522 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 20:10:55.892051 IP6 2a05:f480:1c00:2c:8ef7::2.63514 > 2a03:f80:XXXX:552b::1.59823: UDP, length 74 20:10:55.892063 IP6 2a05:f480:1c00:2c:8ef7::2.43131 > 2a03:f80:XXXX:552b::1.57042: UDP, length 74 20:10:55.892079 IP6 2a05:f480:1c00:2c:8ef7::2.12124 > 2a03:f80:XXXX:552b::1.58151: UDP, length 74 20:10:55.892085 IP6 2a05:f480:1c00:2c:8ef7::2.25972 > 2a03:f80:XXXX:552b::1.59274: UDP, length 74 20:10:55.892088 IP6 2a05:f480:1c00:2c:8ef7::2.33932 > 2a03:f80:XXXX:552b::1.57280: UDP, length 74 20:10:56.514639 IP6 2a05:f480:1c00:2c:8ef7::2 > 2610:1c1:1:606c::50:15: ICM= P6, echo request, id 1205, seq 2, length 16 20:10:56.644610 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 20:10:56.902689 IP6 2a05:f480:1c00:2c:8ef7::2.63514 > 2a03:f80:XXXX:552b::1.59823: UDP, length 74 20:10:56.902701 IP6 2a05:f480:1c00:2c:8ef7::2.43131 > 2a03:f80:XXXX:552b::1.57042: UDP, length 74 20:10:56.903305 IP6 2a05:f480:1c00:2c:8ef7::2.25972 > 2a03:f80:XXXX:552b::1.59274: UDP, length 74 20:10:56.903370 IP6 2a05:f480:1c00:2c:8ef7::2.12124 > 2a03:f80:XXXX:552b::1.58151: UDP, length 74 20:10:56.903435 IP6 2a05:f480:1c00:2c:8ef7::2.33932 > 2a03:f80:XXXX:552b::1.57280: UDP, length 74 20:10:56.964610 IP6 fe80::fc00:5ff:fe07:578d > fe80::5400:5ff:fe07:578d: IC= MP6, neighbor solicitation, who has fe80::5400:5ff:fe07:578d, length 32 20:10:56.964645 IP6 fe80::5400:5ff:fe07:578d > fe80::fc00:5ff:fe07:578d: IC= MP6, neighbor advertisement, tgt is fe80::5400:5ff:fe07:578d, length 24 20:10:57.525159 IP6 2a05:f480:1c00:2c:8ef7::2 > 2610:1c1:1:606c::50:15: ICM= P6, echo request, id 1205, seq 3, length 16 20:10:57.668609 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 20:10:58.421353 IP6 2a05:f480:1c00:2c:8ef7::2.63514 > 2a03:f80:XXXX:552b::1.59823: UDP, length 74 20:10:58.421368 IP6 2a05:f480:1c00:2c:8ef7::2.43131 > 2a03:f80:XXXX:552b::1.57042: UDP, length 74 20:10:58.422080 IP6 2a05:f480:1c00:2c:8ef7::2.12124 > 2a03:f80:XXXX:552b::1.58151: UDP, length 74 20:10:58.422095 IP6 2a05:f480:1c00:2c:8ef7::2.25972 > 2a03:f80:XXXX:552b::1.59274: UDP, length 74 20:10:58.422177 IP6 2a05:f480:1c00:2c:8ef7::2.33932 > 2a03:f80:XXXX:552b::1.57280: UDP, length 74 20:10:58.944557 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 20:10:59.972594 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 20:11:00.698378 IP6 2a05:f480:1c00:2c:8ef7::2.63514 > 2a03:f80:XXXX:552b::1.59823: UDP, length 74 20:11:00.698389 IP6 2a05:f480:1c00:2c:8ef7::2.43131 > 2a03:f80:XXXX:552b::1.57042: UDP, length 74 20:11:00.699086 IP6 2a05:f480:1c00:2c:8ef7::2.25972 > 2a03:f80:XXXX:552b::1.59274: UDP, length 74 20:11:00.699251 IP6 2a05:f480:1c00:2c:8ef7::2.12124 > 2a03:f80:XXXX:552b::1.58151: UDP, length 74 20:11:00.699256 IP6 2a05:f480:1c00:2c:8ef7::2.33932 > 2a03:f80:XXXX:552b::1.57280: UDP, length 74 20:11:00.996628 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 20:11:04.112853 IP6 2a05:f480:1c00:2c:8ef7::2.63514 > 2a03:f80:XXXX:552b::1.59823: UDP, length 74 20:11:04.112865 IP6 2a05:f480:1c00:2c:8ef7::2.43131 > 2a03:f80:XXXX:552b::1.57042: UDP, length 74 20:11:04.114562 IP6 2a05:f480:1c00:2c:8ef7::2.25972 > 2a03:f80:XXXX:552b::1.59274: UDP, length 74 20:11:04.114599 IP6 2a05:f480:1c00:2c:8ef7::2.12124 > 2a03:f80:XXXX:552b::1.58151: UDP, length 74 20:11:04.114607 IP6 2a05:f480:1c00:2c:8ef7::2.33932 > 2a03:f80:XXXX:552b::1.57280: UDP, length 74 20:11:04.135448 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 20:11:05.156656 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 20:11:06.180615 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 20:11:09.235162 IP6 2a05:f480:1c00:2c:8ef7::2.43131 > 2a03:f80:XXXX:552b::1.57042: UDP, length 74 20:11:09.235174 IP6 2a05:f480:1c00:2c:8ef7::2.63514 > 2a03:f80:XXXX:552b::1.59823: UDP, length 74 20:11:09.236840 IP6 2a05:f480:1c00:2c:8ef7::2.25972 > 2a03:f80:XXXX:552b::1.59274: UDP, length 74 20:11:09.236849 IP6 2a05:f480:1c00:2c:8ef7::2.12124 > 2a03:f80:XXXX:552b::1.58151: UDP, length 74 20:11:09.236990 IP6 2a05:f480:1c00:2c:8ef7::2.33932 > 2a03:f80:XXXX:552b::1.57280: UDP, length 74 20:11:09.256398 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 20:11:10.276608 IP6 fe80::fc00:5ff:fe07:578d > ff02::1:ff00:2: ICMP6, neigh= bor solicitation, who has 2a05:f480:1c00:2c:8ef7::2, length 32 --=20 You are receiving this mail because: You are the assignee for the bug.=