Your message dated Fri, 14 Jan 2011 02:32:39 +0000
with message-id <[email protected]>
and subject line Bug#596740: fixed in iodine 0.6.0~rc1-3
has caused the Debian Bug report #596740,
regarding iodine: Uninitialized variable prevents forwarding from working 
properly
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.)


-- 
596740: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596740
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: iodine
Version: 0.6.0~rc1-2
Severity: normal
Tags: patch


I use iodine with forwarding (my network configuration is a NAT
disaster, but that's not important).  Recently I was notified that my
outward-facing DNS wasn't working.  Upon investination, I discovered
that iodine had stopped forwarding DNS to my main nameserver.  A little
fiddling with GDB revealed the reason: the variable inside_topdomain in
tunnel_dns() (src/iodined.c) isn't initialized.  For some reason, in the
past, I'd been `lucky' and the flag was magically zero anyway.  Now it
isn't, and iodine is interpreting all sorts of queries as being inside
its domain when it ought to be forwarding them.

The following patch fixes the problem for me.

--- a/src/iodined.c     2010-11-25 00:27:01.000000000 +0000
+++ b/src/iodined.c     2010-11-25 00:26:22.000000000 +0000
@@ -1567,7 +1567,7 @@ tunnel_dns(int tun_fd, int dns_fd, int b
        struct query q;
        int read;
        int domain_len;
-       int inside_topdomain;
+       int inside_topdomain = 0;
 
        if ((read = read_dns(dns_fd, tun_fd, &q)) <= 0)
                return 0;


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iodine depends on:
ii  adduser                3.112             add and remove users and groups
ii  debconf [debconf-2.0]  1.5.36            Debian configuration management sy
ii  libc6                  2.11.2-6+squeeze1 Embedded GNU C Library: Shared lib
ii  makedev                2.3.1-89          creates device files in /dev
ii  udev                   163-2             /dev/ and hotplug management daemo
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

iodine recommends no packages.

Versions of packages iodine suggests:
ii  dnsutils              1:9.7.0.dfsg.P1-1  Clients provided with BIND
ii  fping                 2.4b2-to-ipv6-16.1 sends ICMP ECHO_REQUEST packets to
ii  gawk                  1:3.1.7.dfsg-5     GNU awk, a pattern scanning and pr
pn  ipcalc                <none>             (no description available)
ii  iproute               20100519-3         networking and traffic control too

-- debconf information:
* iodine/daemon_options: -p 5353 -n 80.177.3.76 -b 53 172.29.198.129/28 
io.distorted.org.uk
* iodine/start_daemon: true



--- End Message ---
--- Begin Message ---
Source: iodine
Source-Version: 0.6.0~rc1-3

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.6.0~rc1-3.debian.tar.gz
  to main/i/iodine/iodine_0.6.0~rc1-3.debian.tar.gz
iodine_0.6.0~rc1-3.dsc
  to main/i/iodine/iodine_0.6.0~rc1-3.dsc
iodine_0.6.0~rc1-3_i386.deb
  to main/i/iodine/iodine_0.6.0~rc1-3_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 [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: SHA256

Format: 1.8
Date: Fri, 14 Jan 2011 03:01:13 +0100
Source: iodine
Binary: iodine
Architecture: source i386
Version: 0.6.0~rc1-3
Distribution: experimental
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: 589054 596740 597736 602447 605703
Changes: 
 iodine (0.6.0~rc1-3) experimental; urgency=low
 .
   [ gregor herrmann ]
   * Build with hardening; thanks to Romain Francoise for the bug report and
     the patch (closes: #589054).
   * New patch uninitialized-inside_topdomain.patch: initialize
     inside_topdomain before using it; thanks to Samuel Thibault for the bug
     report and the patch (closes: #596740).
   * Set Standards-Version to 3.9.1 (no changes).
   * Add Danish debconf translation, thanks to Joe Dalton (closes: #602447).
   * Update iodine-client-start to version 1.0.3, commit 04c2dee
     (closes: #605703).
   * debian/copyright: update years of packaging copyright, update formatting.
   * Update to experimental because of the freeze.
 .
   [ tony mancill ]
   * Update reference to README file in README.Debian (closes: #597736)
Checksums-Sha1: 
 fd87d31cd7d3819e7b6db8a6653d4fddaccea73e 1927 iodine_0.6.0~rc1-3.dsc
 6541eb4b36b8c4c0b76c8486515eebdf3f4fdc66 21470 iodine_0.6.0~rc1-3.debian.tar.gz
 ff87bcc2ddccd6eb68df9bc36652329e58d0bd8d 100482 iodine_0.6.0~rc1-3_i386.deb
Checksums-Sha256: 
 17d579706efd885ad7ca1d6e33b9b14325ae27f5972cebfb46da278e3f859234 1927 
iodine_0.6.0~rc1-3.dsc
 db98b43843ac01b3194782c1dd8a96e5f42a227e45027e16ca899323d31d6d5b 21470 
iodine_0.6.0~rc1-3.debian.tar.gz
 10b3607770e0211e9e6a97fd5c6842971287f656929910c0e976c50bbdcdc64c 100482 
iodine_0.6.0~rc1-3_i386.deb
Files: 
 371cfb97f2d2673b395216a580cbb686 1927 net extra iodine_0.6.0~rc1-3.dsc
 383ff4c855511f9fbb24809271e01b1d 21470 net extra 
iodine_0.6.0~rc1-3.debian.tar.gz
 b5b0b4007ff8857397bd2763bc8b89c6 100482 net extra iodine_0.6.0~rc1-3_i386.deb

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

iQIcBAEBCAAGBQJNL68nAAoJELs6aAGGSaoGoAwQAKsKFIra9iqcT8tXyTfi+qrH
adfePUYX9Zis9SKxZdWXM9dc2ogAG9EuBl7yacIw4r19A6V3YN9t+Fy592/Tp+WA
bswnSVtTESVf0ZOr+EurH0f5hol7d3UbhLO6REE0FP8sNwRRNmFdDq56MjJTZhvT
ZI4D9v3GUIaskhXS7PqUwsUYD/aAyROk/Cl6CJGEAOmE/07BwHYmzlU/zzhD4sTR
ECIW4a1Mi+m+9qkJVrgRoqgzGVLnbb26ICEEx6+MnmoCJtAmOguM+SRdrWkY2mxh
y8epFVmaSubx+eoMBir9NIy9LlZa410ERmPzXZw/pCFjCDfaKVCce4gyQzdWRI7n
Xy2TzMJhffxsKjeQFk3+8f1RKSRZt+0Fh2QA4sHYPTdAZYQaqNX62YebxGotKyBj
sTlQ7VKzgXanQmQj6irSNjgEe5A3h6chi5rzZQ0C4jKC3NznCmc2DduURaDJe0vk
A4NmsQkp9SkAJuDdhGuIOtvYVzTwo7sC9qOK4/wDJnUcILze2ZWWjAfv7zV6wrvm
cPZ1are588ioKvbwkj0G6JF1RzKyL2W0FbPfKThmcAo1V9pAAccSCmOhLhqQXc3G
YnD69BWV+6DgtmXUhDBjMzy2wpnhfIxPAYmhh+XJHgsJhTAK1bnydf/DqUB03axf
zqSQ5h/k+saxTEAQApNI
=i/JU
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to