From nobody Tue Oct 25 19:09:59 2022 X-Original-To: pf@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 4MxhN406V4z4gg3M for ; Tue, 25 Oct 2022 19:10:12 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (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 (2048 bits) client-digest SHA256) (Client CN "plan-b.pwste.edu.pl", Issuer "GEANT OV RSA CA 4" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MxhN21w6bz3Qgd for ; Tue, 25 Oct 2022 19:10:10 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from [IPV6:2a02:22e0:cf00:1ff:5c80:87be:3c9f:192d] (mzar@[IPv6:2a02:22e0:cf00:1ff:5c80:87be:3c9f:192d]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.17.1/8.17.1) with ESMTPSA id 29PJ9x49022469 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Tue, 25 Oct 2022 21:10:00 +0200 (CEST) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1666725000; bh=9UBacSpMt8Bu4G5ScOXQmyP44ZJzRz+raaRda+k1Kk8=; h=Date:Subject:To:References:From:In-Reply-To; b=Ben5J90TP83Ndtnfj+6d36RsdsKFMa5ZQ6CtUAQgExpJeAX0N4Ern3usXAHaIRMp+ bd5xCsXIAH4sXaBSjcaKdE8EspuwmZYkukd2COX1UedCEbkdKvypyi0nGCnO+mnbGV Lr56kDsgDTQp8nYQTFMxSwf1a7B7WUriniA7ojCjEqRROmKFBhEhbYyKElhJolRkFh ImOAIHJO4oFUBBy4hii6qcgMZHPGuTQ7uKWaXwFPDPCYtCsrA12vZwoAZiMpzy2Hhj jF0E3gk192+fpsgJHVVovAK9tRQEN/Grz+YlPhtxio5FvjzpSNv3utnqMIbqMevNTv MyAgkZEXpCllA== Message-ID: <7552b156-9cea-55e7-7ddd-0fb9759a521c@plan-b.pwste.edu.pl> Date: Tue, 25 Oct 2022 21:09:59 +0200 List-Id: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pf@freebsd.org X-BeenThere: freebsd-pf@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: logging NAT sessions (connection tracking) To: pf@freebsd.org References: <4fa4e31a-449d-5b79-5d59-12de4bbd7651@comcast.net> Content-Language: pl, en-US From: Marek Zarychta In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------kwgZTgSSK0v96tzouCepCUfQ" X-Rspamd-Queue-Id: 4MxhN21w6bz3Qgd X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b=Ben5J90T; dmarc=pass (policy=none) header.from=plan-b.pwste.edu.pl; spf=none (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl has no SPF policy when checking 2001:678:618::40) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl X-Spamd-Result: default: False [-5.80 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,none]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; MIME_BASE64_TEXT(0.10)[]; MLMMJ_DEST(0.00)[pf@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ATTACHMENT(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[pf@freebsd.org]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------kwgZTgSSK0v96tzouCepCUfQ Content-Type: multipart/mixed; boundary="------------PkQgUGHkeCZA3pTBUC2hVTmh"; protected-headers="v1" From: Marek Zarychta To: pf@freebsd.org Message-ID: <7552b156-9cea-55e7-7ddd-0fb9759a521c@plan-b.pwste.edu.pl> Subject: Re: logging NAT sessions (connection tracking) References: <4fa4e31a-449d-5b79-5d59-12de4bbd7651@comcast.net> In-Reply-To: --------------PkQgUGHkeCZA3pTBUC2hVTmh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 VyBkbml1IDI1LjEwLjIwMjIgb8KgMTk6MzgsIEd1eSBCcmFuZCBwaXN6ZToNCj4gT24gT2N0 IDIwLCAyMDIyIGF0IDA5OjUwIC0wNzAwLCBmZGRpIHdyb3RlOg0KPiANCj4gSGksDQo+IA0K Pj4gSSB3b3VsZCBncmVhdGx5IGFwcHJlY2lhdGUgdG8gdGFrZSBhIGxvb2sgYXQgeW91ciBt b2RpZmljYXRpb24gaWYgeW91IGFyZQ0KPj4ga2VlbiB0byBzaGFyZSBpdC4NCj4gDQo+IFBs ZWFzZSBmaW5kIHRoZW0gYXR0YWNoZWQuIFRoZXkgc2hvdWxkIGFwcGx5IHdpdGhvdXQgY29u ZmxpY3QgdG8gY29tbWl0DQo+IDYyMTA1MTM2ZDkwMzdjLg0KPiANCj4gQmVzdC4NCj4gDQoN ClRoYW5rcyBmb3Igc2hhcmluZyB5b3VyIHdvcmsgd2l0aCBsaXN0IHN1YnNjcmliZXMuIEhh dmUgeW91IHRyaWVkIHRvIA0KdXBzdHJlYW0gdGhlc2UgcGF0Y2hlcz8NCi0tIA0KTWFyZWsg WmFyeWNodGENCg0K --------------PkQgUGHkeCZA3pTBUC2hVTmh-- --------------kwgZTgSSK0v96tzouCepCUfQ Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEnjwyTmqn2oNX6C8qHZW8vIFppoIFAmNYNIcFAwAAAAAACgkQHZW8vIFppoJB SQgAjZ8d60dJ7jHlvstwLhX58ZZwOCqSiCakJ3Doxvv7Lwg8TOwt7uC58o5Vm0lgc31bTxR+J1Vv vtEiH2xb0me2J1N0Je8zOI2y1+FZxGesJBhmp9R/lfSucvgsKLlsSOr+APZFUskfFwdQDzqmBpez zPw1GBzqc5uIDv0oLnzejHwlxUThLa86zQO8nlAf8k/+yxxYKOLCkysIrtTgBPoA1FSAhXAWa9y6 caB0vMuHH3BkRxCZjlF77edkf6I7ptbv1kwi/suPBR9tLlzLxfImYOFZrIcCeYFctgb8Ct0jPmBY WHTIcTQDSWkndhtVafE/6TVcPYhpV+0SVJbPjRQDVg== =KEUj -----END PGP SIGNATURE----- --------------kwgZTgSSK0v96tzouCepCUfQ--