Skip to content

Commit

Permalink
1.7.5.5a
Browse files Browse the repository at this point in the history
  • Loading branch information
frainzy1477 committed Jul 22, 2020
1 parent 660bad0 commit 1026c78
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 19 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
A rule based custom proxy for Openwrt based on <a href="https://github.com/Dreamacro/clash" target="_blank">Clash</a>.
</p>
<p align="center">
<a target="_blank" href="https://github.com/frainzy1477/luci-app-clash/releases/tag/v1.7.5.4">
<img src="https://img.shields.io/badge/luci%20for%20clash-v1.7.5.4-blue.svg">
<a target="_blank" href="https://github.com/frainzy1477/luci-app-clash/releases/tag/v1.7.5.5">
<img src="https://img.shields.io/badge/luci%20for%20clash-v1.7.5.5-blue.svg">
</a>
<a href="https://github.com/frainzy1477/luci-app-clash/releases" target="_blank">
<img src="https://img.shields.io/github/downloads/frainzy1477/luci-app-clash/total.svg?style=flat-square"/>
Expand All @@ -20,8 +20,8 @@
- Upload ipk file to tmp folder
- cd /tmp
- opkg update
- opkg install luci-app-clash_v1.7.5.4_all.ipk
- opkg install luci-app-clash_v1.7.5.4_all.ipk --force-depends
- opkg install luci-app-clash_v1.7.5.5_all.ipk
- opkg install luci-app-clash_v1.7.5.5_all.ipk --force-depends

## Uninstall
- opkg remove luci-app-clash
Expand Down
20 changes: 6 additions & 14 deletions luasrc/model/cbi/clash/config/servers-config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,9 @@ local encrypt_methods_ssr = {
"aes-128-ctr",
"aes-192-ctr",
"aes-256-ctr",
"aes-128-ofb",
"aes-192-ofb",
"aes-256-ofb",
"des-cfb",
"bf-cfb",
"cast5-cfb",
"rc4-md5",
"chacha20",
"chacha20-ietf",
"salsa20",
"camellia-128-cfb",
"camellia-192-cfb",
"camellia-256-cfb",
"idea-cfb",
"rc2-cfb",
"seed-cfb",

}


Expand All @@ -68,6 +55,8 @@ local protocol_ssr = {
"auth_sha1_v4",
"auth_aes128_md5",
"auth_aes128_sha1",
"auth_chain_a",
"auth_chain_b",
}


Expand All @@ -77,6 +66,8 @@ local obfs_ssr_list = {
"http_simple",
"http_post",
"tls1.2_ticket_auth",
"tls1.2_ticket_fastauth",
"random_head",
}

m = Map(clash, translate("Edit Server"))
Expand Down Expand Up @@ -201,6 +192,7 @@ o = s:option(ListValue, "udp", translate("udp"))
o:value("true")
o:value("false")
o:depends("type", "ss")
o:depends("type", "ssr")
o:depends("type", "vmess")
o:depends("type", "socks5")
o:depends("type", "trojan")
Expand Down
6 changes: 5 additions & 1 deletion root/usr/share/clash/create/create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -625,8 +625,12 @@ cat >> "$SERVER_FILE" <<-EOF
protocol-param: "$protocolparam"
obfs: "$obfs_ssr"
obfs-param: "$obfsparam"
udp: true
EOF
if [ ! -z "$udp" ]; then
cat >> "$SERVER_FILE" <<-EOF
udp: $udp
EOF
fi
fi


Expand Down

0 comments on commit 1026c78

Please sign in to comment.