Package: racoon
Version: 1:0.6.7-1.1
Severity: normal
Tags: patch

Hi !

racoon with racoon-tool fails to start:

Loading IPSEC/crypto modules...
IPSEC/crypto modules loaded.
Starting IKE (ISAKMP/Oakley) server: racoon.
Flushing SAD and SPD...
SAD and SPD flushed.
Loading SAD and SPD...
SAD and SPD loaded.
Configuring racoon...Use of uninitialized value in string eq at
/usr/sbin/racoon-tool line 1243.
Use of uninitialized value in string eq at /usr/sbin/racoon-tool line
1243.
done.

This is exactly the same bug reported for Ubuntu:
 https://bugs.launchpad.net/ubuntu/+source/ipsec-tools/+bug/47527

I attach the patch against Debian version. 

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages racoon depends on:
ii  debconf [debconf-2.0] 1.5.20             Debian configuration management sy
ii  ipsec-tools           1:0.6.7-1.1        IPsec tools for Linux
ii  libc6                 2.7-9              GNU C Library: Shared libraries
ii  libcomerr2            1.40.7-1           common error description library
ii  libkrb53              1.6.dfsg.3~beta1-3 MIT Kerberos runtime libraries
ii  libpam0g              0.99.7.1-5         Pluggable Authentication Modules l
ii  libssl0.9.8           0.9.8g-7           SSL shared libraries
ii  perl                  5.8.8-12           Larry Wall's Practical Extraction 

racoon recommends no packages.

-- debconf information:
* racoon/config_mode: racoon-tool
--- racoon-tool~        2008-03-13 09:09:38.000000000 +0100
+++ racoon-tool 2008-03-13 09:10:03.000000000 +0100
@@ -1204,7 +1204,7 @@
                } 
                elsif ($onespd_flag > 0) {
                        $onespd_flag = 0;
-                       $line =~ m/^\s*(in|out)\s+(ipsec|none|discard)\s*$/;
+                       $line =~ m/^\s*(in|out)\s+(prio 
def)?\s?(ipsec|none|discard)\s*$/;
                        $direction = $1;
                        push @$spd_list, { 'src_range', $src_range, 
'dst_range', $dst_range, 
                                        'upperspec', $upperspec, 'direction', 
$direction };

Reply via email to