mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 19:00:34 +02:00
Some smaller enhancements for the firewall script
git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1135 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -50,7 +50,7 @@ my $year = $now[5]+1900;
|
||||
$cgiparams{'DAY'} = $now[3];
|
||||
$cgiparams{'MONTH'} = $now[4];
|
||||
$cgiparams{'ACTION'} = '';
|
||||
$cgiparams{'SECTION'} = 'kernel';
|
||||
$cgiparams{'SECTION'} = 'ipfire';
|
||||
|
||||
my %sections = (
|
||||
'ipfire' => '(ipfire: )',
|
||||
@@ -61,7 +61,7 @@ my %sections = (
|
||||
'ntp' => '(ntpd(?:ate)?\[.*\]: )',
|
||||
'ssh' => '(sshd(?:\(.*\))?\[.*\]: )',
|
||||
'auth' => '(\w+\(pam_unix\)\[.*\]: )',
|
||||
'kernel' => '(kernel: (?!DROP-))',
|
||||
'kernel' => '(kernel: (?!DROP_))',
|
||||
'ipsec' => '(ipsec_[\w_]+: |pluto\[.*\]: |vpnwatch: )',
|
||||
'openvpn' => '(openvpnserver)\[.*\]: '
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user