summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r--usr.sbin/relayd/relayd.conf.516
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