1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Kristof Provost 0bf18fcd54 pfctl: fix recrusive printing of anchors
Fix a couple of problems with printing of anchors, in particular recursive
printing, both of inline anchors and when requested explicitly with a '*'
in the anchor.
- Correct recursive printing of wildcard anchors (recurse into child anchors
rather than rules, which don't exist)
- Print multi-part anchor paths correctly (pr6065)
- Fix comments and prevent users from specifying multi-component names for
inline anchors.

tested by phessler
ok henning

Also fix the relevant pfctl test case to reflect the new (and now
correct) behaviour).

MFC after:	3 weeks
Obtained from:	OpenBSD (mcbride, f9a568a27c740528301ca3419316c85a9fc7f1de)
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D36416

(cherry picked from commit 585a5ed0be)
2022-09-27 09:55:46 +02:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2022-02-09 12:39:50 -05:00
.github/workflows .github: Add a build on Ubuntu 22.04 using llvm 14. 2022-07-13 11:44:26 -07:00
bin date: attempt to more accurately describe year limitations with -v 2022-09-18 01:26:39 -05:00
cddl ctfconvert: Give bitfield types names distinct from the base type 2022-08-11 10:36:11 -04:00
contrib sqlite3: Vendor import of sqlite3 3.39.3 2022-09-26 21:07:31 -07:00
crypto OpenSSL: Merge OpenSSL 1.1.1q 2022-07-05 12:26:55 -04:00
etc libexec/rc: Add var_run rc script 2022-09-11 17:40:37 -07:00
gnu Bump shared library versions after ncurses bump in 13. 2021-02-04 17:51:45 -08:00
include libc: Add strverscmp(3) and versionsort(3) 2022-08-31 04:20:28 +03:00
kerberos5 pkgbase: split kerberos binaries and libs 2022-08-19 14:27:16 +01:00
lib Update SEE ALSO sections for resolver.{3,5} and hosts.5 2022-09-24 10:31:13 +02:00
libexec rtld-elf/libmap.c: correct comment 2022-09-25 14:18:25 +03:00
release pkgbase: split kerberos binaries and libs 2022-08-19 14:27:16 +01:00
rescue Add an internal libiscsiutil library. 2022-04-29 14:13:00 -07:00
sbin pfctl: fix recrusive printing of anchors 2022-09-27 09:55:46 +02:00
secure OpenSSL: Regen manual pages for OpenSSL 1.1.1q 2022-07-05 12:27:33 -04:00
share cpuset(9): Refer to CPU_SETSIZE not MAXCPU 2022-09-26 19:12:48 +01:00
stand stand: i386: take into account disk sector size for blk calculation 2022-09-18 01:26:40 -05:00
sys igc: Don't start in promiscious mode by default 2022-09-26 09:33:58 +02:00
targets Fix bootstrapping to actually build lldb-tblgen for later use 2021-09-07 13:08:18 +01:00
tests pf tests: test wildcard anchors 2022-09-15 10:48:13 +02:00
tools tools: test: iconv: fix open_2 to not segfault 2022-09-18 01:26:39 -05:00
usr.bin Bump .Dd for recently modified manual pages 2022-09-24 10:25:07 +02:00
usr.sbin Remove references to named(8) 2022-09-24 10:09:35 +02:00
.arcconfig arcconfig: add callsign again 2020-11-23 04:39:29 +00:00
.arclint
.cirrus.yml Cirrus-CI: add a manual amd64-gcc9 build and smoketest job 2022-02-22 14:53:02 -05:00
.clang-format clang-format: Add bitset loop macros 2021-11-01 09:20:11 -04:00
.gitattributes
.gitignore add exuberant ctags tags file to gitignore 2022-01-11 15:25:37 +02:00
COPYRIGHT copyrights: Happy New Year 2021 2020-12-31 10:29:44 -05:00
LOCKS
MAINTAINERS Add a pointer to csprng@ for the CSPRNG driver. This is enforced anyway by 2020-09-01 08:02:12 +00:00
Makefile Add list-old-{dirs,files,libs} targets. 2022-07-13 08:22:24 -07:00
Makefile.inc1 installworld: improve portability of ldd use 2022-08-12 16:06:26 +01:00
Makefile.libcompat Prefer MK_SSP=no to SSP_CFLAGS= 2021-08-11 13:56:28 -03:00
Makefile.sys.inc
ObsoleteFiles.inc contrib/tzdata: import tzdata 2022b and 2022c 2022-08-17 09:48:01 +08:00
README README.md: update gnu directory description 2021-12-19 21:01:53 -05:00
README.md README.md: update gnu directory description 2021-12-19 21:01:53 -05:00
RELNOTES RELNOTES: Note support for KTLS RX for TLS 1.3. 2022-04-29 14:08:44 -07:00
UPDATING LinuxKPI: move pm_message_t from kernel.h to pm.h 2022-07-01 13:48:24 +00:00

FreeBSD Source:

This is the top level of the FreeBSD source directory. This file was last revised on: FreeBSD

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html, and https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html for more information, including setting make(1) variables.

Source Roadmap:

bin		System/user commands.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

gnu		Commands and libraries under the GNU General Public License
		(GPL) or Lesser General Public License (LGPL).  Please see
		gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

stand		Boot loader sources.

sys		Kernel sources.

sys/<arch>/conf Kernel configuration files. GENERIC is the configuration
		used in release builds. NOTES contains documentation of
		all possible entries.

tests		Regression tests which can be run by Kyua.  See tests/README
		for additional information.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html