mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 00:12:58 +02:00
Merge branch 'master' of ssh://arne_f@git.ipfire.org/pub/git/ipfire-2.x
This commit is contained in:
@@ -54,7 +54,7 @@ echo Starting Proxy
|
||||
/etc/init.d/squid start 2>/dev/null
|
||||
echo Rewriting Outgoing FW Rules
|
||||
/var/ipfire/outgoing/bin/outgoingfw.pl
|
||||
if [ `grep "ENABLED=on" /var/ipfire/vpn/setting` ]; then
|
||||
if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then
|
||||
echo Starting vpn-watch
|
||||
/usr/local/bin/vpn-watch &
|
||||
fi
|
||||
|
||||
@@ -333,7 +333,7 @@ foreach $_ (@log)
|
||||
my $comment = $3;
|
||||
my $packet = $4;
|
||||
|
||||
$packet =~ /IN=(\w+)/; my $iface=$1; if ( $1 $1 =~ /2./ ){ $iface="";}
|
||||
$packet =~ /IN=(\w+)/; my $iface=$1; if ( $1 =~ /2./ ){ $iface="";}
|
||||
$packet =~ /SRC=([\d\.]+)/; my $srcaddr=$1;
|
||||
$packet =~ /DST=([\d\.]+)/; my $dstaddr=$1;
|
||||
$packet =~ /MAC=([\w+\:]+)/; my $macaddr=$1;
|
||||
|
||||
Reference in New Issue
Block a user