search for: match_address

Displaying 10 results from an estimated 10 matches for "match_address".

Did you mean: watch_address
2003 Jul 05
2
Unhelpful error message when matching hosts in access list [PATCH]
...6789ABCDEFabcdef") == len) +#endif + ); +} + static int access_match(char *list, char *addr, char *host) { char *tok; @@ -203,7 +218,9 @@ if (host) strlower(host); for (tok=strtok(list2," ,\t"); tok; tok=strtok(NULL," ,\t")) { - if (match_hostname(host, tok) || match_address(addr, tok)) { + if (match_hostname(host, tok) + || (likely_address(tok) + && match_address(addr, tok))) { free(list2); return 1; }
2003 Jan 20
0
[patch] Recent IPv6 changes in rsync/access.c
...ible overflow > in make_mask() if w is the same size as addrlen. Feel free to > skip the explanation, its just there in case you don't see what > I see.. patch is attached & at the bottom. > > I will walkthrough where I see the bug to have this make sense. I > start in match_address() where I note char mask[16] at the top. > Continuing on, we get to a switch statement for the address family; > we imagine we take the PF_INET6 case. Two things of note here, 1st > is addrlen = 16; 2nd is what appears to be a pasto, two copies of > > a = (char *)&...
2004 May 28
1
IP not logged in log file
...ientname.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 function `getaddrinfo' access.c:113: warning: implicit declaration of function `freeaddrinfo' access.c:162: warning: implicit declaration of function `inet_pton' lib/getaddrinfo.c: In function `str_isnumber': lib/getaddrinfo.c:206...
2004 May 27
0
compiling on HP-UX
...m.c:486: warning: signed and unsigned type in conditional expression clientserver.c: In function `rsync_module': clientserver.c:266: warning: signed and unsigned type in conditional expression clientserver.c:276: warning: signed and unsigned type in conditional expression access.c: In function `match_address': access.c:102: warning: implicit declaration of function `getaddrinfo' access.c:113: warning: implicit declaration of function `freeaddrinfo' lib/wildmatch.c: In function `domatch': lib/wildmatch.c:159: warning: signed and unsigned type in conditional expression lib/wildmatch.c:163...
2005 Sep 14
1
RSYNC "make" problems with HP UX 11.0 & GCC 3.3.2
...t -c params.c -o params.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c loadparm.c -o loadparm.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c clientserver.c -o clientserver.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c access.c -o access.o access.c: In function `match_address': access.c:107: warning: implicit declaration of function `getaddrinfo' access.c:119: warning: implicit declaration of function `freeaddrinfo' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c connection.c -o connection.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c a...
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 > >
2002 Mar 28
1
(no subject)
...tserver.c -o clientserver.o clientserver.c: In function `rsync_module': clientserver.c:227: warning: subscript has type `char' clientserver.c:237: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c access.c -o access.o access.c: In function `match_address': access.c:41: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/getaddrinfo.c -o lib/getaddrinfo.o lib/getaddrinfo.c: In function `str_isnumber': lib/getaddrinfo.c:206: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_...
2002 Feb 20
1
Errors compiling rsync 2.5.2 on Solaris 8
...clientserver.c -o clientserver.o clientserver.c: In function `rsync_module': clientserver.c:208: warning: subscript has type `char' clientserver.c:218: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c access.c -o access.o access.c: In function `match_address': access.c:41: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c connection.c -o connection.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c authenticate.c -o authenticate.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/fnmat...
2002 Nov 06
4
Rsync-2.5.5 on Tru64 UNIX V51.A
...clientserver.c -o clientserver.o clientserver.c: In function `rsync_module': clientserver.c:228: warning: subscript has type `char' clientserver.c:238: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c access.c -o access.o access.c: In function `match_address': access.c:41: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c connection.c -o connection.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c authenticate.c -o authenticate.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/fnmatch...
2002 Jan 29
1
Solaris 2.8/2.5.2 build issues
...clientserver.c -o clientserver.o clientserver.c: In function `rsync_module': clientserver.c:208: warning: subscript has type `char' clientserver.c:218: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c access.c -o access.o access.c: In function `match_address': access.c:41: warning: subscript has type `char' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c connection.c -o connection.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c authenticate.c -o authenticate.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/fnmatch...