summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relayd.conf.5
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-12-16 11:52:52 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-12-16 11:52:52 +0000
commit617b8661abd46c04fb9d587dae54151eb714caf4 (patch)
tree7f4eb8b7e30ad06f4ff94978c0420240a2e4fcd2 /usr.sbin/relayd/relayd.conf.5
parent319dc70a11cfb560818c33b6c310d8b68a825ae6 (diff)
new sentence, new line
Diffstat (limited to 'usr.sbin/relayd/relayd.conf.5')
-rw-r--r--usr.sbin/relayd/relayd.conf.536
1 files changed, 20 insertions, 16 deletions
diff --git a/usr.sbin/relayd/relayd.conf.5 b/usr.sbin/relayd/relayd.conf.5
index 349dce672b4..8e243e50a40 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.1 2006/12/16 11:45:07 reyk Exp $
+.\" $OpenBSD: relayd.conf.5,v 1.2 2006/12/16 11:52:51 reyk Exp $
.\"
.\" Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
.\"
@@ -82,7 +82,8 @@ The default interval is 10 seconds.
.El
.Sh TABLES
Tables are used to group a set of hosts that can be checked using the same
-method. Only one health-checking method can be used per table.
+method.
+Only one health-checking method can be used per table.
Table specific configuration directives are described below.
.Bl -tag -width Ds
.It Ic check tcp
@@ -100,26 +101,27 @@ gives the HTTP return code
For each host in the table, verify that retrieving the URL
.Ar path
produces a content whose SHA1 digest is
-.Ar digest
-. The digest does not take the HTTP headers into account. To compute the
-digest you can use this simple command:
+.Ar digest .
+The digest does not take the HTTP headers into account.
+To compute the digest you can use this simple command:
.Bd -literal -offset 2n
ftp -o - http://host[:port]/path | sha1
-
.Ed
+.Pp
This will give you a digest of the form
.Bd -literal -offset 2n
a9993e36476816aba3e25717850c26c9cd0d89d
-
.Ed
+.Pp
that you can use as-is in your digest statement.
.It Ic timeout Ar number
Set the timeout in milliseconds for each host that is checked.
The default timeout is 200 milliseconds.
.It Ic real port Ar number
When using the tcp or http checking methods, use this port to connect
-to hosts. This parameter is mandatory. Main and backup tables need
-to have the same real port.
+to hosts.
+This parameter is mandatory.
+Main and backup tables need to have the same real port.
.It Ic host Ar address
Add the host whose address is
.Ar address
@@ -140,25 +142,27 @@ below.
.Bl -tag -width Ds
.It Ic virtual ip Ar address Ic port Ar number
Specify an address and a port that will be used to redirect requests
-to the hosts in the main or backup table.
-Optionally an interface name can be specified like this
+to the hosts in the main or backup table.
+Optionally an interface name can be specified like this.
.Bd -literal -offset indent
interface ``ifname''
-
.Ed
+.Pp
to specify which interface the rdr rule will be enabled on.
.It Ic table Ar name
-Specify the main table to be used. This is mandatory.
+Specify the main table to be used.
+This is mandatory.
.It Ic backup table Ar name
Specify the table to switch to when all hosts in the main table
are seen as down or disabled.
.It Ic disable
-Set the service initially disabled. It can be later enabled through
+Set the service initially disabled.
+It can be later enabled through
.It Ic tag Ar name
Automatically tag packets passing through the
.Xr pf 4
-rdr rule with the name supplied. This allows for easier filter rules
-in your main
+rdr rule with the name supplied.
+This allows for easier filter rules in your main
.Xr pf 4
configuration.
.Xr hostatectl 5 .