Add firewalld and iptables ban realization, add firewall config file in config types
Some checks failed
CI.yml / build (push) Failing after 42s

This commit is contained in:
d3m0k1d
2026-01-11 22:17:57 +03:00
parent 99b97836ff
commit 41ff13fa66
4 changed files with 123 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ package config
type Firewall struct {
Name string `toml:"name"`
Config string `toml:"config"`
BanTime int `toml:"ban_time"`
}