CC: | SysSec-DE%IBMDE [...] de.ibm.com |
Subject: | Bug in Net::DNS when retrive name via Tunnel |
Date: | Tue, 23 Jun 2009 10:49:30 +0200 |
To: | bug-Net-DNS [...] rt.cpan.org |
From: | Dieter Duemler <dieter.duemler [...] de.ibm.com> |
Message body not shown because it is not plain text.
Message body not shown because it is not plain text.
Message body is not shown because sender requested not to inline it.
Hello,
we found a problem on perl 5.10 version of Net::DNS
This is perl, v5.10.0 built for i686-linux-thread-multi
DNS.pm 796 2009-01-26 17:30:18Z olaf
When issuing a dns tcp request via direct connection everything is fine
but doing the same via a ssh tunnel the request fails
IO::Socket::INET returns an unknown error
This happens on Linux, Cygwin and Windos Active State of perl 5.10
You can reprduce this error using this scripte + configuration
On perl 5.8 or earlier versions everything is fine
Here another strange effect which came obvious to us:
frequently Net:DNS under Windows XP has a UDP problem which is caused by a
buggy implementation
of SOCKS under Windows.
Sometimes it returns a UDP package without peerhost or peerport which
causes a dns proxy to crash.
Line 345 my ($peerhost,$peerport) = ($sock->peerhost,
$sock->peerport);
a situation which never should happen (exept its Windows)
Therefor I inserted this line.
Line 347 return unless (defined $peerhost && defined $peerport);
Mit freundlichen Grüßen / Kind regards / S pozdravem
Dieter Duemler
Systems Management Specialist
Integrated Technology Delivery, Server Systems Operations
Global Unix Datacenter Engineering
Phone:
+49-69-6645-5092
IBM Deutschland
E-Mail:
dieter.duemler@de.ibm.com
Wilhelm-Fay-Str. 30-34
65936 Frankfurt Sossenheim
Germany
IBM Deutschland Business Services GmbH / Geschäftsführung: Markus Sieber,
Bettina Weber-Kiehle
Sitz der Gesellschaft: Stuttgart / Registergericht: Amtsgericht Stuttgart,
HRB 17122