diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-11-18 04:17:07 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-11-18 04:17:07 +0000 |
commit | 06b1f4f397d53e9a4c9abe4c8c4c20a7240e7736 (patch) | |
tree | 05b93d967f6a946a7e0e2395399405c4ec12e3a9 /doc/s6-tcpserver-access.html | |
parent | df6d3fae47a106b70dd9e073d0e60989cd182f79 (diff) | |
download | s6-networking-06b1f4f397d53e9a4c9abe4c8c4c20a7240e7736.tar.xz |
/etc/hosts support for s6-tcpclient and s6-tcpserver-access
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/s6-tcpserver-access.html')
-rw-r--r-- | doc/s6-tcpserver-access.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/s6-tcpserver-access.html b/doc/s6-tcpserver-access.html index 4ef3302..cdbecfb 100644 --- a/doc/s6-tcpserver-access.html +++ b/doc/s6-tcpserver-access.html @@ -30,7 +30,7 @@ just like tcpwrappers' <tt>tcpd</tt> program. <h2> Interface </h2> <pre> - s6-tcpserver-access [ -v <em>verbosity</em> ] [ -W | -w ] [ -D | -d ] [ -H | -h ] [ -R | -r ] [ -P | -p ] [ -l <em>localname</em> ] [ -B <em>banner</em> ] [ -t <em>timeout</em> ] [ -i <em>rulesdir</em> | -x <em>rulesfile</em> ] <em>prog...</em> + s6-tcpserver-access [ -v <em>verbosity</em> ] [ -W | -w ] [ -D | -d ] [ -H ] [ -h ] [ -R | -r ] [ -P | -p ] [ -l <em>localname</em> ] [ -B <em>banner</em> ] [ -t <em>timeout</em> ] [ -i <em>rulesdir</em> | -x <em>rulesfile</em> ] <em>prog...</em> </pre> <ul> @@ -106,8 +106,14 @@ drop the connection. </li> flag on the network socket. </li> <li> <tt>-d</tt> : enable Nagle's algorithm. This is the default. </li> <li> <tt>-H</tt> : disable DNS lookups for the ${PROTO}LOCALHOST and -${PROTO}REMOTEHOST environment variables. </li> - <li> <tt>-h</tt> : enable DNS lookups. This is the default. </li> +${PROTO}REMOTEHOST environment variables. The default, when this option +is not given, is to try and read them from DNS. </li> + <li> <tt>-h</tt> : consult <tt>/etc/hosts</tt> before DNS. The default, +when this option is not given, is to ignore <tt>/etc/hosts</tt>. Note 1: +the <tt>-H</tt> option overrides this one, no DNS lookups means that the +hosts database won't be consulted either. Note 2: if a name is obtained +via the hosts database instead of DNS, any <tt>-p</tt> checks will be +disabled for it. </li> <li> <tt>-R</tt> : disable IDENT lookups for the ${PROTO}REMOTEINFO environment variable. This is the default. </li> <li> <tt>-r</tt> : enable IDENT lookups. This should only be done |