Your message dated Fri, 08 Aug 2008 19:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#477692: fixed in iodine 0.4.2-1
has caused the Debian Bug report #477692,
regarding iodine: Provide a way to skip IP/MTU configuration
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
477692: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477692
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: iodine
Version: 0.4.1-3
Severity: wishlist
Tags: patch

Hi!

I would like to use iodine into a vserver. In a vserver, iodine has no
right to create an interface, to assign an IP and to set MTU of the
interface. Therefore, I set all this outside of the vserver and I
would like to provide a way such that iodine does not try to setup the
interface.

I attach a patch that provides such a functionality.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
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 iodine depends on:
ii  adduser                3.107             add and remove users and groups
ii  debconf [debconf-2.0]  1.5.21            Debian configuration management sy
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  makedev                2.3.1-87          creates device files in /dev
ii  udev                   0.114-2           /dev/ and hotplug management daemo
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

iodine recommends no packages.

-- debconf information:
  iodine/daemon_options:
  iodine/start_daemon: false
--- iodine-0.4.1/src/iodined.c~ 2007-11-30 23:11:30.000000000 +0100
+++ iodine-0.4.1/src/iodined.c  2008-04-24 17:22:11.000000000 +0200
@@ -446,6 +446,7 @@
        int choice;
        int port;
        int mtu;
+       int skipipconfig;
 
        username = NULL;
        newroot = NULL;
@@ -454,17 +455,21 @@
        mtu = 1024;
        listen_ip = INADDR_ANY;
        port = 53;
+       skipipconfig = 0;
 
        b32 = get_base32_encoder();
 
        memset(password, 0, sizeof(password));
        srand(time(NULL));
        
-       while ((choice = getopt(argc, argv, "vfhu:t:d:m:l:p:P:")) != -1) {
+       while ((choice = getopt(argc, argv, "vsfhu:t:d:m:l:p:P:")) != -1) {
                switch(choice) {
                case 'v':
                        version();
                        break;
+               case 's':
+                       skipipconfig = 1;
+                       break;
                case 'f':
                        foreground = 1;
                        break;
@@ -545,8 +550,9 @@
 
        if ((tun_fd = open_tun(device)) == -1)
                goto cleanup0;
-       if (tun_setip(argv[0]) != 0 || tun_setmtu(mtu) != 0)
-               goto cleanup1;
+       if (!skipipconfig)
+               if (tun_setip(argv[0]) != 0 || tun_setmtu(mtu) != 0)
+                       goto cleanup1;
        if ((dnsd_fd = open_dns(port, listen_ip)) == -1) 
                goto cleanup2;
 
--- iodine-0.4.1/man/iodine.8~  2007-11-30 23:11:30.000000000 +0100
+++ iodine-0.4.1/man/iodine.8   2008-04-24 17:25:37.000000000 +0200
@@ -25,7 +25,7 @@
 
 .B iodined [-h]
 
-.B iodined [-f] [-u
+.B iodined [-f] [-s] [-u
 .I user
 .B ] [-P
 .I password
@@ -62,6 +62,10 @@
 .B -f
 Keep running in foreground.
 .TP
+.B -s
+Don't try to configure IP address or MTU. This should only be used if
+you have already configured the device that will be used.
+.TP
 .B -u user
 Drop privileges and run as user 'user' after setting up tunnel.
 .TP

--- End Message ---
--- Begin Message ---
Source: iodine
Source-Version: 0.4.2-1

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

iodine_0.4.2-1.diff.gz
  to pool/main/i/iodine/iodine_0.4.2-1.diff.gz
iodine_0.4.2-1.dsc
  to pool/main/i/iodine/iodine_0.4.2-1.dsc
iodine_0.4.2-1_i386.deb
  to pool/main/i/iodine/iodine_0.4.2-1_i386.deb
iodine_0.4.2.orig.tar.gz
  to pool/main/i/iodine/iodine_0.4.2.orig.tar.gz



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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <[EMAIL PROTECTED]> (supplier of updated iodine 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 [EMAIL PROTECTED])


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

Format: 1.8
Date: Fri, 08 Aug 2008 16:33:26 -0300
Source: iodine
Binary: iodine
Architecture: source i386
Version: 0.4.2-1
Distribution: unstable
Urgency: low
Maintainer: gregor herrmann <[EMAIL PROTECTED]>
Changed-By: gregor herrmann <[EMAIL PROTECTED]>
Description: 
 iodine     - tool for tunneling IPv4 data through a DNS server
Closes: 477692
Changes: 
 iodine (0.4.2-1) unstable; urgency=low
 .
   * New upstream release:
     - new command line switch "-s" to skip configration of the tun interface
       (closes: #477692)
     - drop patches 01_mandir.patch and 02_make.patch, included upstream
     - refresh patches 03_cflags.patch and 04_base64.patch
   * debian/rules: separate DESTDIR and prefix on make install.
   * Add the packages needed by the example script to Suggests: and don't
     compress the example script any more.
Checksums-Sha1: 
 8049705e539a2fa2657239fea18fc4698f703a41 1214 iodine_0.4.2-1.dsc
 9e52848819ff245a34209f62b964b10b0fd7d737 35262 iodine_0.4.2.orig.tar.gz
 f96c7d9bb6a9358a6f398398e946313a4f437fde 12921 iodine_0.4.2-1.diff.gz
 0aa4204ce2a5edbfd7a414fefd1252a2e3acb2df 38490 iodine_0.4.2-1_i386.deb
Checksums-Sha256: 
 95da60083cee9e5625a3de4ffee14a0b141f9ded5a78342860f29222a6f24cba 1214 
iodine_0.4.2-1.dsc
 ac4e695caef5952318c8fbb63daaf776f00d93fb8d46d612c8908b8e98ffa133 35262 
iodine_0.4.2.orig.tar.gz
 0b1c8aeb61f7a12d3f88c2daf7d547427fade1ccca8d3ac18434b6fd0ccf45b6 12921 
iodine_0.4.2-1.diff.gz
 1e3e78be7e1fd0b4b8fe3f42489f23d74bf3700b015b1a89e3ca92b287ce4de0 38490 
iodine_0.4.2-1_i386.deb
Files: 
 79f6d4272026215ab0fb3a9b9f3f55d7 1214 net extra iodine_0.4.2-1.dsc
 890f13ab9ee7ea722baf0ceb3ee561c0 35262 net extra iodine_0.4.2.orig.tar.gz
 176908002b476141ff6040a22f38e458 12921 net extra iodine_0.4.2-1.diff.gz
 65f3a0340dd372077845f9b70be381ab 38490 net extra iodine_0.4.2-1_i386.deb

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

iEYEARECAAYFAkicn+AACgkQOzKYnQDzz+QJOACeMVGo1Cj+u7h/6oy3bmTtR6SE
Wb4Anis+moN6zCX6zXgwdi2WP7t3jSs8
=qdPl
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to