mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-22 00:42:59 +02:00
Fixed the Guardian Bug and started Core 25
This commit is contained in:
@@ -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.
|
||||
|
||||
1
config/rootfiles/core/25/files
Normal file
1
config/rootfiles/core/25/files
Normal file
@@ -0,0 +1 @@
|
||||
srv/web/ipfire/cgi-bin/ids.cgi
|
||||
1
config/rootfiles/core/25/meta
Normal file
1
config/rootfiles/core/25/meta
Normal file
@@ -0,0 +1 @@
|
||||
DEPS=""
|
||||
5
config/rootfiles/core/25/update.sh
Normal file
5
config/rootfiles/core/25/update.sh
Normal 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"
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user