mirror of
https://github.com/Ysurac/openmptcprouter-vps-admin.git
synced 2025-03-09 15:40:05 +00:00
Add none encryption support configuration to Shadowsocks-go
This commit is contained in:
parent
c1fd3b531b
commit
ccbb69e41c
1 changed files with 3 additions and 2 deletions
|
@ -2184,8 +2184,9 @@ def shadowsocks_go(*, params: ShadowsocksGoConfigparams, current_user: User = De
|
||||||
return {'result': 'error', 'reason': 'Read only user', 'route': 'shadowsocks-go'}
|
return {'result': 'error', 'reason': 'Read only user', 'route': 'shadowsocks-go'}
|
||||||
port = params.port
|
port = params.port
|
||||||
# If method is aes 128 then key need to be length 16 instead of 32, so force aes-256-gcm for now
|
# If method is aes 128 then key need to be length 16 instead of 32, so force aes-256-gcm for now
|
||||||
#method = params.method
|
method = params.method
|
||||||
method = "2022-blake3-aes-256-gcm"
|
if method == "2022-blake3-aes-128-gcm":
|
||||||
|
method = "2022-blake3-aes-256-gcm"
|
||||||
fast_open = params.fast_open
|
fast_open = params.fast_open
|
||||||
reuse_port = params.reuse_port
|
reuse_port = params.reuse_port
|
||||||
mptcp = params.mptcp
|
mptcp = params.mptcp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue