diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2012-05-05 17:24:42 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2012-05-05 17:24:42 +0000 |
commit | 5f71b3c19ad21468cbab3be4e73a566589793405 (patch) | |
tree | abc935c8da091bf4d3cd4cdd34cf6dc860787157 /usr.sbin | |
parent | b23ad7ac522f2eb98bb5c569ca9c4e2df443759c (diff) |
better description of input to mode hash/loadbalance
ok sthen@ jmc@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/relayd/relayd.conf.5 | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/usr.sbin/relayd/relayd.conf.5 b/usr.sbin/relayd/relayd.conf.5 index 3cca3ff5635..813a9f3b06f 100644 --- a/usr.sbin/relayd/relayd.conf.5 +++ b/usr.sbin/relayd/relayd.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: relayd.conf.5,v 1.127 2012/04/24 14:56:09 jmc Exp $ +.\" $OpenBSD: relayd.conf.5,v 1.128 2012/05/05 17:24:41 benno Exp $ .\" .\" Copyright (c) 2006, 2007 Reyk Floeter <reyk@openbsd.org> .\" Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: April 24 2012 $ +.Dd $Mdocdate: May 5 2012 $ .Dt RELAYD.CONF 5 .Os .Sh NAME @@ -385,16 +385,18 @@ host from the specified table: .Bl -tag -width Ds .It Ic mode hash Balances the outgoing connections across the active hosts based on the -hashed name of the table. -Additional input can be fed into the hash by looking at HTTP -headers and GET variables; see the +hashed name of the relay, the hashed name of the table and the IP +address and port of the relay. +Additional input can be fed into the +hash by looking at HTTP headers and GET variables; +see the .Sx PROTOCOLS section below. This mode is only supported by relays. .It Ic mode loadbalance Balances the outgoing connections across the active hosts based on the -hashed name of the table, the source and destination addresses, -and the corresponding ports. +hashed name of the relay, the hashed name of the table, the IP +address and port of the relay and the IP address of the client. This mode is only supported by relays. .It Ic mode roundrobin Distributes the outgoing connections using a round-robin scheduler |