summaryrefslogtreecommitdiffstats
path: root/sbin/pfctl/pfctl_optimize.c
AgeCommit message (Expand)AuthorFilesLines
2020-01-28sbin/pfctl: replace TAILQ concatenation loop with TAILQ_CONCATbket1-15/+4
2020-01-15Do the actual pfr_strerror() to pf_strerror() renamekn1-3/+3
2020-01-15Unify error message for nonexisting anchorskn1-3/+3
2019-12-12Avoid optimizing empty rulesetskn1-2/+5
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-3/+3
2019-03-07Remove pfctl_*_pool() remnantskn1-6/+1
2019-01-03Unbreak build under OPT_DEBUGkn1-4/+2
2018-09-06Remove unused af argument from unmask()kn1-6/+6
2017-11-25- patching use-after-free and innocent memory leak in pfctl_optimzie.csashan1-30/+38
2017-11-25- pfctl rule optimizer: anchor name vs. anchor path mix upsashan1-2/+2
2016-08-03A couple of "a->blah == a->blah" -> "a->blah == b->blah".krw1-3/+3
2015-01-21Include <netinet/in.h> before <net/pfvar.h>. In a future change whenderaadt1-4/+3
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.doug1-2/+2
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.deraadt1-2/+2
2012-10-19rtableid must be BREAK instead of MERGE, otherwise the optimizer mighthenning1-2/+2
2011-12-19unbreak rule optimizer; ok henning, looksmikeb1-1/+2
2011-11-23print ports as numbers by default; -P prints names insteadhenning1-2/+2
2011-07-27Add support for weighted round-robin in load balancing pools and tables.mcbride1-1/+2
2011-07-07Fold pf_test_fragment() into pf_test_rule(), reduce code and fixesmcbride1-2/+2
2011-07-03bring in least-states load balancing algorithmzinke1-2/+2
2011-04-06Userland bits to allow PF to filter on the rdomain a packet belongs to.claudio1-1/+14
2010-03-23remove -A, -O, -R and -T loadhenning1-6/+1
2010-01-12First pass at removing the 'pf_pool' mechanism for translation and routingmcbride1-43/+8
2009-12-10plug some memory leaks; found by parfait, ok henningderaadt1-1/+2
2009-11-23since "nat/rdr pass" are history natpass can gohenning1-3/+2
2009-11-22cleanup after the NAT changes. we used to have multiple rulesets (scrub,henning1-13/+7
2009-10-28Add a dedicated pf pool for route options as suggested by henning,jsg1-1/+13
2009-09-01the diff theo calls me insanae for:henning1-12/+24
2008-05-07allow setting TOS with scrub; ok mcbride, claudiomarkus1-1/+2
2008-05-06Add a counter to record how many states have been created by a rule.mpf1-2/+3
2008-01-26Create the automatic tables at the base of the anchor stack rather thanmcbride1-3/+4
2008-01-25Get rid of warning when compiling with OPT_DEBUG.mcbride1-2/+2
2007-11-27typos; ok jmc@martynas1-3/+3
2006-10-31Allow pfctl ruleset optimizer to be controlled from the ruleset.mcbride1-3/+3
2006-10-28Load all rules into memory before loading into the kernel, and add supportmcbride1-32/+56
2006-10-25teach the optimizer about logif, with & ok frantzenhenning1-1/+2
2006-03-14implement a Unicast Reverse Path Forwarding (uRPF) check for pf(4)djm1-1/+3
2005-06-13make the packet and byte counters on rules and src nodes per direction,henning1-3/+5
2005-05-26switch the max_src_{states,conn,conn_rate} from superblock breaks to superblockfrantzen1-3/+4
2005-05-25make the remaining pf_rule fields named superblock BREAKs instead just lettingfrantzen1-1/+13
2005-05-25make the optimizer safe in the presence of interface groups. they must act asfrantzen1-2/+42
2005-01-03don't merge a rule's source address into a table if we're already trying tofrantzen1-1/+3
2004-12-14&&/|| inversion would try to merge IP addresses with non-addresses into afrantzen1-2/+2
2004-12-14add two warn() calls to make sure a warning message gets printed if one offrantzen1-3/+7
2004-08-08spacingderaadt1-9/+8
2004-07-16'pfctl -o' ruleset optimizer that doesnt change the meaning of the final rulesetfrantzen1-0/+1558