Das IPSec-Modul laesst sich nun laden.
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Tue, 22 May 2007 14:02:38 +0000 (14:02 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Tue, 22 May 2007 14:02:38 +0000 (14:02 +0000)
Einige Bugs der Alpha 2 behoben.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@571 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

config/rootfiles/common/configroot
config/rootfiles/common/squid
doc/packages-list.txt
html/cgi-bin/vpnmain.cgi
lfs/configroot
lfs/linux
lfs/squid
make.sh
src/misc-progs/ipsecctrl.c

index 1fe86d1..3ab189b 100644 (file)
@@ -49,6 +49,7 @@ var/ipfire/fwlogs
 #var/ipfire/fwlogs/ipsettings
 #var/ipfire/fwlogs/portsettings
 var/ipfire/general-functions.pl
+var/ipfire/graphs.pl
 var/ipfire/header.pl
 var/ipfire/isdn
 #var/ipfire/isdn/settings
index 3929504..8f2cc66 100644 (file)
@@ -14,6 +14,69 @@ etc/squid/squid.conf
 #usr/lib/squid/cachemgr.cgi
 usr/lib/squid/diskd-daemon
 #usr/lib/squid/errors
+#usr/lib/squid/errors.ipfire
+#usr/lib/squid/errors.ipfire/English
+usr/lib/squid/errors.ipfire/English/ERR_ACCESS_DENIED
+usr/lib/squid/errors.ipfire/English/ERR_CACHE_ACCESS_DENIED
+usr/lib/squid/errors.ipfire/English/ERR_CACHE_MGR_ACCESS_DENIED
+usr/lib/squid/errors.ipfire/English/ERR_CANNOT_FORWARD
+usr/lib/squid/errors.ipfire/English/ERR_CONNECT_FAIL
+usr/lib/squid/errors.ipfire/English/ERR_DNS_FAIL
+usr/lib/squid/errors.ipfire/English/ERR_FORWARDING_DENIED
+usr/lib/squid/errors.ipfire/English/ERR_FTP_DISABLED
+usr/lib/squid/errors.ipfire/English/ERR_FTP_FAILURE
+usr/lib/squid/errors.ipfire/English/ERR_FTP_FORBIDDEN
+usr/lib/squid/errors.ipfire/English/ERR_FTP_NOT_FOUND
+usr/lib/squid/errors.ipfire/English/ERR_FTP_PUT_CREATED
+usr/lib/squid/errors.ipfire/English/ERR_FTP_PUT_ERROR
+usr/lib/squid/errors.ipfire/English/ERR_FTP_PUT_MODIFIED
+usr/lib/squid/errors.ipfire/English/ERR_FTP_UNAVAILABLE
+usr/lib/squid/errors.ipfire/English/ERR_INVALID_REQ
+usr/lib/squid/errors.ipfire/English/ERR_INVALID_RESP
+usr/lib/squid/errors.ipfire/English/ERR_INVALID_URL
+usr/lib/squid/errors.ipfire/English/ERR_LIFETIME_EXP
+usr/lib/squid/errors.ipfire/English/ERR_NO_RELAY
+usr/lib/squid/errors.ipfire/English/ERR_ONLY_IF_CACHED_MISS
+usr/lib/squid/errors.ipfire/English/ERR_READ_ERROR
+usr/lib/squid/errors.ipfire/English/ERR_READ_TIMEOUT
+usr/lib/squid/errors.ipfire/English/ERR_SHUTTING_DOWN
+usr/lib/squid/errors.ipfire/English/ERR_SOCKET_FAILURE
+usr/lib/squid/errors.ipfire/English/ERR_TOO_BIG
+usr/lib/squid/errors.ipfire/English/ERR_UNSUP_REQ
+usr/lib/squid/errors.ipfire/English/ERR_URN_RESOLVE
+usr/lib/squid/errors.ipfire/English/ERR_WRITE_ERROR
+usr/lib/squid/errors.ipfire/English/ERR_ZERO_SIZE_OBJECT
+#usr/lib/squid/errors.ipfire/German
+usr/lib/squid/errors.ipfire/German/ERR_ACCESS_DENIED
+usr/lib/squid/errors.ipfire/German/ERR_CACHE_ACCESS_DENIED
+usr/lib/squid/errors.ipfire/German/ERR_CACHE_MGR_ACCESS_DENIED
+usr/lib/squid/errors.ipfire/German/ERR_CANNOT_FORWARD
+usr/lib/squid/errors.ipfire/German/ERR_CONNECT_FAIL
+usr/lib/squid/errors.ipfire/German/ERR_DNS_FAIL
+usr/lib/squid/errors.ipfire/German/ERR_FORWARDING_DENIED
+usr/lib/squid/errors.ipfire/German/ERR_FTP_DISABLED
+usr/lib/squid/errors.ipfire/German/ERR_FTP_FAILURE
+usr/lib/squid/errors.ipfire/German/ERR_FTP_FORBIDDEN
+usr/lib/squid/errors.ipfire/German/ERR_FTP_NOT_FOUND
+usr/lib/squid/errors.ipfire/German/ERR_FTP_PUT_CREATED
+usr/lib/squid/errors.ipfire/German/ERR_FTP_PUT_ERROR
+usr/lib/squid/errors.ipfire/German/ERR_FTP_PUT_MODIFIED
+usr/lib/squid/errors.ipfire/German/ERR_FTP_UNAVAILABLE
+usr/lib/squid/errors.ipfire/German/ERR_INVALID_REQ
+usr/lib/squid/errors.ipfire/German/ERR_INVALID_RESP
+usr/lib/squid/errors.ipfire/German/ERR_INVALID_URL
+usr/lib/squid/errors.ipfire/German/ERR_LIFETIME_EXP
+usr/lib/squid/errors.ipfire/German/ERR_NO_RELAY
+usr/lib/squid/errors.ipfire/German/ERR_ONLY_IF_CACHED_MISS
+usr/lib/squid/errors.ipfire/German/ERR_READ_ERROR
+usr/lib/squid/errors.ipfire/German/ERR_READ_TIMEOUT
+usr/lib/squid/errors.ipfire/German/ERR_SHUTTING_DOWN
+usr/lib/squid/errors.ipfire/German/ERR_SOCKET_FAILURE
+usr/lib/squid/errors.ipfire/German/ERR_TOO_BIG
+usr/lib/squid/errors.ipfire/German/ERR_UNSUP_REQ
+usr/lib/squid/errors.ipfire/German/ERR_URN_RESOLVE
+usr/lib/squid/errors.ipfire/German/ERR_WRITE_ERROR
+usr/lib/squid/errors.ipfire/German/ERR_ZERO_SIZE_OBJECT
 #usr/lib/squid/errors/Azerbaijani
 #usr/lib/squid/errors/Azerbaijani/ERR_ACCESS_DENIED
 #usr/lib/squid/errors/Azerbaijani/ERR_CACHE_ACCESS_DENIED
index 0aa8913..9ed06bc 100644 (file)
@@ -1,4 +1,4 @@
-== List of softwares used to build IPFire Version: 2.0b ==
+== List of softwares used to build IPFire Version: 2.0a3 ==
 * 3c5x9setup-1.00
 * Archive-Tar-1.29
 * Archive-Zip-1.16
index ba3fe09..55a84f9 100644 (file)
@@ -289,7 +289,7 @@ sub writeipsecfiles {
                $localside = $lvpnsettings{'VPN_IP'};
        }
 
-       print CONF "conn $lconfighash{$key}[1] #$lconfighash{$key}[26]\n";
+       print CONF "conn $lconfighash{$key}[1]\n";
        print CONF "\tleft=$localside\n";
        print CONF "\tleftnexthop=%defaultroute\n" if ($lconfighash{$key}[26] eq 'RED' && $lvpnsettings{'VPN_IP'} ne '%defaultroute');
        print CONF "\tleftsubnet=$lconfighash{$key}[8]\n";
index 5937c6e..e5d33e7 100644 (file)
@@ -79,7 +79,7 @@ $(TARGET) :
        cp $(DIR_SRC)/config/cfgroot/general-functions.pl       $(CONFIG_ROOT)/
        cp $(DIR_SRC)/config/cfgroot/lang.pl                    $(CONFIG_ROOT)/
        cp $(DIR_SRC)/config/cfgroot/countries.pl                       $(CONFIG_ROOT)/
-  cp $(DIR_SRC)/config/cfgroot/graphs.pl                       $(CONFIG_ROOT)/
+       cp $(DIR_SRC)/config/cfgroot/graphs.pl                  $(CONFIG_ROOT)/
        cp $(DIR_SRC)/config/cfgroot/advoptions-list            $(CONFIG_ROOT)/dhcp/advoptions-list
        cp $(DIR_SRC)/config/cfgroot/backup-exclude             $(CONFIG_ROOT)/backup/exclude.system
        cp $(DIR_SRC)/config/cfgroot/backup-include             $(CONFIG_ROOT)/backup/include.system
index ad4677e..ccebcf2 100644 (file)
--- a/lfs/linux
+++ b/lfs/linux
@@ -183,9 +183,6 @@ ifeq "$(SMP)" "1"
        ln -sf vmlinuz-$(VER)-ipfire-smp /boot/vmlinuz-ipfire-smp
        cd $(DIR_APP) && make CC="$(KGCC)" $(MAKETUNING) modules
        cd $(DIR_APP) && make CC="$(KGCC)" $(MAKETUNING) modules_install
-       mkdir -p /usr/src/openswan-2.5.13/modobj26/null
-       cd $(DIR_SRC)/openswan-* && make KERNELSRC=/usr/src/$(THISAPP) CC=$(CC) module
-       cd $(DIR_SRC)/openswan-* && make KERNELSRC=/usr/src/$(THISAPP) CC=$(CC) minstall
 else
        cd $(DIR_APP) && sed -i -e 's/EXTRAVERSION\ =.*/EXTRAVERSION\ =\ $(PATCHLEVEL)-ipfire/' Makefile
        cd $(DIR_APP) && make $(MAKETUNING) CC="$(KGCC)" bzImage
@@ -196,9 +193,6 @@ else
        ln -sf System.map-$(VER)-ipfire /boot/System.map-ipfire
        cd $(DIR_APP) && make CC="$(KGCC)" $(MAKETUNING) modules
        cd $(DIR_APP) && make CC="$(KGCC)" $(MAKETUNING) modules_install
-       mkdir -p /usr/src/openswan-2.5.13/modobj26/null
-       cd $(DIR_SRC)/openswan-* && make KERNELSRC=/usr/src/$(THISAPP) CC=$(CC) module
-       cd $(DIR_SRC)/openswan-* && make KERNELSRC=/usr/src/$(THISAPP) CC=$(CC) minstall
 endif
 
        # remove symlinked pcmcia directory
index c2b7d4a..4a9d854 100644 (file)
--- a/lfs/squid
+++ b/lfs/squid
@@ -107,6 +107,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cp -f $(DIR_SRC)/config/updxlrator/download /var/ipfire/updatexlrator/bin/download
        -mkdir -p /usr/lib/squid/errors.ipfire
        cp -fr $(DIR_SRC)/config/proxy/errors.ipfire/* /usr/lib/squid/errors.ipfire/
+       -find /usr/lib/squid/errors.ipfire/ -name .svn -exec rm -rf {} \;
        chmod 755 /usr/sbin/updxlrator /var/ipfire/updatexlrator/bin/checkup \
                /var/ipfire/updatexlrator/bin/download
 
diff --git a/make.sh b/make.sh
index dbf8a07..d6123f9 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -24,7 +24,7 @@
 
 NAME="IPFire"                          # Software name
 SNAME="ipfire"                 # Short name
-VERSION="2.0a2"                        # Version number
+VERSION="2.0a3"                        # Version number
 SLOGAN="www.ipfire.org"                # Software slogan
 CONFIG_ROOT=/var/ipfire                # Configuration rootdir
 NICE=10                                # Nice level
index 63e042a..2992647 100644 (file)
@@ -292,7 +292,7 @@ int main(int argc, char *argv[]) {
                        int fd;
                        /* Get pluto pid */
                        if ((fd = open("/var/run/pluto.pid", O_RDONLY)) != -1) {
-                               safe_system("/etc/rc.d/ipsec stop 2> /dev/null >/dev/null");
+                               safe_system("/etc/rc.d/init.d/ipsec stop 2> /dev/null >/dev/null");
                                close(fd);
                        }
                        exit(0);
@@ -441,7 +441,7 @@ int main(int argc, char *argv[]) {
        if ((argc == 2) && strcmp(argv[1], "S") == 0) {
                load_modules();
                safe_system("/usr/sbin/ipsec tncfg --clear >/dev/null");
-               safe_system("/etc/rc.d/ipsec restart >/dev/null");
+               safe_system("/etc/rc.d/init.d/ipsec restart >/dev/null");
                add_alias_interfaces(configtype, redtype, if_red, (enable_red+enable_green+enable_orange+enable_blue) >>1 );
                safe_system("/usr/local/bin/vpn-watch --start");
                exit(0);