Wayne Davison
8e41b68e8f
Tweaking the license text a bit more.
2007-07-10 13:55:49 +00:00
Wayne Davison
4fd842f98d
Switching to GPL 3.
2007-07-07 05:33:14 +00:00
Wayne Davison
ba2133d6ad
Further modifications to the copyright comment section.
2007-02-04 14:54:58 +00:00
Wayne Davison
e7c67065c0
Updated the FSF's address to an even newer one.
2006-04-25 23:51:12 +00:00
Wayne Davison
0f78b81511
- Updated the address for the FSF in the opening comment.
...
- Standardized the format of the opening comment, including adding a
brief description of what's in the file for those that lacked it.
- Added some missing copyright lines.
- Some minor whitespace tweaks (in a few of the files).
2006-04-25 20:23:34 +00:00
Wayne Davison
2997e9f769
Indent the "oom:" label away from column 0.
2005-11-10 16:42:46 +00:00
Wayne Davison
4f5b0756df
John E. Malmberg convinced me to standardize on #ifs for defined
...
values instead of non-zero.
2005-02-14 00:53:43 +00:00
Wayne Davison
25ff04417e
Use "#if" (not "#ifdef") for configure-defined macros.
2005-01-28 18:50:49 +00:00
Wayne Davison
361428213b
Simplified the logic in allow_access() and tweaked some whitespace.
2005-01-15 20:06:48 +00:00
Wayne Davison
be7cf82299
- Make sure that match_address() always restores the "tok" string,
...
even on error.
- Turned the various FERROR messages into (the more proper) FLOG.
2004-09-24 16:50:07 +00:00
Wayne Davison
fe332038c6
Call wildmatch(), not fnmatch().
2003-07-30 06:12:27 +00:00
Wayne Davison
b49d381d05
Changed "./0123456789" to just ".0123456789".
2003-07-07 19:37:58 +00:00
Wayne Davison
7da9a16d10
I decided to go with the slightly simpler logic Thorild Selen suggested
...
in a subsequent email.
2003-07-07 18:37:38 +00:00
Wayne Davison
32f60a6e7b
Improved deficiencies in the hostname-vs-address check (reintroduced in the
...
last revision) based on the suggestions of Thorild Selen.
2003-07-07 18:25:01 +00:00
Wayne Davison
70a6051cf1
Restored an isdigit() check in the match_address() function, but check
...
the last character in the hostname, not the first.
2003-07-05 07:39:57 +00:00
David Dykstra
7bc8218d81
Fix bug that causes messages like
...
rsync: stack overflow in function match_address
on openbsd. Patch from Brian Poole <raj@cerias.purdue.edu >.
2003-01-20 13:46:28 +00:00
David Dykstra
8d2aad49e3
AI_NUMERICHOST is not defined on AIX.
2003-01-09 21:30:24 +00:00
David Dykstra
bc2b4963a0
Support IPv6 addresses with "hosts allow" and "hosts deny". Patch from
...
Hideaki Yoshifuji.
2003-01-09 21:14:10 +00:00
Martin Pool
32f761755e
Try to fix ctype issues by always calling these functions as
...
if (!isdigit(* (unsigned char *) p)) {
so that the argument is always in the range of unsigned char when
coerced to an int.
(See digit 1.)
2002-04-11 02:25:53 +00:00
Andrew Tridgell
43e46b4cf6
allow 0.0.0.0/0 syntax in hosts allow/deny
...
patch from Charles Levert <charles@comm.polymtl.ca >
2000-08-19 13:04:29 +00:00
Andrew Tridgell
505c7ea2bc
add a cast to initialisation of mask
1998-05-22 13:27:55 +00:00
Andrew Tridgell
5a96ee0599
make host access controls case insensitive
1998-05-14 04:31:03 +00:00
Andrew Tridgell
56c473b795
added hosts allow and hosts deny support. I ended up writing my own as
...
the tcpd code is not quite what I wanted.
1998-05-13 08:03:47 +00:00