feat: Add bantime and goroutines for unban expires ban
All checks were successful
CI.yml / build (push) Successful in 2m24s

This commit is contained in:
d3m0k1d
2026-01-19 16:03:12 +03:00
parent 6f24088069
commit 847002129d
9 changed files with 109 additions and 18 deletions

View File

@@ -7,7 +7,6 @@ const Base_config = `
[firewall]
name = ""
config = "/etc/nftables.conf"
ban_time = 1200
[[service]]
name = "nginx"
@@ -18,7 +17,4 @@ enabled = true
name = "nginx"
log_path = "/var/log/nginx/access.log"
enabled = false
`
// TODO: fix types for use 1 or any services"