From nobody Thu Feb 16 23:34:51 2023 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 4PHrrq5HdMz3qXNT for ; Thu, 16 Feb 2023 23:34:51 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PHrrq3mZbz4N24 for ; Thu, 16 Feb 2023 23:34:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676590491; 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=EGNFIZ62pQ5VKf/h/OJqdAW6HvZP/2KrwfMLjHONZXI=; b=A8ygwGG9hgfC5yd9lM6HjEGj56v4UoniUEYk9rhl577D9ZIzOvZ029s29n07Ht9OjBrVPz xQvGGCaCo90hK2F+FTB7u0IhFbXi0vTvAV+gt/Uzd5bXq0lV8cdDFyfGG9THeDI4xe8U67 8Ke+tNHKcderH5TEicnY0YcS9Aan86wNE07UvcXEfS3j0/fJJi76cHp6gr+spklolM5yEt d8BZDMbEi598ov7RskIIDuKwEdnP23JUk+U7Gn3PywUDvoptBh6fih0UUQOzAXN1TpaFse CWyM8ts2it6QT3ROTzx42UDUtWmR81p3eCOhNzd+Rujz4Ov4h/PIQptRIFhSkA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676590491; a=rsa-sha256; cv=none; b=NiAyTyk0Um6zZ4sWCBW7CFQGdq/S57+U3v+TSTPtZPbm42Co+umnJRtBljaYMhCbXMfZww K1RpQ23Qtskb+nsOQ3qZhTTlT7+Sxeg2yilI83cQURZrGxlyVRWtJ5Qm6MDxiTi4hAegAG jBwxXJM0vQIivxU99ScsUFnFLvE4HI22Yb7Mz3P/ZItDHbDvHt9xp/d1Ys/t1uM7CxrhJ1 eyeWOzDggAnOXlEjMzAyUuHZNnVNovgBKSfHKfOPCGgHk733N0FnUkjz5Vn1MdwbTG/B0N 0id8JHcYROHLELmwms2bwXqy3QxdyCzXIYGrJJlodcSPe6sZNosG2rGM1BBz7Q== 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 4PHrrq2pYYzMkZ for ; Thu, 16 Feb 2023 23:34:51 +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 31GNYpxY083395 for ; Thu, 16 Feb 2023 23:34:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31GNYpgB083394 for pf@FreeBSD.org; Thu, 16 Feb 2023 23:34:51 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: pf@FreeBSD.org Subject: [Bug 268717] [pf] [ipnat] rdr rules don't work for traffic originating at localhost Date: Thu, 16 Feb 2023 23:34:51 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kp@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@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: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268717 --- Comment #30 from Kristof Provost --- (In reply to Mina Gali=C4=87 from comment #29) That would probably get more eyes on this.=20 That said, my view is still that the latest proposed patch is the wrong approach. We should implement support for this use case in the firewall, no= t by adding this extra pfil hook.=20 I still hope to look at this once my holiday is over, starting in about two weeks. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Feb 25 20:09:24 2023 X-Original-To: freebsd-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 4PPHsp1s5Kz3tqJV for ; Sat, 25 Feb 2023 20:09:34 +0000 (UTC) (envelope-from dave@horsfall.org) Received: from nsstlmta02p.bpe.bigpond.com (nsstlmta02p.bpe.bigpond.com [203.38.21.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "", Issuer "Openwave Messaging Inc." (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PPHsm2Xk8z4D2R for ; Sat, 25 Feb 2023 20:09:32 +0000 (UTC) (envelope-from dave@horsfall.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of dave@horsfall.org designates 203.38.21.2 as permitted sender) smtp.mailfrom=dave@horsfall.org; dmarc=none Received: from smtp.telstra.com ([10.10.24.4]) by nsstlfep02p-svc.bpe.nexus.telstra.com.au with ESMTP id <20230225200927.KNSQ6326.nsstlfep02p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com> for ; Sun, 26 Feb 2023 07:09:27 +1100 X-RG-Spam: Unknown X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrudekiedgjedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuuffpveftpgfvgffnuffvtfetpdfqfgfvnecuuegrihhlohhuthemucegtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvuffkfgggtgesthdttddttdervdenucfhrhhomhepffgrvhgvucfjohhrshhfrghllhcuoegurghvvgeshhhorhhsfhgrlhhlrdhorhhgqeenucggtffrrghtthgvrhhnpeeiheehvedtiedtledvffevtdevgfdutddvfeejueeuheeludefffehvefgheekffenucffohhmrghinhephhhorhhsfhgrlhhlrdhorhhgnecukfhppeduuddtrddugedurdduleefrddvfeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheprghnvghurhhinhdrhhhorhhsfhgrlhhlrdhorhhgpdhinhgvthepuddutddrudeguddrudelfedrvdeffedpmhgrihhlfhhrohhmpegurghvvgeshhhorhhsfhgrlhhlrdhorhhgpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhrvggvsghsugdqphhfsehfrhgvvggsshgurdhorhhgpdhrvghvkffrpegtphgvqdduuddtqddugeduqdduleefqddvfeefrdhnshifrdgrshhprdhtvghlshhtrhgrrdhnvghtpdhgvghokffrpeetfgdpoffvtefjohhsthepnhhsshhtlhhrghduvdhpqdhsvhgt X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-RG-VS-CLASS: clean Received: from aneurin.horsfall.org (110.141.193.233) by smtp.telstra.com (5.8.812) id 6392ADA20EDA7E58 for freebsd-pf@freebsd.org; Sun, 26 Feb 2023 07:09:27 +1100 Received: from aneurin.horsfall.org (localhost [127.0.0.1]) by aneurin.horsfall.org (8.15.2/8.15.2) with ESMTP id 31PK9PFg091363 for ; Sun, 26 Feb 2023 07:09:25 +1100 (EST) (envelope-from dave@horsfall.org) Received: from localhost (dave@localhost) by aneurin.horsfall.org (8.15.2/8.15.2/Submit) with ESMTP id 31PK9OPj091360 for ; Sun, 26 Feb 2023 07:09:25 +1100 (EST) (envelope-from dave@horsfall.org) X-Authentication-Warning: aneurin.horsfall.org: dave owned process doing -bs Date: Sun, 26 Feb 2023 07:09:24 +1100 (EST) From: Dave Horsfall To: FreeBSD PF List Subject: Where did "from <__automatic_43ce223_0> come from? Message-ID: User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) X-GPG-Public-Key: http://www.horsfall.org/gpgkey.pub X-GPG-Fingerprint: 05B4 FFBC 0218 B438 66E0 587B EF46 7357 EF5E F58B X-Home-Page: http://www.horsfall.org/ X-Witty-Saying: "chmod 666 the_mode_of_the_beast" 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 Content-Type: text/plain; charset=US-ASCII X-Spamd-Result: default: False [-1.69 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.29)[-0.293]; R_SPF_ALLOW(-0.20)[+ip4:203.38.21.0/24]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[203.38.21.2:from]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-pf@freebsd.org]; DMARC_NA(0.00)[horsfall.org]; ARC_NA(0.00)[]; ASN(0.00)[asn:1221, ipnet:203.36.0.0/14, country:AU]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pf@freebsd.org]; TO_DN_ALL(0.00)[]; HAS_XAW(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4PPHsm2Xk8z4D2R X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N FreeBSD aneurin.horsfall.org 10.4-RELEASE-p13 FreeBSD 10.4-RELEASE-p13 #0: Thu Sep 27 09:21:23 UTC 2018 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 (Yeah, I'll update soon, when I find a newer box) Seen in my daily security run output: +block drop in quick inet from <__automatic_43ce223_0> to any [ Evaluations: 7333 Packets: 4 Bytes: 240 States: 0 ] Obviously something created automatically (I don't have anything faintly resembling that in my pf.conf), but how? Thanks. -- Dave From nobody Sat Feb 25 20:22:09 2023 X-Original-To: freebsd-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 4PPJ8W0N4Kz3tqjN for ; Sat, 25 Feb 2023 20:22:19 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PPJ8V74kGz4F9f; Sat, 25 Feb 2023 20:22:18 +0000 (UTC) (envelope-from kp@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677356539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Q6K8f2C/w7TH0iGIQqSCo0zLfW460zfOfqY54zs94Lg=; b=kG5Ibkm6OX8LsQIvYrdbyDynTZxhcQLpMuLR/Y0IZY/34IUZJBOypBtXemAzyPnQb6g76Q GFf51lqpIBizSOtY9Wb627uCSXm7IlB09UsBA1WdplHmaqyuReFRxNQ+uN5V0Abl+Vf3iw zfTSnHcbat+TtBQvqR8Q7LGN2ypHSSmO6ykqk7DuOeYn5wTqglWE9RRDWc49b8XXsusMna Yrzy6EOsVc9JmuvBqtmXdGuAOw1eyR1ucEsT3nnCiwomOFaFSkMn8pahtZPO1PYFMcTWao 9EMQEetO4DZq8y0k1lIIAoRiwRD9zwa2yRcSWCWqXrWJR/7nD4EH9ChgfG1PcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677356539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Q6K8f2C/w7TH0iGIQqSCo0zLfW460zfOfqY54zs94Lg=; b=nSAIZ4GLuQg7/x5SYlxg5+7LdmOOQ1O3r1N+sHHfB5No7CtbDZP9tn0bPlRQrC3B1c+C+o 5fk1p1gmeZkRTjQHVeV0jQYwA6oRY+NRY1322WhyjUiIZIsCX3TGXIBEct7LWLIeRiRv0G dSo70A9yYdSoR7HYFL/mTiXesZ4RClrGkYNq+oPXtZ4COqbhCltGrZWwAmes4ggC9aGs0c 5W9rmqp/afKGfhSAW4OvxGlMrxilTP0zeSiLstN+9LGjzchyXzcaUNlgr7pbabU3YA5aPp NnMymO4DZwEGtcspJSLXThgKLyekmXalWchWx6Pfmy19IdazjNc9/4DmxB++kw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677356539; a=rsa-sha256; cv=none; b=XH5qEZgWIn2YR6IVcGy2uU/s2VuKbU4z9GSHQoeR4OePm0OYr/lJbR0SDxO3baYfc9c2GJ T9BMWXtTJkk4Uz60yTXNIwv3BULXBC2hXVj5XXMxum/OQFydgMAfRWZfo+CHfLAZm0xZtB p2iu+6D4JDdh3tw7rXr1urrKf+wWov4BFFHFd0bHPxT0+elNeab7AFFFUDebdpTUBONK3j X4JdGwS0z50qzTuzO7+yFzKYzuIb01cP/p+wNUkG4jSKeWGwufqZqTLaKu1Pi7VXfO2wXg NZILgvYplkK7k5TycXnDRpDO8p5HufDhdn2IqRHdJruyRkzXTctBZHqScO3OAA== Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (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 "mx1.codepro.be", Issuer "R3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PPJ8V4qdZzHT1; Sat, 25 Feb 2023 20:22:18 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id 6BFC72428E; Sat, 25 Feb 2023 21:22:14 +0100 (CET) From: Kristof Provost To: Dave Horsfall Cc: FreeBSD PF List Subject: Re: Where did "from <__automatic_43ce223_0> come from? Date: Sun, 26 Feb 2023 09:22:09 +1300 X-Mailer: MailMate (1.14r5937) Message-ID: <502D8886-DC95-4BC0-8681-7D117A430825@FreeBSD.org> In-Reply-To: References: 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 Content-Type: multipart/alternative; boundary="=_MailMate_F5DF8DE0-804A-4BE6-A45E-957223570A00_=" Content-Transfer-Encoding: 8bit X-ThisMailContainsUnwantedMimeParts: N --=_MailMate_F5DF8DE0-804A-4BE6-A45E-957223570A00_= Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 26 Feb 2023, at 9:09, Dave Horsfall wrote: > FreeBSD aneurin.horsfall.org 10.4-RELEASE-p13 FreeBSD 10.4-RELEASE-p13 > #0: Thu Sep 27 09:21:23 UTC 2018 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > > (Yeah, I'll update soon, when I find a newer box) > > Seen in my daily security run output: > > +block drop in quick inet from <__automatic_43ce223_0> to any [ > Evaluations: 7333 Packets: 4 Bytes: 240 States: 0 ] > > Obviously something created automatically (I don't have anything > faintly > resembling that in my pf.conf), but how? > set ruleset-optimization none Disable the ruleset optimizer. basic Enable basic ruleset optimization. This is the default behaviour. Basic ruleset optimization does four things to improve the performance of ruleset evaluations: 1. remove duplicate rules 2. remove rules that are a subset of another rule 3. combine multiple rules into a table when advantageous 4. re-order the rules to improve evaluation performance profile Uses the currently loaded ruleset as a feedback profile to tailor the ordering of quick rules to actual network traffic. It is important to note that the ruleset optimizer will modify the ruleset to improve performance. A side effect of the ruleset modification is that per-rule accounting statistics will have different meanings than before. If per-rule accounting is important for billing purposes or whatnot, either the ruleset optimizer should not be used or a label field should be added to all of the accounting rules to act as optimization barriers. Optimization can also be set as a command-line argument to pfctl(8), overriding the settings in pf.conf. That’d be case 3. Kristof --=_MailMate_F5DF8DE0-804A-4BE6-A45E-957223570A00_= Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On 26 Feb 2023, at 9:09, Dave Horsfall wrote:

FreeBSD aneurin.horsfall.org 10.4-R= ELEASE-p13 FreeBSD 10.4-RELEASE-p13 #0: Thu Sep 27 09:21:23 UTC 2018 = root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386

=

(Yeah, I'll update soon, when I find a newer box)

Seen in my daily security run output:

+block drop in quick inet from <__automatic_43ce22= 3_0> to any [ Evaluations: 7333 Packets: 4 Bytes: 240 States: 0 ]

Obviously something created automatically (I don't have a= nything faintly
resembling that in my pf.conf), but how?


 s=
et ruleset-optimization
       none      Disable the ruleset optimizer.
       basic     Enable basic ruleset optimization.  This is the default
                 behaviour.  Basic ruleset optimization does four things =
to
                 improve the performance of ruleset evaluations:

                 1.   remove duplicate rules
                 2.   remove rules that are a subset of another rule
                 3.   combine multiple rules into a table when advantageo=
us
                 4.   re-order the rules to improve evaluation performanc=
e

       profile   Uses the currently loaded ruleset as a feedback profile =
to
                 tailor the ordering of quick rules to actual network
                 traffic.

       It is important to note that the ruleset optimizer will modify the=

       ruleset to improve performance.  A side effect of the ruleset
       modification is that per-rule accounting statistics will have
       different meanings than before.  If per-rule accounting is importa=
nt
       for billing purposes or whatnot, either the ruleset optimizer shou=
ld
       not be used or a label field should be added to all of the account=
ing
       rules to act as optimization barriers.

       Optimization can also be set as a command-line argument to pfctl(8=
),
       overriding the settings in pf.conf.

That=E2=80=99d be case 3.

Kristof

--=_MailMate_F5DF8DE0-804A-4BE6-A45E-957223570A00_=-- From nobody Sat Feb 25 20:48:33 2023 X-Original-To: freebsd-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 4PPJkx6WBHz3trVb for ; Sat, 25 Feb 2023 20:48:41 +0000 (UTC) (envelope-from dave@horsfall.org) Received: from nsstlmta17p.bpe.bigpond.com (nsstlmta17p.bpe.bigpond.com [203.38.21.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "", Issuer "Openwave Messaging Inc." (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PPJkw0Lh6z4Gj4 for ; Sat, 25 Feb 2023 20:48:39 +0000 (UTC) (envelope-from dave@horsfall.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of dave@horsfall.org designates 203.38.21.17 as permitted sender) smtp.mailfrom=dave@horsfall.org; dmarc=none Received: from smtp.telstra.com ([10.10.24.4]) by nsstlfep17p-svc.bpe.nexus.telstra.com.au with ESMTP id <20230225204834.ZYUL6554.nsstlfep17p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com> for ; Sun, 26 Feb 2023 07:48:34 +1100 X-RG-Spam: Unknown X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvhedrudekiedgjeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuuffpveftpgfvgffnuffvtfetpdfqfgfvnecuuegrihhlohhuthemucegtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvufgjkfhffgggtgesthdttddttdervdenucfhrhhomhepffgrvhgvucfjohhrshhfrghllhcuoegurghvvgeshhhorhhsfhgrlhhlrdhorhhgqeenucggtffrrghtthgvrhhnpeekieetjeeuuefhfeeguedvudeifeevudfgvedtffekhfffjeekhfdutdetheethfenucfkphepuddutddrudeguddrudelfedrvdeffeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegrnhgvuhhrihhnrdhhohhrshhfrghllhdrohhrghdpihhnvghtpeduuddtrddugedurdduleefrddvfeefpdhmrghilhhfrhhomhepuggrvhgvsehhohhrshhfrghllhdrohhrghdpnhgspghrtghpthhtohepuddprhgtphhtthhopehfrhgvvggsshguqdhpfhesfhhrvggvsghsugdrohhrghdprhgvvhfkrfeptghpvgdquddutddqudeguddqudelfedqvdeffedrnhhsfidrrghsphdrthgvlhhsthhrrgdrnhgvthdpghgvohfkrfeptegfpdfovfetjfhoshhtpehnshhsthhlrhhgudduphdqshhvtg X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-RG-VS-CLASS: clean Received: from aneurin.horsfall.org (110.141.193.233) by smtp.telstra.com (5.8.812) id 6392A87C0EDC7C98 for freebsd-pf@freebsd.org; Sun, 26 Feb 2023 07:48:34 +1100 Received: from aneurin.horsfall.org (localhost [127.0.0.1]) by aneurin.horsfall.org (8.15.2/8.15.2) with ESMTP id 31PKmXDq091664 for ; Sun, 26 Feb 2023 07:48:33 +1100 (EST) (envelope-from dave@horsfall.org) Received: from localhost (dave@localhost) by aneurin.horsfall.org (8.15.2/8.15.2/Submit) with ESMTP id 31PKmXTZ091661 for ; Sun, 26 Feb 2023 07:48:33 +1100 (EST) (envelope-from dave@horsfall.org) X-Authentication-Warning: aneurin.horsfall.org: dave owned process doing -bs Date: Sun, 26 Feb 2023 07:48:33 +1100 (EST) From: Dave Horsfall To: FreeBSD PF List Subject: Re: Where did "from <__automatic_43ce223_0> come from? In-Reply-To: <502D8886-DC95-4BC0-8681-7D117A430825@FreeBSD.org> Message-ID: References: <502D8886-DC95-4BC0-8681-7D117A430825@FreeBSD.org> User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) X-GPG-Public-Key: http://www.horsfall.org/gpgkey.pub X-GPG-Fingerprint: 05B4 FFBC 0218 B438 66E0 587B EF46 7357 EF5E F58B X-Home-Page: http://www.horsfall.org/ X-Witty-Saying: "chmod 666 the_mode_of_the_beast" 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 Content-Type: text/plain; charset=US-ASCII X-Spamd-Result: default: False [-1.64 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.24)[-0.242]; R_SPF_ALLOW(-0.20)[+ip4:203.38.21.0/24]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[203.38.21.17:from]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-pf@freebsd.org]; DMARC_NA(0.00)[horsfall.org]; ARC_NA(0.00)[]; ASN(0.00)[asn:1221, ipnet:203.36.0.0/14, country:AU]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pf@freebsd.org]; TO_DN_ALL(0.00)[]; HAS_XAW(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4PPJkw0Lh6z4Gj4 X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N On Sun, 26 Feb 2023, Kristof Provost wrote: [...] > set ruleset-optimization [...] > 3. combine multiple rules into a table when advantageous Many thanks! I probably orta take a closer look at the rules and clean them up a bit (they've grown over many years). -- Dave