Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
jailEnabled :: Jail -> Property NoInfo Source
By default, fail2ban only enables the ssh jail, but many others are available to be enabled, for example "postfix-sasl"
jailConfigured :: Jail -> IniKey -> String -> Property NoInfo Source
Configures a jail. For example:
jailConfigured "sshd" "port" "2222"
jailConfFile :: Jail -> FilePath Source