Allow to configure the firewall action which will be performed.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 19 Jan 2016 13:41:57 +0000 (14:41 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 19 Jan 2016 13:41:57 +0000 (14:41 +0100)
commite9c558fec0c7abed46ea56d712686af37b735b12
tree406967467076ee14d1f848c878760ae1f85073b4
parentf842727ace855a8067c1be62a263612f4e65a660
Allow to configure the firewall action which will be performed.

This commit adds the posibility to configure which action will be
passed to the firewall engine when blocking an IP address.

To prevent from any missconfiguration, the requested action will be
validated by the responsible firewall engine module before it get
executed.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
modules/Events.pm
modules/IPtables.pm