/[hydra]/hydra/ChangeLog
ViewVC logotype

Contents of /hydra/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations)
Fri Sep 27 23:45:35 2002 UTC (19 years, 2 months ago) by nmav
Branch: MAIN
Changes since 1.10: +7 -0 lines
*** empty log message ***

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26