Maintainer | Arnaud Bailly <arnaud.oqube@gmail.com> |
---|---|
Safe Haskell | None |
Language | Haskell98 |
Propellor.Property.Firewall
Description
Properties for configuring firewall (iptables) rules
Documentation
Constructors
INPUT | |
OUTPUT | |
FORWARD | |
PREROUTING | |
POSTROUTING | |
ChainCustom String |
Constructors
ACCEPT | |
REJECT | |
DROP | |
LOG | |
TargetCustom 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 | |
Show ConnectionState Source |
data ICMPTypeMatch Source
Constructors
ICMPTypeName String | |
ICMPTypeCode Int |
Instances
Eq ICMPTypeMatch Source | |
Show ICMPTypeMatch Source |
data IPWithMask Source
Constructors
IPWithNoMask IPAddr | |
IPWithIPMask IPAddr IPAddr | |
IPWithNumMask IPAddr Int |
Instances
Eq IPWithMask Source | |
Show IPWithMask Source |
fromIPWithMask :: IPWithMask -> String Source