tinyproxy/src
Robert James Kaes ab574cbec0 (create_file_safely):
(pidfile_create): Changed all the error logging to write to standard error and then exit the program.  This will prevent segmentation fault problems from occurring because the log file could not be created properly.
2002-07-09 19:02:57 +00:00
..
acl.c (acl_string_processing): Moved the string processing code out of check_acl() 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. 2002-06-05 16:59:21 +00:00
acl.h Changed the check_acl() function to require the peer IP address and string 2002-04-17 20:52:45 +00:00
anonymous.c Changed the header includes around to reflect the new source layout. 2002-05-23 18:20:27 +00:00
anonymous.h Removed reference to ternary.h 2001-12-15 20:08:24 +00:00
buffer.c Fixed a tonne of spelling mistakes. 2002-05-24 04:45:32 +00:00
buffer.h Moved the definition of the struct buffer_s into the buffer.c file and out 2002-05-14 00:43:38 +00:00
child.c (child_make): Reset the various signals to the default signal handler so that the children can be properly destroyed. 2002-06-27 16:29:21 +00:00
child.h Changed from using a threading model to a standard pre-forked model. 2002-05-26 18:45:26 +00:00
common.h Removed the "pthread" related includes. 2002-05-26 18:49:19 +00:00
conns.c Fixed a tonne of spelling mistakes. 2002-05-24 04:45:32 +00:00
conns.h Added the peer's socket information to the connection structure. The 2002-05-23 18:23:29 +00:00
daemon.c Initial addition into CVS. Moves various functions relating the daemon 2002-05-23 04:39:32 +00:00
daemon.h Initial addition into CVS. Moves various functions relating the daemon 2002-05-23 04:39:32 +00:00
filter.c Added myself to the copyright since I've made a bunch of changes to this file. 2002-06-07 19:10:05 +00:00
filter.h Added code to handle the "FilterDefaultDeny" directive. The filter_set_default_policy() function is used to select the default policy (either default allow or default deny) for the filtering code. Also, the two filtering functions now support the policy code. 2002-06-07 18:36:22 +00:00
gnuregex.c Not using <defines.h> for autoconf anymore, so move back to the <config.h> 2000-09-11 23:46:42 +00:00
gnuregex.h This commit was generated by cvs2svn to compensate for changes in r2, 2000-02-16 17:32:49 +00:00
grammar.y Added the "FilterDefaultDeny" directive to allow the user to select whether the default policy of the filter is to allow everything which isn't denied, or to deny everything which isn't allowed. 2002-06-07 18:29:41 +00:00
hashmap.c Fixed a tonne of spelling mistakes. 2002-05-24 04:45:32 +00:00
hashmap.h Removed the hashmap_keys() function and added the "iterator" concept. 2002-04-25 18:55:56 +00:00
heap.c (malloc_shared_memory): Changed the static character array to include the ".XXXXXX" string already. This saves one system call when creating a temporary file name. 2002-07-09 18:52:32 +00:00
heap.h Added the malloc_shared_memory() and calloc_shared_memory() function to 2002-05-26 18:56:06 +00:00
log.c (log_message): Changed the code so that the log is opened, written, and closed whenever a message is submitted. This allows the log file to be moved away, for example a rotating the log, and yet still have the information written to the correct file name by all the children. 2002-06-15 17:37:11 +00:00
log.h Spelling changes (from thread to child.) 2002-05-26 18:55:19 +00:00
Makefile.am Removed the "dnsserver" program all together, and changed the names of 2002-05-26 18:56:43 +00:00
network.c Initial addition to CVS. Moved the network related functions into a 2002-05-23 04:41:48 +00:00
network.h Initial addition to CVS. Moved the network related functions into a 2002-05-23 04:41:48 +00:00
regexp.h Added an additional test to make sure the <regex.h> header is actually 2001-11-25 22:06:54 +00:00
reqs.c A bunch of changes from Petr Lampa that add transparent proxy support to tinyproxy. The additional code is in process_request(), but Petr also had to change around some of the other functions (like process_client_headers and handle_connection.) Note: Right now this code has not been tested, but it is believed to work. To enable run ./configure --enable-transparent-proxy 2002-06-06 20:32:30 +00:00
reqs.h Added code to support the new ConnectPort directive which is needed to 2002-04-12 17:00:42 +00:00
scanner.l Added the "FilterDefaultDeny" directive to allow the user to select whether the default policy of the filter is to allow everything which isn't denied, or to deny everything which isn't allowed. 2002-06-07 18:29:41 +00:00
sock.c (getpeer_information): Fixed a problem retrieving the FQDN of a host because I was passing in an incorrect parameter to gethostbyaddr(). D'oh. 2002-05-31 18:08:01 +00:00
sock.h Changed the lookup_domain() function to use the new "dnsserver" API. 2002-05-23 18:25:55 +00:00
stats.c Changed the tests on the return value from malloc_shared_memory() to make tinyproxy more portable, since we can't be certain that "if (!ret_value)" would actually detect a mmap() error. 2002-05-29 20:49:55 +00:00
stats.h Reformated text. 2001-11-22 00:31:10 +00:00
text.c Fixed a tonne of spelling mistakes. 2002-05-24 04:45:32 +00:00
text.h Initial addition to CVS. Moved the three "text" related functions into a 2002-05-23 04:42:30 +00:00
tinyproxy.c Renamed the "log_rotation_request" boolean to "received_sighup". 2002-06-15 17:35:03 +00:00
tinyproxy.h Removed the "logf" FILE structure from the config structure, and also renamed the "log_rotation_request" boolean to "received_sighup". 2002-06-15 17:29:59 +00:00
utils.c (create_file_safely): 2002-07-09 19:02:57 +00:00
utils.h Removed the rotate_log_files() function since I'm moving to an Apache style where the _user_ needs to move the log file themselves, and tinyproxy will continue to write to the original name. This allows more flexibility for users to determine their own log rotation scheme. 2002-06-15 17:28:19 +00:00
vector.c Fixed a tonne of spelling mistakes. 2002-05-24 04:45:32 +00:00
vector.h Added the vector module which is a vector implementation. I use it in the 2002-04-07 21:29:23 +00:00