Bug 239 - ssh didn't resolv name server on HPUX 11i
Summary: ssh didn't resolv name server on HPUX 11i
Status: CLOSED INVALID
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: HPPA HP-UX
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-10 06:21 AEST by pascal rouchon
Modified: 2007-05-11 08:00 AEST (History)
0 users

See Also:


Attachments
Mac os (deleted)
2007-05-09 06:33 AEST, Myrtle H. Darnell
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description pascal rouchon 2002-05-10 06:21:13 AEST
after applying December or March HP-UX 11i bundle patches ssh and scp are not able
to resolve nameserver.

ssh <nameserver>
ssh: <nameserver>: host nor service provided, or not known

ssh <serverIPaddr>
Working fine

i can reproduct the problem on all my HP-UX servers. also on brand new
installed: 1- installation of HP-Ux
           2- Patch with HWenable 11i GoldApps 11i Goldbase 11i
           3- compilation and installation of openssh.
           4- ssh didn't resolve name

i'm compiling openssh3.1.0p1

Thanks
Comment 1 Kevin Steves 2002-05-10 06:36:51 AEST
i have heard that newer releases have getaddrinfo() and that
it does not function properly.  is HAVE_GETADDRINFO defined?

if so, can you raise the issue with
HP support before we do something like add BROKEN_GETADDRINFO?
Comment 2 Damien Miller 2002-05-10 09:19:42 AEST
Can you please try a CVS snapshot? http://www.openssh.com/portable.html
Comment 3 pascal rouchon 2002-05-11 03:25:17 AEST
yes HAVE_GETADDRINFO 1 is defined

i have try the source OpenSSH_3.2.1p1 from cvs wich didn't work. 
i have open a call at HP.
Comment 4 pascal rouchon 2002-05-11 05:09:49 AEST
Ok guys i have found the problem and a solution.

The HP patch is PHCO_25452 which implement getaddrinfo function in libc. 

to make ssh working i have undefined  HAVE_GETADDRINFO in config.h after the
configure. and now ssh is resolving name server. i think the implementation of
getaddrinfo on hpux is different.

Thx.



Comment 5 Kevin Steves 2002-05-12 04:07:31 AEST
can you log a defect report with HP on this and
provide the defect ID?
Comment 6 Kevin Steves 2002-07-18 15:28:44 AEST
HP's getaddrinfo() does not work on IPv4-only systems.
i have made them aware of this, but i did not a receive defect ID.
closing.
Comment 7 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED
Comment 8 Myrtle H. Darnell 2007-05-09 06:33:23 AEST
Created attachment 1275 [details]
Mac os
Comment 9 Darren Tucker 2007-05-11 08:00:49 AEST
The content of attachment 1275 [details] has been deleted by
    Darren Tucker <dtucker@zip.com.au>
who provided the following reason:

Spam

The token used to delete this attachment was generated at 2007-05-11 08:00:38.