mirror of
https://github.com/3proxy/3proxy.git
synced 2026-09-29 16:55:51 +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(ret > 9) return ret;
|
||||||
}
|
}
|
||||||
if(!res){
|
if(!res){
|
||||||
|
/* UDP parent negotiation already established its control connection. */
|
||||||
|
if(param->operation == UDPASSOC && param->ctrlsocksrv != INVALID_SOCKET) {
|
||||||
|
ret = 0;
|
||||||
|
}
|
||||||
|
else {
|
||||||
ret = alwaysauth(param);
|
ret = alwaysauth(param);
|
||||||
|
}
|
||||||
if (param->afterauthfilters){
|
if (param->afterauthfilters){
|
||||||
FILTER_ACTION action;
|
FILTER_ACTION action;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user