Skip to content

Commit

Permalink
v4.3.8
Browse files Browse the repository at this point in the history
1.适配梅林 3004.388.6 固件 Web UI 接口。
2.在「自定义域名地址解析」功能项中增加关联已有域名
  的自定义别名功能。
3.更新运营商 IP 地址数据文件。
  • Loading branch information
larsonzh committed Feb 11, 2024
1 parent 717be68 commit a24f80c
Show file tree
Hide file tree
Showing 20 changed files with 118 additions and 62 deletions.
4 changes: 2 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.3.7
# install.sh v4.3.8
# By LZ 妙妙呜 ([email protected])

# LZ RULE script for Asuswrt-Merlin Router
Expand All @@ -11,7 +11,7 @@

#BEIGIN

LZ_VERSION=v4.3.7
LZ_VERSION=v4.3.8
TIMEOUT=10
CURRENT_PATH="${0%/*}"
[ "${CURRENT_PATH:0:1}" != '/' ] && CURRENT_PATH="$( pwd )${CURRENT_PATH#*.}"
Expand Down
6 changes: 6 additions & 0 deletions source_codes/lz/Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v4.3.8 (2024/2/11)
1.适配梅林 3004.388.6 固件 Web UI 接口。
2.在「自定义域名地址解析」功能项中增加关联已有域名
的自定义别名功能。
3.更新运营商 IP 地址数据文件。

v4.3.7 (2023/12/22)
1.优化代码。
2.更新运营商 IP 地址数据文件。
Expand Down
7 changes: 4 additions & 3 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.3.7
# lz_rule_config.sh v4.3.8
# By LZ 妙妙呜 ([email protected])

# 本软件采用CIDR(无类别域间路由,Classless Inter-Domain Routing)技术,是一个在Internet上创建附加地
Expand Down Expand Up @@ -725,7 +725,7 @@ usage_mode=0
## 自定义域名地址解析
## 0--启用;非0--禁用;取值范围:0~9
## 缺省为禁用(5)。
## 将指定域名解析到特定的IP地址上,可实现本地网络的DNS劫持。
## 将指定域名解析到特定的IP地址上,可实现本地网络的DNS劫持;还支持实现关联已有域名的自定义别名
## 仅对以DHCP方式自动连接路由器,或DNS指向路由器主机本地地址的客户端内的网络流量有效。
## 若客户端内软件使用其他 DNS 服务器解析网络访问地址,则本功能无效。
custom_hosts=5
Expand All @@ -734,10 +734,11 @@ custom_hosts=5
## 文件中的域名被访问时将跳转到指定的IP地址。
## 文件路径、名称可自定义和修改,文件路径及名称不得为空。
## 缺省为"/jffs/scripts/lz/data/custom_hosts.txt",为空文件。
## 文本格式:每行由IP地址和域名两个字段组成,字段之间用空格隔开,一个条目一行,可多行多个条目。
## 文本格式:每行由目标IP地址/域名和域名/别名两个字段组成,字段之间用空格隔开,一个条目一行,可多行多个条目。
## 例如:
## 123.123.123.123 xxx123.com
## 192.168.50.15 yyy.cn
## www.qq.com mydomain.alias
## 此文件中0.0.0.0为无效IP地址。
custom_hosts_file="/jffs/scripts/lz/data/custom_hosts.txt"

Expand Down
18 changes: 16 additions & 2 deletions source_codes/lz/data/lz_all_cn_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
36.37.48.0/20
36.40.0.0/13
36.48.0.0/15
36.50.226.0/23
36.50.254.0/23
36.51.0.0/16
36.56.0.0/13
36.96.0.0/11
Expand Down Expand Up @@ -2507,7 +2509,7 @@
103.210.160.0/19
103.210.216.0/22
103.211.44.0/22
103.211.96.0/21
103.211.96.0/22
103.211.156.0/22
103.211.164.0/22
103.211.194.0/23
Expand Down Expand Up @@ -3697,6 +3699,19 @@
153.118.0.0/15
154.8.128.0/17
157.0.0.0/16
157.10.34.0/23
157.10.36.0/23
157.10.112.0/23
157.10.118.0/23
157.10.130.0/23
157.10.218.0/23
157.10.220.0/23
157.10.246.0/23
157.15.74.0/23
157.15.94.0/23
157.15.100.0/22
157.15.104.0/23
157.15.200.0/23
157.18.0.0/16
157.61.0.0/16
157.119.8.0/21
Expand Down Expand Up @@ -3729,7 +3744,6 @@
160.202.212.0/22
160.202.216.0/21
160.202.224.0/19
160.238.64.0/22
161.120.0.0/16
161.189.0.0/16
161.207.0.0/16
Expand Down
43 changes: 31 additions & 12 deletions source_codes/lz/data/lz_hk_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
14.192.4.0/22
14.192.8.0/22
14.192.20.0/22
14.192.160.0/19
14.198.0.0/15
23.226.0.0/20
24.235.24.0/21
27.0.156.0/22
27.0.192.0/22
27.50.32.0/21
27.100.16.0/21
27.110.64.0/20
27.110.72.0/21
27.111.160.0/19
27.111.192.0/20
27.122.12.0/22
Expand All @@ -30,6 +30,7 @@
36.50.14.0/23
36.50.90.0/24
36.50.130.0/23
36.50.221.0/24
36.255.56.0/22
36.255.192.0/22
36.255.204.0/22
Expand Down Expand Up @@ -72,7 +73,6 @@
43.229.116.0/22
43.229.152.0/22
43.229.212.0/22
43.229.228.0/22
43.230.8.0/21
43.230.16.0/22
43.230.88.0/22
Expand Down Expand Up @@ -308,7 +308,7 @@
59.152.44.0/22
59.152.48.0/22
59.152.192.0/18
59.153.48.0/21
59.153.52.0/22
59.153.56.0/22
59.153.144.0/21
59.153.156.0/22
Expand All @@ -325,6 +325,7 @@
61.18.0.0/16
61.29.244.0/22
61.29.254.0/23
61.47.88.0/21
61.92.0.0/15
61.238.0.0/15
61.244.0.0/16
Expand Down Expand Up @@ -706,6 +707,7 @@
103.84.108.0/22
103.84.168.0/23
103.84.220.0/22
103.85.72.0/22
103.85.188.0/22
103.85.212.0/24
103.85.252.0/22
Expand Down Expand Up @@ -1135,7 +1137,6 @@
103.197.192.0/22
103.197.216.0/22
103.198.18.0/23
103.198.44.0/22
103.198.48.0/22
103.198.56.0/22
103.198.82.0/24
Expand Down Expand Up @@ -1186,7 +1187,6 @@
103.207.164.0/22
103.208.0.0/23
103.208.8.0/22
103.208.32.0/22
103.208.176.0/22
103.208.192.0/22
103.209.28.0/22
Expand Down Expand Up @@ -1221,7 +1221,6 @@
103.214.144.0/22
103.214.164.0/22
103.214.172.0/22
103.214.192.0/22
103.215.0.0/22
103.215.40.0/22
103.215.76.0/22
Expand Down Expand Up @@ -1350,7 +1349,6 @@
103.243.18.0/24
103.243.24.0/22
103.243.64.0/22
103.243.92.0/22
103.243.128.0/22
103.243.164.0/22
103.243.180.0/22
Expand Down Expand Up @@ -1408,7 +1406,6 @@
103.254.208.0/22
103.255.44.0/22
103.255.127.0/24
103.255.176.0/22
103.255.252.0/22
104.250.32.0/19
110.4.0.0/19
Expand Down Expand Up @@ -1472,7 +1469,6 @@
116.197.176.0/20
116.204.156.0/22
116.204.176.0/22
116.204.184.0/22
116.204.208.0/22
116.204.232.0/21
116.204.244.0/22
Expand Down Expand Up @@ -1545,6 +1541,7 @@
119.47.80.0/21
119.59.72.0/21
119.63.96.0/20
119.224.96.0/19
119.235.40.0/21
119.236.0.0/15
119.246.0.0/15
Expand Down Expand Up @@ -1622,7 +1619,6 @@
144.48.56.0/22
144.48.68.0/22
144.48.124.0/22
144.48.140.0/22
144.48.188.0/22
144.48.216.0/22
144.48.240.0/22
Expand Down Expand Up @@ -1656,6 +1652,8 @@
152.104.0.0/17
154.8.64.0/18
155.137.128.0/17
157.15.28.0/23
157.15.106.0/23
157.119.20.0/22
157.119.72.0/22
157.119.92.0/22
Expand Down Expand Up @@ -2024,7 +2022,27 @@
202.180.160.0/20
202.181.0.0/22
202.181.24.0/22
202.181.128.0/17
202.181.128.0/20
202.181.144.0/21
202.181.152.0/24
202.181.154.0/23
202.181.156.0/22
202.181.160.0/20
202.181.176.0/24
202.181.178.0/23
202.181.180.0/22
202.181.184.0/22
202.181.189.0/24
202.181.190.0/23
202.181.192.0/21
202.181.200.0/22
202.181.205.0/24
202.181.206.0/23
202.181.208.0/20
202.181.224.0/20
202.181.240.0/21
202.181.248.0/23
202.181.252.0/22
202.182.224.0/19
202.189.96.0/19
203.7.160.0/21
Expand Down Expand Up @@ -2129,6 +2147,7 @@
203.170.28.0/22
203.170.49.0/24
203.174.32.0/19
203.175.12.0/22
203.176.114.0/23
203.176.124.0/22
203.176.192.0/18
Expand Down
22 changes: 16 additions & 6 deletions source_codes/lz/data/lz_othernet_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
36.0.64.0/18
36.0.128.0/17
36.36.0.0/16
36.50.226.0/23
36.50.254.0/23
36.51.0.0/16
36.254.0.0/16
36.255.116.0/22
Expand Down Expand Up @@ -832,7 +834,6 @@
103.40.88.0/22
103.40.100.0/22
103.40.158.0/23
103.40.174.0/23
103.40.220.0/22
103.40.228.0/22
103.40.232.0/21
Expand Down Expand Up @@ -2025,7 +2026,6 @@
103.210.176.0/21
103.210.188.0/22
103.210.216.0/22
103.211.100.0/22
103.211.156.0/22
103.211.164.0/22
103.211.194.0/23
Expand Down Expand Up @@ -2517,7 +2517,7 @@
118.26.0.0/19
118.26.32.0/22
118.26.40.0/21
118.26.56.0/21
118.26.48.0/20
118.26.64.0/19
118.26.96.0/21
118.26.112.0/20
Expand Down Expand Up @@ -2685,7 +2685,6 @@
123.62.0.0/16
123.99.128.0/17
123.100.0.0/19
123.108.88.0/23
123.108.128.0/20
123.108.208.0/20
123.137.0.0/16
Expand Down Expand Up @@ -2810,6 +2809,19 @@
152.104.128.0/17
152.136.0.0/16
154.8.128.0/17
157.10.34.0/23
157.10.36.0/23
157.10.112.0/23
157.10.118.0/23
157.10.130.0/23
157.10.218.0/23
157.10.220.0/23
157.10.246.0/23
157.15.74.0/23
157.15.94.0/23
157.15.100.0/22
157.15.104.0/23
157.15.200.0/23
157.119.8.0/21
157.119.16.0/22
157.119.28.0/22
Expand All @@ -2832,7 +2844,6 @@
160.202.168.0/22
160.202.216.0/21
160.202.224.0/19
160.238.64.0/22
161.120.0.0/16
161.189.0.0/16
161.207.0.0/16
Expand Down Expand Up @@ -2959,7 +2970,6 @@
202.38.132.0/23
202.38.134.0/24
202.38.152.0/23
202.38.164.0/22
202.38.176.0/23
202.41.152.0/21
202.41.196.0/22
Expand Down
Loading

0 comments on commit a24f80c

Please sign in to comment.