- `%HTTPTLS6PORT` - IPv6 port number of the HTTP TLS server
- `%HTTPTLSPORT` - Port number of the HTTP TLS server
- `%HTTPUNIXPATH` - Path to the Unix socket of the HTTP server
-- `%SOCKSUNIXPATH` - Absolute Path to the Unix socket of the SOCKS server
+- `%SOCKSUNIXPATH` - Path to the Unix socket of the SOCKS server
- `%IMAP6PORT` - IPv6 port number of the IMAP server
- `%IMAPPORT` - Port number of the IMAP server
- `%LOGDIR` - Log directory relative to %PWD
HTTP
HTTP GET
SOCKS5
+unix sockets
</keywords>
</info>
HTTP GET via SOCKS5 proxy via unix sockets
</name>
<command>
---socks5 localhost%SOCKSUNIXPATH http://%HOSTIP:%HTTPPORT/%TESTNUMBER
+--socks5 localhost%PWD/%SOCKSUNIXPATH http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
HTTP GET
SOCKS5
SOCKS5h
+unix sockets
</keywords>
</info>
HTTP GET with host name using SOCKS5h via unix sockets
</name>
<command>
-http://this.is.a.host.name:%HTTPPORT/%TESTNUMBER --proxy socks5h://localhost%SOCKSUNIXPATH
+http://this.is.a.host.name:%HTTPPORT/%TESTNUMBER --proxy socks5h://localhost%PWD/%SOCKSUNIXPATH
</command>
</client>
HTTP GET
SOCKS5
SOCKS5h
+unix sockets
</keywords>
</info>
HTTPS GET with host name using SOCKS5h via unix sockets
</name>
<command>
-https://this.is.a.host.name:%HTTPSPORT/%TESTNUMBER -k --proxy socks5h://localhost%SOCKSUNIXPATH
+https://this.is.a.host.name:%HTTPSPORT/%TESTNUMBER -k --proxy socks5h://localhost%PWD/%SOCKSUNIXPATH
</command>
</client>
}
}
-$HTTPUNIXPATH = "http$$.sock"; # HTTP server Unix domain socket path
-$SOCKSUNIXPATH = $pwd."/socks$$.sock"; # HTTP server Unix domain socket path, absolute path
+$HTTPUNIXPATH = "$PIDDIR/http.sock"; # HTTP server Unix domain socket path
+$SOCKSUNIXPATH = "$PIDDIR/socks.sock"; # SOCKS server Unix domain socket path
#######################################################################
# clear and create logging directory: