summaryrefslogtreecommitdiffstats
path: root/contrib/pf/pflogd
Commit message (Collapse)AuthorAgeFilesLines
* MFC r293015:dim2016-01-031-1/+1
| | | | | | | | | | | | | | | Merge r293013 from clang380-import branch: Fix a clang 3.8.0 warning in pflogd.c: contrib/pf/pflogd/pflogd.c:769:8: error: logical not is only applied to the left hand side of this comparison [-Werror,-Wlogical-not-parentheses] if (!if_exists(interface) == -1) { ^ ~~ The if_exists() function does not return -1, and even if it did, it would not be the correct way to check. Just ditch the == -1 instead. Obtained from: OpenBSD's pflogd.c 1.49
* MFC r284914:wblock2015-07-051-0/+2
| | | | | | Fix a couple of missing lines that obscured the -p description. Approved by: re
* MFC r263289: Update NetBSD Foundation copyrights to 2-clause BSDemaste2014-03-241-7/+0
| | | | | | | | | | | The NetBSD Foundation states "Third parties are encouraged to change the license on any files which have a 4-clause license contributed to the NetBSD Foundation to a 2-clause license." This change removes clauses 3 and 4 from copyright / license blocks that list The NetBSD Foundation as the only copyright holder. Sponsored by: The FreeBSD Foundation
* Update packet filter (pf) code to OpenBSD 4.5.bz2011-06-284-46/+138
| | | | | | | | You need to update userland (world and ports) tools to be in sync with the kernel. Submitted by: mlaier Submitted by: eri
* Enable closefrom(2) here, as we have supported it for some time now.csjp2010-08-051-4/+0
| | | | | Discussed with: mlaier MFC after: 2 weeks
* Update for libpcap 0.9.8mlaier2007-10-161-0/+3
|
* Lost these during the import. Hand me the pointy hat.mlaier2007-07-032-0/+125
| | | | Approved by: re (implicit)
* Commit resolved import of OpenBSD 4.1 pf userland from perforce.mlaier2007-07-035-168/+165
| | | | Approved by: re (kensmith)
* This commit was generated by cvs2svn to compensate for changes in r171169,mlaier2007-07-031-1/+2
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import pf userland from OpenBSD 4.1 and (for ftp-proxy) libevent 1.3b asmlaier2007-07-034-46/+159
| | | | | | | | a local lib.
* | Constfy errstr as it is in OpenBSD to unbreak the build.mlaier2006-03-151-1/+1
| | | | | | | | Pointed out by: Suken Woo, Martin Wilke, Wesley Morgan
* | Use strtonum now that we have it in libc as well.mlaier2006-03-151-15/+0
| |
* | FreeBSD now supports BIOCLOCK. So we can use it now.csjp2005-08-231-4/+0
| | | | | | | | Reviewed by: mlaier
* | More tcpdump 8->1 cleanup.brueffer2005-08-061-6/+8
| | | | | | | | | | Approved by: mlaier MFC after: 3 days
* | Resolve conflicts created during the import of pf 3.7 Some features aremlaier2005-05-032-14/+41
| | | | | | | | | | | | | | missing and will be implemented in a second step. This is functional as is. Tested by: freebsd-pf, pfsense.org Obtained from: OpenBSD
* | This commit was generated by cvs2svn to compensate for changes in r145837,mlaier2005-05-032-3/+8
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import pf userland from OpenBSD 3.7 (OPENBSD_3_7 as of today)mlaier2005-05-034-18/+35
| |
* | Make pflogd cope with module unload (and the sudden disappearing of pflog0).mlaier2004-10-051-1/+9
| | | | | | | | | | | | | | Instead of eating all the available CPU we now shutdown gracefully. Submitted by: yongari MFC after: 3 days
* | Make pflogd(8) store pcap_sf_pkthdr instead of MD timeval contaminatedmlaier2004-08-311-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | pcap_pkthdr. This makes /var/log/pflog standart compliant on 64bit archs. OpenBSD has fixed this by changing the bpf timeval to 32bit in the kernel, so no need to report this over (again). PR: bin/71096 (w/ changes) Submitted by: Ville-Pertti Keinonen Tested by: amd64(submitter), sparc64(yongari), i386(myself) MFC after: 3 days
* | Commit userland part of pf version 3.5 from OpenBSD (OPENBSD_3_5_BASE).mlaier2004-06-162-112/+370
| |
* | This commit was generated by cvs2svn to compensate for changes in r130614,mlaier2004-06-164-15/+500
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import userland of pf 3.5 from OpenBSD (OPENBSD_3_5_BASE).mlaier2004-06-165-123/+851
| |
* | Fix $FreeBSD$ ids.obrien2004-03-161-1/+3
| |
* | Fix some style(9) related issues after discussion with/education from bde:mlaier2004-03-152-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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)
* | This commit was generated by cvs2svn to compensate for changes in r126357,mlaier2004-02-282-0/+122
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Missed those two during the original import. Taken from OpenBSD's util.hmlaier2004-02-282-0/+122
| | | | | | | | Approved by: bms(mentor)
* | Apply diff from the port.mlaier2004-02-281-0/+13
|/ | | | | | | | | | 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)
* Vendor import of OpenBSD's pf userland as of OpenBSD 3.4mlaier2004-02-282-0/+579
Approved by: bms(mentor), core(in general)
OpenPOWER on IntegriCloud