PF configuration file contains many things. Using the new page characters (i.e. ^L, \014) to mark the beginning of parts is useful because many editors such as emacs and vim has facilities to jump next/previous ones. Attached patch allow new page character in pf.conf.
Responsible Changed From-To: freebsd-bugs->freebsd-pf Over to maintainer(s).
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
Created attachment 258918 [details] parse.y.diff ^Triage: rebase patch.
Created attachment 267129 [details] parse.y.diff ^Triage: rebase patch. If this is committed, we should maybe also try to upstream it to OpenBSD, so that we can avoid further divergence of config files.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=fc353e5e61fadd6ef618948f417f96381c08239c commit fc353e5e61fadd6ef618948f417f96381c08239c Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2026-01-14 06:18:27 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2026-01-14 11:31:58 +0000 pfctl: allow new page character (^L) in pf.conf PF configuration files can contains many things. Using the new page characters (i.e. ^L, \014) to mark the beginning of parts is useful because many editors such as emacs and vim has facilities to jump next/previous ones. PR: 86635 MFC after: 2 weeks Submitted by: MOROHOSHI Akihiko <moro@remus.dti.ne.jp> Submitted by: Simon Wollwage <rootnode+freebsd@wollwage.com> Sponsored by: Rubicon Communications, LLC ("Netgate") sbin/pfctl/parse.y | 2 +- sbin/pfctl/tests/files/pf1078.in (new) | 3 +++ sbin/pfctl/tests/files/pf1078.ok (new) | 2 ++ sbin/pfctl/tests/pfctl_test_list.inc | 1 + 4 files changed, 7 insertions(+), 1 deletion(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=d2d25d8fde2e19fb880c913dcc53871ef0588b55 commit d2d25d8fde2e19fb880c913dcc53871ef0588b55 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2026-01-14 06:18:27 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2026-01-28 09:08:59 +0000 pfctl: allow new page character (^L) in pf.conf PF configuration files can contains many things. Using the new page characters (i.e. ^L, \014) to mark the beginning of parts is useful because many editors such as emacs and vim has facilities to jump next/previous ones. PR: 86635 MFC after: 2 weeks Submitted by: MOROHOSHI Akihiko <moro@remus.dti.ne.jp> Submitted by: Simon Wollwage <rootnode+freebsd@wollwage.com> Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit fc353e5e61fadd6ef618948f417f96381c08239c) sbin/pfctl/parse.y | 2 +- sbin/pfctl/tests/files/pf1078.in (new) | 3 +++ sbin/pfctl/tests/files/pf1078.ok (new) | 2 ++ sbin/pfctl/tests/pfctl_test_list.inc | 1 + 4 files changed, 7 insertions(+), 1 deletion(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=19709a0cd866a6ce8f9b0858b360c584da8cb6ce commit 19709a0cd866a6ce8f9b0858b360c584da8cb6ce Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2026-01-14 06:18:27 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2026-01-28 09:08:06 +0000 pfctl: allow new page character (^L) in pf.conf PF configuration files can contains many things. Using the new page characters (i.e. ^L, \014) to mark the beginning of parts is useful because many editors such as emacs and vim has facilities to jump next/previous ones. PR: 86635 MFC after: 2 weeks Submitted by: MOROHOSHI Akihiko <moro@remus.dti.ne.jp> Submitted by: Simon Wollwage <rootnode+freebsd@wollwage.com> Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit fc353e5e61fadd6ef618948f417f96381c08239c) sbin/pfctl/parse.y | 2 +- sbin/pfctl/tests/files/pf1078.in (new) | 3 +++ sbin/pfctl/tests/files/pf1078.ok (new) | 2 ++ sbin/pfctl/tests/pfctl_test_list.inc | 1 + 4 files changed, 7 insertions(+), 1 deletion(-)