search for: ni_numericserv

Displaying 15 results from an estimated 15 matches for "ni_numericserv".

Did you mean: ai_numericserv
2015 Feb 26
4
Call for testing: OpenSSH 6.8
...pam 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_path); } so AF_UNIX should never get to getnameinfo....
2008 Oct 24
0
Name lookup failures and CIDR regression under cygwin ( patch attached )
...d for X.X.X.X: Unknown server error Looking at the code it seems the call will never succeed? /* reverse lookup */ name_err = getnameinfo((struct sockaddr *) ss, ss_len, name_buf, name_buf_size, port_buf, port_buf_size, NI_NAMEREQD | NI_NUMERICSERV); if (name_err != 0) { strlcpy(name_buf, default_name, name_buf_size); rprintf(FLOG, "name lookup failed for %s: %s\n", client_addr(fd), gai_strerror(name_err)); return name_err; } Then in the supplied getnameinfo:- /* We don't support...
2008 Oct 24
5
DO NOT REPLY [Bug 5851] New: Name lookup failures and CIDR regression
...d for X.X.X.X: Unknown server error Looking at the code it seems the call will never succeed? /* reverse lookup */ name_err = getnameinfo((struct sockaddr *) ss, ss_len, name_buf, name_buf_size, port_buf, port_buf_size, NI_NAMEREQD | NI_NUMERICSERV); if (name_err != 0) { strlcpy(name_buf, default_name, name_buf_size); rprintf(FLOG, "name lookup failed for %s: %s\n", client_addr(fd), gai_strerror(name_err)); return name_err; } Then in the supplied getnameinfo:- /* We don't support...
2003 Dec 09
1
Make Fails on Cobalt Qube 2
...ST' undeclared (first use this function) clientname.c:73: (Each undeclared identifier is reported only once clientname.c:73: for each function it appears in.) clientname.c: In function `lookup_name': clientname.c:229: `NI_NAMEREQD' undeclared (first use this function) clientname.c:229: `NI_NUMERICSERV' undeclared (first use this function) clientname.c:234: warning: implicit declaration of function `gai_strerror' clientname.c:234: warning: format argument is not a pointer (arg 4) clientname.c: In function `check_name': clientname.c:329: warning: format argument is not a pointer (arg 4...
2003 Apr 04
5
[Bug 533] sshd failure on Tru64 (OSF/1) 5.1a
...ug1: Bind to port 22 on ::. Server listening on :: port 22. debug1: Bind to port 22 on 0.0.0.0. Bind to port 22 on 0.0.0.0 failed: Address already in use. Generating 768 bit RSA key. RSA key generation complete. debug1: Server will not fork when running in debugging mode. get_sock_port: getnameinfo NI_NUMERICSERV failed debug1: Calling cleanup 0x12005c9c0(0x0) Port 22 is open and there is not another copy of sshd running. 3.5p1 works fine Os: Tru64 5.1a pk3 Platform: GS160, Alpha EV6.8 Generic install No options were passed to the configure process. Please let me know if I can be of anymore help. Da...
2018 Feb 23
6
RFC 8305 Happy Eyeballs in OpenSSH
...EINPROGRESS) + if (ai->ai_family != AF_INET && ai->ai_family != AF_INET6) { + errno = EAFNOSUPPORT; return -1; - - if (waitrfd(sockfd, timeoutp) == -1) + } + if (getnameinfo(ai->ai_addr, ai->ai_addrlen, + ntop, sizeof(ntop), + strport, sizeof(strport), + NI_NUMERICHOST|NI_NUMERICSERV) != 0) { + oerrno = errno; + error("%s: getnameinfo failed", __func__); + errno = oerrno; return -1; - - /* Completed or failed */ - if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &optval, &optlen) == -1) { - debug("getsockopt: %s", strerror(errno)); + } + debug(&qu...
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
2001 Jun 07
0
sshd failing to allow connections.
HI Guys, On my Slackware-current firewall I cannot ssh into it. The tail of the syslog is :- Jun 1 10:56:15 firefly sshd[22176]: fatal: get_sock_port: getnameinfo NI_NUMERICSERV failed any ideas why I get this error? Although slack-current includes openssh I've actually built this one from source ( and openssl too ) in case it was a config issue with the slackware -current release (which is FYI actually the very lastest stuff - i.e. what will be in the next release of...
2001 Jun 17
0
getnameinfo failed
...7.224.119.73, user user, command scp -v -f openssh-2.3.0p1.tar ssh_connect: getnameinfo failed I get that 3 times and then it gives up. I've changed ssh_connect as follows: if (getnameinfo(ai->ai_addr,ai->ai_addrlen, ntop, sizeof(ntop), strport,sizeof(strport), NI_NUMERICHOST|NI_NUMERICSERV) != 0) { error("ssh_connect: getnameinfo failed"); *** commented out next line continue; and now after the getnameinfo failed message it continues ... The authenticity of host '207.224.119.73' can't be established. and then everything works. I'm trying to underst...
2002 Apr 08
1
compilation fails on Cobalt RaQ2
...ST' undeclared (first use this function) clientname.c:56: (Each undeclared identifier is reported only once clientname.c:56: for each function it appears in.) clientname.c: In function `lookup_name': clientname.c:164: `NI_NAMEREQD' undeclared (first use this function) clientname.c:164: `NI_NUMERICSERV' undeclared (first use this function) clientname.c:169: warning: implicit declaration of function `gai_strerror' clientname.c:169: warning: format argument is not a pointer (arg 4) clientname.c: In function `check_name': clientname.c:247: warning: format argument is not a pointer (arg 4...
2003 Jul 24
0
make fails all versions > 2.4.8 on older linux machine (clientname.o)
...ST' undeclared (first use this function) clientname.c:73: (Each undeclared identifier is reported only once clientname.c:73: for each function it appears in.) clientname.c: In function `lookup_name': clientname.c:229: `NI_NAMEREQD' undeclared (first use this function) clientname.c:229: `NI_NUMERICSERV' undeclared (first use this function) clientname.c:234: warning: implicit declaration of function `gai_strerror' clientname.c:234: warning: format argument is not a pointer (arg 4) clientname.c: In function `check_name': clientname.c:329: warning: format argument is not a pointer (arg 4...
2002 Sep 24
3
[Bug 401] ipv4 mapped address (ipv4 in ipv6) and ipv6 support fix
http://bugzilla.mindrot.org/show_bug.cgi?id=401 yoshfuji at linux-ipv6.org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|misc. ipv4-mapped address |ipv4 mapped address (ipv4 in |support fix |ipv6) and ipv6 support fix ------- Additional
2004 Apr 01
1
[patch] net/rsync: problems in client name lookup code
...char *port_buf, size_t port_buf_len) { int name_err; /* reverse lookup */ - name_err = getnameinfo((struct sockaddr *) ss, ss_len, + name_err = getnameinfo((struct sockaddr *) ss, ss->ss_len, name_buf, name_buf_len, port_buf, port_buf_len, NI_NAMEREQD | NI_NUMERICSERV);
2016 Mar 07
2
Windows port
Hi! I would like to ask about current state of Windows port. Is it frozen? It will be cool to know the plans :) Where are a lot of Windows-branches at GitHub. What is the most actual one? The Windows builder looks like turned off, am I right that it is not available currently and where were no builds after version 2.6.5-6? I couldn't find any info about proper environment to build Windows
2015 Feb 19
34
Call for testing: OpenSSH 6.8
Hi, OpenSSH 6.8 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This release contains some substantial new features and a number of bugfixes. Snapshot releases for portable OpenSSH are available from http://www.mindrot.org/openssh_snap/ The OpenBSD version is available in CVS HEAD: http://www.openbsd.org/anoncvs.html Portable OpenSSH is