| 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
| 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 |
Constructors
| NumBySecond Int |
data IPWithMask Source #
Constructors
| IPWithNoMask IPAddr | |
| IPWithIPMask IPAddr IPAddr | |
| IPWithNumMask IPAddr Int |
Instances