From 06b1f4f397d53e9a4c9abe4c8c4c20a7240e7736 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 18 Nov 2023 04:17:07 +0000 Subject: /etc/hosts support for s6-tcpclient and s6-tcpserver-access Signed-off-by: Laurent Bercot --- NEWS | 11 +++++ doc/s6-tcpclient.html | 13 ++++-- doc/s6-tcpserver-access.html | 12 +++-- doc/s6-tlsclient.html | 5 +- doc/s6-tlsserver.html | 5 +- doc/upgrade.html | 7 +++ src/conn-tools/s6-tcpclient.c | 91 ++++++++++++++++++++++++++++-------- src/conn-tools/s6-tcpserver-access.c | 78 +++++++++++++++++++++---------- src/tls/s6-tlsclient.c | 9 ++-- src/tls/s6-tlsserver.c | 9 ++-- 10 files changed, 177 insertions(+), 63 deletions(-) diff --git a/NEWS b/NEWS index 460a2d9..5ddb8f8 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,16 @@ Changelog for s6-networking. +In 2.7.0.0 +---------- + + - Bugfixes. + - Better API for s6-tlsc-io: now "s6-tlsc-io 6 7" = s6-ioconnect with TLS. + - The -K option for TLS programs now determines the handshake timeout. + - /etc/hosts support added. + - The -h option for s6-tcpclient and s6-tcpserver-access now indicates +/etc/hosts should be consulted before DNS. + + In 2.6.0.0 ---------- diff --git a/doc/s6-tcpclient.html b/doc/s6-tcpclient.html index 0ec9220..0421524 100644 --- a/doc/s6-tcpclient.html +++ b/doc/s6-tcpclient.html @@ -28,7 +28,7 @@ then executes into a program.

Interface

-     s6-tcpclient [ -q | -Q | -v ] [ -4 | -6 ] [ -d | -D ] [ -r | -R ] [ -h | -H ] [ -n | -N ] [ -t timeout ] [ -l localname ] [ -T timeoutconn ] [ -i localip ] [ -p localport ] host port prog...
+     s6-tcpclient [ -q | -Q | -v ] [ -4 | -6 ] [ -d | -D ] [ -r | -R ] [ -h ] [ -H ] [ -n | -N ] [ -t timeout ] [ -l localname ] [ -T timeoutconn ] [ -i localip ] [ -p localport ] host port prog...