home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Online / TinyProxy / ChangeLog < prev    next >
Text File  |  2000-03-31  |  8KB  |  210 lines

  1. 2000-03-31  Robert James Kaes  <rjkaes@flarenet.com>
  2.  
  3.     * src/reqs.c (clientreq): Removed the hack for POST methods with
  4.     regard to anonymous access.
  5.     (clientreq): fixed a bug with the request line. If the PATH was
  6.     empty, it would send an malformed request to the server. This is
  7.     checked now and if the path is empty, a "/" is used instread.
  8.  
  9.     * src/config.h (SOCK_TIMEOUT): Increased the time out to 10
  10.     seconds.
  11.  
  12.     * src/buffer.c (new_buffer): Additional initialization code for
  13.     new elements of the buffer_s structure.
  14.     (delete_buffer): Code to delete the working_* fields.
  15.  
  16.     * src/buffer.h: Added the working_string and working_length method
  17.     for use as a scratch pad in the readline function.
  18.  
  19.     * src/sock.c (readline): A major rewrite of this routine. Lines of
  20.     text are now built incrementally with a new scratch pad built into
  21.     the buffer.
  22.  
  23. 2000-03-30  Robert James Kaes  <rjkaes@flarenet.com>
  24.  
  25.     * src/Makefile.am (tinyproxy_SOURCES): include the line for the
  26.     anonymous.* files.
  27.  
  28.     * src/tinyproxy.h: removed all references to struct allowed_hdrs.
  29.  
  30.     * src/tinyproxy.c (main): removed all the old anonymous code, and
  31.     added a test for the anonymous code so the Content-Type and
  32.     Content-Length headers are allowed to pass through if the
  33.     anonymous mode is turned on. This is needed for POSTs to work.
  34.  
  35.     * src/reqs.c (anonheader): removed all the code which used the old
  36.     method of anonymous headers and replaced it using the new API.
  37.  
  38.     * src/anonymous.h:
  39.     * src/anonymous.c: Moved the anonymous header code into it's own
  40.     sections with a well defined API. Internally it uses a Ternary
  41.     Search Tree.
  42.  
  43. 2000-03-29  Robert James Kaes  <rjkaes@flarenet.com>
  44.  
  45.     * src/dnscache.c: added the <sys/types.h> header.
  46.  
  47.     * src/reqs.c (clientreq): fixed a problem with the anonymous
  48.     headers. There was a test for the POST line since we have to send
  49.     all headers at the moment to handle that (actually, that might not 
  50.     be true anymore...), but the test was incorrect and would send all 
  51.     the headers through on all requests. Fixed the test and now only
  52.     the selected headers are sent.
  53.  
  54. 2000-03-28  Robert James Kaes  <rjkaes@flarenet.com>
  55.  
  56.     * src/reqs.c (clientreq): Fixed a bug which would cause a SEGV if
  57.     the scheme was NULL. The cause was the error logging code to
  58.     report an invalid scheme. Fixed another bug with the
  59.     uri->authority. If a request in the form of
  60.     http:\\www.somewhere.com/ was entered, tinyproxy would SEGV.
  61.  
  62. 2000-03-12  Robert James Kaes  <rjkaes@flarenet.com>
  63.  
  64.     * src/tinyproxy.c: include the upstream command line option. Also,
  65.     re-organized the help to have the options in be in alphabetical
  66.     order.
  67.  
  68.     * src/reqs.c: include the code for handling the upstream proxy.
  69.  
  70.     * src/dnscache.c: removed an assert from lookup so that it can be
  71.     used as method to simply verify if a domain name is already in the
  72.     cache.
  73.  
  74.     * src/config.h: removed the defines dealing with DEFAULT_* and
  75.     UPSTREAM declarations.
  76.  
  77.     * doc/tinyproxy.8: expanded the manual to include all the
  78.     command line options. Also, organized the options in alphabetical
  79.     order.
  80.  
  81.     * acconfig.h: fixed the defines for DEFAULT_LOG, DEFAULT_PORT,
  82.     and DEFAULT_USER to have real default values.
  83.  
  84.     * configure.in: include support for upstream proxies with
  85.     the --enable-upstream option. Also, fixed the AC_MSG_CHECKING
  86.     functions to include better wording.
  87.  
  88. 1.3.2   2000/02/15
  89.     - Fixed null requests bug.
  90.     - Fixed fd leak bug.
  91.     - Fixed connptr bug.
  92.     - Updated docs.
  93.     
  94. 1.3.1    1999/12/21
  95.     - made the dns cache hashing algorithm case-insensitive.
  96.     - fixed a bug in log() that would cause it to dump garbage to
  97.           the log file when in unrestricted mode.
  98.         - this is an interim release to fix the above log() bug.
  99.  
  100. 1.3.0    1999/12/01
  101.     - autoconf enabled the source tree and moved some of the
  102.     documentation files into the proper locations. Also, added any
  103.     files which were needed to conform with the GNU autoconf directory 
  104.     structure.
  105.     - Changed the debugging code to use asserts(). I don't know if I'm 
  106.     completely happy with this. One the one hand it shrinks the size
  107.     of the executable, but on the other, it doesn't handle weird
  108.     situations in production code. It's still a toss up.
  109.     - Did a major reorganization of the source tree. The biggest
  110.     change is moving a lot of code from reqs.c into more appropriate
  111.     files.
  112.     - ANON mode is now always compiled in (since it doesn't take up
  113.     that much space) and is enabled from the command line.
  114.     - Changed the states a connection can be in, and also merged both
  115.     sockets (server/client) into one structure. Makes the code a lot
  116.     cleaner.
  117.     - Added a DNS caching mechanism. What happens it that a hash of
  118.     previously looked up names is maintained, so additional host names 
  119.     will not need to be fetched from the DNS server again. Helps on
  120.     most web pages, which have a lot of images from the same server.
  121.     - Removed the global error variable (tinyerr) by making the
  122.     functions more consistent with what they return for an error.
  123.     - Removed the global.* files and merged them back into the
  124.     tinyproxy.* source.
  125.     - Added bug fixes in reqs.c to handle bad servers, which do not
  126.     follow the basic RFC protocol (i.e. using just a LF instead of a
  127.     CRLF).
  128.     - Most of reqs.c has been changed to use the readline
  129.     function. Also, it has been organized around the new connection
  130.     states and connection structure.
  131.     - xstrstr can now be both case sensitive or insensitive. Also,
  132.     added a check to make sure the haystack is longer than the needle.
  133.  
  134. 1.2.10    1999/08/20
  135.     - Found a memory free bug in the buffer code, and also, a bug in
  136.     allocating memory for the buffer. Both could be fatal. One leaked
  137.     memory, and the other could allow all memory to be exhausted. Both
  138.     are now fixed.
  139.     - Reorganized some of the code. Moved global variables into the
  140.     proper files. Should help to eliminate them altogether someday.
  141.     - Shaun Johnson fixed a problem with compiling with syslog enabled
  142.     on a SunOS box.
  143.  
  144. 1.2.9    1999/08/17
  145.     - Changed the writebuff to more explicitly be designed to write
  146.     from the other connection's buffer. A connection reads into it's
  147.     own buffer, but write's the other connection's buffer.
  148.     - You can now specify a particular IP address to listen on. By
  149.     default, tinyproxy listens on all IP addresses.
  150.  
  151. 1.2.8.1    1999/08/13 (Internal release)
  152.     - Improved the portability by removing the daemon call and
  153.     removing the calls to index().
  154.     - added the buffer.* source into the CVS tree.
  155.  
  156. 1.2.8    1999/08/06
  157.     - Better logging of incoming connections. Now both the IP address
  158.     and the requested URL are logged.
  159.     - You can now specify that only a certain subnet is allowed to
  160.     access tinyproxy. Currently it only supports one subnet with
  161.     matching against a string with the IP address.
  162.     - a bunch of just general code clean up. Mostly stylistic stuff.
  163.  
  164. 1.2.7    1999/07/28
  165.     - Incoming connections are now logged to the log file/syslog
  166.     - An "XTinyproxy" header can now sent with each request which
  167.       includes the IP address of the client.
  168.     - Fixed some of the size of the members in the structures.
  169.     - Fixed an argument problem in listen_sock which was using the 
  170.       size of the wrong variable.
  171.  
  172. 1.2.6    1999/06/05
  173.     - Added the ability to send the HTTP requests to a proxy
  174.       server running on a different machine (or even the same
  175.       machine if you like)
  176.     - Fixed a bug in the clientreq() routine which would choke on
  177.       requests in the form of GET http://www.url.com HTTP/1.0 (thanks
  178.       to Bruno Viaris <viaris@galilee.univ-paris13.fr> for pointing
  179.       out the bug and providing the initial fix.)
  180.  
  181. 1.2.5    1999/05/21
  182.     - Now maintained by Robert James Kaes (rjkaes@flarenet.com)
  183.     - Non-blocking sockets
  184.     - Cleaned up the style, and code. Compiles cleanly with -Wall
  185.     - Logs to syslogd with -S command line argument
  186.     - Rewrote the clientreq routine to remove tonnes of code
  187.     - Removed unused routines (rstrtolower, xstrndup, readline, etc.)
  188.     - Moved the user configurable options into config.h
  189.     
  190. 1.1    1998/09/15
  191.     - Load average monitoring added
  192.     - Remote proxy monitoring added
  193.     - Added -u (change user).
  194.  
  195. 1.0d
  196.     - ANON mode now supports -a to let user-specified headers
  197.       through
  198.     - various bug fixes in readline()
  199.  
  200. 1.0c
  201.     - Support for ANON mode
  202.  
  203. 1.0b
  204.     - Cleaned up exit codes (now uses sysexits.h)
  205.     - Uses daemon() from -lbsf instead of daemonize()
  206.     - Now supports ports other than 80
  207.  
  208. 1.0a
  209.     - Created by Steven Young (sdyoung@well.com)
  210.