summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl.c
AgeCommit message (Expand)Author
2022-07-27Remove redundant bzero, the pfctl struct memset later on.Moritz Buhl
2022-07-21Set the default pool size for the new anchors pool otherwise it's set to 0.Moritz Buhl
2022-07-20Add a pool for the allocation of the pf_anchor struct.Moritz Buhl
2021-11-11add tests to cover DIOCCHANGERULE ioctl(2)Alexandr Nedvedicky
2021-10-25- pfctl $nr incorrect macro expansionAlexandr Nedvedicky
2020-10-14Accommodate a basename(3) that takes a non-const parameter and mayChristian Weisgerber
2020-01-16Fail on missing anchorkn
2020-01-15Do the actual pfr_strerror() to pf_strerror() renamekn
2020-01-15Unify error message for nonexisting anchorskn
2020-01-15Print the main ruleset/anchor as "/" not "<root>" for consistencykn
2020-01-15Enable pfctl(8) to recursively flush rules and tables from PF driver. TheAlexandr Nedvedicky
2019-11-27Fix function name in error message (zap trailing s)kn
2019-08-15pfctl_reset() must set syncookies settings back to defaultAlexandr Nedvedicky
2019-07-09Add parentheses for readabilitykn
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-04-15introduce 'pfctl -FR' to reset settings to defaultsAlexandr Nedvedicky
2019-03-06Fix once ruleskn
2019-02-18Change ps_len of struct pfioc_states and psn_len of structAlexander Bluhm
2019-02-10Anchor names must not be emptykn
2019-01-29Reuse copy_satopfaddr() when killing entrieskn
2019-01-29Make -N and -r mutually exclusivekn
2019-01-28Simplify lookups when killing entrieskn
2019-01-19Use mnemonic PFCTL_SHOW_* macros, terminate string with null characterkn
2019-01-11Defuse `-F all -i interface'kn
2019-01-11When creating tables inside anchors, pfctl warned about namespacekn
2019-01-10Zap unnused iface function parameter from pfctl_kill_src_nodes()kn
2019-01-02Error out on missing table command, zap internal wrapper functionkn
2018-12-27Zap duplicate struct declarationkn
2018-09-18fix table commands under anchorskn
2018-09-08Allocate path only when needed, use __func__kn
2018-09-08Error out early on bad anchor usagekn
2018-09-07Fix function name in error messages by using __func__kn
2018-07-20Stop checking table commands for `create'kn
2018-07-10'set delay' for the generic packet delay mechanism, ok benno sashanHenning Brauer
2018-02-08make the watermarks/thresholds for entering and leaving syncookie mode whenHenning Brauer
2018-02-08show current synflood detection watermarks in pfctl -vsi, for the lackHenning Brauer
2018-02-06allow control over syncookies: set syncookies never/always/adaptiveHenning Brauer
2017-11-25- pfctl fails to handle nested 'load anchor' properlyAlexandr Nedvedicky
2017-09-26- pfctl always prints warning when flushes rulesetAlexandr Nedvedicky
2017-09-05- split pf_find_or_create_ruleset() to smaller chunks.Alexandr Nedvedicky
2017-08-11add option -N (no domain resolution)Sebastian Benoit
2017-07-19Allow HFSC classes to use flow queuesMike Belopuhov
2017-07-19Rework HFSC vs FQ-CoDel checksMike Belopuhov
2017-06-16pfctl: merge identifical if conditions and void functions discarding ret valuesAdam Wolk
2017-05-30fix a commentHenning Brauer
2017-05-15Hook up FQ-CoDel to the tree and enable configuration in the pfctl(8)Mike Belopuhov
2017-04-26Perform H-FSC root queue allocation in the kernelMike Belopuhov
2017-04-23oops, this was meant to be committed with the pfctl.8 change:Jason McIntyre
2017-04-21Add "key" modifier for -k to make pfctl can kill a state by specifyingYASUOKA Masahiko
2017-03-27rather than printing the wrong function name, dont print it at all.Sebastian Benoit