Support source-hash and random with tables and dynifs; not just pools.
authorreyk <reyk@openbsd.org>
Fri, 19 Dec 2014 13:04:07 +0000 (13:04 +0000)
committerreyk <reyk@openbsd.org>
Fri, 19 Dec 2014 13:04:07 +0000 (13:04 +0000)
commit252a05523f8b93e11ba02b8ef3b3a195bb685de2
treed552210362cc27b1905a0c16eb474e70fe3bb0fb
parent6263ddcd7cc92c604b57541704fe699273f13849
Support source-hash and random with tables and dynifs; not just pools.
This finally allows to use source-hash for dynamic loadbalancing, eg.
"rdr-to <hosts> source-hash", instead of just round-robin and least-states.

An older pre-siphash version of this diff was tested by many people.

OK tedu@ benno@
sbin/pfctl/parse.y
share/man/man5/pf.conf.5
sys/net/pf_lb.c
sys/net/pfvar.h