#175928 libc6: dns broken w/ socksify ssh

#175928#5
Date:
2003-01-09 02:05:38 UTC
From:
To:
## ssh via socks is unable to resolve my hostname
dannf@hazel:~$ socksify ssh home.dannf.org
ssh: home.dannf.org: Name or service not known
## but the system can
dannf@hazel:~$ host home.dannf.org
home.dannf.org      	A	12.252.80.98
## and telnet can, under socks
dannf@hazel:~$ socksify telnet home.dannf.org 22
Trying 12.252.80.98...
Connected to 12-252-80-98.client.attbi.com.
Escape character is '^]'.
## and i can socksify ssh if i specify the IP
dannf@hazel:~$ socksify ssh 12.252.80.98
Linux home 2.4.18sparc #1 Sun Sep 15 22:31:51 MDT 2002 sparc unknown

Most of the programs included with the Debian GNU/Linux system are
...
dannf@home:~$

I'm using ssh 3.5p1-3.  I tried reverting to 3.4p1, but still had the same
issue.  I'm using dante-client 1.1.13-1.  This also exists on ia64, fwiw.

So, as I see it, this could just as likely be a bug in either ssh,
libc6 & libc6.1, or dante-client, so please reassign as necessary.

I've verified that this problem exists on 4 different i386 boxes running sid.
However, there is a fifth i386 box running the same versions of these packages
that works just fine.  woody machines pointing at the same dns/socks servers
work fine.

On one of the 4 that show this problem, adding an entry for the target host to
/etc/hosts fixed the problem. (I couldn't check the other 3).
Removing the entry broke it again.  This, and the fact that I first noticed
the problem after a recent libc6 upgrade, is why I chose to file the bug
against libc6.

## my nsswitch.conf is pristine
dannf@hazel:~$ grep ^hosts  /etc/nsswitch.conf
hosts:          files dns

I tried rebuilding both dante-client and ssh against the headers on the
system, but didn't see a change.

#175928#10
Date:
2003-01-09 02:59:26 UTC
From:
To:
reassign 175928 dante-client
thanks

It's a bug in Dante.  I diagnosed it for Bdale a couple of weeks ago,
so I don't exactly remember the details; I believe it's calling
__res_init at a time when it shouldn't and it used to work by luck.

#175928#19
Date:
2015-08-26 22:54:47 UTC
From:
To:
Special greetings to you from Mrs Marie,and you are receiving this message because you have been selected as one of her lucky winners of her ongoing donation,please contact her on marie.holm@qq.com<mailto:marie.holm@qq.com> for better understanding and claims...


Sincerely.
Joanna.