Fabrizio Salmi
0a96f22563
style: fix imports ordering for gci linter
2025-12-06 23:08:54 +01:00
Fabrizio Salmi
eea39d253b
Security: Implement hardening improvements (LimitReader, GeoIP Fail-Open, UI Decoupling, Go Version)
2025-12-06 22:46:11 +01:00
Fabrizio Salmi
1da1fea22b
Feat: Implement ASN Blocking ( #73 )
2025-12-06 22:18:10 +01:00
drev74
5c8d13199b
chore: renamed country block to country blacklisting for consistency
2025-10-12 16:04:26 +03:00
drev74
145feb4bf8
test: upd ip blacklist test
2025-10-12 13:12:13 +03:00
drev74
27abae69ea
feat: add golangci linter rules
2025-10-11 22:36:20 +03:00
drev74
c905277058
feat!!: switch to go-trie
2025-10-10 23:21:41 +03:00
copilot-swe-agent[bot]
df5f0511ac
Complete Caddy module registration preparation
...
Co-authored-by: fabriziosalmi <1569108+fabriziosalmi@users.noreply.github.com >
2025-09-13 10:20:08 +00:00
fabriziosalmi
b2035a4acf
Enhance middleware registration by ensuring proper interface implementation and updating Go version in go.mod
2025-04-30 11:50:33 +02:00
fabriziosalmi
fe84fbb5c5
Add debugging tools for WAF configuration and anomaly threshold testing
...
- Implemented debug_test_results.py to evaluate WAF test results with detailed request/response logging.
- Created debug_waf.go for logging request details and dumping WAF rules to a file.
- Developed debug_waf.py to extract WAF configuration from Caddy Admin API and test WAF rules with sample requests.
- Added sample_rules.json containing test rules for WAF evaluation.
- Configured test.caddyfile for local testing of WAF with defined rules and logging.
- Enhanced test_anomalythreshold.py to validate anomaly threshold behavior with comprehensive test cases and detailed output.
2025-04-30 11:19:17 +02:00
fabriziosalmi
1cbd739f7c
minor imrpovements
2025-02-09 17:50:59 +01:00
fabriziosalmi
40d0233435
Minor improvements.
2025-02-01 01:06:18 +01:00
fabriziosalmi
6974ef8702
geoip and ratelimiter metrics fixed. UI geoip counter fixed.
2025-01-29 15:30:35 +01:00
fabriziosalmi
9223d337fc
fixes for the following issues:
...
- https://github.com/fabriziosalmi/caddy-waf/issues/41
- https://github.com/fabriziosalmi/caddy-waf/issues/40
2025-01-29 13:34:27 +01:00
fabriziosalmi
86c96b9bac
IP & DNS blacklists hits metrics adn tests added.
2025-01-26 14:01:13 +01:00
fabriziosalmi
6c21226eed
Fix ipv6 CIDRTrie isse
2025-01-25 00:56:06 +01:00
fabriziosalmi
afd81fc8d9
Minor improvements.
2025-01-24 21:29:50 +01:00
fabriziosalmi
92e5cfc2ff
Minor improvements.
2025-01-24 18:31:54 +01:00
fabriziosalmi
6c47370306
modularized: handler, types.
2025-01-22 02:53:48 +01:00