From ffee912bd9edc2b4ccc3ea0e2d169d2f26286397 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Thu, 16 Oct 2014 22:03:45 +0200 Subject: [PATCH] guardian: Rework header, bump to version 2.0. --- config/guardian/guardian.pl | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/config/guardian/guardian.pl b/config/guardian/guardian.pl index 69bf96fc08..59b48dbd04 100644 --- a/config/guardian/guardian.pl +++ b/config/guardian/guardian.pl @@ -1,11 +1,27 @@ #!/usr/bin/perl -# based on V 1.7 guardian enhanced for IPFire and snort 2.8 -# Read the readme file for changes -# -# Enhanced for IPFire by IPFire Team -# Added Portscan detection for non syslog system -# Added SSH-Watch for SSH-Bruteforce Attacks -# An suppected IP will be blocked on all interfaces +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2014 IPFire Development Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +# Inspired by the idea of guardian from http://www.chaotic.org/guardian/ +# +# Rewritten and massively enhanced by the IPFire Development Team. use Getopt::Std; use Thread::Queue; @@ -72,7 +88,7 @@ my %fileposition = (); # Option parser for given arguments from command line. &getopts ("hc:d", \%options); if (defined($options{"h"})) { - print "Guardian v1.7 \n"; + print "Guardian v2.0 \n"; print "guardian.pl [-hd] <-c config>\n"; print " -h shows help\n"; print " -d run in debug mode (doesn't fork, output goes to STDOUT)\n"; -- 2.39.5