History log of /freebsd-current/contrib/pf/authpf/authpf.c
Revision Date Author Comments
# 044243fc 24-Apr-2024 Kristof Provost <kp@FreeBSD.org>

libpfctl: allow access to the fd

pfctl_open() opens both /dev/pf and a netlink socket. Allow access to the /dev/
pf fd via pfctl_fd().
This means that libpfctl users no longer have to open /dev/pf themselves for any
calls that are not yet available in libpfctl.

Sponsored by: Rubicon Communications, LLC ("Netgate")
MFC after: 2 weeks


# 706d465d 26-Feb-2024 Kristof Provost <kp@FreeBSD.org>

pf: convert kill/clear state to use netlink

Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D44090


# bbde5c07 20-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

pf: Remove __FBSDID() macro use

These are local additions that no longer make sense with the transition
to git.

This partially reverts a10f530f936b7b2e3a19c406ae199b91a48f34d3.

Reviewed by: kp, imp
Differential Revision: https://reviews.freebsd.org/D42687


# 81f964e2 03-May-2023 Ed Maste <emaste@FreeBSD.org>

authpf: do not sprintf to a null pointer

The fgetln loop will terminate with buf = NULL at EOF.

Reported by: GCC
Reviewed by: kp
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39947


# 2b2ed4a6 30-Apr-2021 Kristof Provost <kp@FreeBSD.org>

authpf: Start using libpfctl

Use pfctl_kill_states() rather than the DIOCKILLSTATES ioctl directly.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D30057


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 5ee7cd21 02-Jul-2007 Max Laier <mlaier@FreeBSD.org>

Commit resolved import of OpenBSD 4.1 pf userland from perforce.

Approved by: re (kensmith)


# 67ecd4f3 02-Jul-2007 Max Laier <mlaier@FreeBSD.org>

Import pf userland from OpenBSD 4.1 and (for ftp-proxy) libevent 1.3b as
a local lib.


# 8d13037c 25-Dec-2005 Max Laier <mlaier@FreeBSD.org>

Fix build after timeval.tv_sec changed from long to time_t.


# 0baf7c86 03-May-2005 Max Laier <mlaier@FreeBSD.org>

Resolve conflicts created during the import of pf 3.7 Some features are
missing and will be implemented in a second step. This is functional as is.

Tested by: freebsd-pf, pfsense.org
Obtained from: OpenBSD


# 61a1372b 03-May-2005 Max Laier <mlaier@FreeBSD.org>

Import pf userland from OpenBSD 3.7 (OPENBSD_3_7 as of today)


# 22ac3ead 16-Jun-2004 Max Laier <mlaier@FreeBSD.org>

Commit userland part of pf version 3.5 from OpenBSD (OPENBSD_3_5_BASE).


# abff3868 16-Jun-2004 Max Laier <mlaier@FreeBSD.org>

Import userland of pf 3.5 from OpenBSD (OPENBSD_3_5_BASE).


# a10f530f 16-Mar-2004 David E. O'Brien <obrien@FreeBSD.org>

Fix $FreeBSD$ ids.


# b83a49e9 15-Mar-2004 Max Laier <mlaier@FreeBSD.org>

Fix some style(9) related issues after discussion with/education from bde:
- Add <sys/param.h> and <limits.h> where required (do not depend on other
headers pulling it in).
- __dead -> __dead2
- #if defined() -> #ifdef
- Remove ugly PRIu64 macros and use %llu w/ (unsigned long long) cast.

All changes looped back to OpenBSD (where applicable) for easier sync in the
future.

Requested by: bde
Approved by: bms(mentor)


# 8c8618f5 28-Feb-2004 Max Laier <mlaier@FreeBSD.org>

Apply diff from the port.
Rather small diff for the userland (in contrast to the kernel):
- Some header file location/differences
- Clean compilation on 64bit arch (identified by bento a long time ago)
- ALTQ not (yet) available. Leave a switch for patchsets and future ...
- most files can be used from the vendor branch

Approved by: bms(in general)


# 13b9f610 28-Feb-2004 Max Laier <mlaier@FreeBSD.org>

Vendor import of OpenBSD's pf userland as of OpenBSD 3.4

Approved by: bms(mentor), core(in general)