summaryrefslogtreecommitdiffhomepage
path: root/src/acl.c
AgeCommit message (Expand)Author
2020-09-07make acl lookup 450x faster by using sblistrofl0r
2020-09-07acl: typedef access_list to acl_list_trofl0r
2020-09-07check_acl: do full_inet_pton() only once per iprofl0r
2020-07-06fix check_acl compilation with --enable-debugxiejianjun
2019-12-21do hostname resolution only when it is absolutely necessary for ACL checkrofl0r
2011-03-04[BB#90]: Fix bug in ACL netmask generationMukund Sivaraman
2010-05-30Precompute network addresses for increased performanceMukund Sivaraman
2010-05-30Minor indent of codeMukund Sivaraman
2010-01-14check_numeric_acl() should return -1 when IPs don't match.David Shanks
2009-12-07Add access_list to the config struct instead of a global variable in acl.c.Michael Adam
2009-12-07acl: add function flush_access_list().Michael Adam
2009-11-17acl: split initialization of the access_list out into a functionMichael Adam
2009-11-10Fix a segfault in insert_acl and checks against string-type aclsMichael Adam
2009-10-10acl: Fix "comparison between signed and unsigned" warning on 32bitMichael Adam
2009-10-10Use size_t not ssize_t for len argument. This is always >= 0.Michael Adam
2009-10-09Use ssize_t for len argumentMukund Sivaraman
2009-09-28Include limits.h for LONG_MAX and LONG_MINMukund Sivaraman
2009-09-21Remove trailing comma from acl_type enumMukund Sivaraman
2009-09-20Remove inline keyword from static functionsMukund Sivaraman
2009-09-15Indent code to Tinyproxy coding styleMukund Sivaraman
2009-08-07Rename tinyproxy.[ch] to main.[ch]Mukund Sivaraman
2009-08-04check_acl(): initialize "perm" to eliminate compiler warning.Michael Adam
2009-08-04check_acl(): remove the fd argument - it is not used.Michael Adam
2009-08-04check_acl(): fix function header comment.Michael Adam
2009-08-04check_acl(): add explicit cast to return value of vector_getentry()Michael Adam
2009-08-04check_acl(): add cast to recuce compiler warning (unsigned / signed comparison)Michael Adam
2008-12-29Indenting changeMukund Sivaraman
2008-12-08Convert tabs to spacesMukund Sivaraman
2008-12-01Reformat code to GNU coding styleMukund Sivaraman
2008-08-24pos can never be less than 0 as it's of type size_tMukund Sivaraman
2008-06-17Add strtol conversion error checkingRobert James Kaes
2008-06-17Refactored netmask array fill with range checkRobert James Kaes
2008-05-24Updated copyright, license notices in source codeMukund Sivaraman
2005-08-15* [Indent] Ran Source Through indentRobert James Kaes
2005-07-12* Updated Copyright Email AddressesRobert James Kaes
2004-08-24Fixed up the acl_s structure so that it compiles correctly underRobert James Kaes
2004-08-11Completely rewrote the ACL functionality. The new system is intendedRobert James Kaes
2004-02-13Removed unnecessary casts (mostly dealing with memory allocation.) IRobert James Kaes
2003-07-31Added appropriate casts from (void*) so that the code will compileRobert James Kaes
2002-06-05(acl_string_processing): Moved the string processing code out of check_acl() ...Robert James Kaes
2002-05-23Changed the header includes around to reflect the new source layout.Robert James Kaes
2002-04-18Changed all calls to strdup to safestrdup. This should provide betterRobert James Kaes
2002-04-17Changed the check_acl() function to require the peer IP address and stringRobert James Kaes
2002-04-09James Flemer cleaned up the make_netmask() function to remove the staticRobert James Kaes
2001-11-22Reformated text.Robert James Kaes
2001-11-03Tightened the string/numeric ACL checks.Robert James Kaes
2001-10-25Header reorganization. Basically all system headers are now included inRobert James Kaes
2001-09-15Updated the authorization string.Robert James Kaes
2001-09-11Comment cleanup.Robert James Kaes
2001-09-08Changed all the mallocs and callocs to use the new safemalloc andRobert James Kaes