<!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&nbsp; 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>&nbsp;-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: &nbsp; Kevin Steves [<A HREF="mailto:kevin@atomicgears.com">mailto:kevin@atomicgears.com</A>] </FONT>
<BR><FONT SIZE=2>Sent:&nbsp;&nbsp; Monday, August 05, 2002 1:01 PM</FONT>
<BR><FONT SIZE=2>To:&nbsp;&nbsp;&nbsp;&nbsp; Tom Lieuallen</FONT>
<BR><FONT SIZE=2>Cc:&nbsp;&nbsp;&nbsp;&nbsp; openssh-unix-dev@mindrot.org; stevesk@pobox.com</FONT>
<BR><FONT SIZE=2>Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&gt; In case this hasn't already been reported or discussed...</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; It took some doing for me to get openssh working on HPUX 11i.</FONT>
<BR><FONT SIZE=2>&gt; The fixes are quite simple.&nbsp; First, one must have the IPV6</FONT>
<BR><FONT SIZE=2>&gt; package installed:</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; em 512# swlist -l product | grep IPV6</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp; IPV6AA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A.01.01.5D&nbsp;&nbsp;&nbsp;&nbsp; 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.&nbsp; I informed Mike Huey at HP about</FONT>
<BR><FONT SIZE=2>all this back in May.&nbsp; I do not know if there are patches to fix</FONT>
<BR><FONT SIZE=2>the issues and was not provided any defect IDs.&nbsp; You need to</FONT>
<BR><FONT SIZE=2>talk to HP support.</FONT>
</P>

<P><FONT SIZE=2>&gt; Second, I have to edit config.h to undefine HAVE_GETADDRINFO.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Without IPV6, ssh can't connect to remote hosts. I don't recall,</FONT>
<BR><FONT SIZE=2>&gt; but sshd might still function.&nbsp; Without undefining HAVE_GETADDRINFO,</FONT>
<BR><FONT SIZE=2>&gt; X11 doesn't work.&nbsp; 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>&gt; On a different note, our /usr/local is in NFS, and as we absolutely</FONT>
<BR><FONT SIZE=2>&gt; depend on SSH (no telnet or rsh), we install ssh locally in /usr.</FONT>
<BR><FONT SIZE=2>&gt; But, our openssl is installed in /usr/local.&nbsp; Every time I compile</FONT>
<BR><FONT SIZE=2>&gt; openssh I have to remember to edit the Makefile and set options so</FONT>
<BR><FONT SIZE=2>&gt; that libcrypto (and libz on solaris) are linked staticly.&nbsp; This is</FONT>
<BR><FONT SIZE=2>&gt; really an environment issue/challenge, but I wouldn't be surprised if</FONT>
<BR><FONT SIZE=2>&gt; others encounter it as well.&nbsp; It might be a nice addition to a howto</FONT>
<BR><FONT SIZE=2>&gt; 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>