Add functionality for whitelisting single addresses or network ranges.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 3 Feb 2016 07:34:12 +0000 (08:34 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 3 Feb 2016 07:34:12 +0000 (08:34 +0100)
commit66e1ad0ac7b647b0063b52b3ca8749a1470d8f48
treedca75342cca8489632a5b33e75ddbc1c63e93241
parentbc97b7c0dbe918d2a174f4420089065063630600
Add functionality for whitelisting single addresses or network ranges.

This commit adds the posibilty for generating a ignore list based on a
set of IP addresses or networks (IPv4/IPv6 are supported) which are provided
by an so called ignore file.

The path and the filename can be configured by using the "IgnoreFile = /path/to/somefile"
option inside the config file of guardian. Using this feature is completely optional and
only be activated if an ignore file has been specified.

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