Changelog
Other
- chore: add flake.nix (#346) by @hooreique
- refactor: extract handler (#344) by @xvzc
- refactor: extract netutil package (#343) by @xvzc
- ci: add go-test job and rename workflows (#342) by @xvzc
- refactor: packet sniffer writer (#349) by @xvzc
⚠️ BREAKING CHANGE: Refactored Policy Matching
The configuration structure for policy matching has changed to allow multiple domains and
address ranges within a single rule. Users defining policies in config.toml must update their
configuration.
Changes:
- The
domainfield now accepts an array of strings. - The
cidrandportfields have been moved into a newaddrfield, which accepts an array of objects.
Migration Example:
Before:
match = { domain = "example.com" }
match = { cidr = "192.168.0.0/24", port = "all" }After:
match = { domain = ["example.com"] }
match = { addr = [{ cidr = "192.168.0.0/24", port = "all" }] }