From owner-freebsd-pf@freebsd.org Fri Jul 10 17:57:14 2020 Return-Path: Delivered-To: freebsd-pf@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8769836F64B for ; Fri, 10 Jul 2020 17:57:14 +0000 (UTC) (envelope-from l.m.v.breda@xs4all.nl) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4B3LNB2Q78z3RZx for ; Fri, 10 Jul 2020 17:57:14 +0000 (UTC) (envelope-from l.m.v.breda@xs4all.nl) Received: by mailman.nyi.freebsd.org (Postfix) id 50B0B36F64A; Fri, 10 Jul 2020 17:57:14 +0000 (UTC) Delivered-To: pf@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5077736F3F1 for ; Fri, 10 Jul 2020 17:57:14 +0000 (UTC) (envelope-from l.m.v.breda@xs4all.nl) Received: from lb1-smtp-cloud9.xs4all.net (lb1-smtp-cloud9.xs4all.net [194.109.24.22]) (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.xs4all.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B3LN70Klcz3RdD for ; Fri, 10 Jul 2020 17:57:10 +0000 (UTC) (envelope-from l.m.v.breda@xs4all.nl) Received: from cust-f904f3c0 ([IPv6:fc0c:c196:282b:f540:9d4d:c9e0:ed11:38c0]) by smtp-cloud9.xs4all.net with ESMTPSA id txGmjvVi15flqtxGnjp4Ei; Fri, 10 Jul 2020 19:57:09 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1; t=1594403829; bh=5U+Uy8qJPidnQEgElUEXpBTgrhqQsDvMNrKSqvvsWB4=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From: Subject; b=Q1fHX8MIqLw6uEek/8xUpLfVtxor0tsdwkvrj50oWPw2KwB7J4Fy34c3Mn5r2KTma TCzj42RQnAbAejM27rWJzGmYJl0zQBOk78mCv3rCIGOXeVA+TqlBxrV0VCkZ5/LiJa to1Tl0Q86zs7vSZm6zR+jGAB8207EmOR3GpHq+kra66gez2jqO9Dsobfh+e4KOcknE 04TDWCCaf/LSkd80qRCo+UL+vgj6o83hz9WUghqwSc7JNBNCqsy52YKs+jN8yZytpQ D/A55TwThLUXNNqjY3aocSEV9+di2j6E/vrD+8La0VqfBFXnRrCGZUENXOVo+5r9uX GCy1msXhOHaUw== From: To: Subject: =?utf-8?Q?The_best_of_both_worlds_=E2=80=9Cusing_m?= =?utf-8?Q?ac_filtering_in_pf=E2=80=9D?= Date: Fri, 10 Jul 2020 19:57:08 +0200 Message-ID: MIME-Version: 1.0 X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdZW43sVTQSgFO5lSlGn1PE+e9eNMQ== Content-Language: nl Importance: High X-CMAE-Envelope: MS4wfOFFLYAXZC33HxyMm2NjKLzzNd75fv/UyFXdRE/meHDFik8FYhu5Xv+MGa4zU5KE2708NjXcG2nvJkVNEb6CFtNkDce9uOLEw2AF85CsPoc7rTxjQeJl GMUzOB/OYmhk0qPYPJaebC4T/6FXMSIzvMg= X-Rspamd-Queue-Id: 4B3LN70Klcz3RdD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=xs4all.nl header.s=s1 header.b=Q1fHX8MI; dmarc=none; spf=pass (mx1.freebsd.org: domain of l.m.v.breda@xs4all.nl designates 194.109.24.22 as permitted sender) smtp.mailfrom=l.m.v.breda@xs4all.nl X-Spamd-Result: default: False [-2.34 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[194.109.24.22:from]; R_SPF_ALLOW(-0.20)[+ip4:194.109.24.0/24:c]; FREEMAIL_FROM(0.00)[xs4all.nl]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[xs4all.nl:+]; NEURAL_HAM_SHORT(-0.01)[-0.012]; RCVD_IN_DNSWL_LOW(-0.10)[194.109.24.22:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[xs4all.nl]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[xs4all.nl:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.77)[-0.774]; R_DKIM_ALLOW(-0.20)[xs4all.nl:s=s1]; HAS_X_PRIO_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.95)[-0.951]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[xs4all.nl]; RCPT_COUNT_ONE(0.00)[1]; FROM_NO_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2020 17:57:14 -0000 Hello, I am using pfSense, build on top of pf. And of course pfSense/pf is a = terrific firewall, however the world is changing in the direction of = IPV6 and that leads to new issues and related new requirements. One of the major issues is that IPV6 does not provide a stable source = address you can use to filter in your firewall.=20 Many firewalls =E2=80=9Cout there=E2=80=9D are *using the level-2 mac as = a way around this issue*. =EF=BF=BD However =E2=80=A6.. pfSense cannot = provide that functionality, since it is built on top of = =E2=80=A6=E2=80=A6 pf. Tja, and then there is a =E2=80=9Cstriking=E2=80=9D issue =E2=80=A6.. = suppose that pfSense would have been built on top of OpenBSD, still = using pf =E2=80=A6=E2=80=A6=E2=80=A6. That had been possible = =E2=80=A6=E2=80=A6. So as user I would be very pleased if there could be a joined = =E2=80=9Cpf-release=E2=80=9D having *best of both worlds* !!!! Assume we were running OpenBSD =E2=80=A6=E2=80=A6 things like =EF=BF=BD = =EF=BF=BD=20 step-1: ifconfig bridge0 rule pass in on fxp0 src tag = step-2: And then in pf.conf: pass in on fxp0 tagged (policy = based rule) would have been an option, =E2=80=A6. not saying it is the best option = =E2=80=A6.. =EF=BF=BDbetter option would be if pf could set the tag = itself Whatever please consider adding this functionality to pf preferable on = short term, since IPV6 is fast becoming very important! Sincerely, =EF=BF=BD Louis PS =E2=80=A6 should I raise an feature request for this? =EF=BF=BD