FritzCard-Module installiert.

OpenSwan2 fit gemacht.
Ueberfluessige Modem-Treiber entfernt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@383 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-01-07 12:15:14 +00:00
parent 32fdd7d9be
commit 05207d6927
25 changed files with 468 additions and 1655 deletions

View File

@@ -134,6 +134,7 @@ sub writeipsecfiles {
open(SECRETS, ">${General::swroot}/vpn/ipsec.secrets") or die "Unable to open ${General::swroot}/vpn/ipsec.secrets: $!";
flock CONF, 2;
flock SECRETS, 2;
print CONF "version 2\n\n";
print CONF "config setup\n";
if ($lvpnsettings{'ENABLED_BLUE'} eq 'on')
{
@@ -154,8 +155,9 @@ sub writeipsecfiles {
$plutodebug = 'none' if $plutodebug eq ''; # if nothing selected, use 'none'.
print CONF "\tklipsdebug=none\n";
print CONF "\tplutodebug=\"$plutodebug\"\n";
print CONF "\tplutoload=%search\n";
print CONF "\tplutostart=%search\n";
# deprecated in ipsec.conf version 2
#print CONF "\tplutoload=%search\n";
#print CONF "\tplutostart=%search\n";
print CONF "\tuniqueids=yes\n";
print CONF "\tnat_traversal=yes\n";
print CONF "\toverridemtu=$lvpnsettings{'VPN_OVERRIDE_MTU'}\n" if ($lvpnsettings{'VPN_OVERRIDE_MTU'} ne '');