mirror of
https://github.com/3proxy/3proxy.git
synced 2026-08-13 20:29:15 +08:00
fix: support UDP ASSOCIATE through SOCKS5 parent
This commit is contained in:
parent
c31fe8367f
commit
828228661c
@ -148,7 +148,13 @@ int doauth(struct clientparam * param){
|
||||
if(ret > 9) return ret;
|
||||
}
|
||||
if(!res){
|
||||
ret = alwaysauth(param);
|
||||
/* UDP parent negotiation already established its control connection. */
|
||||
if(param->operation == UDPASSOC && param->ctrlsocksrv != INVALID_SOCKET) {
|
||||
ret = 0;
|
||||
}
|
||||
else {
|
||||
ret = alwaysauth(param);
|
||||
}
|
||||
if (param->afterauthfilters){
|
||||
FILTER_ACTION action;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user