summaryrefslogtreecommitdiffstats
path: root/sys/netpfil/pf/if_pflog.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2017-01-091-1/+1
|\
| * MFC r309563: pflog: Correctly initialise subrulenrkp2016-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | subrulenr is considered unset if it's set to -1, not if it's set to 1. See contrib/tcpdump/print-pflog.c pflog_print() for a user. This caused incorrect pflog output (tcpdump -n -e -ttt -i pflog0): rule 0..16777216(match) instead of the correct output of rule 0/0(match) PR: 214832 Submitted by: andywhite@gmail.com
* | Importing pfSense patch pf_static_tracker.diffLuiz Otavio O Souza2016-01-281-1/+5
| | | | | | | | This version fixes the issue with 'State Creations' in pfctl -vvsr.
* | Revert "Importing pfSense patch pf_static_tracker.diff"Luiz Otavio O Souza2016-01-281-5/+1
| | | | | | | | This reverts commit 9068fb423dfecae0f8b611d4bc558dd6cb2e2bd7.
* | Importing pfSense patch pf_static_tracker.diffRenato Botelho2015-08-171-1/+5
|/
* Add const qualifier to the dst parameter of the ifnet if_output method.glebius2013-04-261-3/+3
|
* In netpfil/pf:glebius2012-12-281-2/+3
| | | | | | | - Add my copyright to files I've touched a lot this year. - Add dash in front of all copyright notices according to style(9). - Move $OpenBSD$ down below copyright notices. - Remove extra line between cdefs.h and __FBSDID.
* Make the "struct if_clone" opaque to users of the cloning API. Usersglebius2012-10-161-5/+7
| | | | | | | | | | | | now use function calls: if_clone_simple() if_clone_advanced() to initialize a cloner, instead of macros that initialize if_clone structure. Discussed with: brooks, bz, 1 year ago
* Revert previous commit...kevlo2012-10-101-1/+1
| | | | Pointyhat to: kevlo (myself)
* Prefer NULL over 0 for pointerskevlo2012-10-091-1/+1
|
* o Create directory sys/netpfil, where all packet filters shouldglebius2012-09-141-0/+290
reside, and move there ipfw(4) and pf(4). o Move most modified parts of pf out of contrib. Actual movements: sys/contrib/pf/net/*.c -> sys/netpfil/pf/ sys/contrib/pf/net/*.h -> sys/net/ contrib/pf/pfctl/*.c -> sbin/pfctl contrib/pf/pfctl/*.h -> sbin/pfctl contrib/pf/pfctl/pfctl.8 -> sbin/pfctl contrib/pf/pfctl/*.4 -> share/man/man4 contrib/pf/pfctl/*.5 -> share/man/man5 sys/netinet/ipfw -> sys/netpfil/ipfw The arguable movement is pf/net/*.h -> sys/net. There are future plans to refactor pf includes, so I decided not to break things twice. Not modified bits of pf left in contrib: authpf, ftp-proxy, tftp-proxy, pflogd. The ipfw(4) movement is planned to be merged to stable/9, to make head and stable match. Discussed with: bz, luigi
OpenPOWER on IntegriCloud