summaryrefslogtreecommitdiff
path: root/sys/net/pf_table.c
AgeCommit message (Expand)Author
2015-11-03- fixes potential use-after-free in pfr_set_addrs()Alexandr Nedvedicky
2015-10-07rn_inithead() offset argument is now specified in byte, missed in previous.Martin Pieuchot
2015-09-04Make every subsystem using a radix tree call rn_init() and pass theMartin Pieuchot
2015-07-20Add some panics to default paths where code later assumes a non defaultJonathan Gray
2015-07-18follow up changes on unknown AF handlingsashan
2015-07-18INET/INET6 address family check should be unified in PFsashan
2015-07-16Fix rn_match and there for the expoerted lookup functions in radix.cClaudio Jeker
2015-06-07Introduce unhandled_af() for cases where code conditionally doesJonathan Gray
2015-04-09Plug a memory leak in pfr_destroy_kentryMike Belopuhov
2015-04-08Table flags are not looked at when a table entry is created.Mike Belopuhov
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-01-20Prevent tables referenced by rules in anchors from getting disabled.Mike Belopuhov
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-09-08remove uneeded route.h includesJonathan Gray
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2013-07-05Collect and display 'match' counters for pf tables.Bret Lambert
2013-07-04Re-commit: use time_t for storing time_t values. This is an ABIPhilip Guenther
2013-07-02Revert previous: sizeof(time_t) != sizeof(long) on LP64, so there wasPhilip Guenther
2013-07-02Use time_t for storing time_t values. No change to the underlyingPhilip Guenther
2013-02-18DIOCRCLRASTATS ioctl wasn't specifying a timestamp when clearedMike Belopuhov
2013-01-16Unbreak the negation toggle code when re-loading pf tables. OtherwiseMarkus Friedl
2012-12-29pass pf_pool directly to pfr_pool_get(); simplifies the API;Markus Friedl
2012-01-26when table content changes we need to reset indexMike Belopuhov
2011-07-27Add support for weighted round-robin in load balancing pools and tables.Ryan Thomas McBride
2011-07-08ensure that we won't enter an endless loop while iterating overMike Belopuhov
2011-07-03bring in least-states load balancing algorithmJoerg Zinke
2011-06-14KNF (no change in .o files)Ryan Thomas McBride
2011-05-17exclude link local address from the dynamic interface address poolMike Belopuhov
2010-11-20throw some yields into the pf table code so it doesn't lock up the kernel.Ted Unangst
2010-10-23remove PFR_FLAG_ATOMIC. not used, and doesn't work as advertised.Ted Unangst
2010-09-30Convert printf()'s to DPFDEBUG() macro.Ryan Thomas McBride
2010-08-07No "\n" needed at the end of panic() strings.Kenneth R Westerback
2010-06-28Add the rtable id as an argument to rn_walktree(). Functions likeClaudio Jeker
2010-02-24put back the line of code that copies the timestamp out for tablesHenning Brauer
2010-01-18Convert pf debug logging to using log()/addlog(), a single standardisedRyan Thomas McBride
2010-01-12First pass at removing the 'pf_pool' mechanism for translation and routingRyan Thomas McBride
2008-11-24Fix splasserts seen in pr 5987 by propagating a flag that discribesMike Belopuhov
2008-10-08Get rid of the second table entry pool (pfr_kentry_pl2); we're alreadyRyan Thomas McBride
2008-06-14There's no more reason to use oldnointr allocator here since we paceArtur Grabowski
2008-06-14pool_get()s not in interrupt context should not be PR_NOWAIT, butHenning Brauer
2008-06-10Simplify code slightly; use PR_ZERO with pool_get() rather than bzero().Ryan Thomas McBride
2008-06-10Free the counters struct when we free the table entry.Ryan Thomas McBride
2008-06-10Make counters on table addresses optional and disabled by default.Ryan Thomas McBride
2008-05-07Implement routing priorities. Every route inserted has a priority assignedClaudio Jeker
2007-12-20increment the match/nomatch table counters when using a table/pool inReyk Floeter
2007-09-01since theHenning Brauer
2007-05-23use the intr pool when allocating from interrupt context;Markus Friedl
2007-03-20do not use out of scope variable in macros -- only use the macro arguments pa...Michael Shalayeff
2006-05-02fix creation of sub-anchors, e.g. if you create an anchor /foo/bar, createDaniel Hartmeier
2005-08-02Instead of copying a table structure so we can mask off a bit beforeChristopher Pascoe