aboutsummaryrefslogtreecommitdiffstats
path: root/access.c
Commit message (Collapse)AuthorAgeFilesLines
* Updated the FSF's address to an even newer one.Wayne Davison2006-04-251-3/+3
|
* - Updated the address for the FSF in the opening comment.Wayne Davison2006-04-251-22/+19
| | | | | | | - 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).
* Indent the "oom:" label away from column 0.Wayne Davison2005-11-101-1/+1
|
* John E. Malmberg convinced me to standardize on #ifs for definedWayne Davison2005-02-141-6/+6
| | | | values instead of non-zero.
* Use "#if" (not "#ifdef") for configure-defined macros.Wayne Davison2005-01-281-6/+6
|
* Simplified the logic in allow_access() and tweaked some whitespace.Wayne Davison2005-01-151-33/+32
|
* - Make sure that match_address() always restores the "tok" string,Wayne Davison2004-09-241-13/+18
| | | | | even on error. - Turned the various FERROR messages into (the more proper) FLOG.
* Call wildmatch(), not fnmatch().Wayne Davison2003-07-301-1/+1
|
* Changed "./0123456789" to just ".0123456789".Wayne Davison2003-07-071-1/+1
|
* I decided to go with the slightly simpler logic Thorild Selen suggestedWayne Davison2003-07-071-2/+1
| | | | in a subsequent email.
* Improved deficiencies in the hostname-vs-address check (reintroduced in theWayne Davison2003-07-071-6/+18
| | | | last revision) based on the suggestions of Thorild Selen.
* Restored an isdigit() check in the match_address() function, but checkWayne Davison2003-07-051-0/+5
| | | | the last character in the hostname, not the first.
* Fix bug that causes messages likeDavid Dykstra2003-01-201-5/+4
| | | | | rsync: stack overflow in function match_address on openbsd. Patch from Brian Poole <raj@cerias.purdue.edu>.
* AI_NUMERICHOST is not defined on AIX.David Dykstra2003-01-091-0/+2
|
* Support IPv6 addresses with "hosts allow" and "hosts deny". Patch fromDavid Dykstra2003-01-091-23/+134
| | | | Hideaki Yoshifuji.
* Try to fix ctype issues by always calling these functions asMartin Pool2002-04-111-1/+1
| | | | | | | | | 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.)
* allow 0.0.0.0/0 syntax in hosts allow/denyAndrew Tridgell2000-08-191-0/+1
| | | | patch from Charles Levert <charles@comm.polymtl.ca>
* add a cast to initialisation of maskAndrew Tridgell1998-05-221-1/+1
|
* make host access controls case insensitiveAndrew Tridgell1998-05-141-0/+3
|
* added hosts allow and hosts deny support. I ended up writing my own asAndrew Tridgell1998-05-131-0/+127
the tcpd code is not quite what I wanted.