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

Safe HaskellNone
LanguageHaskell98

Propellor.Property.Firewall

Description

Properties for configuring firewall (iptables) rules

Copyright 2014 Arnaud Bailly arnaud.oqube@gmail.com License: BSD-2-Clause

Documentation

data Chain Source

Constructors

INPUT 
OUTPUT 
FORWARD 

Instances

data Target Source

Constructors

ACCEPT 
REJECT 
DROP 
LOG 

Instances

data Proto Source

Constructors

TCP 
UDP 
ICMP 

Instances

data Rules Source

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) 
IFace Interface 
Ctstate [ConnectionState] 
Rules :- Rules infixl 0

Combine two rules

Instances