Maintainer | Arnaud Bailly <arnaud.oqube@gmail.com> |
---|---|
Safe Haskell | None |
Language | Haskell98 |
Propellor.Property.Firewall
Description
Properties for configuring firewall (iptables) rules
Documentation
Constructors
Filter TargetFilter | |
Nat TargetNat | |
Mangle TargetMangle | |
Raw TargetRaw | |
Security TargetSecurity |
data TargetFilter Source
Instances
Constructors
NatPREROUTING | |
NatOUTPUT | |
NatPOSTROUTING | |
NatCustom String |
data TargetMangle Source
Constructors
ManglePREROUTING | |
MangleOUTPUT | |
MangleINPUT | |
MangleFORWARD | |
ManglePOSTROUTING | |
MangleCustom String |
Instances
Constructors
RawPREROUTING | |
RawOUTPUT | |
RawCustom String |
data TargetSecurity Source
Constructors
SecurityINPUT | |
SecurityOUTPUT | |
SecurityFORWARD | |
SecurityCustom String |
Instances
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] | |
Source [IPWithMask] | |
Destination [IPWithMask] | |
Rules :- Rules infixl 0 | Combine two rules |
data IPWithMask Source
Constructors
IPWithNoMask IPAddr | |
IPWithIPMask IPAddr IPAddr | |
IPWithNumMask IPAddr Int |
Instances
fromIPWithMask :: IPWithMask -> String Source