mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
luci-app-ssrserver-python: add support for IPv6 and chacha20 cipher
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
parent
7d9674c86e
commit
9a401ca61c
@ -12,6 +12,7 @@ local n={
|
||||
"rc4",
|
||||
"rc4-md5",
|
||||
"rc4-md5-6",
|
||||
"chacha20",
|
||||
}
|
||||
local s={
|
||||
"origin",
|
||||
|
@ -49,9 +49,10 @@ gen_config_file() {
|
||||
cat <<-EOF >$CONFIG_FILE
|
||||
{
|
||||
"server": "0.0.0.0",
|
||||
"server_ipv6": "::",
|
||||
"server_port": $(uci_get_by_type server server_port),
|
||||
"local_address":"127.0.0.1",
|
||||
"local_port":1086,
|
||||
"local_address":"127.0.0.1",
|
||||
"local_port":1086,
|
||||
"password": "$(uci_get_by_type server password)",
|
||||
"timeout": $(uci_get_by_type server timeout 60),
|
||||
"method": "$(uci_get_by_type server encrypt_method)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user