Page MenuHomeFreeBSD

New port: net/libpfctl: library for interaction with pf(4)
ClosedPublic

Authored by kp on Apr 19 2021, 2:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 9, 5:26 PM
Unknown Object (File)
Sat, Mar 9, 5:26 PM
Unknown Object (File)
Sat, Mar 9, 5:26 PM
Unknown Object (File)
Sat, Mar 9, 5:26 PM
Unknown Object (File)
Sat, Mar 9, 5:26 PM
Unknown Object (File)
Sat, Mar 9, 5:13 PM
Unknown Object (File)
Feb 13 2024, 6:17 PM
Unknown Object (File)
Feb 1 2024, 10:54 PM
Subscribers

Details

Summary

The libpfctl port builds a shared library version of the base system
internal libpfctl library.
While the base system libpfctl API/ABI is not guaranteed to be stable
the ioctl interface is, so any version of libpfctl can be safely used.

Note that currently only FreeBSD main (i.e. what will become 14)
supports libpfctl. The relevant changes will be MFC'd back to stable/13
and stable/12 in due course. At that point libpfctl will also be useful
there.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kp requested review of this revision.Apr 19 2021, 2:43 PM

This is still in progress, and realistically can't be used until 13.1 / 12.3 release with the required header changes.
It will likely also need different libpfctl source releases for the 12 and 13 branch, depending on what gets MFC'd.

  • cleanup
  • Ensure we don't try to build on FreeBSD versions where we won't build or work.
garga requested changes to this revision.May 4 2021, 12:13 PM

It's missing the new port entry on net/Makefile

On commit log message, add a first line like New port: net/libpfctl and a blank line before the full description

This revision now requires changes to proceed.May 4 2021, 12:13 PM
kp retitled this revision from net/libpfctl: Introduce port to New port: net/libpfctl: library for interaction with pf(4).
This revision is now accepted and ready to land.May 4 2021, 1:45 PM