Your message dated Thu, 18 Feb 2010 15:43:24 +0000
with message-id <[email protected]>
and subject line Bug#563129: fixed in ip2host 1.10-1
has caused the Debian Bug report #563129,
regarding bug in ip2host. Provided patch silences unhelpful error messages.
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.)
--
563129: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563129
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ip2host
Version: 0.09-3
ip2host as distributed generates lots of useless errors like so:
Use of uninitialized value in gethostbyaddr at /usr/bin/ip2host line
118, <GEN49> line 4.
Use of uninitialized value in gethostbyaddr at /usr/bin/ip2host line
118, <GEN23> line 15.
Use of uninitialized value in gethostbyaddr at /usr/bin/ip2host line
118, <GEN63> line 40.
Use of uninitialized value in gethostbyaddr at /usr/bin/ip2host line
118, <GEN37> line 27.
These are caused by IPs in the logs for which there is no PTR record.
The following patch solves the problem.
Andrew McNaughton
--- /usr/bin/ip2host.orig 2004-10-27 14:32:25.000000000 +1100
+++ /usr/bin/ip2host 2009-12-30 12:35:10.000000000 +1100
@@ -114,8 +114,9 @@
my $host = undef;
eval { # Try to resolve, but give up after $TIMEOUT seconds
alarm($Opt{timeout});
- my $ip_struct = inet_aton $ip;
- $host = gethostbyaddr $ip_struct, AF_INET;
+ if(my $ip_struct = inet_aton $ip) {
+ $host = gethostbyaddr $ip_struct, AF_INET;
+ }
alarm(0);
};
# XXX Debug
--- End Message ---
--- Begin Message ---
Source: ip2host
Source-Version: 1.10-1
We believe that the bug you reported is fixed in the latest version of
ip2host, which is due to be installed in the Debian FTP archive:
ip2host_1.10-1.debian.tar.gz
to main/i/ip2host/ip2host_1.10-1.debian.tar.gz
ip2host_1.10-1.dsc
to main/i/ip2host/ip2host_1.10-1.dsc
ip2host_1.10-1_all.deb
to main/i/ip2host/ip2host_1.10-1_all.deb
ip2host_1.10.orig.tar.gz
to main/i/ip2host/ip2host_1.10.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.
Gunnar Wolf <[email protected]> (supplier of updated ip2host 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: Thu, 18 Feb 2010 08:45:43 -0600
Source: ip2host
Binary: ip2host
Architecture: source all
Version: 1.10-1
Distribution: unstable
Urgency: low
Maintainer: Gunnar Wolf <[email protected]>
Changed-By: Gunnar Wolf <[email protected]>
Description:
ip2host - Resolve IPs to hostnames in web server logs
Closes: 563129
Changes:
ip2host (1.10-1) unstable; urgency=low
.
* New upstream release
* Updated debian/copyright following DEP5 format
* Standards-version 3.7.3 → 3.8.4 (no changes needed)
* Updated debhelper version to 7 (minimal debian/rules)
* Switched to 3.0 (quilt) source format
* Silences unhelpful error messages when IP cannot be resolved
(Closes: #563129)
Checksums-Sha1:
0fe036a30cdb5fdca6f4f31914da343ab641eefc 1592 ip2host_1.10-1.dsc
f7de761c5b00ace9b7d98d1ea3f9f4048443641f 3630 ip2host_1.10.orig.tar.gz
11bb2de27336e05b5b652916d2e771deec345377 2505 ip2host_1.10-1.debian.tar.gz
9d50fb1b1e346c039902ee4c43d68a56d6b28177 8812 ip2host_1.10-1_all.deb
Checksums-Sha256:
4270db20595f3904c46e7510e6c2d09fa9dd129b9695aa3b286e763aae44288e 1592
ip2host_1.10-1.dsc
1d96c00011f01f87d061143350d93223e7711936578f81049bcd063925e2c672 3630
ip2host_1.10.orig.tar.gz
b7f53bd8106da7f62a7fb40eda6ea53fbc6c0fb29b5fdc3509f67ce71fa24b09 2505
ip2host_1.10-1.debian.tar.gz
e4d7f98c9dec635e8e22e05ecbad88809259bc166f4514bbf0a47b5ff38f22cc 8812
ip2host_1.10-1_all.deb
Files:
c18e82dd5525975280ca4d558b467582 1592 utils optional ip2host_1.10-1.dsc
f5e7fbca40e95b40fce685c84a2b652b 3630 utils optional ip2host_1.10.orig.tar.gz
38b8529f442617ff258ea700adc6e34e 2505 utils optional
ip2host_1.10-1.debian.tar.gz
f1afb81dfe8b23f0b8009825c6708bb9 8812 utils optional ip2host_1.10-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJLfVSOAAoJEGc6A+TB25IfRXIQALYHARVb5qmZNWeml5oRqufR
QQAY0jIUWuH7PWPMbhUaiGqZTAdxP0s9Mb0s6gbmKyNuQjVBhelUwp6XWsRff84s
QygxdkhmdfpQ+MQ8QgdH9Hrth7NBMDTfCF/RgEXRDiwYrymNPFbiEt8X2OR+W6iK
GXaBCZSBmGWFa+CTEKscz2reJ9l6kmM26mCBE4CDOZa7aN6Q0ZSO84Os9QOilpgR
W4AvCb5FVr4ytly5qcExUOuIsdlDlf58DXNcVGSgs3eq28gBDthF+GO5zKEf2zYB
cZ1bW5e2TQl7CJrtBudP4DiV5lqwHJzb1HJeVtNt8wkKKHpDUalR/9dpttuzHqKA
HLBH4ohqVsm1b3Dmc9oj22mr+ufT8EOgPNF+JGqhYI26QtYxnp7OYlT6Gd5fD2se
0YpuLxjtLW5z3LUUbzfWCfjr3PVTOiVN0NtjXJg/ueo5gaNCkXzuaTdgZ5TH4CH5
ifjiM+Q/zOCiJBwUL4MEPBhht3Qd0fQqQQ56/Uz2A2j5/GYUg3+5Mtodl4GbNRlG
U7bagukvvi9YyjtjMz4KgASSdPw7m6eFrq9S5Mf7GgjKG1xhm8dOYeY5oLHL5Ilo
yqnaZOAU8sHS+3kjwsXPu3CBfN2Iy1XnlfP0I8izBi/udnvSEG9lLPA4GmuH3pv7
hewVYvbLg/gYlyNlM4vu
=nIMV
-----END PGP SIGNATURE-----
--- End Message ---