propellor-4.8.1: property-based host configuration management in haskell

Safe HaskellNone
LanguageHaskell98

Propellor.Property.Fail2Ban

Synopsis

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"