/[hydra]/hydra/ChangeLog
ViewVC logotype

Annotation of /hydra/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.19 - (hide annotations)
Wed Oct 2 08:57:04 2002 UTC (21 years, 6 months ago) by nmav
Branch: MAIN
Changes since 1.18: +2 -2 lines
*** empty log message ***

1 nmav 1.18 ** Changes from 0.0.4 to 0.0.5
2     * If a requested CGI is not accesible then send 404 not found, instead
3     of trying to execute it.
4 nmav 1.19 * Corrected several stuff in HIC CGI handler. This allows Cookies,
5     POST data and Queries to work properly.
6 nmav 1.18
7 nmav 1.17 ** Changes from 0.0.3 to 0.0.4 - 30/09/2002
8 nmav 1.14 * Added support for If-Range, If-Match, If-None-Match HTTP/1.1 header
9     fields. The server also generates ETag headers for static content using
10 nmav 1.15 the last modified field of the file, and the file size. This makes
11     Hydra cache friendly.
12 nmav 1.16 * Added support for multiple HIC threads. This gives a boost to script generation
13     since they are not generated sequentially.
14 nmav 1.14
15 nmav 1.13 ** Changes from 0.0.2 to 0.0.3 - 28/09/2002
16 nmav 1.11 * Added support for dynamic modules that handle CGIs
17     internally (HIC). That way Hydra can run PHP.
18     * Fixes in CGI execution. CGIs that are not passed from aliasing
19     functions now properly set PATH_INFO and PATH_TRANSLATED.
20     (Needs further cleanup).
21 nmav 1.12 * Cleaned up SSL support. Now hydra can be compiled even if gnutls
22     is not available.
23 nmav 1.11
24 nmav 1.9 ** Changes from Boa/0.94.13 to Hydra/0.0.2 - 26/09/2002
25 nmav 1.2 * Added support for SSL 3.0 and TLS 1.0 protocols.
26     * Added support for multiple CPU's by making the server
27     run over a pool of threads.
28     * Changed the file caching code. The mmap() calls are cached until
29     the mmap list table is full.
30     * Added support for HTTP/1.1 ranges.
31 nmav 1.4 * Added support for hostname based virtual hosting.
32 nmav 1.5 Also changed the semantics of Alias, ScriptAlias and Redirect, to
33     take advantage of the host based virtual hosting.
34 nmav 1.3 * Added support for the TCP_CORK tcp option in linux.
35     * Cleaned up the CGI handling (gunzip, indexer are treated as CGIs)
36 nmav 1.10 * Enhanced grammar to handle 3 and 4 argument options.
37 nmav 1.7 * Added support for multiple directory indexes.
38     * Dropped support for gunzip.
39 nmav 1.8 * Use automake to create the distribution.
40 nmav 1.2
41 nmav 1.1 ** Changes from 0.94.12 to 0.94.13
42     * Change many instances of log_error_mesg + exit to DIE macro
43     * Change all instance of log_error_mesg (without exit) to WARN macro
44     * do a much better job of checking return values from malloc and
45     especially strdup.
46     * check results of calling umask and getrlimit
47     * server_s is no longer a global int
48     * check results of fork via switch instead of if (fork())
49     * check for getopt.h and include it if found
50     * remove unused #defines, and add WARN macro, and replace
51     many calls to log_error_mesg(..) with WARN macro
52     * fix bug in get_commonlog_time where time_offset calculation was
53     the opposite of what it should be ('-' and '+' were swapped)
54     * fix compatability bug with old and newer versions of flex/yacc
55     * add check for AC_FUNC_MMAP to configure.in
56     * fix really lame thinko in normalize_path, which would prepend the
57     results of earlier calls to results from later calls
58     * Add MaxConnections, a configuration directive which allows the
59     user to specify the maximum number of connections that Boa will
60     accept concurrently.
61     * add SERVER_ADDR and REQUEST_URI to environment of CGI
62     * handle SIGBUS during writes of data that has been memory mapped
63     * minor optimization in select.c that prevents DEAD requests from
64     being added to the block set
65     * fix bug in CGI environment script_name - closes sf.net bug #576725
66     * make 'status' variable local to requests.c, not local to every file
67     by forgetting to declare 'extern' in globals.h :-|
68     * make getsockname non-fatal, and do it every time because we may
69     need it for the CGI
70     * some minor refactoring optimizations in hash.c
71    
72     ** Changes from 0.94.11 to 0.94.12
73     * Renamed Changelog ChangeLog, and moved up to top-level directory
74     * Next 3 items due in part or whole thanks to
75     Liam Widdowson
76     * when printf'ing a pid type, force to int, because it could be
77     something else on other platforms. Should probably change it to
78     a long, and use that.
79     * backported chroot commandline support from 0.95
80     * backported support for strdup, strstr, alphasort, and scandir
81     from 0.95
82     * Fixed src/Makefile.in -- it didn't remove index_dir.o
83     * backport create_temporary_file from 0.95
84     (instead of using tmpnam)
85     * Allow non-standard date format 31 September 2000 23:59:59 GMT
86     Patch by Landon Curt Noll
87     * Skip whitespace before HTTP/major.minor
88     Adapted patch from Landon Curt Noll
89     * open /dev/null first thing (affects chrooting)
90     * properly handle sigalrm -- use sigalrm_flag and sigalrm_run
91     instead of handling the signal in the signal handler
92     * update manpage slightly
93     * send 400 BAD Request when resource does not start with '/'
94     * add grp.h to boa.h's includes -- remove from boa.c and config.c
95     * removed duplicate header includes from boa.c, config.c, get.c,
96     ip.c, request.c, response.c
97     * factor out creating the server socket and dropping privs
98     into create_server_socket and drop_privs
99     * type all functions in boa.c (except main) as static
100     * set umask after opening /dev/null
101     * tie stdin/stdout to /dev/null before commandline parse
102     * removed old, unused chroot code
103     * move builds_needs_escape earlier in the startup
104     * move fork later in the startup
105     * type all c_set_* as static in config.c
106     * don't bother trying to change uid/gid (or error if the
107     requested uid/gid doesn't exist) if not UID 0
108     * return more appropriate error code when foo.html gives
109     access denied, but foo.html.gz gives some other error
110     (essentially report error associated with foo.html, not foo.html.gz)
111     * send NOT Implemented when an unknown method is attempted
112     * always attempt a 32k read right before close
113     (stopgap until blackhole can be merged)
114     * allow more than 1 space in logline between method, resource,
115     and http version
116     * don't use inline functions
117     * update configure.in so that autoconf 2.50 doesn't complain (as much)
118     * properly use VPATH and srcdir according to autoconf docs
119     * change curly-braces to parentheses in Makefilein
120     * use $^ instead of manually listing the dependencies in Makefile.in
121     * remove tests section in Makefile.in
122     * write tags not TAGS in Makefile.in
123     * Add gethostbyname and inet_aton to function checks
124     * Add code from 0.95 which checks for socket in -lsocket,
125     inet_aton in -lresolv, and gethost{by}name in -lnsl
126     * Also remove broken bc-based "how big is an unsigned int" checks:
127     assume minimum of 32 bits and check in escape.c at runtime.
128     * Added new file: README.chroot.solaris, based on a
129     modified version by Liam Widdowson
130     * Add check_struct_for.m4, which allows us to check a structure
131     for a member (found at http://www.gnu.org/software/ac-archive/
132     authored by Wes Hardaker
133     * Call "aclocal -I ." to rebuild aclocal.m4
134     * Using new check-struct-for-member autoconf macro, check
135     for tm_gmtoff and tm_zone in struct tm -- useful in
136     portability tests for localtime.
137     * Also check sockaddr_in for structure sin_len so we can set
138     it properly.
139     * index_dir.c (which ends up in boa_indexer) can now be compiled
140     with USE_LOCALTIME, and if so, it will report the local time
141     using the timezone name. Otherwise it uses UTC time and UTC
142     timezone designation.
143     * fix buglet in mmap_cache.c which shows up when under
144     heavy load by many different files.
145     Found and squashed by Michal Kara
146     * normalize paths on Aliases, log files, server root, dirmaker
147     This makes sure that paths are 'absolute'
148     * don't generate DOCUMENT_ROOT or SERVER_ROOT,
149     CGIs have no business knowing that information
150     * if CGI, chdir to the cgi's root path
151     Bug found by Matt Callaway
152     * remove ChrootPath and PidFile directives from the parser
153     (they aren't used anyway)
154     * keep track of maximum file descriptor in use to optimize call
155     to select()
156     * apply IPv6 patch from Jari Korva
157     * optimize keep-alive copy data routine
158     * try to use memcpy instead of strcpy/strcat in more places (alias.c)
159     * update .depend file
160     * use fcntl + GET_FL to get a file descriptor's flags, then
161     add or remove only the bits we want to set. This prevents
162     accidentally setting or unsettings bits we don't have anything
163     to do with inadvertantly. (removed, at least temporarily.
164     Show me a system where it is needed -- LRD)
165     * make sure to call FD_ZERO when we handle a restart
166     * in read.c, don't call boa_perror on read failure -- socket is
167     dead or messed up anyway, no reason to try to write to it.
168     * explicit .SUFFIXES in Makefile.in
169     * boa.objdump target added
170     * use @MAKE_SET@ (for when $(MAKE) != "make")
171     * add -Wundef -Wwrite-strings -Wredundant-decls -Winline to GCC_FLAGS
172     * change Paul Phillips' and Larry Doolittle's emails in source
173     * add --disable-debug, --enable-profile, --with-dmalloc, and --with-efence
174     * test for failed-but-return-was-successful setuid:
175     http://www.securityfocus.com/bid/1322
176     * use _exit not exit in CGI child
177     * always place new keepalive request on blocked list, we can't be
178     sure of the state of the active list, and since enqueue places
179     things at the *front* of the list, it doesn't do us much good
180     to place the new request on the active list anyway.
181     * update some Copyright statements for 2002
182     * When comparing the uri to an alias, only compare if
183     the uri length is greater than or equal to the length of the alias
184     * in init_script_alias, make sure to check for document_root before
185     trying to use it
186     * script_name is now just a copy of the request, rather
187     than some complicated variation on the pathname
188     * change the way the CGI environment is handled.
189     Now, it is allocated at request allocation time, and exists
190     throughout the life of the structure.
191     * check memory allocations, etc.. when creating the static
192     CGI environment and when making new CGI environment variables
193     * wait until process_option_end to call unescape_uri, clean_pathname,
194     and translate_uri
195     * remove debian package information
196     * move RedHat packaging information to contrib
197     * remove tests -- they weren't usable anyway
198     * add some new hash routines, and use djb2 (a variant on a
199     hash algorithm popularized by Dan J. Bernstein)
200     * a side-effect of the new hash routines is a bugfix,
201     involving negative return values from hash routines.
202     This has been fixed.
203     * add a routine, show_hash_stats, which is called with other
204     statistical output via sigalarm
205     * remove some duplicate prototypes from config.c
206     * make simple_itoa take an unsigned int
207     * try to make NOBLOCK handling in compat.h compatible with Solaris
208     * make sure to update current_time before calling signal handlers
209     * alter primary loop to make sure that select gets called even
210     when there are requests that are not blocking, and call fdset_update
211     and process_requests (when appropriate) after signal handlers but
212     before select to make sure that blocked requests are still handled
213     by select after a sighup. (Thanks to Karl Olsen)
214     * pull select loop into select.c
215     * poll server socket once per active connection
216     * add send_r_service_unavailable and use it when appropriate
217     * state uptime in seconds at normal program termination
218     * include sys/fcntl.h if it is found by configure
219     * fix POST bug where a content-length < 0 would cause Boa to
220     consume its full share of CPU until killed
221     Bug report by Landon Curt Noll
222     * add CGIPath configuration variable
223     based upon a patch by Landon Curt Noll
224     * add function boa_atoi, which wraps atoi, but does not
225     accept negative values. Additionally, it checks to make sure
226     the converted value and the original value are the same, avoiding
227     issues like "124.3" -> "123" and "123abc" -=> "123".
228     Either a value is an int or it isn't - no middle ground.
229     * use boa_atoi to convert content-length from client.
230     * add new #define - SINGLE_POST_LIMIT_DEFAULT, which defines
231     (in bytes) the *default* single_post_limit.
232     * single_post_limit is now in bytes.
233     * when adding aliases, only "normalize" paths that start
234     with "./" - this is a departure from previous behavior
235     * add "?" to the list of characters that it is safe to leave unescaped
236     * clean up Makefile.in of no-longer-pertinent comments
237     * add send_r_bad_gateway and use it
238     * tie stderr to either cgi_log_fd or devnullfd - either way
239     make sure stderr is a valid filehandle before cgi execution
240     * cgi_env is no longer allocated, it's part of the struct now
241     * fix bug in CgiPath logic
242     * when unable to allocate memory for an environment variable, log it
243     * add clear_common_env, which de-allocates the cgi_common_env stuff
244     [NEVER USE THIS outside of a terminal signal handler!]
245     * don't be so wasteful of memory in normalize_path
246     * adapted fix for alias expansion from Brieuc Jeunhomme
247    
248     ** Changes from 0.94.10.1 to 0.94.11
249     * use LIBS in Makefile.in (which propagates from autoconf)
250     * properly free memory allocated by scandir in index_dir.c
251     * rearrange some header files and includes
252     * on reads and writes, don't check for -1, check for < 0
253     * include fix by William Meadows
254     for escape.c which fixes segfaults due to improper allocation
255     * above fix by William Meadows no longer needed;
256     escape.c and escape.h rewritten by Larry Doolittle -- requires
257     at least 32 bit words, but is correct (jdn's 1st attempt was faulty)
258    
259     ** Changes from 0.94.10 to 0.94.10.1
260     * Actually update the SERVER_VERSION in src/defines.h
261    
262     ** Changes from 0.94.9 to 0.94.10
263     * Fixes escaping rules
264     * Fixes segfault when directory_index is undefined and
265     directory needs to be generated
266     * adds dummy signal handlers for SIGUSR1 and SIGUSR2 (Closes SF #425921)
267     * Update documentation regarding mime.types (Closes Debian #69991)
268     * Make sure documentation builds (Closes Debian #110818)
269    
270     ** Changes from 0.94.8.3 to 0.94.9
271     * src/Makefile.in updated to take CFLAGS, LIBS, and LDFLAGS
272     from autoconf
273     * Update escaping rules with latest RFC
274     * unescape_uri skips fragments and also stop parsing at '?'
275     * Don't accept fd over FD_SETSIZE in request.c:get_request
276     * use backported documentation from 0.95
277     * make sure POST fd gets closed even on client cancel
278     * use backported index_dir.c from 0.95
279     * support subdirectories in ScriptAlias directories
280     * add SinglePostLimit (int, in Kilobytes) to config system
281     * check for ENOSPC on body write
282     * use environment variable TMP (or "/tmp" if not available),
283     and chdir there when boa exits.
284     * add 1-time-only hack to make a 32kB read at the end of a request
285     on POST or PUT
286     * close unused file descriptors (/dev/null in boa.c, and the
287     unused part of the pipes call in cgi.c)
288     * made Makefile.in VPATH happy
289    
290     ** Changes from 0.94.8.2 to 0.94.8.3
291     * Move unescape_uri *before* clean_pathname to prevent
292     encoding of / and .. in pathname
293     * wrap execution of GUNZIP in cgi.c with #ifdef GUNZIP
294     * stop parsing when fragment found in URL ('#')
295    
296     ** Changes from 0.94.8.1 to 0.94.8.2
297     * close pipes[1] in child and generate HTTP_REFERER environment
298     variable in cgi.c
299     * Minor changes to the Debian package
300    
301     ** Changes from 0.94.8 to 0.94.8.1
302     * Change umask call from (umask(0600)) to (umask(~0600))
303    
304     ** Changes from 0.94.7 to 0.94.8
305     * Fix major thinko in temp file permissions
306     * unlink temporary file immediately following creation
307     * implement maximum # of active connections at 10 less than RLIMIT_NOFILE
308     to avoid or eliminate crashes resulting from running out of
309     file descriptors
310     * Fix thinko in POST
311    
312     ** Changes from 0.94.6 to 0.94.7
313     * STDIN and STDOUT are now tied to /dev/null
314     * sets PATH_MAX to 2048 if not defined (for Hurd)
315     * core dumps (should never happen) would be located in /tmp
316     * alter behavior when select gets a EBADF
317     * add translation for the \" char -> &quot;
318     * remove use of sys_errlist. Use perror.
319     * better makedist.sh (still a stupid program though)
320    
321     ** Changes from 0.94.5 to 0.94.6
322     * Removed doc++ commenting
323     * Removed erroneous debugging statments
324     * Move some stuff out of config.c (read_config_file) to boa.c
325     * Altered some of fixup_server_root()
326     * Bug fix in get.c re: automatic gunzip
327     * Added some stubs for chroot code (*not* ready yet)
328    
329     ** Changes from 0.94.4 to 0.94.5
330     * Alteration of most of the comments and such for doc++ use
331     * Fixed buffer overflow in alias.c
332     * Fixed buffer underflow in util.c
333    
334     ** Changes from 0.94.3 to 0.94.4
335     * Better escaping of data to user, both for HTTP headers and HTML body
336     * Proper escaping of output in CGI example perl scripts
337    
338     ** Changes from 0.94.0 to 0.94.2
339     * Fixed obnoxious pipeline bug
340     * Fixed (sorta) a compilation/core bug for *BSD systems
341     Original code by Thomas Neumann
342     * Moved to GPLv2
343     * Changed manpage to section 8
344     * boa.sgml now references a .png file instead of evil .gif
345    
346     ** Changes from 0.93.19.2 to 0.94.0
347     * Added UseGMT to the configuration parser
348     * util.c commonlog now logs in Apache-style commonlog time format
349     * Remove SO_SNDBUF on-start message
350    
351     ** Changes from 0.93.19 to 0.93.19.2
352     * Changed to combined log (from NCSA access_log format) ala Drew Streib
353     * Altered POST cgi code to handle bug in Netscape
354     * SO_SNDBUF changes by Larry
355    
356     ** Changes from 0.93.17.2 to 0.93.19 (all 0.93.18.x changes inclusive)
357     * Update of some copyright statements for 99
358     * Replacement of sprintf with strlen/memcpy or strcpy/strcat
359     wherever possible
360     * Significant rearrangement in alias.c, minor functional differences
361     (some CGI environment variables handled differently)
362     * Removal of die function. Replace with log_err_mesg and exit.
363     * initial IPv6 stubs and support
364     * Move #include "config.h" to top of boa.h where it will do some good
365     * Stubs and functions for strstr and strdup
366     * Seperation of buffer code into it's own file
367     * Significant changes to cgi.c et al (cgi_header.c, etc...)
368     * Speed patches by removal of "extra" calls to time(): Use global variable!
369     * pipelining changes... it works now.
370     * require content-length from clients (ala rfc1945)
371     * alter body_read and body_write to work more efficiently with known content-length
372     * move read(2) part to *after* parsing...
373     * added support for additional header message in send_redirect_temp
374     * change use of NO_ZERO_FILL_LENGTH to offsetof() use
375     * Remove SO_REUSEADDR setting on each client socket, Paul Saab
376     * Avoid SO_SNDBUF setting if possible
377     * Large quantities of otherwise not-insignificant changes
378    
379     ** Changes from 0.93.17.2 to 0.93.17.3
380     * Put on-the-fly directories back in, stripped down from the 0.92 version
381     * Fixed DocumentRoot, ServerAdmin and ServerName null-value handling in
382     CGI environment generation
383     * Fixed argument order in Script* directives (bug introduced in 0.93.17.2)
384     * Got rid of MAX_CGI_VARS because it was not being used consistently, or
385     for that matter, at all, really.
386     * Added some more FASCIST_LOGGING to cgi.c
387     * Minor mmap patch by LRD for request.c
388    
389     ** Changes from 0.93.17.1 to 0.93.17.2
390     * Added "Listen" directive for server bind address, as most recently
391     suggested by David N. Welton
392     * Put virtualhost feature in, was experimental in 0.92q
393    
394     ** Changes from 0.93.16.2 to 0.93.17.1
395     * New config file parser (supposed to be more maintainable) (LRD)
396     * Support for "|command" and ":host:port" syntax for logfiles (untested) (LRD)
397    
398     ** Changes for the 0.93 version **
399     * Huge quantities of changes
400     * keepalive Bugfix in 0.93.16.2 by Jon Nelson
401     report by Craig Silverstein of Google fame.
402     * patch for config.h by Craig Silverstein
403     * fixed "Parent Directory" problem in boa_indexer for title "/"
404     (Debian bug #36165)
405     * More Craig Silverstein
406     modifications, namely:
407     ErrorLog (if omitted, print to stderr)
408     DocumentRoot (if omitted, can only server user-dir files)
409     DirectoryIndex (if omitted, always use DirectoryMaker)
410     MimeTypes (if omitted, don't load -- users can use AddType instead)
411    
412    
413     ** Changes from v0.92o to v0.92p **
414    
415     * Documented misbehavior of CGI, SIGHUP, short aliases, stale dircache.
416     * Documented how to patch signals.c for use on SunOS.
417     * Closed file descriptor leak when redirecting a bare directory URL to
418     one with an appended "/".
419     * Closed potential file descriptor leak if errors encountered generating
420     on-the-fly index.
421     * Cleaned up include file handling to be simultaneously compatible with
422     Linux, SunOS, HP-UX, and AIX.
423     * Supress message body for codes 302, 400, 403, 404, 500, and 501 if
424     incoming request is "HEAD".
425    
426     ** Changes from v0.91 to v0.92o **
427     (0.92o released 27 December, 1996)
428    
429     * Maintenance handover from Paul Phillips to Larry Doolittle
430     * Changed (char)NULL to '\0'
431     * Cleaned up signal handler prototypes in signals.c
432     * Modified handling of CGI environment variable PATH_TRANSLATED,
433     should now work the same as NCSA.
434     * More conservative buffer size in add_cgi_env()
435     * Build argv list for a CGI script according to spec
436     * Speedup process_header_line, eliminate potential memory leak
437     * Occasional spelling fixes and lint removal
438     * Added REMOTE_PORT env var for CGI scripts, to allow easy ident lookups
439     * Changed rfc822 time format
440     * Log timeouts and broken connections
441     * Fix mime suffix handling for filenames with multiple "."s
442     * Initialize conn->time_last, fixes bug with rapid-fire connections
443     * Performance tweak to req_write()
444     * Changed http_version from float to char[8]
445     * Rewrote on-the-fly directory generation; it works now
446     * Added user configurable dircache directory in boa.conf
447     * Fixed "simple" response bugs, including incorrect CGI handling
448     * Keepalive (HTTP/1.1 draft) support, mostly by Jon Nelson
449     * Close data_fd in 304 Not Modified flow of control
450     * Switch socket flags to non-blocking before cgi handoff
451     * Try to handle errno properly in the face of multiple errors
452     * Close fd's of all other transactions before cgi handoff
453     * Move real work for sighup and sigchld out of signal handler
454     * Fix free(req->cgi_env) in request.c
455     * Response message cleanup - better match to HTML-2.0 DTD
456     * Experimental Virtual Host code from Russ Nelson
457     * Expand buffer for escaped URI in init_get()
458     * SIGTERM triggers lame duck mode until all pending transactions complete
459     * Close and unlink temp file for POST in parent process
460    
461     ** Changes from v0.90 to v0.91 **
462    
463     * Cleaned up main while loop
464     * Optimized request line parsing
465     * Added state machine for header reads -- necessary to deal wtih
466     possibility of obtaining header data in multiple reads. This
467     also allows interactive use of server.
468     * Added 500/501 return codes for various conditions
469    
470     ** v0.90 **
471    
472     * Initial release
473    

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26