Bug#601030: 6tunnel: Can't resolve IPv4 target host

2011-01-15 Thread Jari Aalto
Hi Roland, Adam reported in message: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601030#57 That there seesm to be a problem with ipv4 support. The version in Lenny (lenny/6tunnel-0.11rc2-2) seems to work ok. The only difference that I can see is the inclusion of

Bug#601030: 6tunnel: Can't resolve IPv4 target host

2011-01-15 Thread Adam Borowski
On Sat, Jan 15, 2011 at 12:22:51PM +0200, Jari Aalto wrote: Could you confirm that the patch is indeed the problem: dget -x http://ftp.de.debian.org/debian/pool/main/6/6tunnel/6tunnel_0.11rc2-5.dsc cd 6tunnel-0.11rc2 sed --in-place '3d' debian/patches/series

Bug#601030: 6tunnel: Can't resolve IPv4 target host

2011-01-15 Thread Roland Stigge
Hi, On 15/01/11 11:22, Jari Aalto wrote: That there seesm to be a problem with ipv4 support. The version in Lenny (lenny/6tunnel-0.11rc2-2) seems to work ok. [~]$ 6tunnel -4 -l 192.168.0.100 5432 10.2.10.2 5432 6tunnel: unable to resolve host 10.2.10.2 Looks like getaddrinfo() only

Bug#601030: 6tunnel: Can't resolve IPv4 target host

2011-01-15 Thread Roland Stigge
On 15/01/11 15:01, Roland Stigge wrote: On 15/01/11 11:22, Jari Aalto wrote: That there seesm to be a problem with ipv4 support. The version in Lenny (lenny/6tunnel-0.11rc2-2) seems to work ok. [~]$ 6tunnel -4 -l 192.168.0.100 5432 10.2.10.2 5432 6tunnel: unable to resolve host

Bug#601030: 6tunnel: Can't resolve IPv4 target host

2011-01-15 Thread Adam Borowski
On Sat, Jan 15, 2011 at 03:10:44PM +0100, Roland Stigge wrote: On 15/01/11 15:01, Roland Stigge wrote: On 15/01/11 11:22, Jari Aalto wrote: That there seesm to be a problem with ipv4 support. The version in Lenny (lenny/6tunnel-0.11rc2-2) seems to work ok. [~]$ 6tunnel -4

Bug#601030: 6tunnel: Can't resolve IPv4 target host

2010-10-22 Thread Roland Stigge
Package: 6tunnel Version: 0.11rc2-3 Severity: normal Hi, I'm trying to make 6tunnel listen on an IPv6 address and forward the connection to an IPv4 (only) host, but 6tunnel tells me it can't resolve the target host: # 6tunnel -6 -v 84 ftp.de.debian.org 80 resolving ftp.de.debian.org 6tunnel:

Bug#601030: 6tunnel: Debian Bug#601030: 6tunnel: Can't resolve IPv4 target host

2010-10-22 Thread Jari Aalto
forwarded 601030 Wojtek Kaniewski wojte...@irc.pl thanks Wojtek, [Keep CC] Could you take a look at a Debian bug reported to your package: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601030 Thanks, Jari -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a

Bug#601030: 6tunnel: Can't resolve IPv4 target host

2010-10-22 Thread Roland Stigge
Hi, I'm attaching a patch that fixes it for me. (See comments in the DEP-3 patch.) bye, Roland Description: Fix IPv6-bind IPv4-remote This patch fixes an error in the hints handling of the host resolver which confused local/source and remote hint (AF_INET/AF_INET6). Author: Roland Stigge