search for: have_getaddrinfo

Displaying 20 results from an estimated 40 matches for "have_getaddrinfo".

2002 Oct 25
1
hpux 11.i and HAVE_GETADDRINFO
Hi, After digging through google search results I found the well known hpux 11.i bug occuring after installing the March 2002 patch bundle which breaks DNS lookup for openssh. After setting HAVE_GETADDRINFO to 0 in config.h and another recompile, ssh works fine and I am happy again. No more "host nor service provided" error messages. Q1: Maybe hp has a fix for this already, but I am unsure since I found contradicting messages about this and I dislike polluting my system with unnecessary pa...
2003 Dec 05
6
ssh not resolving host names on HP-UX 11i
Actually it really never was answered, but here's how I fixed (worked around) it. At first I thought installing patch PHNE_27796 (libnss_dns DNS backend patch) had fixed it. It didn't. It just flip-flopped the problem. Prior to installing that patch, ssh would never go to DNS no matter what was in nsswitch.conf. It appeared to only look in /etc/hosts. After installing the patch, ssh
2002 Apr 09
3
getaddrinfo.c error compiling rsync on tru64 5.1A
i've applied albert chin's patch on configure.in file: http://lists.samba.org/pipermail/rsync/2002-January/005726.html, but i still getting the error: cc: Error: lib/getaddrinfo.c, line 180: In this statement, "EAI_MAX" is not declared. (undeclared) thanks for any advice Martin Sigilfredo _________________________________________________________________ Join the world’s
2002 Aug 05
3
openssh on HPUX 11i
...d or discussed... It took some doing for me to get openssh working on HPUX 11i. The fixes are quite simple. First, one must have the IPV6 package installed: em 512# swlist -l product | grep IPV6 IPV6AA A.01.01.5D IPv6 11i product Second, I have to edit config.h to undefine HAVE_GETADDRINFO. Without IPV6, ssh can't connect to remote hosts. I don't recall, but sshd might still function. Without undefining HAVE_GETADDRINFO, X11 doesn't work. It won't setup the virtual display and set DISPLAY. On a different note, our /usr/local is in NFS, and as we absolutely depend...
2002 Apr 18
6
[Bug 222] configure finds getnameinfo() but not getaddrinfo()
http://bugzilla.mindrot.org/show_bug.cgi?id=222 ------- Additional Comments From djm at mindrot.org 2002-04-18 23:07 ------- Could you please try CVS -current with the following patch. You will need to regenerate configure using autoconf. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2002 May 09
5
[Bug 239] ssh didn't resolv name server on HPUX 11i
http://bugzilla.mindrot.org/show_bug.cgi?id=239 ------- Additional Comments From stevesk at pobox.com 2002-05-10 06:36 ------- 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? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2000 May 12
0
SunOS 4.x port
...+#endif /* HAVE_SSIZE_T */ + #if !defined(HAVE_SS_FAMILY_IN_SS) && defined(HAVE___SS_FAMILY_IN_SS) # define ss_family __ss_family #endif /* !defined(HAVE_SS_FAMILY_IN_SS) && defined(HAVE_SA_FAMILY_IN_SS) */ @@ -279,5 +284,10 @@ #if defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) # undef HAVE_GETADDRINFO #endif /* defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) */ + +#ifdef SUNOS4 +# define atexit on_exit +# define WCOREDUMP(x) (((union __wait*)&(x))->__w_coredump) +#endif #endif /* _DEFINES_H */ --- auth-passwd.c.DIST Sat Apr 29 08:47:29 2000...
2002 Jan 04
1
Patch for 2.5.1 on Tru64 UNIX 5.x
...bc as +# something else so we must include <netdb.h> to get the +# redefinition. +AC_MSG_CHECKING([for getaddrinfo]) +AC_TRY_LINK([#include <sys/types.h> +#include <sys/socket.h> +#include <netdb.h>],[getaddrinfo(NULL, NULL, NULL, NULL);], + [AC_MSG_RESULT([yes]) + AC_DEFINE(HAVE_GETADDRINFO, 1, + [Define if you have the `getaddrinfo' function.])], + [AC_MSG_RESULT([no])]) + AC_CHECK_FUNCS(getnameinfo, , AC_LIBOBJ(lib/getnameinfo)) AC_CHECK_MEMBER([struct sockaddr.sa_len],
2002 Jul 25
0
Problems compiling on RH 5.2.
...a RedHat 5.2 i386 system (I know its old but my co-located machine is ancient and I can't easily upgrade it). Anyhow, I did: ./configure --prefix=/usr/services/rsync And make fails because of the file lib/addrinfo.h not defining things correctly. The configure script generated: #define HAVE_GETADDRINFO 1 /* undef HAVE_GETADDRNAME */ Yet the way that works out I get undefined references to the NI_xxx constants in lib/addrinfo.h. They aren't in the standard headers for RH 5.2. So I tried disabling HAVE_GETADDRINFO and then compiling all that stuff since it looked like the RH 5.2 libraries...
2008 Feb 18
1
[PATCH] Build problem in current portable CVS
...-compat/fake-rfc2553.h,v retrieving revision 1.13 diff -p -u -r1.13 fake-rfc2553.h --- openbsd-compat/fake-rfc2553.h 24 Jul 2006 03:51:52 -0000 1.13 +++ openbsd-compat/fake-rfc2553.h 18 Feb 2008 11:44:01 -0000 @@ -152,7 +152,6 @@ int getaddrinfo(const char *, const char #endif /* !HAVE_GETADDRINFO */ #if !defined(HAVE_GAI_STRERROR) && !defined(HAVE_CONST_GAI_STRERROR_PROTO) -#define gai_strerror(a) (ssh_gai_strerror(a)) char *gai_strerror(int); #endif /* !HAVE_GAI_STRERROR */ -- Corinna Vinschen Cygwin Project Co-Leader Red Hat
2003 Jun 03
15
[Bug 585] sshd core dumping on IRIX 6.5.18 with VerifyReverseMapping enabled
http://bugzilla.mindrot.org/show_bug.cgi?id=585 Summary: sshd core dumping on IRIX 6.5.18 with VerifyReverseMapping enabled Product: Portable OpenSSH Version: -current Platform: MIPS OS/Version: IRIX Status: NEW Severity: major Priority: P2 Component: sshd AssignedTo:
2004 Mar 29
10
[Bug 820] utmp seems to be getting clobbered on logins
http://bugzilla.mindrot.org/show_bug.cgi?id=820 Summary: utmp seems to be getting clobbered on logins Product: Portable OpenSSH Version: 3.8p1 Platform: All OS/Version: IRIX Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: openssh-bugs at mindrot.org ReportedBy: ktaylor
2003 Jul 16
16
[Bug 620] Address bits are backwards when setting up port forwarding on Solaris/intel
http://bugzilla.mindrot.org/show_bug.cgi?id=620 Summary: Address bits are backwards when setting up port forwarding on Solaris/intel Product: Portable OpenSSH Version: 3.6.1p2 Platform: ix86 OS/Version: Solaris Status: NEW Severity: major Priority: P3 Component: ssh AssignedTo:
2015 Apr 08
0
[PATCH 04/10] Use AC_CONFIG_LIBOBJ_DIR and AC_REPLACE_FUNCS to adhere to autoconf standards
...CS([inet_ntop inet_pton]) AC_HAVE_TYPE([struct addrinfo], [#include <netdb.h>]) AC_HAVE_TYPE([struct sockaddr_storage], [#include <sys/types.h> @@ -521,9 +524,9 @@ if test x"$rsync_cv_HAVE_GETADDR_DEFINES" = x"yes" -a x"$ac_cv_type_struct_addri AC_DEFINE(HAVE_GETADDRINFO, 1, [Define to 1 if you have the "getaddrinfo" function and required types.])], [AC_MSG_RESULT([no]) - AC_LIBOBJ(lib/getaddrinfo)])]) + AC_LIBOBJ(getaddrinfo)])]) else - AC_LIBOBJ(lib/getaddrinfo) + AC_LIBOBJ(getaddrinfo) fi AC_CHECK_MEMBER([struct sockaddr.sa_len], @@ -...
2007 May 15
0
Setting explicitly the source of slaves connections
...and didn't want to add a parameter myself to the configuration. I also changed the macro definition of sock_connect so as to send a NULL source if sock_connect(h,p) is used, but it is not afaik (legacy code?). This needs improvement, because I didn't change the code for the function when HAVE_GETADDRINFO is not defined, as it would probably lead (me, you? ;)) to also take care of the HAVE_GETHOSTBYNAME thing. Regards, Gilou -- Gilles PIETRI Responsable technique Fr?quence3 http://www.frequence3.fr -------------- next part -------------- A non-text attachment was scrubbed... Name: source.diff Typ...
2000 Jan 16
1
Report on openssh-1.2.1pre26.tar.gz
...# define NI_NUMERICHOST 2 # define NI_NAMEREQD 4 @@ -25,7 +29,7 @@ char *ai_canonname; /* canonical name for hostname */ struct sockaddr *ai_addr; /* binary address */ struct addrinfo *ai_next; /* next structure in linked list */ -} +}; #endif /* !HAVE_STRUCT_ADDRINFO */ #ifndef HAVE_GETADDRINFO
2000 Dec 29
0
another possible mem leak, AIX-specific
On AIX, the config.h generated by 'configure' sets up the following directives: #define HAVE_FREEADDRINFO 1 #define HAVE_GETADDRINFO 1 #define BROKEN_GETADDRINFO 1 This allows the compiler to use the 'getaddrinfo()' routine in fake-getaddrinfo.c, but it uses the 'freeaddrinfo()' provided by AIX. I don't think 'freeaddrinfo()' is releasing the linked list properly, because I think I'm seeing a me...
2002 Apr 18
0
[Bug 222] New: configure finds getnameinfo() but not getaddrinfo()
...lity modes. Programmers must include <netdb.h> in order to suck in the correct #definition for getaddrinfo(). In the configure test program used to determine if getaddrinfo() is present, <netdb.h> is not included, and configure thus concludes that getaddrinfo() is missing, and #undefs HAVE_GETADDRINFO in config.h However, configure does find getnameinfo(), so it #defines HAVE_GETNAMEINFO. The OpenSSH getaddrinfo() and Tru64's getnameinfo() don't play well together. It would help countless poor Tru64 souls avoid a traumatic OpenSSH failure if you could address this problem! -------...
2002 May 17
0
openssh-3.2.2p1 on Linux 2.0
...G_ALIGN(sizeof(struct cmsghdr)))) +#endif +#ifndef CMSG_FIRSTHDR +#define CMSG_FIRSTHDR(msg) (((msg)->msg_controllen) >= sizeof(struct cmsghdr) ? \ + (struct cmsghdr *)((msg)->msg_control) : (struct cmsghdr *)NULL) +#endif + /* Function replacement / compatibility hacks */ #if !defined(HAVE_GETADDRINFO) && (defined(HAVE_OGETADDRINFO) || defined(HAVE_NGETADDRINFO))
2002 Sep 27
3
[Bug 405] getaddrinfo delays
http://bugzilla.mindrot.org/show_bug.cgi?id=405 ------- Additional Comments From dgp at nist.gov 2002-09-28 03:39 ------- BTW, it seems strange to me that when HAVE_GETADDRINFO is undefined or false, the code still makes calls to getaddrinfo(). Is this configuration support just incomplete? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.