mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Merge branch 'master' into ppp-update
This commit is contained in:
@@ -143,7 +143,7 @@ if (-e "/etc/snort/snort.conf") {
|
||||
# If see more than one dashed line, (start to) create rule file description
|
||||
if ($dashlinecnt > 1) {
|
||||
# Check for a line starting with a #
|
||||
if ($ruleline =~ /^\#/) {
|
||||
if ($ruleline =~ /^\#/ and $ruleline !~ /^\#alert/) {
|
||||
# Create tempruleline
|
||||
my $tempruleline = $ruleline;
|
||||
|
||||
|
||||
@@ -289,6 +289,12 @@ sub writeipsecfiles {
|
||||
#print CONF "\tdisablearrivalcheck=no\n";
|
||||
print CONF "\n";
|
||||
|
||||
# Add user includes to config file
|
||||
print CONF "include /etc/ipsec.user.conf\n";
|
||||
print CONF "\n";
|
||||
|
||||
print SECRETS "include /etc/ipsec.user/secrets\n";
|
||||
|
||||
if (-f "${General::swroot}/certs/hostkey.pem") {
|
||||
print SECRETS ": RSA ${General::swroot}/certs/hostkey.pem\n"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user