search for: ai_socktyp

Displaying 20 results from an estimated 97 matches for "ai_socktyp".

Did you mean: ai_socktype
2013 Dec 17
2
kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
On 12/16/2013 08:01 PM, Charles Lepple wrote: > On Dec 16, 2013, at 4:19 PM, David C. Rankin wrote: > >> > Dec 16 14:05:16 phoinix upsd[369]: getaddrinfo: Servname not supported for >> > ai_socktype > [...] >> > The kernel update was from linux (3.12.1-3 -> 3.12.5-1), I don't see what >> > could have changed. How do I attempt to further debug/fix this? > getaddrinfo(3) is a libc function - is it possible that libc was updated as well? > > I am not seeing...
2002 Jun 27
0
sshd and ai_socktype errors.... (fwd)
....org/ to ensure we don't lose the bug report? Thanks. - Ben ---------- Forwarded message ---------- Date: Thu, 27 Jun 2002 11:25:02 -0400 (EDT) From: Ken Kleiner <ken at cs.uml.edu> To: secureshell at securityfocus.com Cc: Ken Kleiner <ken at saturn.cs.uml.edu> Subject: sshd and ai_socktype errors.... Hello.. I am Running openssh 3.4p1 on Tru64 v5.0a. In my system logs, I see the following when I ssh to that machine with 'ssh -X system_name': error: getaddrinfo: servname not supported for ai_socktype Any idea what that could be? I can get in okay, but X11 forward...
2002 Jun 27
0
[Bug 310] New: sshd reporting ai_socktype errors when using ssh -X to server
http://bugzilla.mindrot.org/show_bug.cgi?id=310 Summary: sshd reporting ai_socktype errors when using ssh -X to server Product: Portable OpenSSH Version: -current Platform: Alpha OS/Version: OSF/1 Status: NEW Severity: major Priority: P3 Component: sshd AssignedTo: openssh...
2013 Dec 17
0
kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
On Dec 16, 2013, at 10:11 PM, David C. Rankin wrote: > On 12/16/2013 08:01 PM, Charles Lepple wrote: >> On Dec 16, 2013, at 4:19 PM, David C. Rankin wrote: >> >>>> Dec 16 14:05:16 phoinix upsd[369]: getaddrinfo: Servname not supported for >>>> ai_socktype >> [...] >>>> The kernel update was from linux (3.12.1-3 -> 3.12.5-1), I don't see what >>>> could have changed. How do I attempt to further debug/fix this? >> getaddrinfo(3) is a libc function - is it possible that libc was updated as well? >> &gt...
2013 Dec 17
0
kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
On Dec 16, 2013, at 4:19 PM, David C. Rankin wrote: > Dec 16 14:05:16 phoinix upsd[369]: getaddrinfo: Servname not supported for > ai_socktype [...] > The kernel update was from linux (3.12.1-3 -> 3.12.5-1), I don't see what > could have changed. How do I attempt to further debug/fix this? getaddrinfo(3) is a libc function - is it possible that libc was updated as well? I am not seeing many references to the kernel when go...
2003 Jan 07
1
[Bug 310] sshd reporting ai_socktype errors when using ssh -X to server
http://bugzilla.mindrot.org/show_bug.cgi?id=310 djm at mindrot.org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary| sshd reporting ai_socktype |sshd reporting ai_socktype |errors when using ssh -X to |errors when using ssh -X to |server |server ------- Additional Comments From djm at mindrot.org 2003-01-07 18:18 ------- Could you please attach the output of a ./configure run?...
2013 Dec 16
2
kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
...nformation server. -- Reboot -- Dec 16 14:05:16 phoinix systemd[1]: Starting Network UPS Tools - power devices information server... Dec 16 14:05:16 phoinix upsd[369]: fopen /var/state/ups/upsd.pid: No such file or directory Dec 16 14:05:16 phoinix upsd[369]: getaddrinfo: Servname not supported for ai_socktype Dec 16 14:05:16 phoinix upsd[369]: Network UPS Tools upsd 2.7.1-signed-9-g6fb35b3 Dec 16 14:05:16 phoinix systemd[1]: nut-server.service: control process exited, code=exited status=1 Dec 16 14:05:16 phoinix systemd[1]: Failed to start Network UPS Tools - power devices information server. Dec 16 14...
2013 Dec 17
4
kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
...f(stderr, "Server port (Servname) : %s\n", server->port); fprintf(stderr, "hints.ai_flags : %d\n", hints.ai_flags); fprintf(stderr, "hints.ai_family : %d\n", hints.ai_family); fprintf(stderr, "hints.ai_socktype : %d\n", hints.ai_socktype); fprintf(stderr, "hints.ai_protocol : %d\n", hints.ai_protocol); if (v == EAI_SYSTEM) { fatal_with_errno(EXIT_FAILURE, "getaddrinfo"); } fata...
2003 May 12
2
[Bug 563] getaddrinfo() in libopenbsd-compat.a breaks heimdal-linked pam_krb5
...at pobox.com i realize that fake-getaddrinfo.c says, ``Don't use it for another purpose,'' but if getaddrinfo can't be renamed then stuff like this is inevitable, and i think it might not just be me so i wanted to point it out: heimdal uses the getaddrinfo()-returned ai_protocol, ai_socktype and ai_protocol in its socket() call in send_to_kdc(), after passing in the desired ai_socktype in hints->ai_socktype. on Solaris 2.6, there's no getaddrinfo(), so heimdal builds this into it's libroken and ssh builds this into libopenbsd-compat. when sshd goes to use pam_krb5 for keybo...
2013 Dec 17
0
SOLVED Re: kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
On 12/17/2013 10:43 AM, David C. Rankin wrote: > Huh? Why the : in Servname? So I just hardwired it passing the port "Servname" > as "3493" (could have just used "nut" from /etc/services): Sheepishly looking for a place to hide.... Yes there was a ':' there all right. Seems I was hit by a vi error: [12:04 phoinix:/etc/ups] # grep 3493 *.conf
2013 Dec 17
1
SOLVED Re: kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
Now hold on there... you said the problem started when you updated kernels - not when you changed the config file - did you change the config file or was it wrong before and the old kernel accepted it anyway? ted On 12/17/2013 10:08 AM, David C. Rankin wrote: > On 12/17/2013 10:43 AM, David C. Rankin wrote: >> Huh? Why the : in Servname? So I just hardwired it passing the port
2013 Dec 18
1
SOLVED Re: kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
On Dec 17, 2013, at 1:08 PM, David C. Rankin wrote: > On 12/17/2013 10:43 AM, David C. Rankin wrote: >> Huh? Why the : in Servname? So I just hardwired it passing the port "Servname" >> as "3493" (could have just used "nut" from /etc/services): > > Sheepishly looking for a place to hide.... > > Yes there was a ':' there all
2003 May 14
0
[Bug 310] sshd reporting ai_socktype errors when using ssh -X to server
http://bugzilla.mindrot.org/show_bug.cgi?id=310 djm at mindrot.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From djm at mindrot.org 2003-05-14 22:55
2004 Apr 30
1
Code question (canohost.c)
...l. As I see it there is no possible way it can happen. [..] /* Bind the socket to an alternative local IP address */ if (options.bind_address == NULL) return sock; memset(&hints, 0, sizeof(hints)); hints.ai_family = ai->ai_family; hints.ai_socktype = ai->ai_socktype; hints.ai_protocol = ai->ai_protocol; hints.ai_flags = AI_PASSIVE; gaierr = getaddrinfo(options.bind_address, "0", &hints, &res); [..] - Ben
2002 Jan 07
1
rsync-2.5.1 / socket.c - unititialized variable breaks build.
...onverted by prj_src:unix_c_to_vms_c.tpu AND prj_src:socket.tpu on 6-JAN-20 02 08:40:51.01 OPENVMS_AXP */ /* -*- c-file-style: "linux" -*- Copyright (C) 1992-2001 by Andrew Tridgell <tridge@samba.org> @@ -105,7 +106,8 @@ bhints.ai_family = ai_family; bhints.ai_socktype = ai_socktype; bhints.ai_flags = AI_PASSIVE; - if (getaddrinfo(bind_address, NULL, &bhints, &bres_all) == -1) { + error = getaddrinfo(bind_address, NULL, &bhints, &bres_all); + if (error == -1) { rprintf(FERROR, RSYNC_NAME ": getaddr...
2013 Dec 16
1
Nut (git) upsdrvctl fails without "-u root start <upsname>", upsd fails on state file GID
...dency on > 91-permissions.rules, or some other package is masking the NUT udev rule. > Charles, I'll be glad to get the information from my box, but we have to get upsd running again. See thread: "kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype". upsd quit working after my kernel update today. I have no ideas what the ai_socktype error is, but I've seen quite a bit of coding arguments about how to implement it on the web. Perhaps the latest kernel makes the way nut does it not work anymore. That's for the other thread though...
2003 Mar 05
0
"rsync --daemon" and IPv4/v6 dual stack
...ket_in(int type, int port, const char *bind_address, - int af_hint) +static int open_socket_in(struct addrinfo *resp) { int one=1; int s; - struct addrinfo hints, *all_ai, *resp; - char portbuf[10]; - int error; - - memset(&hints, 0, sizeof(hints)); - hints.ai_family = af_hint; - hints.ai_socktype = type; - hints.ai_flags = AI_PASSIVE; - snprintf(portbuf, sizeof(portbuf), "%d", port); - error = getaddrinfo(bind_address, portbuf, &hints, &all_ai); - if (error) { - rprintf(FERROR, RSYNC_NAME ": getaddrinfo: bind address %s: %s\n", - bind_address, gai_strerror(er...
2003 Jan 28
2
rsync 2.5.6 fails on Tru64 v5.0 with rsync://<hostname>/
I've just compiled 2.5.6 release on Tru64 V5.0A (configure detects alphaev67-dec-osf5.0, gcc release is a 3.1.1). rsync fails using rsync://<hostname>/ syntax. > lct@goliath(32) [rsync-2.5.6]$ ./rsync rsync://stitch/ > rsync: getaddrinfo: stitch 873: servname not supported for ai_socktype > rsync error: error in socket IO (code 10) at clientserver.c(83) Is there anyone else that has the same problem ? Laurent. -- Laurent CREPET -- laurent.crepet@free.fr http://megrapet.free.fr/
2012 Feb 12
0
PATCH: multiple BindAddress
...int privileged, struct fcntl(sock, F_SETFD, FD_CLOEXEC); /* Bind the socket to an alternative local IP address */ - if (options.bind_address == NULL) + if (options.num_bind_address == 0){ return sock; + } - memset(&hints, 0, sizeof(hints)); - hints.ai_family = ai->ai_family; - hints.ai_socktype = ai->ai_socktype; - hints.ai_protocol = ai->ai_protocol; - hints.ai_flags = AI_PASSIVE; - gaierr = getaddrinfo(options.bind_address, NULL, &hints, &res); - if (gaierr) { - error("getaddrinfo: %s: %s", options.bind_address, - ssh_gai_strerror(gaierr)); - close(sock);...
2014 Jan 30
1
Announce: OpenSSH 6.5 released
Changes since OpenSSH 6.4 ========================= This is a feature-focused release. New features: * ssh(1), sshd(8): Add support for key exchange using elliptic-curve Diffie Hellman in Daniel Bernstein's Curve25519. This key exchange method is the default when both the client and server support it. * ssh(1), sshd(8): Add support for Ed25519 as a public key type. Ed25519 is a