aboutsummaryrefslogtreecommitdiff
path: root/contrib/pf/authpf
Commit message (Collapse)AuthorAgeFilesLines
* man filesystems: fix xrefs after move to section 4Alexander Ziaee2024-05-161-2/+2
| | | | | Reviewed by: des, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1077
* libpfctl: allow access to the fdKristof Provost2024-04-291-11/+9
| | | | | | | | | | 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
* pf: convert kill/clear state to use netlinkKristof Provost2024-02-281-3/+5
| | | | | Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D44090
* pf: Remove __FBSDID() macro useBrooks Davis2023-11-211-3/+0
| | | | | | | | | | 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
* authpf: do not sprintf to a null pointerEd Maste2023-05-031-3/+2
| | | | | | | | | | 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
* authpf: Start using libpfctlKristof Provost2021-05-071-17/+18
| | | | | | | | 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
* Ressurect the local change documentingSergey Kandaurov2014-01-291-2/+7
| | | | | | | | | | authpf's requirement for a mounted fdescfs(5). PR: docs/186250 MFC after: 1 week Notes: svn path=/head/; revision=261271
* Update packet filter (pf) code to OpenBSD 4.5.Bjoern A. Zeeb2011-06-283-168/+319
|\ | | | | | | | | | | | | | | | | | | | | You need to update userland (world and ports) tools to be in sync with the kernel. Submitted by: mlaier Submitted by: eri Notes: svn path=/head/; revision=223637
| * Flatten out the pf userland vendor areaMax Laier2008-12-103-1395/+0
| | | | | | | | Notes: svn path=/vendor/pf/dist/; revision=185872
| * Import pf userland from OpenBSD 4.1 and (for ftp-proxy) libevent 1.3b asMax Laier2007-07-032-81/+77
| | | | | | | | | | | | | | a local lib. Notes: svn path=/vendor/pf/dist/; revision=171169
* | Commit resolved import of OpenBSD 4.1 pf userland from perforce.Max Laier2007-07-032-81/+77
| | | | | | | | | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=171172
* | Document authpf's requirement for a mounted fdescfs(5).Max Laier2006-03-281-2/+8
| | | | | | | | | | | | | | | | PR: docs/89635 MFC after: 1 day Notes: svn path=/head/; revision=157214
* | Fix build after timeval.tv_sec changed from long to time_t.Max Laier2005-12-251-0/+8
| | | | | | | | Notes: svn path=/head/; revision=153722
* | Resolve conflicts created during the import of pf 3.7 Some features areMax Laier2005-05-031-262/+177
| | | | | | | | | | | | | | | | | | | | missing and will be implemented in a second step. This is functional as is. Tested by: freebsd-pf, pfsense.org Obtained from: OpenBSD Notes: svn path=/head/; revision=145840
* | This commit was generated by cvs2svn to compensate for changes in r145837,Max Laier2005-05-032-22/+63
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=145838
| * Import pf userland from OpenBSD 3.7 (OPENBSD_3_7 as of today)vendor/pf/3.7Max Laier2005-05-033-284/+240
| | | | | | | | | | Notes: svn path=/vendor/pf/dist/; revision=145837 svn path=/vendor/pf/3.7/; revision=145839; tag=vendor/pf/3.7
* | Commit userland part of pf version 3.5 from OpenBSD (OPENBSD_3_5_BASE).Max Laier2004-06-161-49/+89
| | | | | | | | Notes: svn path=/head/; revision=130617
* | This commit was generated by cvs2svn to compensate for changes in r130614,Max Laier2004-06-161-21/+53
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=130615
| * Import userland of pf 3.5 from OpenBSD (OPENBSD_3_5_BASE).vendor/pf/3.5Max Laier2004-06-162-70/+142
| | | | | | | | | | Notes: svn path=/vendor/pf/dist/; revision=130614 svn path=/vendor/pf/3.5/; revision=130616; tag=vendor/pf/3.5
* | Fix $FreeBSD$ ids.David E. O'Brien2004-03-161-1/+3
| | | | | | | | Notes: svn path=/head/; revision=127082
* | Fix some style(9) related issues after discussion with/education from bde:Max Laier2004-03-151-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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) Notes: svn path=/head/; revision=127024
* | Apply diff from the port.Max Laier2004-02-281-0/+7
|/ | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=126355
* Vendor import of OpenBSD's pf userland as of OpenBSD 3.4Max Laier2004-02-283-0/+1371
Approved by: bms(mentor), core(in general) Notes: svn path=/vendor/pf/dist/; revision=126353