Add firewalld and iptables ban realization, add firewall config file in config types
Some checks failed
CI.yml / build (push) Failing after 42s
Some checks failed
CI.yml / build (push) Failing after 42s
This commit is contained in:
@@ -2,6 +2,7 @@ package config
|
||||
|
||||
type Firewall struct {
|
||||
Name string `toml:"name"`
|
||||
Config string `toml:"config"`
|
||||
BanTime int `toml:"ban_time"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user