mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
FIX: SSLPlugin with SOCKS
This commit is contained in:
1 parent
d20e76bbc9
commit
1cf169b7ae
2 files changed
+15
-2
No files matched your search
+13
@@ -203,6 +203,8 @@ void * sockschild(struct clientparam* param) {
|
||||
RETURN(res);
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(command > 1) {
|
||||
if(so._bind(param->remsock,(struct sockaddr *)¶m->sinsl,SASIZE(¶m->sinsl))) {
|
||||
*SAPORT(¶m->sinsl) = 0;
|
||||
@@ -272,6 +274,17 @@ fflush(stderr);
|
||||
socksend(param->clisock, buf, 8, conf.timeouts[STRING_S]);
|
||||
}
|
||||
|
||||
if (param->npredatfilters){
|
||||
int action;
|
||||
|
||||
action = handlepredatflt(param);
|
||||
if(action == HANDLED){
|
||||
param->res = 0;
|
||||
}
|
||||
if(action != PASS){
|
||||
param->res = 19;
|
||||
}
|
||||
}
|
||||
if (param->res == 0) {
|
||||
switch(command) {
|
||||
case 1:
|
||||
|
||||
Reference in new issue
Block a user