This repository was archived by the owner on Feb 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #### ⟳ Changelog v3.5.1
2+ - fix
13#### ⟳ Changelog v3.5
24- optimize clash service script
35- optimize iptables script
Original file line number Diff line number Diff line change 11id=ClashForMagisk
22name=Clash for Magisk
3- version=v3.5
4- versionCode=20230209
3+ version=v3.5.1
4+ versionCode=20230210
55author=t🌸amarin
66description= Use iptables to support Clash's transparent proxy. Hey, damn half-crippled Android!!!
77updateJson=https://github.com/taamarin/ClashforMagisk/raw/master/update.json
Original file line number Diff line number Diff line change @@ -453,8 +453,8 @@ if [ "${mode}" != "core" ] ; then
453453 iptables=" ip6tables -w 100" && stop_tproxy
454454 iptables=" ip6tables -w 100" && stop_redirect
455455 iptables=" ip6tables -w 100" && forward -D
456- log " [warning] clean up iptables transparent proxy rules done."
457456 ipv6_enable
457+ log " [warning] clean up iptables transparent proxy rules done."
458458 ;;
459459 ? )
460460 echo " "
476476 iptables=" iptables -w 100" && forward -I
477477 if [ " ${ipv6} " = " true" ] ; then
478478 iptables=" ip6tables -w 100" && forward -I
479+ else
480+ disable_ipv6
481+ log " [warn ]disable IPv6."
479482 fi
480483 log " [info] mode: ${mode} , disable transparent proxy."
481484 log " [info] Clash terhubung."
488491 iptables=" ip6tables -w 100" && stop_tproxy >> /dev/null 2>&1
489492 iptables=" ip6tables -w 100" && stop_redirect >> /dev/null 2>&1
490493 iptables=" ip6tables -w 100" && forward -D
494+ ipv6_enable
491495 log " [warning] cleaning up proxy rules."
492496 ;;
493497 * )
Original file line number Diff line number Diff line change 11{
2- "version" : " v3.5" ,
3- "versionCode" : " 20230209 " ,
4- "zipUrl" : " https://github.com/taamarin/ClashforMagisk/releases/download/v3.5/Clash_for_Magisk-v3.5.zip" ,
2+ "version" : " v3.5.1 " ,
3+ "versionCode" : " 20230210 " ,
4+ "zipUrl" : " https://github.com/taamarin/ClashforMagisk/releases/download/v3.5.1 /Clash_for_Magisk-v3.5.1 .zip" ,
55 "changelog" : " https://github.com/taamarin/ClashforMagisk/raw/master/CHANGELOG.md"
66}
You can’t perform that action at this time.
0 commit comments