Displaying 14 results from an estimated 14 matches for "ai_numerichost".
2004 Apr 30
1
rsync-2.6.2pre1: In clientname.c `AI_NUMERICHOST' undeclared
Hi,
I just tried to compile rsync-2.6.2pre1 under AIX 4.3 (gcc 2.95.3) and got
the following compiler error:
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c clientname.c
-o clientname.o
clientname.c: In function `client_name':
clientname.c:121: `AI_NUMERICHOST' undeclared (first use in this function)
In analogy to the coding in access.c I replaced in clientname.c
hints.ai_flags = AI_NUMERICHOST;
by
#ifdef AI_NUMERICHOST
hints.ai_flags = AI_NUMERICHOST;
#endif
and the compiling works.
Sorry, I am not a C expert.
Jens
--
Dr. Jens Schleus...
2004 Jan 19
0
rsync 2.6.0 and Solaris 8
...#define EAI_PROTOCOL 13
#define EAI_MAX 14
-#endif /* ndef EAI_ADDRFAMILY */
+#endif /* ndef EAI_BADHINTS */
/*
* Flag values for getaddrinfo()
@@ -66,8 +68,6 @@
#define AI_PASSIVE 0x00000001 /* get address to use bind() */
#define AI_CANONNAME 0x00000002 /* fill ai_canonname */
#define AI_NUMERICHOST 0x00000004 /* prevent name resolution */
-/* valid flags for addrinfo */
-#define AI_MASK (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST)
#define AI_ALL 0x00000100 /* IPv6 and IPv4-mapped (with AI_V4MAPPED) */
#define AI_V4MAPPED_CFG 0x00000200 /* accept IPv4-mapped if kernel supports */
@@ -105...
2011 Mar 18
1
[PATCH] s3: Add "spoolss backchannel" parameter
...SERVER_UNAVAILABLE;
}
+ if (!lp_spoolss_backchannel(snum)) {
+ DEBUG(10, ("_spoolss_RemoteFindFirstPrinterChangeNotifyEx: "
+ "backchannel disabled\n"));
+ return WERR_SERVER_UNAVAILABLE;
+ }
+
if (!interpret_string_addr(&client_ss, p->client_address,
AI_NUMERICHOST)) {
return WERR_SERVER_UNAVAILABLE;
--
1.7.0.4
2004 Apr 01
1
[patch] net/rsync: problems in client name lookup code
...= (struct sockaddr_storage *) &sin;
- ss_len = sizeof sin;
- memset(ssp, 0, ss_len);
- inet_pton(AF_INET, addr, &sin.sin_addr);
- sin.sin_family = AF_INET;
+ struct addrinfo hint;
+ struct addrinfo *answer;
+ int err;
+
+ memset(&hint, 0, sizeof(hint));
+
+ hint.ai_flags = AI_NUMERICHOST;
+ hint.ai_socktype = SOCK_STREAM;
+
+ err = getaddrinfo(addr, NULL, &hint, &answer);
+ if (err) {
+ rprintf(FERROR, RSYNC_NAME ": malformed address %s: %s\n",
+ addr, gai_strerror(err));
+ return name_buf;
}
+ switch (answer->ai_family) {
+ case AF_INET...
2003 Oct 28
4
simple compile
I could not find this question anywhere, but I apologize if it is and I
just missed it.
Running an Alpha, OSF1 V5.1 1885
configure went fine.
compile failed:
cc -I. -I. -g -DHAVE_CONFIG_H -I./popt -c lib/getaddrinfo.c -o
lib/getaddrinfo.o
cc: Error: lib/getaddrinfo.c, line 182: In this statement, "EAI_MAX" is
not declared. (undeclared)
if (ecode < 0 || ecode > EAI_MAX)
2004 Apr 30
1
Code question (canohost.c)
On Fri, 30 Apr 2004, YOSHIFUJI Hideaki / [iso-2022-jp] $B5HF#1QL@(B wrote:
> In article <Pine.BSO.4.44.0404292059520.953-100000 at etoh.eviladmin.org> (at Thu, 29 Apr 2004 21:00:26 -0500 (CDT)), Ben Lindstrom <mouring at etoh.eviladmin.org> says:
>
> > Be that true.. then one should review the usage of it in sshconnect.c
> > which is the other place we do it.
>
2012 Aug 27
0
[Bug 2037] New: sshd Causing DNS Queries on ListenAddress when binding to IPV4 and IPV6 addresses on AIX
...--------------------------------------
The solution would be to define an AddressFamily for each ListenAddress
in /etc/ssh/sshd_config like so:
AddressFamily inet
ListenAddress 0.0.0.0
AddressFamily inet6
ListenAddress ::
Another solution would be to create a configuration option that would
let AI_NUMERICHOST be passed to the POSIX getaddrinfo() function.
--
You are receiving this mail because:
You are watching the assignee of the bug.
2007 Jan 06
3
Re: [nut-commits] svn commit r708 - in trunk: . clients server
With the Ipv6 patch (r708), I get:
upsclient.c: In function `upscli_connect':
upsclient.c:469: `AI_ADDRCONFIG' undeclared (first use in this function)
upsclient.c:469: (Each undeclared identifier is reported only once
upsclient.c:469: for each function it appears in.)
Even if it doesn't break IPv4 support, it may break portability, as
IPv6 seems to require specific functions that are
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 Mar 22
2
Bug in compile of rsync 2.5.4 on Tru64 UNIX V5.1a using cc
Greetings, here is the output of the 'configure' step and
the compile step (using the Compaq cc compiler that comes
with Tru64 V5.1A. The configure reported success and most of
the compile steps cam through error/warning free except for
the one that stumbled. Can someone help me out here? I am willing
to provide a binary for Tru64 V5.1A if we can swat this bug.
We depend greatly on Rsync
2018 Mar 26
23
[Bug 2846] New: PermitOpen rule in sshd_config is not case insensitive
https://bugzilla.mindrot.org/show_bug.cgi?id=2846
Bug ID: 2846
Summary: PermitOpen rule in sshd_config is not case insensitive
Product: Portable OpenSSH
Version: 7.6p1
Hardware: Other
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: sshd
Assignee: unassigned-bugs
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
> >
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
2017 May 26
0
Wine release 2.9
...e_EnumCache().
ole32: Create CF_DIB and CF_BITMAP entries when either is cached.
ole32: Synthesize dibs or bitmaps as appropriate.
Jacek Caban (22):
d3d11.idl: Added D3D11_QUERY_DATA_PIPELINE_STATISTICS declaration.
ws2_32: Don't try to match host name in getaddrinfo if AI_NUMERICHOST hint is specified.
rpcrt4: Always use winsock for networking.
rpcrt4: Use standard Wine list to store connections in RpcServerProtseq.
kernel32/tests: Added more PeekNamedPipe tests.
kernel32/tests: Run test_overlapped_transport in byte mode.
rpcrt4: Simplify rpcrt4_co...