search for: getnameinfo

Displaying 20 results from an estimated 296 matches for "getnameinfo".

2002 Dec 13
1
Help compiling tinc in Solaris 2.6
...is2.6 --target=sparc-sun-solaris2.6 --with-openssl-include=/usr/local/ssl/include --with-openssl-lib=/usr/local/ssl/lib --with-zlib-include=/usr/local/include --with-zlib-lib=/usr/local/lib which seems to have run without a hitch. Then, when I try to compile, I soon reach a problem with fake-getnameinfo.c: raub@kushana>make make all-recursive make[1]: Entering directory `/home/raub/todo/tinc-1.0pre8' Making all in m4 make[2]: Entering directory `/home/raub/todo/tinc-1.0pre8/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/raub/todo/tinc-1.0pre8/m4'...
2000 Sep 25
2
off-by-one errors in getnameinfo()
Description: getnameinfo() (confirmed for CVS version 1.14.2.1) does this sort of buffer size checks (these is just two of many cases): if (strlen(sp->s_name) > servlen) return ENI_MEMORY; strcpy(serv, sp->s_name); ......
2015 Feb 26
4
Call for testing: OpenSSH 6.8
On Thu, 26 Feb 2015, 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 *...
2006 Feb 04
1
getnameinfo() call and fake-rfc2553.c
Hello All, Im using OpenSSH 4.2p1. The getnameinfo() call in my system libc is broken and as a result SSH fails saying getnameinfo failed:host nor service provided. Im thinking of using getnameinfo() call available from openbsd-compat directory to get rid of this problem. As this is a production system, we can't make changes without convincin...
2001 Jun 17
0
getnameinfo failed
I'm running openssh-2.3.0p1 in linux. scp -P 2222 -v user at 207.224.119.73:openssh-2.3.0p1.tar /tmp/junk gives me Executing: program /usr/local/bin/ssh host 207.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"); *** commen...
2002 Sep 26
0
[Bug 404] New: getnameinfo failed
http://bugzilla.mindrot.org/show_bug.cgi?id=404 Summary: getnameinfo failed Product: Portable OpenSSH Version: -current Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: pmarti...
2004 Jan 09
2
IPv6 broken under AIX?
I've tried to get OpenSSH_3.7.1p2 to work over IPv6 under AIX 5.1.0 and 5.2.0 without success. If I configure sshd to listen to an IPv6 address it will take the uppermost 32 bits of the IPv6 address and interpret it as an IPv4 address. sshd_config: ------------ ListenAddress [2001:6b0:b:1::133] ListenAddress 130.238.4.133 ListenAddress 172.17.1.2 $ /usr/nbin/sshd -d -d -d debug2:
2001 Apr 06
1
Problem with getnameinfo in Tru64 v5.1
Hello, When make ./configure && make on my Tru64 v5.1 machine, sshd couldnot start with diagnostic "Cannot bind any address.". Problem was in getnameinfo which don't return error if you don't set address family before call to it. Patch included. -- Best regards, Stanislav mailto:stas at peterstar.com -------------- next part -------------- A non-text attachment was scrubbed... Name: openssh-2.5.2p2.patch Type:...
2002 Apr 18
0
[Bug 222] New: configure finds getnameinfo() but not getaddrinfo()
http://bugzilla.mindrot.org/show_bug.cgi?id=222 Summary: configure finds getnameinfo() but not getaddrinfo() Product: Portable OpenSSH Version: 3.1p1 Platform: Alpha OS/Version: OSF/1 Status: NEW Severity: major Priority: P2 Component: Build system AssignedTo: openssh-unix-dev at mindrot.org...
2002 Jun 25
0
getnameinfo(), PrivSep, FreeBSD 4.1.1
...t user gert debug3: Trying to reverse map address 195.30.1.100. <long pause> Could not reverse map address 195.30.1.100. debug1: Rhosts RSA authentication: canonical host 195.30.1.100 debug3: mm_key_allowed entering debug3: mm_request_send entering: type 20 This happens both with the library getnameinfo() and with the openbsd-compat/fake-getnameinfo one. It happens only for ssh-1 connections and only if RhostsRSAAuthentication is enabled (which I currently can't completely get rid of). On more recent FreeBSD systems [4.4 and up], PrivSep works just fine, no weird hangs due to reverse DNS...
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.
2007 Oct 12
0
openssh 4.2p1 "getnameinfo failed" port > 999
Dear Openssh Team, I am using openssh 4.2p1 on SuSE 10.2. When ever I run sshd with a port greater than 999 I receive an error on start of sshd of "error: getnameinfo failed". SSHD does seem to run properly it just throws the error. Is there a work-around for this problem or do I just ignore it? Thanks in advance! Paul
2005 Feb 09
6
[Bug 835] Enable IPv6 on AIX
....mindrot.org/show_bug.cgi?id=835 ------- Additional Comments From dtucker at zip.com.au 2005-02-09 18:16 ------- Created an attachment (id=809) --> (http://bugzilla.mindrot.org/attachment.cgi?id=809&action=view) Test for badly broken getaddrinfo on AIX and work around partially busted getnameinfo This patch tests for badly broken getaddrinfo on AIX enables IPv6 if it tests OK. Additionally, AIX's getnameinfo (on 5.2 ML2, anyway) will refuse to resolve the all-zeros IPv6 address, so the patch has a hackish workaround for that too. If this is fixed (or going to be fixed) the hack ought...
2011 Aug 05
4
[Bug 8355] New: Use pointer after freeaddrinfo()
https://bugzilla.samba.org/show_bug.cgi?id=8355 Summary: Use pointer after freeaddrinfo() Product: rsync Version: 3.0.8 Platform: All OS/Version: All Status: NEW Severity: critical Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: andrey at zonov.org
2002 Oct 21
0
[Bug 404] getnameinfo failed
http://bugzilla.mindrot.org/show_bug.cgi?id=404 ------- Additional Comments From djm at mindrot.org 2002-10-21 10:53 ------- Try uncommenting "ListenAddress 0.0.0.0" in sshd_config ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2003 Jan 07
0
[Bug 404] getnameinfo failed
http://bugzilla.mindrot.org/show_bug.cgi?id=404 djm at mindrot.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- You are receiving this mail because: ------- You are the
2004 May 28
1
IP not logged in log file
...socket.c: In function `try_bind_local': socket.c:139: warning: implicit declaration of function `getaddrinfo' socket.c:148: warning: implicit declaration of function `freeaddrinfo' clientname.c: In function `client_addr': clientname.c:71: warning: implicit declaration of function `getnameinfo' clientname.c: In function `client_name': clientname.c:126: warning: implicit declaration of function `getaddrinfo' clientname.c:144: warning: implicit declaration of function `freeaddrinfo' access.c: In function `match_address': access.c:102: warning: implicit declaration of fu...
2004 Mar 22
18
[Bug 748] HP-UX 11.11 (aka 11i) needs BROKEN_GETADDRINFO
http://bugzilla.mindrot.org/show_bug.cgi?id=748 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |japs at adm.ku.dk ------- Additional Comments From dtucker at zip.com.au 2004-03-22 22:46 ------- *** Bug 816 has been marked as a
2007 Mar 28
2
Multiple IP(or Host) listen in dovecot.conf.
...e. login-process.h: add listen_fd and ssl_listen_fd member to login_group structre. login-process.c: add login_groups_create function for mapping login process to each listen fd. change dup2 source fd in create_login_process. src/lib network.c: change getnameinfo error value. -- Kawabe,Yoshihiro <sowhat at amnis.co.jp> As the stars blink in the night sky, our married hearts are never splitted. Even if we will unclasp each other hands, until we retain that. by H.S. -------------- next part -------------- A non-text attachment was scrubbed... Name...
2015 Nov 13
0
[Bug 1860] UseDNS option ignored
...20538: open("/etc/resolv.conf", O_RDONLY, 0666) = 4 20538: ioctl(4, TCGETS, 0x08046F64) Err#25 ENOTTY Which makes me think this is canohost.c:get_remote_hostname(). It does a getpeername() call that is probably the xgetscoaddr call above. It then does a: if (getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop), NULL, 0, NI_NUMERICHOST) != 0) call. This should not result in any DNS traffic though - it's requesting a numeric hostname. IMO the only way for it to end up in the DNS here is if the OS getnameinfo() is buggy. This is further sup...