Skip to content

Commit

Permalink
v4.5.8
Browse files Browse the repository at this point in the history
1.新增用户自定义数据列表内有效条目在线运行状态显示
  功能。
2.更新运营商 IP 地址数据文件。
  • Loading branch information
larsonzh authored Sep 3, 2024
1 parent 0bff100 commit 68cee4a
Show file tree
Hide file tree
Showing 21 changed files with 1,126 additions and 833 deletions.
5 changes: 3 additions & 2 deletions source_codes/install.sh
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
Expand All @@ -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#*.}"
Expand Down Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions source_codes/lz/Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v4.5.8 (2024/9/3)
1.新增用户自定义数据列表内有效条目在线运行状态显示
功能。
2.更新运营商 IP 地址数据文件。

v4.5.7 (2024/8/14)
1.压缩图片尺寸,减小安装包。
2.更新运营商 IP 地址数据文件。
Expand Down
38 changes: 19 additions & 19 deletions source_codes/lz/configs/lz_rule_config.sh
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上创建附加地
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions source_codes/lz/data/lz_all_cn_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,6 @@
43.255.64.0/20
43.255.84.0/22
43.255.96.0/22
43.255.144.0/22
43.255.176.0/22
43.255.184.0/22
43.255.192.0/22
Expand Down Expand Up @@ -1008,7 +1007,6 @@
103.11.168.0/22
103.11.180.0/22
103.12.32.0/22
103.12.68.0/23
103.12.92.0/22
103.12.98.0/23
103.12.136.0/22
Expand Down Expand Up @@ -2271,7 +2269,6 @@
103.166.52.0/22
103.166.84.0/23
103.166.138.0/23
103.166.242.0/23
103.167.0.0/23
103.167.36.0/23
103.167.100.0/23
Expand Down Expand Up @@ -2738,7 +2735,7 @@
103.239.0.0/22
103.239.44.0/22
103.239.68.0/22
103.239.152.0/21
103.239.152.0/22
103.239.180.0/22
103.239.184.0/22
103.239.192.0/21
Expand Down Expand Up @@ -3743,6 +3740,10 @@
160.25.20.0/23
160.25.194.0/23
160.30.40.0/23
160.30.148.0/22
160.30.194.0/23
160.30.196.0/22
160.30.230.0/23
160.202.60.0/22
160.202.148.0/22
160.202.152.0/22
Expand Down Expand Up @@ -4229,7 +4230,6 @@
202.127.0.0/21
202.127.12.0/22
202.127.16.0/20
202.127.40.0/21
202.127.48.0/20
202.127.112.0/20
202.127.128.0/19
Expand Down
2 changes: 1 addition & 1 deletion source_codes/lz/data/lz_chinatelecom_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@
101.251.8.0/21
101.251.16.0/20
101.251.32.0/19
103.12.68.0/23
103.22.0.0/18
103.22.64.0/19
103.22.100.0/22
Expand Down Expand Up @@ -1708,6 +1707,7 @@
219.152.0.0/15
219.159.64.0/18
219.159.128.0/17
220.154.0.0/16
220.160.0.0/11
220.242.0.0/15
220.247.136.0/21
Expand Down
7 changes: 1 addition & 6 deletions source_codes/lz/data/lz_hk_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,7 @@
160.30.76.0/23
160.30.94.0/24
160.30.96.0/23
160.30.128.0/23
160.202.44.0/22
160.202.56.0/22
160.238.84.0/22
Expand Down Expand Up @@ -1770,7 +1771,6 @@
193.47.63.0/24
194.26.72.0/22
198.59.162.0/23
198.99.173.0/24
199.9.24.0/21
199.43.19.0/24
199.43.45.0/24
Expand All @@ -1796,14 +1796,11 @@
202.8.104.0/22
202.9.60.0/22
202.9.82.0/24
202.12.4.0/22
202.14.4.0/22
202.14.67.0/24
202.14.68.0/24
202.14.80.0/24
202.20.98.0/24
202.20.100.0/23
202.20.111.0/24
202.22.240.0/21
202.27.114.0/24
202.36.160.0/23
Expand Down Expand Up @@ -1861,7 +1858,6 @@
202.58.136.0/21
202.58.184.0/21
202.59.152.0/21
202.59.232.0/23
202.59.249.0/24
202.60.224.0/19
202.61.84.0/22
Expand Down Expand Up @@ -2080,7 +2076,6 @@
203.12.200.0/21
203.13.80.0/21
203.14.106.0/24
203.14.166.0/24
203.14.184.0/21
203.14.193.0/24
203.16.239.0/24
Expand Down
1 change: 0 additions & 1 deletion source_codes/lz/data/lz_mo_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
163.53.244.0/22
180.94.128.0/18
182.93.0.0/18
192.203.232.0/24
202.75.248.0/22
202.86.128.0/18
202.174.0.0/22
Expand Down
10 changes: 5 additions & 5 deletions source_codes/lz/data/lz_othernet_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@
43.255.48.0/22
43.255.64.0/20
43.255.96.0/22
43.255.144.0/22
43.255.176.0/22
43.255.184.0/22
43.255.192.0/22
Expand Down Expand Up @@ -1820,7 +1819,6 @@
103.166.50.0/23
103.166.52.0/22
103.166.84.0/23
103.166.242.0/23
103.167.0.0/23
103.167.36.0/23
103.167.100.0/23
Expand Down Expand Up @@ -2235,7 +2233,6 @@
103.239.0.0/22
103.239.44.0/22
103.239.68.0/22
103.239.156.0/22
103.239.180.0/22
103.239.184.0/22
103.239.192.0/21
Expand Down Expand Up @@ -2851,6 +2848,10 @@
160.25.20.0/23
160.25.194.0/23
160.30.40.0/23
160.30.148.0/22
160.30.194.0/23
160.30.196.0/22
160.30.230.0/23
160.202.168.0/22
160.202.216.0/21
160.202.224.0/19
Expand Down Expand Up @@ -3058,7 +3059,6 @@
202.127.0.0/21
202.127.12.0/22
202.127.16.0/20
202.127.40.0/21
202.127.48.0/20
202.127.144.0/20
202.127.192.0/23
Expand Down Expand Up @@ -3279,7 +3279,7 @@
219.83.128.0/17
219.236.0.0/15
220.101.192.0/18
220.154.0.0/15
220.155.0.0/16
220.231.128.0/17
220.232.64.0/18
220.234.0.0/16
Expand Down
1 change: 1 addition & 0 deletions source_codes/lz/data/lz_tw_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@
160.25.220.0/23
160.30.78.0/23
160.30.98.0/23
160.30.210.0/23
163.13.0.0/16
163.14.0.0/15
163.16.0.0/12
Expand Down
2 changes: 1 addition & 1 deletion source_codes/lz/func/lz_clear_custom_scripts_data.sh
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])

## 清除用户自定义脚本数据
Expand Down
5 changes: 4 additions & 1 deletion source_codes/lz/func/lz_define_global_variables.sh
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(首次运行标识,切勿修改)

Expand Down Expand Up @@ -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

Expand Down
Loading

0 comments on commit 68cee4a

Please sign in to comment.