<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: openssh on HPUX 11i</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>What are the consequences of doing the undefine HAVE_GETADDRINFO?</FONT>
</P>
<P><FONT SIZE=2>I also saw this in the HP Forums so I'll post a follow-up message there as well as logging a support call with HP.</FONT>
</P>
<P><FONT SIZE=2>Thanks,</FONT>
<BR><FONT SIZE=2>Matt</FONT>
</P>
<P><FONT SIZE=2>Matt Loveland</FONT>
<BR><FONT SIZE=2>TS/Unix Architecture</FONT>
<BR><FONT SIZE=2>E4-C-36R</FONT>
<BR><FONT SIZE=2>314.955.9218</FONT>
</P>
<P><FONT SIZE=2> -----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Kevin Steves [<A HREF="mailto:kevin@atomicgears.com">mailto:kevin@atomicgears.com</A>] </FONT>
<BR><FONT SIZE=2>Sent: Monday, August 05, 2002 1:01 PM</FONT>
<BR><FONT SIZE=2>To: Tom Lieuallen</FONT>
<BR><FONT SIZE=2>Cc: openssh-unix-dev@mindrot.org; stevesk@pobox.com</FONT>
<BR><FONT SIZE=2>Subject: Re: openssh on HPUX 11i</FONT>
</P>
<P><FONT SIZE=2>On Mon, Aug 05, 2002 at 08:25:28AM -0700, Tom Lieuallen wrote:</FONT>
<BR><FONT SIZE=2>> In case this hasn't already been reported or discussed...</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> It took some doing for me to get openssh working on HPUX 11i.</FONT>
<BR><FONT SIZE=2>> The fixes are quite simple. First, one must have the IPV6</FONT>
<BR><FONT SIZE=2>> package installed:</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> em 512# swlist -l product | grep IPV6</FONT>
<BR><FONT SIZE=2>> IPV6AA A.01.01.5D IPv6 11i product </FONT>
</P>
<P><FONT SIZE=2>That should not be true. see:</FONT>
<BR><FONT SIZE=2><A HREF="http://bugzilla.mindrot.org/show_bug.cgi?id=239" TARGET="_blank">http://bugzilla.mindrot.org/show_bug.cgi?id=239</A></FONT>
</P>
<P><FONT SIZE=2>HP created a lot of frustration for its customers by releasing</FONT>
<BR><FONT SIZE=2>a libc patch that added getaddrinfo() and friends but does not</FONT>
<BR><FONT SIZE=2>work unless ipv6 is installed. I informed Mike Huey at HP about</FONT>
<BR><FONT SIZE=2>all this back in May. I do not know if there are patches to fix</FONT>
<BR><FONT SIZE=2>the issues and was not provided any defect IDs. You need to</FONT>
<BR><FONT SIZE=2>talk to HP support.</FONT>
</P>
<P><FONT SIZE=2>> Second, I have to edit config.h to undefine HAVE_GETADDRINFO.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Without IPV6, ssh can't connect to remote hosts. I don't recall,</FONT>
<BR><FONT SIZE=2>> but sshd might still function. Without undefining HAVE_GETADDRINFO,</FONT>
<BR><FONT SIZE=2>> X11 doesn't work. It won't setup the virtual display and set DISPLAY.</FONT>
</P>
<P><FONT SIZE=2>It sounds like even with ipv6 the HP getaddrinfo() is not working.</FONT>
</P>
<P><FONT SIZE=2>> On a different note, our /usr/local is in NFS, and as we absolutely</FONT>
<BR><FONT SIZE=2>> depend on SSH (no telnet or rsh), we install ssh locally in /usr.</FONT>
<BR><FONT SIZE=2>> But, our openssl is installed in /usr/local. Every time I compile</FONT>
<BR><FONT SIZE=2>> openssh I have to remember to edit the Makefile and set options so</FONT>
<BR><FONT SIZE=2>> that libcrypto (and libz on solaris) are linked staticly. This is</FONT>
<BR><FONT SIZE=2>> really an environment issue/challenge, but I wouldn't be surprised if</FONT>
<BR><FONT SIZE=2>> others encounter it as well. It might be a nice addition to a howto</FONT>
<BR><FONT SIZE=2>> or readme if people don't feel it is worth addressing with configure. :-)</FONT>
</P>
<P><FONT SIZE=2>Or just don't build shared versions, that is what I do:</FONT>
<BR><FONT SIZE=2><A HREF="http://www.atomicgears.com/papers/osshhpux.html" TARGET="_blank">http://www.atomicgears.com/papers/osshhpux.html</A></FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>openssh-unix-dev@mindrot.org mailing list</FONT>
<BR><FONT SIZE=2><A HREF="http://www.mindrot.org/mailman/listinfo/openssh-unix-dev" TARGET="_blank">http://www.mindrot.org/mailman/listinfo/openssh-unix-dev</A></FONT>
</P>
<CODE><FONT SIZE=3><BR>
<BR>
***********************************************************************************<BR>
WARNING: All e-mail sent to and from this address will be received or<BR>
otherwise recorded by the A.G. Edwards corporate e-mail system and is<BR>
subject to archival, monitoring or review by, and/or disclosure to,<BR>
someone other than the recipient.<BR>
************************************************************************************<BR>
</FONT></CODE></BODY>
</HTML>