diff --git a/README.md b/README.md
index 65c817f0df..d6e157b208 100644
--- a/README.md
+++ b/README.md
@@ -8,11 +8,11 @@
-
-
+
+
-
-
+
+
diff --git a/luci-app-openclash/Makefile b/luci-app-openclash/Makefile
index b618f33a00..8ac8267bf7 100644
--- a/luci-app-openclash/Makefile
+++ b/luci-app-openclash/Makefile
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-openclash
-PKG_VERSION:=0.33.4
+PKG_VERSION:=0.33.5
PKG_RELEASE:=beta
PKG_MAINTAINER:=vernesong
@@ -39,6 +39,7 @@ endef
define Package/$(PKG_NAME)/preinst
#!/bin/sh
if [ -f "/etc/config/openclash" ]; then
+ uci set openclash.config.enable=0 && uci commit openclash
cp "/etc/config/openclash" "/tmp/openclash.bak" 2>/dev/null
cp "/etc/config/openclash_custom_rules.list" "/tmp/openclash_custom_rules.list.bak" 2>/dev/null
cp "/etc/config/openclash_custom_hosts.list" "/tmp/openclash_custom_hosts.list.bak" 2>/dev/null
@@ -73,11 +74,9 @@ endef
define Package/$(PKG_NAME)/prerm
#!/bin/sh
update=$(uci get openclash.config.update 2>/dev/null)
-if [ "$update" -ne 1 ]; then
+if [ "$update" != "1" ]; then
rm -rf /etc/openclash/clash 2>/dev/null
uci set openclash.config.enable=0 && uci commit openclash
-else
- uci set openclash.config.enable=1 && uci commit openclash
fi
cp "/etc/config/openclash" "/tmp/openclash.bak" 2>/dev/null
cp "/etc/config/openclash_custom_rules.list" "/tmp/openclash_custom_rules.list.bak" 2>/dev/null
diff --git a/luci-app-openclash/files/etc/init.d/openclash b/luci-app-openclash/files/etc/init.d/openclash
index 0c4ee6329c..c4d27a0b46 100644
--- a/luci-app-openclash/files/etc/init.d/openclash
+++ b/luci-app-openclash/files/etc/init.d/openclash
@@ -2,7 +2,7 @@
# Copyright (c) 2019 vernesong
START=99
-STOP=15
+STOP=25
CLASH="/etc/openclash/clash"
@@ -43,13 +43,17 @@ del_cron()
}
change_dns(){
- uci del dhcp.@dnsmasq[-1].queryport 2>/dev/null
- uci set dhcp.@dnsmasq[0].queryport=7882
+ uci del dhcp.@dnsmasq[-1].server
+ uci add_list dhcp.@dnsmasq[0].server=127.0.0.1#"$dns_port"
+ uci delete dhcp.@dnsmasq[0].resolvfile
+ uci set dhcp.@dnsmasq[0].noresolv=1
uci commit dhcp
}
revert_dns() {
- uci del dhcp.@dnsmasq[-1].queryport 2>/dev/null
+ uci del dhcp.@dnsmasq[-1].server
+ uci set dhcp.@dnsmasq[0].resolvfile=/tmp/resolv.conf.auto
+ uci set dhcp.@dnsmasq[0].noresolv=0
uci commit dhcp
}
@@ -380,8 +384,6 @@ iptables -t nat -A openclash -d 240.0.0.0/4 -j RETURN
iptables -t nat -A openclash -p tcp --dport 22 -j ACCEPT
iptables -t nat -A openclash -p tcp -j REDIRECT --to-ports "$proxy_port"
iptables -t nat -A PREROUTING -p tcp -j openclash
-iptables -t nat -A OUTPUT -p udp --sport 7882 -s "$lan_ip" -j REDIRECT --to-ports "$dns_port"
-iptables -t nat -A OUTPUT -p tcp --sport 7882 -s "$lan_ip" -j REDIRECT --to-ports "$dns_port"
iptables -t nat -A OUTPUT -p tcp -d 198.18.0.1/16 -j REDIRECT --to-ports "$proxy_port"
EOF
@@ -391,14 +393,12 @@ if [ "$ipv6_enable" -eq 1 ]; then
ip6tables -t nat -N openclash
ip6tables -t nat -A openclash -p tcp -j REDIRECT --to-ports "$proxy_port"
ip6tables -t nat -A PREROUTING -p tcp -j openclash
-iptables -t nat -A OUTPUT -p udp --sport 7882 -s "$lan_ip6" -j REDIRECT --to-ports "$dns_port"
-iptables -t nat -A OUTPUT -p tcp --sport 7882 -s "$lan_ip6" -j REDIRECT --to-ports "$dns_port"
EOF
fi
/etc/init.d/firewall restart >/dev/null 2>&1
echo "第七步: 重启 Dnsmasq 程序..." >$START_LOG
- if [ ! -z "$(uci get dhcp.@dnsmasq[0].server 2>/dev/null)" ] || [ "$(iptables -t nat -nL PREROUTING --line-number |grep dpt:53 |wc -l)" -gt 2 ]; then
+ if [ "$(iptables -t nat -nL PREROUTING --line-number |grep dpt:53 |wc -l)" -gt 2 ]; then
echo "发现Dnsmasq被占用,请将OpenClash设置为占用Dnsmas程序的上游DNS服务器!" >$START_LOG
echo "${LOGTIME} Warring: OpenClash May Can Not Take Over DNS, Please Use OpenClash for Upstream DNS Resolve Server" >> $LOG_FILE
sleep 5
diff --git a/luci-app-openclash/files/etc/openclash/openclash_version b/luci-app-openclash/files/etc/openclash/openclash_version
index 495c9f756f..05e39a9293 100644
--- a/luci-app-openclash/files/etc/openclash/openclash_version
+++ b/luci-app-openclash/files/etc/openclash/openclash_version
@@ -1,2 +1,2 @@
-v0.33.4-beta
-data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWoAAAApCAMAAAArvZOnAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJl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7RVVVVQUFBaWlpeXl5dXV1cXFxOTk5bW1tPT0////////94d51MAAAAjnRSTlP///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8Am570egAAEUdJREFUeNrsm49XGte2x48wMyDOEECCIigwgsE6EsUfSAw0SjrhJrWJbWgwxt5eb2p+kPL6wzeDry0xAurI8X++3zOIgjG5Xe1a95W17rbLzOzZe5+Zz9lnn31cq+T0dMZqs/ewPPz5Ly8/rY/PnJ6SU5ft8PDosGflb3f/56cekLATqG2HPS1A/fcekJ/Cp8R6+F/U/xHW48R21NsC1Nd7QsLE3vOo/9kbqH8m9uOelv8D6h97Qa7v/Bf1f0qA+qS3Baiv9YTc6XXU/9vbqI81gxCjcnL8/4hwX8v/XtRffODbvlR4lRfeUwf2oN7znd350jyv7ilfXhXAJwS6FT8qour7o6hfE3vjkhw3OSlhsyU0jtSOG39KjjVC8id/xPOkYtR/n+MHUftUfjq8fk0VvuyCpaqv18Pr11X+R3bPi8p0OPxzVQ28P1O7/OWJ2pseX/5RuRo2i/xvUB9e+sYGd2jxUog37pC0P4e6dph0HP6hGMa8yyrlf4fhPlD7rpKAGp7FV2ze2uOvXWiFH7dGSkw9/lq95gvshcdz7Ftnb6rK5QCKury5ynep1WFausNfOZxP2Fkc9im+DwtDvd8lsmMOmCcmGG4r0fb/jJAEnbMbf8hzgnqM3zX4B1BfU29Smuu7T2lfJ0Wmnbnft4RnYKbsjTCjkU1Kb6mBS1MlblE68h7qzdcfQM2e/cp/HHXXizdkB6UTh5lMRj60Uo9U+T1f29CahFTOp6yxXyeGxm6JDaibV7roBjHyjfcCYZOQ2FUt4bBpbZVRuzBsVAjpuN3/5W+DXwSuEP4HJ31QcLvHSnRR9J2r1ZvfLAwUCky9KgYEYWT0bqjgDo3SyR2+y39XxKRgmoROpRpmOAXsAO2IPgGFv/VsmDq/PIvBlJik7jdiqPMdYhx5aTwYlGVODmYTVk2ry6QBi0aF48xs4ySNcBxpaByXlzh2tZ8n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SkpK5ublkq9OlpaVGkr6pqanAwMC1tbVFmspycnLa2tqCgoKsrKxlZWVGibBLS0vf398JY5ZBQUHg4OBXlbkFaaLA1OAEYJQFcrBDQ0OUxuJmrdYUfbgFWopzsdQJbKW2trZynrh0dHTCwsIJWIU0fKWDqsF3d3e+vr6hv9Cy1ekYbZ2vr6+xzdwmcZ2ixtsFZZukzubQ3+cXYYzw9feiyd9zoLplqM+iwNEEYpiTxOAGdLPd3d1HnM2CrscijMkFa6WJweJDfqA2ksYmbpehw9eDs88Cc7QBcrNRUVFTU1NUVFRVVVULfL1SUlIFdrcKe7wHeLlWVlYOf8AOgMAEdrYEdbYDdLUDdLQDdbUSg8MSg8QShMQThMUAcrJXV1cGd7gOf78Nfr8Nfr4Mfb4Mfb0IebkIeboJeroJe7sJers6OjqqqqrV1dWrq6vU1NRISEg7OztJSUnw9/t+fn7q6urC3u6dnZ3z8/NMTEyErMLA1N9/f3+DvNz09PSCqcCFvt7g6vDB3u719fXB3e3B3e4UXonW1taMjIyGhoaDr8iEvd3g6u90s9jC3+/D3+9Gm8uEtNDo6OgFdLQHWIcmicLC3u8FZ5/B1eBor9eDu9zB2+rC3OtVos9jnb6Dq8JHm8yyz+A1jsILerlEmcoacKHR5O+BuNg1hrTC2udHmsnP5PEwk8vB1+SEq8IHZ51jn8IRgsMQgcIPgMFZWVlaWlpfX19bW1tcXFxeXl5NTU1PT09QUFBYWFhdXV1OTk7///////8UlMTpAAABAHRSTlP///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8AU/cHJQAAC/xJREFUeNrslwlYFOcZxwcHFUQWjYiKnAJegLtKXIUqHoB4gRiLaKwXkWo0wZhDTUyTaNK6COK26d1AYhqMiCArhxIBzxjRxEQTaXNfTY+ktk1CI2D40/f7vpndmeWIT3wem83j73mc733f7z1m/jM7I1J7+/G1fk0uzIA/fPf5yaO29napfX5yk0sz4Pe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vEmw8PNUYwb1Jd3fSdtAYPXb66pmZ10KmoB1nYOLIupqYmcJxxCa95p66OLRFDgwJramrqhhov6cSiLkF30M7qx4zZzN1kHHr/upMnJgadohkhxqB1J/o+XFiYfmp5Tc3j4zweExO7ljqvJbJYIaOFKcTNA7SwTXFkuhRHqgXNspKfxrU5pN0X1SJ0oFhWS8zqiGZNp+YDxcosnmFmsVald3meI6Y5Cy71TgdPGozGhYp9YYmRs4B7EUZjNlvTRdB4MYTnX1Tc4As8K9hoZEuIEhUlGiLUjU3Cz1b9EHtr++DgdKdyaXtHmk1pkZFpZa3CSyHH3LrdZGKOOBJtpjJHQYqJ8k3NzCwzten2WbUSSjGl2CvazCzORzg6tZaxPuZWXXJZJw3sZ8HQSr0zJPuSw1mQHhycrSi/MDs7QhiXKJq+4IK9wBAcvOkRtSJbqLNwwaZgR62DhdkLQmgnPcIeuMTKlW4LDMEGVn/hEqU8sjMiO+IbpXYt7nzSRZBaXZ07f+kifA+k/o2LILW4OoN/5SJ8D6T+tYsgzWlzcQb/1DWYJE27KfWN4ROp1tUf68E/cwkm2aT2h3ybXRqXkPqpSf9ol9rba6dddWmpn/ruc/sntvb2/wkwAK87/2/YEiQJAAAAAElFTkSuQmCC
\ No newline at end of file
diff --git a/luci-app-openclash/files/usr/share/openclash/dashboard/index.html b/luci-app-openclash/files/usr/share/openclash/dashboard/index.html
index 58970428e7..934ef6de48 100644
--- a/luci-app-openclash/files/usr/share/openclash/dashboard/index.html
+++ b/luci-app-openclash/files/usr/share/openclash/dashboard/index.html
@@ -4,8 +4,8 @@
Clash
-
+
-
+