From owner-freebsd-net@freebsd.org Wed Jun 26 10:10:31 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 818FA15C2E83 for ; Wed, 26 Jun 2019 10:10:31 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8ADEE96286 for ; Wed, 26 Jun 2019 10:10:30 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id x5QAASCd069304; Wed, 26 Jun 2019 12:10:28 +0200 (CEST) Received: from [217.29.44.222] ([217.29.44.222]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id x5QAASHQ072320; Wed, 26 Jun 2019 12:10:28 +0200 (CEST) (envelope-from hausen@punkt.de) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: IPFW NAT64 changed 11.2 --> 11.3? From: "Patrick M. Hausen" In-Reply-To: <71dacccb-2500-6d7e-c890-2733d15fbbe5@yandex.ru> Date: Wed, 26 Jun 2019 12:10:27 +0200 Cc: FreeBSD Net , mops@punkt.de Content-Transfer-Encoding: quoted-printable Message-Id: References: <950200A8-6D36-46FE-B0DD-BA6EA860FEB7@punkt.de> <71dacccb-2500-6d7e-c890-2733d15fbbe5@yandex.ru> To: "Andrey V. Elsukov" X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 8ADEE96286 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hausen@punkt.de designates 217.29.33.131 as permitted sender) smtp.mailfrom=hausen@punkt.de X-Spamd-Result: default: False [-1.67 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.989,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:217.29.32.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[punkt.de]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mailin.pluspunkthosting.de]; NEURAL_HAM_SHORT(-0.70)[-0.698,0]; RCVD_IN_DNSWL_NONE(0.00)[131.33.29.217.list.dnswl.org : 127.0.10.0]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_TO(0.00)[yandex.ru]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.18)[ipnet: 217.29.32.0/20(-0.51), asn: 16188(-0.41), country: DE(-0.01)] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jun 2019 10:10:31 -0000 > Am 26.06.2019 um 11:47 schrieb Andrey V. Elsukov : > Check the output of the following commands on both translators: >=20 > # sysctl net.inet.ip.fw | grep nat64 > # ipfw nat64lsn all list > # ipfw nat64lsn NAT64 stats Working 11.2 system: root@gate64:~ # sysctl net.inet.ip.fw | grep nat64 net.inet.ip.fw.nat64_allow_private: 0 net.inet.ip.fw.nat64_debug: 0 root@gate64:~ # ipfw nat64lsn all list nat64lsn NAT64 prefix4 217.29.40.140/32 log root@gate64:~ # ipfw nat64lsn NAT64 stats nat64lsn NAT64 5311 packets translated from IPv6 to IPv4 6048 packets translated from IPv4 to IPv6 0 IPv6 fragments created 0 IPv4 fragments received 0 output packets dropped due to no bufs, etc. 0 output packets discarded due to no IPv4 route 0 output packets discarded due to no IPv6 route 7 packets discarded due to unsupported protocol 0 packets discarded due to memory allocation problems 0 packets discarded due to some errors 76362 packets not matched with IPv4 prefix 722 mbufs queued for post processing 238514 times the job queue was processed 951888 job requests queued 0 job requests queue limit reached 0 job requests failed due to memory allocation problems 5 hosts allocated 5 hosts requested 0 host requests failed 717 portgroups requested 722 portgroups allocated 1444 portgroups deleted 0 portgroup requests failed 0 portgroups allocated for TCP 0 portgroups allocated for UDP 0 portgroups allocated for ICMP 780 states created 780 states deleted Defunct 11.3 system: root@gate64:~ # sysctl net.inet.ip.fw | grep nat64 net.inet.ip.fw.nat64_direct_output: 1 net.inet.ip.fw.nat64_debug: 0 root@gate64:~ # ipfw nat64lsn all list nat64lsn NAT64 prefix4 217.29.40.145/32 log root@gate64:~ # ipfw nat64lsn NAT64 stats nat64lsn NAT64 357 packets translated from IPv6 to IPv4 493 packets translated from IPv4 to IPv6 0 IPv6 fragments created 0 IPv4 fragments received 0 output packets dropped due to no bufs, etc. 0 output packets discarded due to no IPv4 route 0 output packets discarded due to no IPv6 route 0 packets discarded due to unsupported protocol 0 packets discarded due to memory allocation problems 0 packets discarded due to some errors 3115 packets not matched with IPv4 prefix 40 mbufs queued for post processing 79 times the job queue was processed 79 job requests queued 0 job requests queue limit reached 0 job requests failed due to memory allocation problems 1 hosts allocated 1 hosts requested 0 host requests failed 39 portgroups requested 40 portgroups allocated 78 portgroups deleted 0 portgroup requests failed 0 portgroups allocated for TCP 0 portgroups allocated for UDP 1 portgroups allocated for ICMP 132 states created 132 states deleted tcpdump will take some more time, currently we do not have /dev/bpf in = these jails. Kind regards, Patrick --=20 punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 76133 Karlsruhe info@punkt.de http://punkt.de AG Mannheim 108285 Gf: Juergen Egeling