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