Fix cmake build

This commit is contained in:
Vladimir Dubrovin 2026-07-22 16:23:11 +03:00
parent 9ab2e820b5
commit 87fc8ae4ee
3 changed files with 3 additions and 1 deletions

View File

@ -681,7 +681,7 @@ foreach(PROXY_NAME proxy socks pop3p imapp smtpp ftppr tcppm udppm tlspr)
target_link_libraries(${PROXY_NAME} PRIVATE ${WINDOWS_LIBS}) target_link_libraries(${PROXY_NAME} PRIVATE ${WINDOWS_LIBS})
endif() endif()
if(PROXY_NAME STREQUAL "proxy" OR PROXY_NAME STREQUAL "smtpp") if(PROXY_NAME STREQUAL "proxy" OR PROXY_NAME STREQUAL "smtpp" OR PROXY_NAME STREQUAL "imapp")
target_sources(${PROXY_NAME} PRIVATE $<TARGET_OBJECTS:base64_obj>) target_sources(${PROXY_NAME} PRIVATE $<TARGET_OBJECTS:base64_obj>)
endif() endif()

View File

@ -582,6 +582,7 @@ proxy -p8080 -i192.168.2.1
An SNI proxy can be used to transparently redirect any TLS traffic with an external router or via local redirection rules. It can also be used An SNI proxy can be used to transparently redirect any TLS traffic with an external router or via local redirection rules. It can also be used
to extract hostnames from TLS to use in ACLs in combination with SOCKS or HTTP(s) proxy and/or the Transparent plugin. It can also be used to require TLS or mTLS between services. The TLS handshake contains no to extract hostnames from TLS to use in ACLs in combination with SOCKS or HTTP(s) proxy and/or the Transparent plugin. It can also be used to require TLS or mTLS between services. The TLS handshake contains no
port information; if tlspr is used as a standalone service, the destination port may be either detected with the Transparent plugin or configured with the -P option (default 443). port information; if tlspr is used as a standalone service, the destination port may be either detected with the Transparent plugin or configured with the -P option (default 443).
Note: tlspr does not support user authentication (there are no credentials in the TLS handshake to authenticate against); use ACLs by IP or a parent proxy with authentication if access control is required.
</p><p> </p><p>
<b>Options:</b> <b>Options:</b>
</p><pre> </p><pre>

View File

@ -13,6 +13,7 @@
.SH DESCRIPTION .SH DESCRIPTION
.B tlspr .B tlspr
is an SNI gateway service (destination host is taken from TLS handshake). The destination port must be specified via the -P option (or it may be detected with the Transparent plugin). is an SNI gateway service (destination host is taken from TLS handshake). The destination port must be specified via the -P option (or it may be detected with the Transparent plugin).
tlspr does not support user authentication; use ACLs by client IP or a parent proxy with authentication if access control is required.
.SH OPTIONS .SH OPTIONS
.TP .TP
.B -I .B -I