CHANGES revision 1.19
1$eterna: CHANGES,v 1.78 2011/11/18 01:25:11 mrg Exp $
2
3changes in bozohttpd 20140717:
4	o  properly handle SSL errors.
5
6changes in bozohttpd 20140708:
7	o  fixes for virtual host support, from rajeev_v_pillai@yahoo.com
8	o  avoid printing double errors, from shm@netbsd.org
9	o  fix a security issue in basic HTTP authentication which would allow
10	   authentication to be bypassed, from shm@netbsd.org
11
12changes in bozohttpd 20140201:
13	o  support .svg files
14	o  fix a core dump when requests timeout
15
16changes in bozohttpd 20140102:
17	o  update a few content types
18	o  add support for directly calling lua scripts to handle
19	   processes, from mbalmer@netbsd.org
20	o  properly escape generated HTML
21	o  add authentication for redirections, from martin@netbsd.org
22	o  handle chained ssl certifications, from elric@netbsd.org
23	o  add basic support for gzipped files, from elric@netbsd.org
24	o  properly escape generated URIs
25
26changes in bozohttpd 20111118:
27	o  add -P <pidfile> option, from jmmv@netbsd.org
28	o  avoid crashes with http basic auth, from pooka@netbsd.org
29	o  add support for REDIRECT_STATUS variable, from tls@netbsd.org
30	o  support .mp4 files in the default map
31	o  directory indexes with files with : are now displayed properly, from
32	   reed@netbsd.org
33	o  allow -I option to be useful in non-inetd mode as well
34
35changes in bozohttpd 20100920:
36	o  properly fully disable multi-file mode for now
37	o  fix the -t and -U options when used without the -e option, broken since
38	   the library-ifcation
39	o  be explicit that logs go to the FTP facility in syslog
40	o  use scandir() with alphasort() for sorted directory lists, from moof
41	o  fix a serious error in vhost handling; "Host:.." would allow access to
42	   the next level directory from the virtual root directory, from seanb
43	o  fix some various non standard compile time errors, from rudolf
44	o  fix dynamic CGI content maps, from rudolf
45
46changes in bozohttpd 20100617:
47	o  fix some compile issues
48	o  fix SSL mode.  from rtr
49	o  fix some cgi-bin issues, as seen with cvsweb
50	o  disable multi-file daemon mode for now, it breaks
51	o  return 404's instead of 403's when chdir of ~user dirs fail
52	o  remove "noreturn" attribute from bozo_http_error() that was
53	   causing incorrect runtime behaviour
54
55changes in bozohttpd 20100509:
56	o  major rework and clean up of internal interfaces.  move the main
57	   program into main.c, the remaining parts are useable as library.
58	   add bindings for lua.  by Alistair G. Crooks <agc@netbsd.org>
59	o  fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566325
60
61changes in bozohttpd 20090522:
62	o  avoid dying in daemon mode for some uncommon, but recoverable, errors
63	o  close leaking file descriptors for CGI and daemon mode
64	o  handle poll errors properly
65	o  don't try to handle more than one request per process yet
66	o  add subdirs for build "debug" and "small" versions
67	o  clean up a bad merge / duplicate code
68	o  make mmap() usage portable, fixes linux & ranges: support
69	o  document the -f option
70	o  daemon mode now serves 6 files per child
71
72changes in bozohttpd 20090417:
73	o  make bozohttpd internally more modular, preparing the way
74	   to handle more than one request per process
75	o  fix http-auth, set $REMOTE_USER not $REMOTEUSER.  also fix
76	   cgi-bin with cvsweb, from Holger Weiss <holger@CIS.FU-Berlin.DE>
77	o  fix an uninitialised variable use in daemon mode
78	o  fix ssl mode with newer OpenSSL
79	o  mmap large files in manageable sizes so we can serve any size file
80	o  refactor url processing to handle query strings correctly for CGI
81	   from Sergey Katsev at Coyote Point
82	o  add If-Modified-Since support, from Joerg Sonnenberger
83	   <joerg@netbsd.org>
84	o  many more manual fixes, from NetBSD
85
86changes in bozohttpd 20080303:
87	o  fix some cgi header processing, from <thelsdj@gmail.com>
88	o  add simple Range: header processing, from <bad@bsd.de>
89	o  man page fixes, from NetBSD
90	o  clean up various parts, from NetBSD
91
92changes in bozohttpd 20060710:
93	o  prefix some function names with "bozo"
94	o  align directory indexing <hr> markers
95	o  clean up some code GCC4 grumbled about
96
97changes in bozohttpd 20060517:
98	o  don't allow "/.." or "../" files
99	o  don't write ":80" into urls for the http port
100	o  fix a fd leak when fork() fails
101	o  make directory indexing mode not look so ugly
102	o  build a text version of the manual page
103	o  make "make clean" work properly
104
105changes in bozohttpd 20050410:
106	o  fix some off-by-one errors from <roland.illig@gmx.de>
107	o  properly support nph- CGI
108	o  make content maps case insensitive
109	o  fix proto header merging to include the missing comma
110	o  major source reorganisation; most features are in separate files now
111	o  new -V flag that makes unknown virtualhosts use slashdir
112	   from <rumble@ephemeral.org>
113	o  HTTP/1.x protocol headers are now properly merged for CGI
114
115changes in bozohttpd 20040808:
116	o  CGI status is now properly handled (-a flag has been removed)
117	o  CGI file upload support works
118	o  %xy translations are no longer ever applied after the first '?',
119	   ala RFC2396.  from lukem
120	o  daemon mode (-b) should no longer hang spinning forever if it
121	   sees no children.  from lukem
122	o  new .bzabsredirect file support. from <martin@netbsd.org>
123	o  return a 404 error if we see %00 or %2f (/)
124	o  don't print 2 "200" headers for CGI
125	o  support .torrent files
126
127changes in bozohttpd 20040218:
128	o  new .bzredirect file support for sane directory redirection
129	o  new -Z option that enables SSL mode, from <rtr@eterna.com.au>
130	o  the -C option has been changed to take two explicit options, rather
131	   than a single option with a space separating the suffix and the
132	   interpreter.  ``-C ".foo /path/to/bar"'' should now be written
133	   as ``-C .foo /path/to/bar''
134	o  the -M option has been changed like -C and no longer requires or
135	   supports a single argument with space-separated options
136	o  with -a, still print the 200 OK.  from <rtr@eterna.com.au>
137	o  with -r, if a .bzdirect file appears in a directory, allow direct
138	   access to this directory
139
140changes in bozohttpd 20031005:
141	o  fixes for basic authorisation.  from <ecu@ipv42.net>
142	o  always display file size in directory index mode
143	o  add .xbel, .xml & .xsl -> text/xml mappings.  from
144	   <wiz@danbala.ifoer.tuwien.ac.at>
145
146changes in bozohttpd 20030626:
147	o  fix a recent core dump when given no input
148	o  add new -r flag that ensures referrer is set to this host
149	o  fix several compile time errors with -DNO_CGIBIN_SUPPORT
150	o  fix some man page details. from lukem@wasabisystems.com
151	o  re-add a missing memset(), fixing a core dump. from lukem
152	o  support HTTP basic authorisation, disabled by default.  from lukem
153	o  print the port number in redirects and errors. from lukem
154	o  only syslog the basename of the program. from lukem
155	o  add __attribute__() format checking. from lukem
156	o  fix cgibin SCRIPT_NAME to have a leading /.  from zakj@nox.cx
157	o  simplify some code in -C to avoid a core dump.  from lukem
158	o  add a .css -> css/text entry to the content_map[].  from zakj@nox.cx
159
160changes in bozohttpd 20030409:
161	o  -d without DEBUG enabled only prints one warning and continues
162	o  one can now define the C macro SERVER_SOFTWARE when building to
163	   change the Server: header and CGI variable of the same name
164	o  add new -s flag the force logging output to stderr. from zakj@nox.cx
165	o  add new -a flag for CGI bin that stops bozohttpd from outputting
166	   any HTTP reply, the CGI program must output these.  from zakj@nox.cx
167	o  new REQUEST_URI and DATE_GMT environment variables for CGI.  from
168	   zakj@nox.cx
169	o  add a "Makefile.boot" that should work with any make program
170	o  build on linux again
171	o  fix core dumps when using -C
172
173changes in bozohttpd 20030313:
174	o  deprecate -r flag; make this the default and silently ignore -r now
175	o  add support for file extentions to call CGI programs (from lukem)
176	o  add dynamic support to add new content map entries, allowing both
177	   new file types and non /cgi-bin CGI programs to be run with the
178	   new -C "suffix cgihandler" and -M "suffix type encoding encoding11"
179	   options
180	o  in -b mode, set the http date after accept() returns, not before we
181	   call accept()
182	o  in -b mode, bind all addresses found not just the first one
183	o  unsupport old hostname API
184	o  in -b mode, set the SO_REUSEADDR socket option (lukem)
185	o  allow -x (index.html) mode to work with CGI handlers
186
187changes in bozohttpd 20021106:
188	o  add .bz2 support
189	o  properly escape <, > and & in error messages, partly from
190	   Nicolas Jombart <ecu@mariejeanne.net>
191	o  new -H flag to hide .* files in directory index mode
192	o  fix buffer reallocation when parsing a request, to avoid
193	   overflowing the buffer with carriage returns (\r)
194	o  do not decode "%XY"-style cgi-bin data beyond the "?"
195
196changes in bozohttpd 5.15 (20020913):
197	o  add .ogg support -> `application/x-ogg'
198	o  fix CGI requests with "/" in the query part
199
200changes in bozohttpd 5.14 (20020823):
201	o  allow -X mode to work for "/"
202	o  work on systems without MADV_SEQUENTIAL
203	o  make a local cut-down copy of "queue.h" (fixes linux & solaris
204	   support at the very least)
205	o  portability fixes for pre-ipv6 socket api systems (eg, solaris 7)
206	o  portability fixes for missing _PATH_DEFPATH, LOG_FTP and __progname
207	o  better documentation on virtual host support
208
209changes in bozohttpd 5.13 (20020804):
210	o  support .mp3 files (type audio/mpeg)
211	o  use stat() to find out if something is a directory, for -X mode
212
213changes in bozohttpd 5.12 (20020803):
214	o  constification
215	o  fixes & enhancements for directory index mode (-X)
216
217changes in bozohttpd 5.11 (20020730):
218	o  more man page fixes from Thomas Klausner
219	   <wiz@danbala.ifoer.tuwien.ac.at>
220	o  de-K&R C-ification
221	o  fix Date: header for daemon mode
222	o  fix core dump when asking for /cgi-bin/ when CGI isn't configured
223	o  use a valid Server: header
224
225changes in bozohttpd 5.10 (20020710):
226	- add freebsd support 
227	- fix a couple of header typos
228	- many cgi-bin fixes from lukem@netbsd.org
229	- add -T chrootdir and -U user, plus several minor other cleanups
230	with signals and return values.  from xs@kittenz.org
231	- add -e that does not clear the environment for -T/-U
232	- fix a formatting error noticed by ISIHARA Takanori <ishit@oak.dti.ne.jp>
233
234changes in bozohttpd 5.09 (20010922):
235	- add a daemon mode
236	- document how to use bozohttpd in netbsd inetd with more than 40 
237	connections per minute and also with cgibin
238	- man page fixes from wiz@netbsd.org
239
240changes in bozohttpd 5.08 (20010812):
241	- add directory index generation support (-X) from ad@netbsd.org
242	- add .pa as an alias for .pac
243	- make server software version configurable (RFC)
244
245changes in bozohttpd 5.07 (20010610):
246	- add .png support 
247	- new "-x index.html" flag to change default file
248	- new "-p public_html" flag to change default ~user directory
249	- fixes cgi-bin support and more from chuck@research.att.com
250	- add many new content-types, now support most common ones
251
252changes in bozohttpd 5.06 (20000825):
253	- add IPv6 suppor from itojun@iijlab.net
254	- man page fixes from jlam@netbsd.org
255
256changes in bozohttpd 5.05 (20000815):
257	- fix a virtual host bug, from kleink@netbsd.org
258
259changes in bozohttpd 5.04 (20000427):
260	- fix virtual host support; URI takes precedence over Host:
261
262changes in bozohttpd 5.03 (20000427):
263	- fix a bug with chdir() 
264
265changes in bozohttpd 5.02 (20000426):
266	- .pac spport from simonb
267
268changes in bozohttpd 5.01 (20000421):
269	- .swf support 
270	- virtual hosting support 
271