ssl_client_mode = 3 added, allow 'secure' parent types ending with 's': https, tcps, socks5s, connect+s, etc.

example:

plugin SSLPlugin.ld.so ssl_plugin

allow user1
parent 1000 http 1.1.1.1 1111
allow user2
parent 1000 https 2.2.2.2 2222
ssl_client_mode 3
ssl_client
proxy

With ssl_client_mode 3 TLS is only handshaked for https parent type and is not handshaked for http parent.
This commit is contained in:
Vladimir Dubrovin committed 2026-04-13 20:53:38 +03:00
1 parent 2fd536781f
commit a1a65c3fd5
4 files changed
+34 -2

No files matched your search

+2 -1
View File
@@ -326,6 +326,7 @@ extern struct redirdesc redirs[];
struct chain {
struct chain * next;
int type;
int secure;
PROXYSOCKADDRTYPE addr;
unsigned char * exthost;
unsigned char * extuser;
@@ -415,7 +416,7 @@ extern int numservers;
typedef void * (* PROXYFUNC)(struct clientparam *);
typedef enum {
PASS,
PASS = 0,
CONTINUE,
HANDLED,
REJECT,