pull/104/head v5.4.0
有安科技 2024-09-29 12:09:12 +08:00
parent 21d407a0f3
commit 42f9ebe8e4
6 changed files with 20 additions and 5 deletions

View File

@ -1,3 +1,18 @@
## [5.4.0](https://github.com/Safe3/uuWAF/compare/v5.4.0...v5.3.0) (2024-09-29)
### 功能更新
- 升级配置同步机制,提升性能并降低数据库资源消耗
- 升级XSS语义检测引擎进一步降低误报
- 升级ip地理位置数据库提升位置准确性
- 调整日志默认查询数量,大幅提升日志高级查询速度
- 上传文件名过滤增强新增htmlentity解码
- 新增log.utf8、log.getReq等多个api函数
- 优化安装脚本提升Linux系统兼容性
## [5.3.0](https://github.com/Safe3/uuWAF/compare/v5.3.0...v5.2.0) (2024-08-29)

View File

@ -10,7 +10,7 @@
- 处理器64位 1千兆赫(GHz)或更快。
- 内存不小于2G
- 磁盘空间不小于16G
- 系统:CentOS系8及以上兼容x86_64系统如Rocky Linux、AlmaLinux等其它请使用Docker版。
- 系统:RHEL 8及以上兼容x86_64系统如Rocky Linux、AlmaLinux等其它请使用Docker版。
```

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
5.3.0
5.4.0

View File

@ -5,7 +5,7 @@
:
: 访
: 访
--]]
@ -14,7 +14,7 @@ if waf.contains(waf.ip,":") then
end
local country, province, city = waf.ip2loc(waf.ip)
if country ~= "中国" and country ~= "内网IP" then
return true, "限制非中国地区访问", true
if country ~= "中国" and city ~= "内网IP" then
return true, "限制非大陆地区访问", true
end
return false