summaryrefslogtreecommitdiff
path: root/src/acl.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2003-07-31Added appropriate casts from (void*) so that the code will compileRobert James Kaes1-3/+5
cleanly with a C++ compiler. (Tested using GCC 3.3)
2002-06-05(acl_string_processing): Moved the string processing code out of check_acl() ↵Robert James Kaes1-31/+88
and into it's own function because it now does two (2) tests. If the ACL string is a complete host name, in other words doesn't start with a period, than a reverse DNS look-up is done on the host name and compared to the IP address of the client; otherwise, the normal text string comparison is done. (check_acl): Moved the string text out of the function and removed some logging code by jumping to the "Deny" code at the end of the function.
2002-05-23Changed the header includes around to reflect the new source layout.Robert James Kaes1-2/+2
2002-04-18Changed all calls to strdup to safestrdup. This should provide betterRobert James Kaes1-2/+2
memory usage tracking.
2002-04-17Changed the check_acl() function to require the peer IP address and stringRobert James Kaes1-11/+5
address from the calling function.
2002-04-09James Flemer cleaned up the make_netmask() function to remove the staticRobert James Kaes1-15/+3
table. Very nice.
2001-11-22Reformated text.Robert James Kaes1-15/+26
2001-11-03Tightened the string/numeric ACL checks.Robert James Kaes1-6/+13
2001-10-25Header reorganization. Basically all system headers are now included inRobert James Kaes1-3/+1
tinyproxy.h and all the other files include the tinyproxy.h header. This moves all the dependancy issues into one file.
2001-09-15Updated the authorization string.Robert James Kaes1-2/+2
2001-09-11Comment cleanup.Robert James Kaes1-2/+3
2001-09-08Changed all the mallocs and callocs to use the new safemalloc andRobert James Kaes1-2/+3
safecalloc.
2001-09-07Error message cleanup.Robert James Kaes1-3/+3
2001-05-27Renamed the access member of struct acl_s to acl_access.Robert James Kaes1-13/+13
Changed some of the types for the various variables to better reflect what they are actually being used for.
2001-05-23Make the netmask static and include the asserts.Robert James Kaes1-2/+8
2000-09-26Updated the free() calls to the safefree() calls.Robert James Kaes1-3/+3
2000-09-12Improvied access control semantics. Allows for a finger control forRobert James Kaes1-0/+214
allowing and denying hosts.