History log of /freebsd/contrib/pf/authpf/authpf.c (Results 1 – 25 of 33)
Revision (<<< Hide revision tags) (Show revision tags >>>) 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 t

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

show more ...


Revision tags: release/13.3.0
# 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 21-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, im

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

show more ...


Revision tags: release/14.0.0
# 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

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

show more ...


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0
# 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: ht

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

show more ...


Revision tags: release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0
# 935205e2 17-Jul-2011 Justin T. Gibbs <gibbs@FreeBSD.org>

Integrate from Head into ZFSD feature branch as of revision r224141.


# 23300944 30-Jun-2011 Peter Grehan <grehan@FreeBSD.org>

IFC @ r223696 to pick up dfr's userboot


# 40a03457 28-Jun-2011 Attilio Rao <attilio@FreeBSD.org>

MFC


# e0bfbfce 28-Jun-2011 Bjoern A. Zeeb <bz@FreeBSD.org>

Update packet filter (pf) code to OpenBSD 4.5.

You need to update userland (world and ports) tools
to be in sync with the kernel.

Submitted by: mlaier
Submitted by: eri


Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0
# 5ee7cd21 03-Jul-2007 Max Laier <mlaier@FreeBSD.org>

Commit resolved import of OpenBSD 4.1 pf userland from perforce.

Approved by: re (kensmith)


# 67ecd4f3 03-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.


Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0
# 8d13037c 25-Dec-2005 Max Laier <mlaier@FreeBSD.org>

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


Revision tags: release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0
# 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:

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

show more ...


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

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


Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0
# 22ac3ead 17-Jun-2004 Max Laier <mlaier@FreeBSD.org>

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


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

Import userland of pf 3.5 from OpenBSD (OPENBSD_3_5_BASE).


Revision tags: release/4.10.0_cvs, release/4.10.0
# 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

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)

show more ...


# 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

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)

show more ...


# 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)


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

This commit was generated by cvs2svn to compensate for changes in r126353,
which included commits to RCS files with non-trunk default branches.


Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0
# 5ee7cd21 03-Jul-2007 Max Laier <mlaier@FreeBSD.org>

Commit resolved import of OpenBSD 4.1 pf userland from perforce.

Approved by: re (kensmith)


# 67ecd4f3 03-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.


Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0
# 8d13037c 25-Dec-2005 Max Laier <mlaier@FreeBSD.org>

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


Revision tags: release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0
# 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:

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

show more ...


12