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