139 Commits
Author SHA1 Message Date
samwaf 195a668c99 feat: add unified log export tasks 2026-10-30 11:10:00 +08:00
samwaf e35b3c6800 feat: per-entry enable switches for IP/URL black and white lists
#IJL0GB
2026-10-21 16:07:57 +08:00
samwafgo 1cd8afb35d fix: cascade-delete CC rules when removing a host and clean up existing orphan rules (#1013)
#1010
2026-10-13 09:30:07 +08:00
samwafgo 64aaab16fa Feat log shared (#1007)
* fix: make archived log shard connections concurrency-safe and recoverable

* fix: build the WebSocket online table before its consumers start

* perf: cap stored payloads, index log lookups by IP and rule, batch IP tag writes

* fix: keep archived log shards readable when the live table gains a column

* feat: merge IP tag history when their database location changes

* refactor: move request payloads out of the access log into their own table

* feat: scope log database export to a time range and selected tiers

* feat: add an IP watchlist that full-captures watched IPs

* feat: split log storage into security events, access rows, and payload tiers

* feat: roll up requests per actor and path into daily analysis tables

* fix:actor key by ip

* feat: add a source and path analysis page over the daily rollups

* feat: exclude chosen source IPs from web log recording

* docs: add upgrade notes for the analysis page and log IP exclusion

* feat: derive the log partition from the time range and look up identifiers across all of them

* feat: add time partition verbs and the period naming they share

* feat: cut log archives per month and expire them by dropping partitions

* feat: manage log partitions, and answer why an IP has no logs

* fix: read archived SQLite log shards read-only and choose tiers by data

* fix: count the live log shard from access_log instead of a stale snapshot

* fix:export db bug

* fix: default backend keep-alive pool (512/128/90s) to stop connect-close churn under load

* chore: gen_swagger.bat outputs json only, syncs doc site, runs route test

* feat: pin web frontend version and embed it into the binary
2026-10-10 14:39:06 +08:00
samwaf baade92bee fix:access cors 2026-09-07 16:18:29 +08:00
samwaf c3b263b7f3 feat:website password session lifetime and online session management
#987
2026-09-06 07:32:04 +08:00
samwaf 619155764f feat: enhance cc
#IK7J58
2026-09-03 11:22:53 +08:00
samwaf b3a998a815 feat:add port protocol
#955
2026-08-30 14:39:12 +08:00
samwaf 2f18485946 feat:add host group
#980
2026-08-28 17:15:24 +08:00
samwaf 984e45804b feat: add local CA certificate management for the console 2026-08-26 09:28:26 +08:00
samwaf 31a4937636 feat: encrypt stored credentials with a per-instance data key and mask secret fields 2026-08-25 11:39:36 +08:00
samwaf 50127ad8ea fix: remove the central-management feature 2026-08-24 13:39:05 +08:00
samwaf 89ae2bad67 feat: show the release version in upgrade notes 2026-08-22 18:31:41 +08:00
samwaf b3379d4150 fix:ssl export 2026-08-21 21:53:50 +08:00
samwaf dfc4427cdd fix: same-period comparison and live QPS trend on the dashboard cards
#964
2026-08-21 08:45:31 +08:00
samwafgo 095fa3f8de fix:meter_bug (#959)
#930
2026-08-19 08:40:51 +08:00
xingxing bec1bacacd 特性:添加IsEnableResponseBuffering字段及相关迁移 (#953)
* 特性:添加IsEnableResponseBuffering字段及相关迁移

引入了IsEnableResponseBuffering来管理响应缓冲行为。
- 添加了从disable_response_buffering到is_enable_response_buffering的迁移转换。
- 更新了WafHostAddReq和WafHostEditReq,以包含新字段。
- 在WafEngine中实现了基于新配置处理响应缓冲的逻辑。

* 特性:更新主机表迁移,以添加is_enable_response_buffering字段

- 将已弃用的disable_response_buffering字段替换为is_enable_response_buffering。
- 更新了迁移逻辑,以确保对新字段的正确处理和为其设置默认值。
- 删除了与旧字段相关的遗留迁移步骤。
2026-08-18 08:35:34 +08:00
samwaf b4cd2e3dad feat:ssl cert export path
#929
2026-08-16 10:58:42 +08:00
samwafgo 25524ec65a fix:blocking page content priority (#945)
#IK8KA7
2026-08-14 23:25:20 +08:00
samwaf 8bd938c3cb feat:threat intel IP exclusion list for false positives 2026-08-11 14:52:20 +08:00
samwaf 461e0eb991 fix:firewall bug 2026-08-10 17:08:53 +08:00
samwaf 44bf2da78f fix:HTTP3 feature not working, UDP port not being listened
#916
2026-08-10 09:55:43 +08:00
samwaf 86409183b5 feat:add host guard
#529 #368 #555
2026-08-07 10:38:10 +08:00
samwaf b6cf76481d feat:add login tips
#924
2026-08-06 18:23:14 +08:00
samwaf 9b77a6f6bd feat:notify subscription rate control and message template
#822
2026-08-05 14:21:40 +08:00
samwaf 3ef6b4830b feat:unified access authentication
#408
2026-08-05 10:21:43 +08:00
samwaf 2a972b9120 feat:add ip group
#905 #195
2026-08-03 16:33:22 +08:00
samwaf 3a7dc1a6c8 feat:merging 2026-08-03 09:23:20 +08:00
samwaf f383bd16e6 feat:save visit log column config per account on server
#893
2026-07-28 10:36:38 +08:00
samwaf 52b433065b feat:per-host outbound HTTP/2 switch 2026-07-22 14:18:31 +08:00
samwaf 572ee22eec fix:fix postgres bug
#855
2026-07-16 15:45:54 +08:00
samwaf d5fc1901e8 feat:postgres
#855
2026-07-14 11:33:06 +08:00
samwaf c40a65ec1c fix:attack log lasttime bug
#IK02G1
2026-07-13 17:22:58 +08:00
samwaf c8dc8853c4 fix(security): bcrypt password hashing + server-side forced password change
- Migrate MD5+global-salt hashing to bcrypt with transparent upgrade on login
- Enforce password change in Auth middleware (allow only changepwd/logout/ws)
- Generate random initial admin password on fresh install (data/initial_password.txt)
2026-07-03 14:47:59 +08:00
samwaf 36a083d00b feat:path rule backend protocol, access log switch and response timeout
#857
2026-07-02 15:59:11 +08:00
samwaf 31b334622e feat:file upload detection config
#844
2026-07-02 11:31:43 +08:00
samwaf d698f88e69 feat:web page anti-tamper protection 2026-07-01 13:47:32 +08:00
samwaf 3c61a639ae feat:per-site csrf origin/referer protection
#844
2026-06-30 15:45:50 +08:00
samwaf cda3bd8fa4 feat:per-site cookie security hardening
#844
2026-06-30 14:38:21 +08:00
samwaf 512492e163 feat:manage ssl auto load
#815 #842 #843
2026-06-29 17:08:53 +08:00
samwaf 10174920d6 feat:add account rbac
#844
2026-06-29 14:05:09 +08:00
samwaf fa52a76fe1 fix: enforce db_file_size via 5-min sharding check and archive cleanup
#838
2026-06-26 11:33:10 +08:00
samwaf 4065bc3834 perf: tune SQLite pragmas and reclaim log space after deletion
#838
2026-06-26 11:32:43 +08:00
samwaf 51c36deb6f feat: graceful update
#831
2026-06-18 13:54:22 +08:00
samwaf 196174ce53 fix: fix anticc search condition
#IJUTDC
2026-06-16 13:53:47 +08:00
samwaf 39dffafab6 fix: fix the issue of MySql table partitioning not take effect
#IJULAW
2026-06-16 11:16:32 +08:00
samwaf 17ac5ebbd3 feat:add light ai model
#827
2026-06-15 17:00:35 +08:00
samwaf 4ea423b229 feat:strengthen the safety operation of the application management
#823
2026-06-09 17:31:53 +08:00
samwaf 4028e9a428 feat:add application management
#823
2026-06-08 16:08:54 +08:00
samwaf 31780eb115 feat: add host nickname
#IJR74L
2026-06-08 09:54:42 +08:00