Debian Bug report logs - #296259
racoon-tool asn1dn with string argument does not work

version graph

Package: racoon; Maintainer for racoon is (unknown);

Reported by: Teddy Hogeborn <teddy@recompile.se>

Date: Mon, 21 Feb 2005 12:18:09 UTC

Severity: normal

Tags: patch

Found in versions 0.3.3-1, 0.5.2-1

Fixed in version ipsec-tools/1:0.6.5-6

Done: Ganesan Rajagopal <rganesan@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Ganesan Rajagopal <rganesan@debian.org>:
Bug#296259; Package racoon. (full text, mbox, link).


Acknowledgement sent to Teddy Hogeborn <teddy@fukt.bth.se>:
New Bug report received and forwarded. Copy sent to Ganesan Rajagopal <rganesan@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Teddy Hogeborn <teddy@fukt.bth.se>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: racoon-tool asn1dn with string argument does not work
Date: Mon, 21 Feb 2005 13:02:38 +0100
Package: racoon
Version: 0.3.3-1
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The "peers_identifier asn1dn" command in racoon-tool.conf allows a
string argument to be specified, but there are two things preventing
it from working:

1. It rejects "=" (equals) characters from the string, which is
   necessary for a valid ASN.1 identifier

2. It lowercases the whole string before writing it to racoon.conf,
   making the string invalid.  (I dont't see any point in lowercasing
   stuff so I just removed it.)

Patch for both problems follows.

/Teddy

- ----BEGIN PATCH
- --- /usr/sbin/racoon-tool.~1~	Fri Jun 18 11:28:25 2004
+++ /usr/sbin/racoon-tool	Mon Feb 21 12:41:51 2005
@@ -1322,7 +1322,7 @@
                                                                                                                               
                 chomp;
 
- -                if (! m/^[-"{}()\[\]_;\%\@\w\s.:\/]+$/) {
+                if (! m/^[-"{}()\[\]_;\%\@\w\s.:\/=]+$/) {
                         prog_warn 0, "bad data in $conffile, line $line:";
                         prog_warn 0, $_;
                         # $barf = 1;
@@ -1458,7 +1458,6 @@
 				$peer_list{$peer}{'syntax_error'} = 1;
 				next LINE;
 			}
- -			$value = value_lc($section, $property, $value);
 		 	$peer_list{$peer}{$property} = $value; 
 		} elsif ( $section eq 'peer' ) {
                         prog_warn 0, "$peer - unrecognised tag in $conffile, line $line:";
- ----END PATCH

- -- System Information
Debian Release: 3.0
Architecture: sparc
Kernel: Linux flash 2.4.27 #1 Tue Jan 18 09:00:30 CET 2005 sparc64
Locale: LANG=C, LC_CTYPE=en_US.UTF-8

Versions of packages racoon depends on:
ii  debconf                       1.2.35     Debian configuration management sy
ii  ipsec-tools                   0.3.3-1    IPsec tools for Linux
ii  libc6                         2.2.5-11.8 GNU C Library: Shared libraries an

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFCGc3iOWBmT5XqI90RAn0xAKDeyoBoe0IhVMjlThJ0/3dDpXu2YwCdH3yN
fA2vE49yAhZP3H5UTlz8m4g=
=y0LE
-----END PGP SIGNATURE-----



Information forwarded to debian-bugs-dist@lists.debian.org, Ganesan Rajagopal <rganesan@debian.org>:
Bug#296259; Package racoon. (full text, mbox, link).


Acknowledgement sent to Teddy Hogeborn <teddy@fukt.bth.se>:
Extra info received and forwarded to list. Copy sent to Ganesan Rajagopal <rganesan@debian.org>. (full text, mbox, link).


Message #10 received at 296259@bugs.debian.org (full text, mbox, reply):

From: Teddy Hogeborn <teddy@fukt.bth.se>
To: 296259@bugs.debian.org
Subject: Re: racoon-tool asn1dn with string argument does not work
Date: 11 Jun 2005 17:48:23 +0200
Package: racoon
Version: 0.5.2-1
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is an updated patch for racoon-0.5.2-1.

/Teddy

- ----BEGIN PATCH
- --- /usr/sbin/racoon-tool.~1~	2005-05-04 10:33:32.000000000 +0200
+++ /usr/sbin/racoon-tool	2005-06-11 06:33:00.000000000 +0200
@@ -1328,7 +1328,7 @@
                                                                                                                               
                 chomp;
 
- -                if (! m/^[-\"{}()\[\]_;\%\@\w\s.:\/]+$/) {
+                if (! m/^[-\"{}()\[\]_;\%\@\w\s.:\/=]+$/) {
                         prog_warn 0, "bad data in $conffile, line $line:";
                         prog_warn 0, $_;
                         # $barf = 1;
@@ -1464,7 +1464,6 @@
 				$peer_list{$peer}{'syntax_error'} = 1;
 				next LINE;
 			}
- -			$value = value_lc($section, $property, $value);
 		 	$peer_list{$peer}{$property} = $value; 
 		} elsif ( $section eq 'peer' ) {
                         prog_warn 0, "$peer - unrecognised tag in $conffile, line $line:";
- ----END PATCH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>

iD8DBQFCqwdXOWBmT5XqI90RArjaAJ93N3m10L/4Jh/7gMxSCA9smuLbZgCeI9Ya
vFTqEZhNAOG0SIF6Fqgqhis=
=pYuL
-----END PGP SIGNATURE-----



Reply sent to Ganesan Rajagopal <rganesan@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Teddy Hogeborn <teddy@fukt.bth.se>:
Bug acknowledged by developer. (full text, mbox, link).


Message #15 received at 296259-close@bugs.debian.org (full text, mbox, reply):

From: Ganesan Rajagopal <rganesan@debian.org>
To: 296259-close@bugs.debian.org
Subject: Bug#296259: fixed in ipsec-tools 1:0.6.5-6
Date: Mon, 29 May 2006 04:17:05 -0700
Source: ipsec-tools
Source-Version: 1:0.6.5-6

We believe that the bug you reported is fixed in the latest version of
ipsec-tools, which is due to be installed in the Debian FTP archive:

ipsec-tools_0.6.5-6.diff.gz
  to pool/main/i/ipsec-tools/ipsec-tools_0.6.5-6.diff.gz
ipsec-tools_0.6.5-6.dsc
  to pool/main/i/ipsec-tools/ipsec-tools_0.6.5-6.dsc
ipsec-tools_0.6.5-6_i386.deb
  to pool/main/i/ipsec-tools/ipsec-tools_0.6.5-6_i386.deb
racoon_0.6.5-6_i386.deb
  to pool/main/i/ipsec-tools/racoon_0.6.5-6_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 296259@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ganesan Rajagopal <rganesan@debian.org> (supplier of updated ipsec-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 29 May 2006 15:43:05 +0530
Source: ipsec-tools
Binary: racoon ipsec-tools
Architecture: source i386
Version: 1:0.6.5-6
Distribution: unstable
Urgency: low
Maintainer: Ganesan Rajagopal <rganesan@debian.org>
Changed-By: Ganesan Rajagopal <rganesan@debian.org>
Description: 
 ipsec-tools - IPsec tools for Linux
 racoon     - IPsec IKE keying daemon
Closes: 296259 298286 304573 338216 352157
Changes: 
 ipsec-tools (1:0.6.5-6) unstable; urgency=low
 .
   * Fix regex in racoon-tool.conf man page (closes: #352157).
   * Switch to "/sbin/modprobe" instead of "/sbin/insmod" for module loading
     in racoon-tool (closes: #298286).
   * Apply patch by Teddy Hogeborn <teddy@fukt.bth.se> to fix as1dn handling
     by racoon-tool (closes: #296259).
   * Apply patch by Kristjan Räts <kristjan.rats@liewenthal.ee> to make sure
     racoon is configured before it's started (closes: #304573).
   * Officially deprecate racoon-tool and cleanup debconf template
     (closes: #338216).
   * Update Standards-Version to 3.7.2 (no packaging changes required).
Files: 
 b6ed6a159dbb2ca3381692be1f9301b4 686 net extra ipsec-tools_0.6.5-6.dsc
 7ccd693f4278d0bc79212e76f3798c70 46823 net extra ipsec-tools_0.6.5-6.diff.gz
 9b989015547cc50cbd42cf8f9d21c1c8 85658 net extra ipsec-tools_0.6.5-6_i386.deb
 124ff77cbfa9ca7c6e74a5756db439af 325616 net extra racoon_0.6.5-6_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEetQIFeACul2MEuoRAs/dAJ98tNHyl12zl+00Twgzg1uIK1MNWwCg7PFi
VkXUY5biqJcwuVD9o7C+aP0=
=1Vtr
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 26 Jun 2007 01:47:57 GMT) (full text, mbox, link).


Bug unarchived. Request was from Teddy Hogeborn <teddy@fukt.bsnet.se> to control@bugs.debian.org. (Sat, 29 Nov 2008 21:33:38 GMT) (full text, mbox, link).


Changed Bug submitter from Teddy Hogeborn <teddy@fukt.bth.se> to Teddy Hogeborn <teddy@fukt.bsnet.se>. Request was from Teddy Hogeborn <teddy@fukt.bsnet.se> to control@bugs.debian.org. (Sat, 29 Nov 2008 21:33:38 GMT) (full text, mbox, link).


Bug archived. Request was from Teddy Hogeborn <teddy@fukt.bsnet.se> to control@bugs.debian.org. (Sat, 29 Nov 2008 21:33:41 GMT) (full text, mbox, link).


Bug unarchived. Request was from Teddy Hogeborn <teddy@recompile.se> to control@bugs.debian.org. (Mon, 10 Oct 2011 08:04:34 GMT) (full text, mbox, link).


Changed Bug submitter to 'Teddy Hogeborn <teddy@recompile.se>' from 'Teddy Hogeborn <teddy@fukt.bsnet.se>' Request was from Teddy Hogeborn <teddy@recompile.se> to control@bugs.debian.org. (Mon, 10 Oct 2011 08:04:35 GMT) (full text, mbox, link).


Bug archived. Request was from Teddy Hogeborn <teddy@recompile.se> to control@bugs.debian.org. (Mon, 10 Oct 2011 08:04:35 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 13:13:29 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.