Skip to content

Commit

Permalink
v4.4.2
Browse files Browse the repository at this point in the history
1.优化和升级配置文件数据批量读写算法。
2.完善定时自动更新运营商 IP 地址数据文件控制逻辑。
3.更新运营商 IP 地址数据文件。
  • Loading branch information
larsonzh committed Jun 6, 2024
1 parent b4206cf commit 04dcc00
Show file tree
Hide file tree
Showing 17 changed files with 317 additions and 1,253 deletions.
6 changes: 3 additions & 3 deletions source_codes/install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# install.sh v4.4.1
# install.sh v4.4.2
# By LZ 妙妙呜 ([email protected])

# LZ RULE script for Asuswrt-Merlin Router
Expand All @@ -9,9 +9,9 @@
# JFFS partition: ./install.sh
# Entware in USB disk: ./install.sh entware

#BEIGIN
#BEGIN

LZ_VERSION=v4.4.1
LZ_VERSION=v4.4.2
TIMEOUT=10
CURRENT_PATH="${0%/*}"
[ "${CURRENT_PATH:0:1}" != '/' ] && CURRENT_PATH="$( pwd )${CURRENT_PATH#*.}"
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.4.2 (2024/6/7)
1.优化和升级配置文件数据批量读写算法。
2.完善定时自动更新运营商 IP 地址数据文件控制逻辑。
3.更新运营商 IP 地址数据文件。

v4.4.1 (2024/5/29)
1.完善参数配置文件数据读写自动纠错机制。

Expand Down
4 changes: 2 additions & 2 deletions source_codes/lz/configs/lz_rule_config.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/sh
# lz_rule_config.sh v4.4.1
# lz_rule_config.sh v4.4.2
# By LZ 妙妙呜 ([email protected])

# 本软件采用CIDR(无类别域间路由,Classless Inter-Domain Routing)技术,是一个在Internet上创建附加地
# 址的方法,这些地址提供给服务提供商(ISP),再由ISP分配给客户。CIDR将路由集中起来,使一个IP地址代表主要
# 骨干提供商服务的几千个IP地址,从而减轻Internet路由器的负担。

#BEIGIN
#BEGIN

## 技巧:
## 上传编辑好的firewall-start文件和本代码至路由器后,开关防火墙即可启动本代码,不必重启路由器。
Expand Down
2 changes: 2 additions & 0 deletions source_codes/lz/data/lz_all_cn_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3737,6 +3737,8 @@
160.20.16.0/22
160.20.48.0/22
160.20.130.0/23
160.22.58.0/23
160.22.82.0/23
160.202.60.0/22
160.202.148.0/22
160.202.152.0/22
Expand Down
4 changes: 3 additions & 1 deletion source_codes/lz/data/lz_hk_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
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.72.0/21
Expand Down Expand Up @@ -985,7 +986,6 @@
103.150.212.0/24
103.150.250.0/23
103.151.134.0/23
103.151.146.0/23
103.151.160.0/23
103.151.172.0/23
103.151.200.0/23
Expand Down Expand Up @@ -1188,6 +1188,7 @@
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 @@ -1673,6 +1674,7 @@
160.19.48.0/22
160.20.52.0/22
160.20.56.0/21
160.22.48.0/23
160.202.44.0/22
160.202.56.0/22
160.238.84.0/22
Expand Down
2 changes: 2 additions & 0 deletions source_codes/lz/data/lz_othernet_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2843,6 +2843,8 @@
160.20.16.0/22
160.20.48.0/22
160.20.130.0/23
160.22.58.0/23
160.22.82.0/23
160.202.168.0/22
160.202.216.0/21
160.202.224.0/19
Expand Down
4 changes: 2 additions & 2 deletions source_codes/lz/func/lz_clear_custom_scripts_data.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/sh
# lz_clear_custom_scripts_data.sh v4.4.1
# lz_clear_custom_scripts_data.sh v4.4.2
# By LZ 妙妙呜 ([email protected])

## 清除用户自定义脚本数据
## 输入项:
## $1--主执行脚本运行输入参数
## 返回值:无

#BEIGIN
#BEGIN

# shellcheck disable=SC2154

Expand Down
4 changes: 2 additions & 2 deletions 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.4.1
# lz_define_global_variables.sh v4.4.2
# By LZ 妙妙呜 ([email protected])
# QnkgTFog5aaZ5aaZ5ZGc77yI6Juk6J+G5aKp5YS/77yJ(首次运行标识,切勿修改)

Expand All @@ -8,7 +8,7 @@
## 全局常量及变量
## 返回值:无

#BEIGIN
#BEGIN

# shellcheck disable=SC2034 # Unused variables left for readability
# shellcheck disable=SC2154
Expand Down
Loading

0 comments on commit 04dcc00

Please sign in to comment.