Fixed the Guardian Bug and started Core 25

This commit is contained in:
Maniacikarus
2008-12-12 23:49:06 +01:00
parent 1c4735f31e
commit e55a2b8124
7 changed files with 17 additions and 5 deletions

View File

@@ -21,12 +21,12 @@ LogFile /var/log/guardian/guardian.log
AlertFile /var/log/snort/alert
# The list of ip addresses to ignore
IgnoreFile /var/ipfire/guardian.ignore
IgnoreFile /var/ipfire/guardian/guardian.ignore
# This is a list of IP addresses on the current host, in case there is more
# than one. If this file doesn't exist, then it will assume you want to run
# with the default setup (machine's ip address, and broadcast/network).
TargetFile /var/ipfire/guardian.target
TargetFile /var/ipfire/guardian/guardian.target
# The time in seconds to keep a host blocked. If undefined, it defaults to
# 99999999, which basicly disables the feature.

View File

@@ -0,0 +1 @@
srv/web/ipfire/cgi-bin/ids.cgi

View File

@@ -0,0 +1 @@
DEPS=""

View File

@@ -0,0 +1,5 @@
#!/bin/bash
. /opt/pakfire/lib/functions.sh
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
extract_files
#perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"

View File

@@ -253,7 +253,7 @@
* rssdler-0.4.0a
* rsync-2.6.9
* rtorrent-0.7.9
* samba-3.2.5
* samba-3.2.6
* sane-1.0.19
* screen-4.0.3
* sdparm-1.01

View File

@@ -528,7 +528,12 @@ print <<END
<tr><td align='left' width='40%'>$Lang::tr{'guardian timelimit'}</td><td align='left'><input type='text' name='TIMELIMIT' value='$snortsettings{'GUARDIAN_TIMELIMIT'}' size="30" /></td></tr>
<tr><td align='left' width='40%'>$Lang::tr{'guardian logfile'}</td><td align='left'><input type='text' name='LOGFILE' value='$snortsettings{'GUARDIAN_LOGFILE'}' size="30" /></td></tr>
<tr><td align='left' width='40%'>$Lang::tr{'guardian alertfile'}</td><td align='left'><input type='text' name='ALERTFILE' value='$snortsettings{'GUARDIAN_ALERTFILE'}' size="30" /></td></tr>
<tr><td align='left' width='40%'>$Lang::tr{'guardian ignorefile'}</td><td align='left'><textarea name='IGNOREFILE_CONTENT' cols='32' rows='6' wrap='off'></textarea></td></tr>
<tr><td align='left' width='40%'>$Lang::tr{'guardian ignorefile'}</td><td align='left'><textarea name='IGNOREFILE_CONTENT' cols='32' rows='6' wrap='off'>
END
;
print `cat /var/ipfire/guardian/guardian.ignore`;
print <<END
</textarea></td></tr>
<tr><td align='center' colspan='2'><input type='hidden' name='ACTION2' value='guardian' /><input type='submit' name='ACTION' value='$Lang::tr{'save'}' /></td></tr>
</table>
</form>

View File

@@ -30,7 +30,7 @@ THISAPP = guardian-$(VER)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = guardian
PAK_VER = 2
PAK_VER = 3
DEPS = ""