Maintainer | Arnaud Bailly <arnaud.oqube@gmail.com> |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
Propellor.Property.Firewall
Description
Properties for configuring firewall (iptables) rules
Documentation
Constructors
INPUT | |
OUTPUT | |
FORWARD | |
PREROUTING | |
POSTROUTING | |
ChainCustom String |
Constructors
Everything | |
Proto Proto | There is actually some order dependency between proto and port so this should be a specific data type with proto + ports |
DPort Port | |
DPortRange (Port, Port) | |
InIFace Interface | |
OutIFace Interface | |
Ctstate [ConnectionState] | |
ICMPType ICMPTypeMatch | |
RateLimit Frequency | |
TCPFlags TCPFlagMask TCPFlagComp | |
TCPSyn | |
GroupOwner Group | |
Source [IPWithMask] | |
Destination [IPWithMask] | |
NotDestination [IPWithMask] | |
NatDestination IPAddr (Maybe Port) | |
Rules :- Rules infixl 0 | Combine two rules |
data ConnectionState Source #
Constructors
ESTABLISHED | |
RELATED | |
NEW | |
INVALID |
Instances
Eq ConnectionState Source # | |
Defined in Propellor.Property.Firewall Methods (==) :: ConnectionState -> ConnectionState -> Bool # (/=) :: ConnectionState -> ConnectionState -> Bool # | |
Show ConnectionState Source # | |
Defined in Propellor.Property.Firewall Methods showsPrec :: Int -> ConnectionState -> ShowS # show :: ConnectionState -> String # showList :: [ConnectionState] -> ShowS # |
data ICMPTypeMatch Source #
Constructors
ICMPTypeName String | |
ICMPTypeCode Int |
Instances
Eq ICMPTypeMatch Source # | |
Defined in Propellor.Property.Firewall Methods (==) :: ICMPTypeMatch -> ICMPTypeMatch -> Bool # (/=) :: ICMPTypeMatch -> ICMPTypeMatch -> Bool # | |
Show ICMPTypeMatch Source # | |
Defined in Propellor.Property.Firewall Methods showsPrec :: Int -> ICMPTypeMatch -> ShowS # show :: ICMPTypeMatch -> String # showList :: [ICMPTypeMatch] -> ShowS # | |
ConfigurableValue ICMPTypeMatch Source # | |
Defined in Propellor.Property.Firewall Methods val :: ICMPTypeMatch -> String Source # |
Constructors
NumBySecond Int |
data IPWithMask Source #
Constructors
IPWithNoMask IPAddr | |
IPWithIPMask IPAddr IPAddr | |
IPWithNumMask IPAddr Int |
Instances
Eq IPWithMask Source # | |
Defined in Propellor.Property.Firewall | |
Show IPWithMask Source # | |
Defined in Propellor.Property.Firewall Methods showsPrec :: Int -> IPWithMask -> ShowS # show :: IPWithMask -> String # showList :: [IPWithMask] -> ShowS # | |
ConfigurableValue IPWithMask Source # | |
Defined in Propellor.Property.Firewall Methods val :: IPWithMask -> String Source # |