Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-24 | Updated copyright, license notices in source code | Mukund Sivaraman | |
The notices have been changed to a more GNU look. Documentation comments have been separated from the copyright header. I've tried to keep all copyright notices intact. Some author contact details have been updated. | |||
2008-03-13 | Corrected datatype of salen to fix compiler warning | Mukund Sivaraman | |
2005-08-15 | * [Indent] Ran Source Through indent | Robert James Kaes | |
I re-indented the source code using indent with the following options: indent -kr -bad -bap -nut -i8 -l80 -psl -sob -ss -ncs There are now _no_ tabs in the source files, and all indentation is eight spaces. Lines are 80 characters long, and the procedure type is on it's own line. Read the indent manual for more information about what each option means. | |||
2005-07-12 | * Specified Correct typedef in getsock_ip() | Robert James Kaes | |
Changed the variable type for the namelen variable to the correct socklen_t type. The configure script already checked for it, but for some reason I never got around to actually using it in this function. | |||
2004-04-27 | Added the "BindSame" configure directive from Oswald Buddenhagen. | Robert James Kaes | |
This allows tinyproxy to respond to a request bound to the same interface that the request came in on. As Oswald explains: "attached is a patch that adds the BindSame option. it causes binding an outgoing connection to the ip address of the respective incoming connection. that way one can simulate an entire proxy farm with a single instance of tinyproxy on a multi-homed machine." Cool. | |||
2004-02-18 | Converted the various socket functions to work with both IPv4 and IPv6 | Robert James Kaes | |
addresses. | |||
2002-10-03 | #Style formatting change. | Robert James Kaes | |
2002-05-31 | (getpeer_information): Fixed a problem retrieving the FQDN of a host because ↵ | Robert James Kaes | |
I was passing in an incorrect parameter to gethostbyaddr(). D'oh. | |||
2002-05-27 | (opensock): Changed a comment around to better state what the code is ↵ | Robert James Kaes | |
actually doing. | |||
2002-05-26 | Removed the DNS API calls and replaced them with the standard | Robert James Kaes | |
gethostbyname() and gethostbyaddr() functions. This is possible because tinyproxy now uses a standard pre-forked() method. | |||
2002-05-24 | Fixed some spelling mistakes, and removed the getpeer_ip() and | Robert James Kaes | |
getpeer_string() functions as they've been replaced by the getpeer_information() function. | |||
2002-05-23 | Changed the lookup_domain() function to use the new "dnsserver" API. | Robert James Kaes | |
Also moved safe_write(), safe_read(), readline(), and write_message() functions into their own file. | |||
2002-04-24 | bind_address has been moved inside the config structure. Fixed up a | Robert James Kaes | |
problem where "data" was being freed even if it had not been allocated (because of an error condition.) | |||
2002-04-22 | The "Bind" directive sets a binding address which the outgoing connections | Robert James Kaes | |
will use. | |||
2002-04-18 | Whoops. The previous include only had the code conditionally removed. | Robert James Kaes | |
Remove for real this time. | |||
2002-04-18 | Removed the call to inet_aton() since the gethostbyname() function handles | Robert James Kaes | |
the dotted-decimal case itself. | |||
2002-04-18 | Removed the call to hstrerror() in the getpeer_string() function. It's | Robert James Kaes | |
not available on all machines. | |||
2002-04-17 | Removed the LOOKUP_LOCK() and LOOKUP_UNLOCK() macros since I believe I | Robert James Kaes | |
need locking around both gethostbyname() and gethostbyaddr() at the same time. | |||
2002-04-16 | Tightened the lookup_domain() function. | Robert James Kaes | |
2002-04-15 | Added a test to make sure the "whole_buffer" could be allocated. | Robert James Kaes | |
2002-04-13 | Added additional error handling for the bind() and listen() system calls | Robert James Kaes | |
when setting up the listening socket. | |||
2002-04-13 | Modified the opensock() function to respect the Listen directive. If it's | Robert James Kaes | |
set, bind all outgoing addresses to this local address. | |||
2001-12-24 | Added the write_message() function (from reqs.c) | Robert James Kaes | |
2001-12-19 | Changed the calls to write() to send() so that we can use send(..., | Robert James Kaes | |
MSG_NOSIGNAL) and not get signals sent to the process. (easier for debugging and the system doesn't need to worry about signals.) | |||
2001-12-17 | Added the assert() calls to safe_write() to make sure the arguments are | Robert James Kaes | |
sane. | |||
2001-12-15 | Changed safe_write() to fully send all the data in the buffer it was | Robert James Kaes | |
passed. Also safe_write() and safe_read() now use char pointer buffers rather than the void pointer style. | |||
2001-12-15 | Added the host name lookup code (which use to be in the DNS caching | Robert James Kaes | |
system.) | |||
2001-11-25 | Add support to limit the maximum size of the input line (to 128KB which | Robert James Kaes | |
should be _more_ than enough for any header line. :) | |||
2001-11-23 | Style changes. Also replaces all mallocs with safemalloc, etc. | Robert James Kaes | |
2001-11-22 | Replaced the readline() function with a new version which has no | Robert James Kaes | |
restrictions on the length of a line (unless you fill memory of course.) Reformated the source. | |||
2001-11-12 | Changed the read() call into a recv() call with a flag of NOSIGNAL since I | Robert James Kaes | |
don't want signals messing up my calling conventions. | |||
2001-10-25 | Bit of source code clean up. | Robert James Kaes | |
2001-10-24 | Error message cleanup to make the information more informative. | Robert James Kaes | |
2001-10-23 | Fixed a spelling problem in a log message. | Robert James Kaes | |
2001-10-23 | Moved the zero-length string setting to outside the tests in getpeer_*() | Robert James Kaes | |
functions. Also added a more robust error reporting for DNS errors. | |||
2001-10-22 | Changed the getpeer_*() functions to return the reason why the name or IP | Robert James Kaes | |
address could not be looked up. | |||
2001-10-22 | Fixed a problem where a user's variable would be uninitialized if a DNS | Robert James Kaes | |
lookup failed. | |||
2001-09-16 | Moved the safe_write() and safe_read() functions here. | Robert James Kaes | |
2001-09-07 | Error message cleanup. | Robert James Kaes | |
2001-08-29 | Cleaned up the locking code to make it more fine grained. Did this since | Robert James Kaes | |
dncache.c has locking itself now. | |||
2001-05-27 | Removed the SA define. | Robert James Kaes | |
Made the sock_mutex static since it's not referenced outside the file. Changed the data types for some of the variables. Cleaned up the readline function (changed data types and removed variables.) | |||
2001-05-23 | Added ASSERT statements. | Robert James Kaes | |
2000-09-11 | Needed locking in getpeer_string(). | Robert James Kaes | |
Added mutex locking around the dnscache() call. Removed the global sockaddr and setup_fd variables. Added the socket_blocking() and socket_nonblocking() functions. Gutted the readling() function and replaced it with something similar to the 1.0 version. :) | |||
2000-03-31 | Completely rewrote the readline function. | Robert James Kaes | |
2000-02-16 | This commit was generated by cvs2svn to compensate for changes in r2, | Steven Young | |
which included commits to RCS files with non-trunk default branches. |