Safe Haskell | None |
---|---|
Language | Haskell98 |
- installed :: Property DebianLike
- reloaded :: Property DebianLike
- type Jail = String
- jailEnabled :: Jail -> Property DebianLike
- jailConfigured :: Jail -> IniKey -> String -> Property UnixLike
- jailConfFile :: Jail -> FilePath
Documentation
jailEnabled :: Jail -> Property DebianLike 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 UnixLike Source #
Configures a jail. For example:
jailConfigured "sshd" "port" "2222"
jailConfFile :: Jail -> FilePath Source #