Your message dated Fri, 06 Oct 2006 10:02:13 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#384373: fixed in whois 4.7.18 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Subject: whois: Teredo support Package: whois Version: 4.7.15 Severity: wishlist Tags: patch *** Please type your report below this line *** Hello, 6to4-like support for Teredo addresses would be nice. Patch attached. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.17.10 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages whois depends on: ii libc6 2.3.6.ds1-2 GNU C Library: Shared libraries ii libidn11 0.6.5-1 GNU libidn library, implementation whois recommends no packages. -- no debconf informationdiff -Nru whois-4.7.15/ip6_del_list whois-4.7.15.new/ip6_del_list --- whois-4.7.15/ip6_del_list 2006-05-23 15:24:18.000000000 +0300 +++ whois-4.7.15.new/ip6_del_list 2006-08-23 20:01:48.000000000 +0300 @@ -2,6 +2,7 @@ # The parser is very simple-minded and wants the two first components of # addresses. It does not deal with networks == 0 or > 24 bit. +2001:0000::/32 teredo 2001:0200::/23 apnic 2001:0400::/23 arin 2001:0600::/23 ripe diff -Nru whois-4.7.15/make_ip6_del.pl whois-4.7.15.new/make_ip6_del.pl --- whois-4.7.15/make_ip6_del.pl 2005-01-29 00:15:47.000000000 +0200 +++ whois-4.7.15.new/make_ip6_del.pl 2006-08-23 20:02:44.000000000 +0300 @@ -26,6 +26,8 @@ print $s; } elsif ($s eq '6to4') { print "\\x0A"; + } elsif ($s eq 'teredo') { + print "\\x0B"; } elsif ($s eq 'UNALLOCATED') { print "\\006"; } else { diff -Nru whois-4.7.15/whois.c whois-4.7.15.new/whois.c --- whois-4.7.15/whois.c 2006-07-19 13:14:51.000000000 +0300 +++ whois-4.7.15.new/whois.c 2006-08-23 20:04:28.000000000 +0300 @@ -245,6 +245,12 @@ /* XXX should fail if server[0] < ' ' */ qstring = p; /* XXX leak */ break; + case 0x0B: + p = convert_teredo(qstring); + printf(_("\nQuerying for the IPv4 endpoint %s of a Teredo IPv6 address.\n\n"), p); + server = whichwhois(p); + qstring = p ; + break; default: break; } @@ -836,6 +842,20 @@ return new; } +char *convert_teredo(const char *s) +{ + char *new = malloc(sizeof("255.255.255.255")); + unsigned int a, b; + + if (sscanf(s, "2001:%*[^:]:%*[^:]:%*[^:]:%*[^:]:%*[^:]:%x:%x", &a, &b) != 2) + return (char *) "0.0.0.0"; + + a ^= 0xffff; + b ^= 0xffff; + sprintf(new, "%d.%d.%d.%d", a >> 8, a & 0xff, b >> 8, b & 0xff); + return new; +} + unsigned long myinet_aton(const char *s) { unsigned long a, b, c, d; diff -Nru whois-4.7.15/whois.h whois-4.7.15.new/whois.h --- whois-4.7.15/whois.h 2005-04-29 02:26:49.000000000 +0300 +++ whois-4.7.15.new/whois.h 2006-08-23 19:59:33.000000000 +0300 @@ -27,6 +27,7 @@ int domfind(const char *, const char *[]); char *normalize_domain(const char *); char *convert_6to4(const char *); +char *convert_teredo(const char *); const char *handle_query(const char *server, const char *port, const char *qstring, const char *fstring); void split_server_port(const char *const input, const char **server,
pgplOpgZzdPO4.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---Source: whois Source-Version: 4.7.18 We believe that the bug you reported is fixed in the latest version of whois, which is due to be installed in the Debian FTP archive: whois_4.7.18.dsc to pool/main/w/whois/whois_4.7.18.dsc whois_4.7.18.tar.gz to pool/main/w/whois/whois_4.7.18.tar.gz whois_4.7.18_i386.deb to pool/main/w/whois/whois_4.7.18_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. Marco d'Itri <[EMAIL PROTECTED]> (supplier of updated whois 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.7 Date: Fri, 6 Oct 2006 18:47:53 +0200 Source: whois Binary: whois Architecture: source i386 Version: 4.7.18 Distribution: unstable Urgency: medium Maintainer: Marco d'Itri <[EMAIL PROTECTED]> Changed-By: Marco d'Itri <[EMAIL PROTECTED]> Description: whois - the GNU whois client Closes: 384373 389880 391447 Changes: whois (4.7.18) unstable; urgency=medium . * whois.radb.net does not understand the RIPE protocol anymore. * Added support for IPv6 Teredo addresses, contributed by Rémi Denis-Courmont. (Closes: #384373) * Updated the .mobi and .gs TLD servers. (Closes: #389880, 391447) * Added the .gd TLD server. Files: 5ce043bbd8acf67218d4a6fed7027f2d 498 net standard whois_4.7.18.dsc 6f9f0f1810f80beb97fb738a96566be5 60518 net standard whois_4.7.18.tar.gz cc7e935c1b833bb0130a50ab5cff60db 47932 net standard whois_4.7.18_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFJokXFGfw2OHuP7ERAmdiAJ9B7kav+VDS7329fcbwuoy7+vD5JACeOdC0 ZCnL4d1tQc2wxX4HQGkcVKg= =3gPZ -----END PGP SIGNATURE-----
--- End Message ---

