26 Commits

Author SHA1 Message Date
Fabrizio Salmi
d3f918c4c4 build: upgrade to Go 1.25 and Caddy v2.10.2 (security fix) 2025-12-06 23:15:40 +01:00
Fabrizio Salmi
12d70c0eec fix: use Go 1.24 and compatible quic-go v0.48.2 2025-12-06 23:03:23 +01:00
Fabrizio Salmi
83a4df7e65 fix: downgrade Caddy to v2.9.1 to resolve Go 1.25 requirement 2025-12-06 23:00:53 +01:00
Fabrizio Salmi
5928ff4210 ci: fix go version and bump to v0.1.3 2025-12-06 22:55:55 +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
dependabot[bot]
937808048b Bump github.com/smallstep/certificates
Bumps the go_modules group with 1 update in the / directory: [github.com/smallstep/certificates](https://github.com/smallstep/certificates).


Updates `github.com/smallstep/certificates` from 0.28.4 to 0.29.0
- [Release notes](https://github.com/smallstep/certificates/releases)
- [Changelog](https://github.com/smallstep/certificates/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smallstep/certificates/compare/v0.28.4...v0.29.0)

---
updated-dependencies:
- dependency-name: github.com/smallstep/certificates
  dependency-version: 0.29.0
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-04 00:56:01 +00:00
dependabot[bot]
db95a9b2ed Bump golang.org/x/crypto in the go_modules group across 1 directory
Bumps the go_modules group with 1 update in the / directory: [golang.org/x/crypto](https://github.com/golang/crypto).


Updates `golang.org/x/crypto` from 0.43.0 to 0.45.0
- [Commits](https://github.com/golang/crypto/compare/v0.43.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.0
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-20 02:43:20 +00:00
drev74
c8c0fed9e2 fix: lint errors 2025-10-22 23:04:48 +03:00
drev74
cf7c995137 fix: add trie instantiation on top
test(it): add blacklisting test with real data
2025-10-19 22:32:58 +03:00
drev74
a77a2d2e36 refactor: update priorities for block/allow actions 2025-10-14 22:13:02 +03:00
drev74
c905277058 feat!!: switch to go-trie 2025-10-10 23:21:41 +03:00
drev74
be8baedaae chore: bump 2025-10-10 15:54:51 +03:00
fabriziosalmi
81f3ad5577 Update Go version to 1.23.0 and set toolchain to go1.24.2 in go.mod 2025-04-30 11:51:02 +02: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
dependabot[bot]
1989037c29 Bump golang.org/x/net in the go_modules group across 1 directory
Bumps the go_modules group with 1 update in the / directory: [golang.org/x/net](https://github.com/golang/net).


Updates `golang.org/x/net` from 0.33.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-13 01:33:48 +00:00
dependabot[bot]
5c266d1665 Bump github.com/go-jose/go-jose/v3
Bumps the go_modules group with 1 update in the / directory: [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose).


Updates `github.com/go-jose/go-jose/v3` from 3.0.3 to 3.0.4
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Changelog](https://github.com/go-jose/go-jose/blob/main/CHANGELOG.md)
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.3...v3.0.4)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 22:21:08 +00:00
dependabot[bot]
b0cdd8d0b5 Bump github.com/golang/glog in the go_modules group across 1 directory
Bumps the go_modules group with 1 update in the / directory: [github.com/golang/glog](https://github.com/golang/glog).


Updates `github.com/golang/glog` from 1.2.2 to 1.2.4
- [Release notes](https://github.com/golang/glog/releases)
- [Commits](https://github.com/golang/glog/compare/v1.2.2...v1.2.4)

---
updated-dependencies:
- dependency-name: github.com/golang/glog
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-28 17:40:46 +00:00
fabriziosalmi
81a831b271 initials unit tests added + some minor fixes. 2025-01-20 02:13:42 +01:00
Fabrizio Salmi
ae0683e488 fsnotify update 2025-01-13 22:20:05 +01:00
dependabot[bot]
a3ae478ead Bump github.com/caddyserver/caddy/v2
Bumps the go_modules group with 1 update in the / directory: [github.com/caddyserver/caddy/v2](https://github.com/caddyserver/caddy).


Updates `github.com/caddyserver/caddy/v2` from 2.9.0 to 2.9.1
- [Release notes](https://github.com/caddyserver/caddy/releases)
- [Changelog](https://github.com/caddyserver/caddy/blob/master/.goreleaser.yml)
- [Commits](https://github.com/caddyserver/caddy/compare/v2.9.0...v2.9.1)

---
updated-dependencies:
- dependency-name: github.com/caddyserver/caddy/v2
  dependency-type: direct:production
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-09 21:55:57 +00:00
fab
2a409fcfd0 Update go.mod 2025-01-09 22:54:27 +01:00
fab
a4ae93205d Update go.mod 2025-01-09 22:47:19 +01:00
Fabrizio Salmi
5800fd2002 fix xcaddy install/setup (please make sure you downloaded GeoIP DB before to build by executing 2025-01-03 18:16:19 +01:00
fab
05ea9353c9 Update go.mod
Initial approach to fix install/improve process and integration to existing caddy setups.
2025-01-03 17:49:29 +01:00
fab
e42df2c514 Add files via upload 2025-01-02 13:15:37 +01:00