From nobody Tue Jul 23 20:15:04 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 4WT7fx05s2z5QLDG for ; Tue, 23 Jul 2024 20:15:05 +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 4WT7fw6CKPz4GDy for ; Tue, 23 Jul 2024 20:15:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721765704; a=rsa-sha256; cv=none; b=gwswaJ8vSi5y7G/6ge/Nyc2LfT6DUpHLjdLDQS5RSfeBQZ5ngTcvBxzdGQTy0WLXqa9YQX rVkSGbKjetWonf2yN+DGUZ6fzMVQmuN1Q7lQ4QtQK9vYjNwg1IhJFpdcfYsnbaiEOmd1TD 6dbb+i1ucq6CRfcfgwvRmfBP9rth9uiRa1RqPFV4hfVY3C8nPauTk2OrxQB7Dla5fwKnr+ bB7wAiFVWrhUTf9dnZbKOxQWhAJz80KsnYylBjlxevU2M+O++zI6G2nSxgiWHiev11or9n c5MKfrYDiFA6ZwV3BDMNBJD9V5OS8kep/AL+NHhm1aGAjiZrVJttHINusxxVhw== 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=1721765704; 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=oGyKVDisL60sjQTtO8n6HacV5TnPn/NoTfFYo7CpSic=; b=w6HLE6hJ8tLVPdi/Pqz875g3Rp3BbpLpkW+otc2uXgqTRckggQEMMMMwdo7OVA2ZxOAsxL bG7pEjs2sZCHZ3pFrPAqKaKopFNGW+6flmsam4fYdmBmyCNKIq93svXFlPxFEWUYKOwH2n mGQM6oczrXKomw0mLhLtkUaF3MSRwosXoBex/RaBccJ3IQY0b87O+egx7B5h/JG5SJ2X+0 05m12yvlXywYCYg4On3S0KYWGA2l/Xh407Bn63boCkcxmP049oK4qbNA2D4b40ugsbWQ10 jZWWgDSwGFM+aHgjIEFklXpzMUgK/bDk5VeMACqR/vBpk3cmBoJjymPB9W512Q== 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 4WT7fw5q2WzjdS for ; Tue, 23 Jul 2024 20:15:04 +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 46NKF4cP027214 for ; Tue, 23 Jul 2024 20:15:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46NKF4HB027213 for net@FreeBSD.org; Tue, 23 Jul 2024 20:15:04 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:04 +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 #12 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 allow icmp6 from any to any $cmd allow icmp from any to any $cmd nptv6 NPT ip6 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 caputured: 20:01:54.529756 IP6 2a05:f480:1c00:2c:8ef7::2.46975 > 2a03:f80:XXXX:552b::1.59281: UDP, length 74 20:01:54.529770 IP6 2a05:f480:1c00:2c:8ef7::2.33220 > 2a03:f80:XXXX:552b::1.57885: UDP, length 74 20:01:54.529777 IP6 2a05:f480:1c00:2c:8ef7::2.60415 > 2a03:f80:XXXX:552b::1.59283: UDP, length 74 20:01:54.530495 IP6 2a05:f480:1c00:2c:8ef7::2.62420 > 2a03:f80:XXXX:552b::1.57961: UDP, length 74 20:01:54.530532 IP6 2a05:f480:1c00:2c:8ef7::2.21071 > 2a03:f80:XXXX:552b::1.58223: UDP, length 74 20:01:54.829912 IP6 2a05:f480:1c00:2c:8ef7::2.46975 > 2a03:f80:XXXX:552b::1.59281: UDP, length 74 20:01:54.829928 IP6 2a05:f480:1c00:2c:8ef7::2.33220 > 2a03:f80:XXXX:552b::1.57885: UDP, length 74 20:01:54.829936 IP6 2a05:f480:1c00:2c:8ef7::2.60415 > 2a03:f80:XXXX:552b::1.59283: UDP, length 74 20:01:54.830099 IP6 2a05:f480:1c00:2c:8ef7::2.21071 > 2a03:f80:XXXX:552b::1.58223: UDP, length 74 20:01:54.830113 IP6 2a05:f480:1c00:2c:8ef7::2.62420 > 2a03:f80:XXXX:552b::1.57961: UDP, length 74 20:01:54.851953 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:01:55.280496 IP6 2a05:f480:1c00:2c:8ef7::2.33220 > 2a03:f80:XXXX:552b::1.57885: UDP, length 74 20:01:55.280506 IP6 2a05:f480:1c00:2c:8ef7::2.46975 > 2a03:f80:XXXX:552b::1.59281: UDP, length 74 20:01:55.280936 IP6 2a05:f480:1c00:2c:8ef7::2.60415 > 2a03:f80:XXXX:552b::1.59283: UDP, length 74 20:01:55.280941 IP6 2a05:f480:1c00:2c:8ef7::2.21071 > 2a03:f80:XXXX:552b::1.58223: UDP, length 74 20:01:55.280942 IP6 2a05:f480:1c00:2c:8ef7::2.62420 > 2a03:f80:XXXX:552b::1.57961: UDP, length 74 20:01:55.908572 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:01:55.954848 IP6 2a05:f480:1c00:2c:8ef7::2.46975 > 2a03:f80:XXXX:552b::1.59281: UDP, length 74 20:01:55.955296 IP6 2a05:f480:1c00:2c:8ef7::2.33220 > 2a03:f80:XXXX:552b::1.57885: UDP, length 74 20:01:55.955413 IP6 2a05:f480:1c00:2c:8ef7::2.60415 > 2a03:f80:XXXX:552b::1.59283: UDP, length 74 20:01:55.955418 IP6 2a05:f480:1c00:2c:8ef7::2.62420 > 2a03:f80:XXXX:552b::1.57961: UDP, length 74 20:01:55.955420 IP6 2a05:f480:1c00:2c:8ef7::2.21071 > 2a03:f80:XXXX:552b::1.58223: UDP, length 74 20:01:56.932540 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:01:56.967080 IP6 2a05:f480:1c00:2c:8ef7::2.46975 > 2a03:f80:XXXX:552b::1.59281: UDP, length 74 20:01:56.967092 IP6 2a05:f480:1c00:2c:8ef7::2.33220 > 2a03:f80:XXXX:552b::1.57885: UDP, length 74 20:01:56.967479 IP6 2a05:f480:1c00:2c:8ef7::2.60415 > 2a03:f80:XXXX:552b::1.59283: UDP, length 74 20:01:56.967486 IP6 2a05:f480:1c00:2c:8ef7::2.62420 > 2a03:f80:XXXX:552b::1.57961: UDP, length 74 20:01:56.967489 IP6 2a05:f480:1c00:2c:8ef7::2.21071 > 2a03:f80:XXXX:552b::1.58223: UDP, length 74 20:01:57.681664 IP6 fdc9:281f:4d7:9ee9::2 > 2610:1c1:1:606c::50:15: ICMP6, = echo request, id 1193, seq 0, length 16 20:01:58.485005 IP6 2a05:f480:1c00:2c:8ef7::2.46975 > 2a03:f80:XXXX:552b::1.59281: UDP, length 74 20:01:58.485782 IP6 2a05:f480:1c00:2c:8ef7::2.33220 > 2a03:f80:XXXX:552b::1.57885: UDP, length 74 20:01:58.485865 IP6 2a05:f480:1c00:2c:8ef7::2.60415 > 2a03:f80:XXXX:552b::1.59283: UDP, length 74 20:01:58.485870 IP6 2a05:f480:1c00:2c:8ef7::2.21071 > 2a03:f80:XXXX:552b::1.58223: UDP, length 74 20:01:58.485960 IP6 2a05:f480:1c00:2c:8ef7::2.62420 > 2a03:f80:XXXX:552b::1.57961: UDP, length 74 20:01:58.509630 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:01:58.686017 IP6 fdc9:281f:4d7:9ee9::2 > 2610:1c1:1:606c::50:15: ICMP6, = echo request, id 1193, seq 1, length 16 20:01:59.364586 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:01:59.364627 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:01:59.556555 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:01:59.710208 IP6 fdc9:281f:4d7:9ee9::2 > 2610:1c1:1:606c::50:15: ICMP6, = echo request, id 1193, seq 2, length 16 20:02:00.580563 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:02:00.735676 IP6 fdc9:281f:4d7:9ee9::2 > 2610:1c1:1:606c::50:15: ICMP6, = echo request, id 1193, seq 3, length 16 20:02:00.761636 IP6 2a05:f480:1c00:2c:8ef7::2.46975 > 2a03:f80:XXXX:552b::1.59281: UDP, length 74 20:02:00.761647 IP6 2a05:f480:1c00:2c:8ef7::2.33220 > 2a03:f80:XXXX:552b::1.57885: UDP, length 74 20:02:00.762086 IP6 2a05:f480:1c00:2c:8ef7::2.60415 > 2a03:f80:XXXX:552b::1.59283: UDP, length 74 20:02:00.762236 IP6 2a05:f480:1c00:2c:8ef7::2.21071 > 2a03:f80:XXXX:552b::1.58223: UDP, length 74 20:02:00.762276 IP6 2a05:f480:1c00:2c:8ef7::2.62420 > 2a03:f80:XXXX:552b::1.57961: UDP, length 74 20:02:03.576065 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:02:04.177409 IP6 2a05:f480:1c00:2c:8ef7::2.46975 > 2a03:f80:XXXX:552b::1.59281: UDP, length 74 20:02:04.177420 IP6 2a05:f480:1c00:2c:8ef7::2.60415 > 2a03:f80:XXXX:552b::1.59283: UDP, length 74 20:02:04.177422 IP6 2a05:f480:1c00:2c:8ef7::2.33220 > 2a03:f80:XXXX:552b::1.57885: UDP, length 74 20:02:04.177428 IP6 2a05:f480:1c00:2c:8ef7::2.21071 > 2a03:f80:XXXX:552b::1.58223: UDP, length 74 20:02:04.177430 IP6 2a05:f480:1c00:2c:8ef7::2.62420 > 2a03:f80:XXXX:552b::1.57961: UDP, length 74 20:02:04.613557 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:02:05.637566 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:02:06.838005 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:02:07.876555 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:02:08.900556 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:02:09.299695 IP6 2a05:f480:1c00:2c:8ef7::2.46975 > 2a03:f80:XXXX:552b::1.59281: UDP, length 74 20:02:09.299710 IP6 2a05:f480:1c00:2c:8ef7::2.33220 > 2a03:f80:XXXX:552b::1.57885: UDP, length 74 20:02:09.299714 IP6 2a05:f480:1c00:2c:8ef7::2.60415 > 2a03:f80:XXXX:552b::1.59283: UDP, length 74 20:02:09.299716 IP6 2a05:f480:1c00:2c:8ef7::2.21071 > 2a03:f80:XXXX:552b::1.58223: UDP, length 74 20:02:09.299718 IP6 2a05:f480:1c00:2c:8ef7::2.62420 > 2a03:f80:XXXX:552b::1.57961: UDP, length 74 20:02:10.274252 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:02:11.332731 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:02:12.356545 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.=