search for: ai_family

Displaying 20 results from an estimated 109 matches for "ai_family".

2015 Feb 26
4
Call for testing: OpenSSH 6.8
...5, Darren Tucker wrote: > I noticed this error log spam on the tinderbox when looking at one of the > failures. It happens with Unix domain socket forwarding is requested: > > debug1: channel 1: new [forwarded-streamlocal at openssh.com] > get_socket_address: getnameinfo 1 failed: ai_family not supported > get_sock_port: getnameinfo NI_NUMERICSERV failed: ai_family not supported That's strange, because we do: if (addr.ss_family == AF_UNIX) { /* Get the Unix domain socket path. */ return xstrdup(((struct sockaddr_un *)&addr)->sun_...
2009 Jun 16
0
ai_family not supported
hello, i`m trying to use rsync via inetd and having problems. i`m getting 2009/06/15 18:25:29 [41082] name lookup failed for : ai_family not supported 2009/06/15 18:25:29 [41082] connect from UNKNOWN () when trying to write to rsync daemon via inetd. reading works fine. inetd.conf looks like this: rsync stream tcp nowait root /path/rsync rsync --daemon --log-file=/tmp/rsync.log --config=/path/rsyncd.conf -vv rsyncd.conf looks li...
2012 May 08
1
About bug 640857
Hi, Dear OpenSSH support, I'm writing to ask whether this bug is fixed in your openSSH 6.0. If no, do you have any plan? https://bugzilla.redhat.com/show_bug.cgi?id=640857 Regards, Carol
2014 Jun 23
2
ListenAdress Exclusion
I was wondering what everyone's thoughts were on a simpler way to exclude addresses from having listeners on them. I know a lot of people have multiple subnets, especially larger corporations. Some networks are non-route-able, and therefor unsuitable for use with SSH, aside from communication between other servers on the same subnet. Given that we may want to exclude those non-route-able
2002 Jan 07
1
rsync-2.5.1 / socket.c - unititialized variable breaks build.
...6 08:40:51 2002 @@ -1,3 +1,4 @@ +/* Converted 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) { rp...
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
2003 Mar 05
0
"rsync --daemon" and IPv4/v6 dual stack
...t. **/ -static int open_socket_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", -...
2015 May 16
1
tinc 1.1 "Got ADD_EDGE ... which does not match existing entry"
On Sat, 16 May 2015, Guus Sliepen wrote: > On Sat, May 16, 2015 at 12:09:52AM +0200, Sven-Haegar Koch wrote: > > > This change is not so good: > > > > Connection with aaa_vpnhub1 (1.2.3.4 port 443) activated > > Error while translating addresses: ai_family not supported > > > > (And then the tinc process exists) > > Hm, I couldn't reproduce it, but I committed a fix anyway that makes > sockaddr2str() handle AF_UNSPEC addresses. It might just have moved the > problem though. Thanks Guus. At least it does not explode anym...
2015 May 15
2
tinc 1.1 "Got ADD_EDGE ... which does not match existing entry"
...th the again filled-in value? > > It seems you have a perfect understanding of this bug, so perhaps it was > not so difficult to understand after all? Fix committed :) This change is not so good: Connection with aaa_vpnhub1 (1.2.3.4 port 443) activated Error while translating addresses: ai_family not supported (And then the tinc process exists) c'ya sven-haegar -- Three may keep a secret, if two of them are dead. - Ben F.
2003 May 12
2
[Bug 563] getaddrinfo() in libopenbsd-compat.a breaks heimdal-linked pam_krb5
...) getting called, which always returns a struct addrinfo with ai_socktype == ai_protocol == 0, and socket() buys an EPROTOTYPE: send_to_kdc.c: ret = krb5_krbhst_get_addrinfo(context, hi, &ai); if (ret) continue; for (a = ai; a != NULL; a = a->ai_next) { fd = socket (a->ai_family, a->ai_socktype, a->ai_protocol); if (fd < 0) continue; truss says: so_socket(2, 0, 0, 0x00000000, 1) Err#98 EPROTOTYPE 0x00000000: "" (i have to admit i have absolutely no idea where it's getting ai_family from, if that's what th...
2012 Feb 12
0
PATCH: multiple BindAddress
...-214,28 +214,61 @@ ssh_create_socket(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...
2002 Nov 05
2
2.5.6 release
On Tue, Nov 05, 2002 at 08:37:00AM -0800, Martin Pool wrote: > On 10 Oct 2002, "Green, Paul" <Paul.Green@stratus.com> wrote: > > No new CVS messages have appeared on the rsync-cvs archives since August > > 30th. This seems rather odd-- perhaps a daemon stopped working? If there > > has truly been no activity since that date, I apologize for > >
2016 Nov 09
7
[Bug 2636] New: Fix X11 forwarding, when ::1 is not configured
https://bugzilla.mindrot.org/show_bug.cgi?id=2636 Bug ID: 2636 Summary: Fix X11 forwarding, when ::1 is not configured Product: Portable OpenSSH Version: 7.3p1 Hardware: Sparc OS: Solaris Status: NEW Severity: minor Priority: P5 Component: sshd Assignee: unassigned-bugs at
2006 Feb 20
1
Improved diagnostics patch
...h: --- socket.c.~1.116.~ 2006-02-03 13:46:38.000000000 -0500 +++ socket.c 2006-02-20 07:18:11.000000000 -0500 @@ -364,6 +364,7 @@ resp->ai_protocol); if (s == -1) { + rsyserr(FERROR, errno, "socket(%d,%d)", resp->ai_family, resp->ai_protocol ); /* See if there's another address that will work... */ continue; } @@ -385,6 +386,7 @@ /* Now we've got a socket - we need to bind it. */ if (bind(s, resp->ai_addr, re...
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
2010 Oct 23
4
Asterisk 1.8 IAX Registration
...15:22:53] ERROR[694]: chan_iax2.c:1742 iax2_getpeername: Bad address cast to IPv4 [Oct 23 15:22:53] NOTICE[702]: chan_iax2.c:8618 reg_source_db: IAX/Registry astdb host:port invalid - '192.168.1.111:4569' [Oct 23 15:22:53] ERROR[693]: netsock2.c:94 ast_sockaddr_stringify_fmt: getnameinfo(): ai_family not supported [Oct 23 15:22:53] NOTICE[703]: chan_iax2.c:8618 reg_source_db: IAX/Registry astdb host:port invalid - '192.168.1.111:4569' [Oct 23 15:22:53] NOTICE[694]: chan_iax2.c:8618 reg_source_db: IAX/Registry astdb host:port invalid - '192.168.1.111:4569' [Oct 23 15:22:53] ERROR...
2001 Dec 05
1
DISPLAY=localhost
...]; int gaierr, n, num_socks = 0, socks[NUM_SOCKS]; - char display[512]; - char hostname[MAXHOSTNAMELEN]; for (display_number = x11_display_offset; display_number < MAX_DISPLAYS; @@ -2416,12 +2414,12 @@ port = 6000 + display_number; memset(&hints, 0, sizeof(hints)); hints.ai_family = IPv4or6; - hints.ai_flags = AI_PASSIVE; /* XXX loopback only ? */ + hints.ai_flags = gateway_ports ? AI_PASSIVE : 0; hints.ai_socktype = SOCK_STREAM; snprintf(strport, sizeof strport, "%d", port); if ((gaierr = getaddrinfo(NULL, strport, &hints, &aitop)) != 0) {...
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
2013 Dec 17
4
kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
...f(stderr, "Server addr (Nodename) : %s\n", server->addr); fprintf(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) { fa...
2000 Oct 10
2
[PATCH] X11 forwarding failure on later Linux dev kernels fix
...ing: Command terminated on signal 11.' when enabling X11 forwarding. Cheers /Martin Johansson --- channels.c.orig Wed Aug 23 00:46:24 2000 +++ channels.c Tue Oct 10 21:22:14 2000 @@ -1740,7 +1740,7 @@ continue; sock = socket(ai->ai_family, SOCK_STREAM, 0); if (sock < 0) { - if (errno != EINVAL) { + if (errno != EINVAL && errno != EAFNOSUPPORT) { error("socket: %.100s", strerror(errno));...