~重写iptables/ip6tables,优化各种模式下网段获取,防止回环,防止内网数据暴露
~优化nftables,防止内网数据暴露
~适配小米万兆路由,增加安装时目录选项
~本地安装内核优化,支持clash.meta文件名
~修复部分linux设备无法设置systemd启动的bug
This commit is contained in:
juewuy
2023-04-02 19:46:08 +08:00
parent cac9d8534c
commit c8f7e352c6
7 changed files with 183 additions and 169 deletions

View File

@@ -98,7 +98,7 @@ ckstatus(){
#检查执行权限
[ ! -x $clashdir/start.sh ] && chmod +x $clashdir/start.sh
#检查/tmp内核文件
for file in `ls -F /tmp | grep -v [/\$] | grep -v '\ ' | grep -iE '^clash$|^clash-linux*'` ; do
for file in `ls -F /tmp | grep -v [/\$] | grep -v '\ ' | grep -iE '^clash$|^clash-linux*|^clash.meta*'` ; do
file=/tmp/$file
chmod +x $file
tmp_version=$($file -v 2>/dev/null)