-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.新增用户自定义数据列表内有效条目在线运行状态显示 功能。 2.更新运营商 IP 地址数据文件。
- Loading branch information
Showing
21 changed files
with
1,126 additions
and
833 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
# install.sh v4.5.7 | ||
# install.sh v4.5.8 | ||
# By LZ 妙妙呜 ([email protected]) | ||
|
||
# LZ RULE script for Asuswrt-Merlin Router | ||
|
@@ -11,7 +11,7 @@ | |
|
||
#BEGIN | ||
|
||
LZ_VERSION=v4.5.7 | ||
LZ_VERSION=v4.5.8 | ||
TIMEOUT=10 | ||
CURRENT_PATH="${0%/*}" | ||
[ "${CURRENT_PATH:0:1}" != '/' ] && CURRENT_PATH="$( pwd )${CURRENT_PATH#*.}" | ||
|
@@ -323,6 +323,7 @@ lz_mount_web_ui() { | |
ln -s "${PATH_CONFIGS}/lz_rule_config.sh" "${PATH_WEB_LZR}/LZRConfig.html" > /dev/null 2>&1 | ||
ln -s "${PATH_CONFIGS}/lz_rule_config.box" "${PATH_WEB_LZR}/LZRBKData.html" > /dev/null 2>&1 | ||
ln -s "${PATH_FUNC}/lz_define_global_variables.sh" "${PATH_WEB_LZR}/LZRGlobal.html" > /dev/null 2>&1 | ||
ln -s "${PATH_TMP}/rtlist.log" "${PATH_WEB_LZR}/LZRList.html" > /dev/null 2>&1 | ||
ln -s "${PATH_TMP}/status.log" "${PATH_WEB_LZR}/LZRStatus.html" > /dev/null 2>&1 | ||
ln -s "${PATH_TMP}/address.log" "${PATH_WEB_LZR}/LZRAddress.html" > /dev/null 2>&1 | ||
ln -s "${PATH_TMP}/routing.log" "${PATH_WEB_LZR}/LZRRouting.html" > /dev/null 2>&1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
# lz_rule_config.sh v4.5.7 | ||
# lz_rule_config.sh v4.5.8 | ||
# By LZ 妙妙呜 ([email protected]) | ||
|
||
# 本软件采用CIDR(无类别域间路由,Classless Inter-Domain Routing)技术,是一个在Internet上创建附加地 | ||
|
@@ -538,27 +538,27 @@ wan_1_src_to_dst_addr_port=5 | |
## 客户端IPv4网址/网段 | ||
## 例如: | ||
## 192.168.50.101 123.123.123.121 tcp 80,443,6881:6889,25671 801,4431,16881:16889,225671 | ||
## 192.168.50.102 123.123.123.122 udp all 8080 | ||
## 192.168.50.103 123.123.123.123 tcp 8081 all | ||
## 192.168.50.102 123.123.123.122 udp any 8080 | ||
## 192.168.50.103 123.123.123.123 tcp 8081 any | ||
## 192.168.50.104 123.123.123.124 udp 80,443,6881:6889,25671 | ||
## 192.168.50.0/27 123.123.123.0/24 tcp 4334 | ||
## 0.0.0.0/0 123.123.123.125 udplite 12345 | ||
## 192.168.50.105 0.0.0.0/0 sctp | ||
## 0.0.0.0/0 0.0.0.0/0 | ||
## 192.168.50.106 | ||
## 可以用0.0.0.0/0表示所有未知IP地址,0.0.0.0和路由器本地IP地址为无效地址,all表示所有未知端口号。 | ||
## 可以用0.0.0.0/0表示所有未知IP地址,0.0.0.0和路由器本地IP地址为无效地址,any表示任意未知端口号。 | ||
## “客户端IPv4网址/网段”必选项。 | ||
## “IPv4目标网址/网段”、“通讯协议”、“客户端源端口号”及“目标端口号”为可选项。 | ||
## 填写“通讯协议”时,“IPv4目标网址/网段”则成为必选项,后续依此类推。 | ||
## 每个条目只能使用一个端口通讯协议,只能是TCP、UDP、UDPLITE、SCTP四种协议中的一个,字母英文大小写均可。 | ||
## 连续端口号中间用英文半角“:”冒号相隔,如:6881:6889表示6881~6889的连续端口号。 | ||
## 每个条目最多可设置15个不连续的目标访问端口号埠,不连续的端口号埠之间用英文半角“,”逗号相隔,不要有空格。 | ||
## 等效设置一,例如: | ||
## 192.168.50.12 123.123.123.151 tcp all 80,443,6881:6889,25671 | ||
## 192.168.50.12 123.123.123.151 tcp any 80,443,6881:6889,25671 | ||
## 192.168.50.12 123.123.123.151 tcp 80,443,6881:6889,25671 | ||
## 等效设置二,例如: | ||
## 192.168.50.12 123.123.123.151 tcp all all | ||
## 192.168.50.12 123.123.123.151 tcp all | ||
## 192.168.50.12 123.123.123.151 tcp any any | ||
## 192.168.50.12 123.123.123.151 tcp any | ||
## 192.168.50.12 123.123.123.151 tcp | ||
## 等效设置三,例如: | ||
## 192.168.50.12 0.0.0.0/0 | ||
|
@@ -588,27 +588,27 @@ wan_2_src_to_dst_addr_port=5 | |
## 客户端IPv4网址/网段 | ||
## 例如: | ||
## 192.168.50.101 123.123.123.121 tcp 80,443,6881:6889,25671 801,4431,16881:16889,225671 | ||
## 192.168.50.102 123.123.123.122 udp all 8080 | ||
## 192.168.50.103 123.123.123.123 tcp 8081 all | ||
## 192.168.50.102 123.123.123.122 udp any 8080 | ||
## 192.168.50.103 123.123.123.123 tcp 8081 any | ||
## 192.168.50.104 123.123.123.124 udp 80,443,6881:6889,25671 | ||
## 192.168.50.0/27 123.123.123.0/24 tcp 4334 | ||
## 0.0.0.0/0 123.123.123.125 udplite 12345 | ||
## 192.168.50.105 0.0.0.0/0 sctp | ||
## 0.0.0.0/0 0.0.0.0/0 | ||
## 192.168.50.106 | ||
## 可以用0.0.0.0/0表示所有未知IP地址,0.0.0.0和路由器本地IP地址为无效地址,all表示所有未知端口号。 | ||
## 可以用0.0.0.0/0表示所有未知IP地址,0.0.0.0和路由器本地IP地址为无效地址,any表示任意未知端口号。 | ||
## “客户端IPv4网址/网段”必选项。 | ||
## “IPv4目标网址/网段”、“通讯协议”、“客户端源端口号”及“目标端口号”为可选项。 | ||
## 填写“通讯协议”时,“IPv4目标网址/网段”则成为必选项,后续依此类推。 | ||
## 每个条目只能使用一个端口通讯协议,只能是TCP、UDP、UDPLITE、SCTP四种协议中的一个,字母英文大小写均可。 | ||
## 连续端口号中间用英文半角“:”冒号相隔,如:6881:6889表示6881~6889的连续端口号。 | ||
## 每个条目最多可设置15个不连续的目标访问端口号埠,不连续的端口号埠之间用英文半角“,”逗号相隔,不要有空格。 | ||
## 等效设置一,例如: | ||
## 192.168.50.12 123.123.123.151 tcp all 80,443,6881:6889,25671 | ||
## 192.168.50.12 123.123.123.151 tcp any 80,443,6881:6889,25671 | ||
## 192.168.50.12 123.123.123.151 tcp 80,443,6881:6889,25671 | ||
## 等效设置二,例如: | ||
## 192.168.50.12 123.123.123.151 tcp all all | ||
## 192.168.50.12 123.123.123.151 tcp all | ||
## 192.168.50.12 123.123.123.151 tcp any any | ||
## 192.168.50.12 123.123.123.151 tcp any | ||
## 192.168.50.12 123.123.123.151 tcp | ||
## 等效设置三,例如: | ||
## 192.168.50.12 0.0.0.0/0 | ||
|
@@ -638,27 +638,27 @@ high_wan_1_src_to_dst_addr_port=5 | |
## 客户端IPv4网址/网段 | ||
## 例如: | ||
## 192.168.50.101 123.123.123.121 tcp 80,443,6881:6889,25671 801,4431,16881:16889,225671 | ||
## 192.168.50.102 123.123.123.122 udp all 8080 | ||
## 192.168.50.103 123.123.123.123 tcp 8081 all | ||
## 192.168.50.102 123.123.123.122 udp any 8080 | ||
## 192.168.50.103 123.123.123.123 tcp 8081 any | ||
## 192.168.50.104 123.123.123.124 udp 80,443,6881:6889,25671 | ||
## 192.168.50.0/27 123.123.123.0/24 tcp 4334 | ||
## 0.0.0.0/0 123.123.123.125 udplite 12345 | ||
## 192.168.50.105 0.0.0.0/0 sctp | ||
## 0.0.0.0/0 0.0.0.0/0 | ||
## 192.168.50.106 | ||
## 可以用0.0.0.0/0表示所有未知IP地址,0.0.0.0和路由器本地IP地址为无效地址,all表示所有未知端口号。 | ||
## 可以用0.0.0.0/0表示所有未知IP地址,0.0.0.0和路由器本地IP地址为无效地址,any表示任意未知端口号。 | ||
## “客户端IPv4网址/网段”必选项。 | ||
## “IPv4目标网址/网段”、“通讯协议”、“客户端源端口号”及“目标端口号”为可选项。 | ||
## 填写“通讯协议”时,“IPv4目标网址/网段”则成为必选项,后续依此类推。 | ||
## 每个条目只能使用一个端口通讯协议,只能是TCP、UDP、UDPLITE、SCTP四种协议中的一个,字母英文大小写均可。 | ||
## 连续端口号中间用英文半角“:”冒号相隔,如:6881:6889表示6881~6889的连续端口号。 | ||
## 每个条目最多可设置15个不连续的目标访问端口号埠,不连续的端口号埠之间用英文半角“,”逗号相隔,不要有空格。 | ||
## 等效设置一,例如: | ||
## 192.168.50.12 123.123.123.151 tcp all 80,443,6881:6889,25671 | ||
## 192.168.50.12 123.123.123.151 tcp any 80,443,6881:6889,25671 | ||
## 192.168.50.12 123.123.123.151 tcp 80,443,6881:6889,25671 | ||
## 等效设置二,例如: | ||
## 192.168.50.12 123.123.123.151 tcp all all | ||
## 192.168.50.12 123.123.123.151 tcp all | ||
## 192.168.50.12 123.123.123.151 tcp any any | ||
## 192.168.50.12 123.123.123.151 tcp any | ||
## 192.168.50.12 123.123.123.151 tcp | ||
## 等效设置三,例如: | ||
## 192.168.50.12 0.0.0.0/0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
# lz_clear_custom_scripts_data.sh v4.5.7 | ||
# lz_clear_custom_scripts_data.sh v4.5.8 | ||
# By LZ 妙妙呜 ([email protected]) | ||
|
||
## 清除用户自定义脚本数据 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
# lz_define_global_variables.sh v4.5.7 | ||
# lz_define_global_variables.sh v4.5.8 | ||
# By LZ 妙妙呜 ([email protected]) | ||
# QnkgTFog5aaZ5aaZ5ZGc77yI6Juk6J+G5aKp5YS/77yJ(首次运行标识,切勿修改) | ||
|
||
|
@@ -431,6 +431,9 @@ route_local_subnet="" | |
[ -n "${route_static_subnet}" ] && route_local_subnet="${route_static_subnet%.*}.0" | ||
[ "${route_static_subnet}" != "${route_static_subnet##*/}" ] && route_local_subnet="${route_local_subnet}/${route_static_subnet##*/}" | ||
|
||
## 静态分流模式整体通道推送命令是否执行(0--未执行;1--已执行) | ||
command_from_all_executed="0" | ||
|
||
## 系统负载均衡防火墙过滤规则链是否存在(384固件使用) | ||
balance_chain_existing=0 | ||
|
||
|
Oops, something went wrong.