CHANGES revision 1.1
11.1Stls$eterna: CHANGES,v 1.52 2006/05/17 08:38:49 mrg Exp $ 21.1Stls 31.1Stlschanges since bozohttpd 20050410: 41.1Stls o don't allow "/.." or "../" files 51.1Stls o don't write ":80" into urls for the http port 61.1Stls o fix a fd leak when fork() fails 71.1Stls o make directory indexing mode not look so ugly 81.1Stls o build a text version of the manual page 91.1Stls o make "make clean" work properly 101.1Stls 111.1Stlschanges since bozohttpd 20040808: 121.1Stls o fix some off-by-one errors from <roland.illig@gmx.de> 131.1Stls o properly support nph- CGI 141.1Stls o make content maps case insensitive 151.1Stls o fix proto header merging to include the missing comma 161.1Stls o major source reorganisation; most features are in separate files now 171.1Stls o new -V flag that makes unknown virtualhosts use slashdir 181.1Stls from <rumble@ephemeral.org> 191.1Stls o HTTP/1.x protocol headers are now properly merged for CGI 201.1Stls 211.1Stlschanges since bozohttpd 20040218: 221.1Stls o CGI status is now properly handled (-a flag has been removed) 231.1Stls o CGI file upload support works 241.1Stls o %xy translations are no longer ever applied after the first '?', 251.1Stls ala RFC2396. from lukem 261.1Stls o daemon mode (-b) should no longer hang spinning forever if it 271.1Stls sees no children. from lukem 281.1Stls o new .bzabsredirect file support. from <martin@netbsd.org> 291.1Stls o return a 404 error if we see %00 or %2f (/) 301.1Stls o don't print 2 "200" headers for CGI 311.1Stls o support .torrent files 321.1Stls 331.1Stlschanges since bozohttpd 20031005: 341.1Stls o new .bzredirect file support for sane directory redirection 351.1Stls o new -Z option that enables SSL mode, from <rtr@eterna.com.au> 361.1Stls o the -C option has been changed to take two explicit options, rather 371.1Stls than a single option with a space separating the suffix and the 381.1Stls interpreter. ``-C ".foo /path/to/bar"'' should now be written 391.1Stls as ``-C .foo /path/to/bar'' 401.1Stls o the -M option has been changed like -C and no longer requires or 411.1Stls supports a single argument with space-separated options 421.1Stls o with -a, still print the 200 OK. from <rtr@eterna.com.au> 431.1Stls o with -r, if a .bzdirect file appears in a directory, allow direct 441.1Stls access to this directory 451.1Stls 461.1Stlschanges since bozohttpd 20030626: 471.1Stls o fixes for basic authorisation. from <ecu@ipv42.net> 481.1Stls o always display file size in directory index mode 491.1Stls o add .xbel, .xml & .xsl -> text/xml mappings. from 501.1Stls <wiz@danbala.ifoer.tuwien.ac.at> 511.1Stls 521.1Stlschanges since bozohttpd 20030409: 531.1Stls o fix a recent core dump when given no input 541.1Stls o add new -r flag that ensures referrer is set to this host 551.1Stls o fix several compile time errors with -DNO_CGIBIN_SUPPORT 561.1Stls o fix some man page details. from lukem@wasabisystems.com 571.1Stls o re-add a missing memset(), fixing a core dump. from lukem 581.1Stls o support HTTP basic authorisation, disabled by default. from lukem 591.1Stls o print the port number in redirects and errors. from lukem 601.1Stls o only syslog the basename of the program. from lukem 611.1Stls o add __attribute__() format checking. from lukem 621.1Stls o fix cgibin SCRIPT_NAME to have a leading /. from zakj@nox.cx 631.1Stls o simplify some code in -C to avoid a core dump. from lukem 641.1Stls o add a .css -> css/text entry to the content_map[]. from zakj@nox.cx 651.1Stls 661.1Stlschanges since bozohttpd 20030313: 671.1Stls o -d without DEBUG enabled only prints one warning and continues 681.1Stls o one can now define the C macro SERVER_SOFTWARE when building to 691.1Stls change the Server: header and CGI variable of the same name 701.1Stls o add new -s flag the force logging output to stderr. from zakj@nox.cx 711.1Stls o add new -a flag for CGI bin that stops bozohttpd from outputting 721.1Stls any HTTP reply, the CGI program must output these. from zakj@nox.cx 731.1Stls o new REQUEST_URI and DATE_GMT environment variables for CGI. from 741.1Stls zakj@nox.cx 751.1Stls o add a "Makefile.boot" that should work with any make program 761.1Stls o build on linux again 771.1Stls o fix core dumps when using -C 781.1Stls 791.1Stlschanges since bozohttpd 20021106: 801.1Stls o deprecate -r flag; make this the default and silently ignore -r now 811.1Stls o add support for file extentions to call CGI programs (from lukem) 821.1Stls o add dynamic support to add new content map entries, allowing both 831.1Stls new file types and non /cgi-bin CGI programs to be run with the 841.1Stls new -C "suffix cgihandler" and -M "suffix type encoding encoding11" 851.1Stls options 861.1Stls o in -b mode, set the http date after accept() returns, not before we 871.1Stls call accept() 881.1Stls o in -b mode, bind all addresses found not just the first one 891.1Stls o unsupport old hostname API 901.1Stls o in -b mode, set the SO_REUSEADDR socket option (lukem) 911.1Stls o allow -x (index.html) mode to work with CGI handlers 921.1Stls 931.1Stlschanges since bozohttpd 5.15 (20020913): 941.1Stls o add .bz2 support 951.1Stls o properly escape <, > and & in error messages, partly from 961.1Stls Nicolas Jombart <ecu@mariejeanne.net> 971.1Stls o new -H flag to hide .* files in directory index mode 981.1Stls o fix buffer reallocation when parsing a request, to avoid 991.1Stls overflowing the buffer with carriage returns (\r) 1001.1Stls o do not decode "%XY"-style cgi-bin data beyond the "?" 1011.1Stls 1021.1Stlschanges since bozohttpd 5.14 (20020823): 1031.1Stls o add .ogg support -> `application/x-ogg' 1041.1Stls o fix CGI requests with "/" in the query part 1051.1Stls 1061.1Stlschanges since bozohttpd 5.13 (20020804): 1071.1Stls o allow -X mode to work for "/" 1081.1Stls o work on systems without MADV_SEQUENTIAL 1091.1Stls o make a local cut-down copy of "queue.h" (fixes linux & solaris 1101.1Stls support at the very least) 1111.1Stls o portability fixes for pre-ipv6 socket api systems (eg, solaris 7) 1121.1Stls o portability fixes for missing _PATH_DEFPATH, LOG_FTP and __progname 1131.1Stls o better documentation on virtual host support 1141.1Stls 1151.1Stlschanges since bozohttpd 5.12 (20020803): 1161.1Stls o support .mp3 files (type audio/mpeg) 1171.1Stls o use stat() to find out if something is a directory, for -X mode 1181.1Stls 1191.1Stlschanges since bozohttpd 5.11 (20020730): 1201.1Stls o constification 1211.1Stls o fixes & enhancements for directory index mode (-X) 1221.1Stls 1231.1Stlschanges since bozohttpd 5.10 (20020710): 1241.1Stls o more man page fixes from Thomas Klausner 1251.1Stls <wiz@danbala.ifoer.tuwien.ac.at> 1261.1Stls o de-K&R C-ification 1271.1Stls o fix Date: header for daemon mode 1281.1Stls o fix core dump when asking for /cgi-bin/ when CGI isn't configured 1291.1Stls o use a valid Server: header 1301.1Stls 1311.1Stlschanges since bozohttpd 5.09 (20010922): 1321.1Stls - add freebsd support 1331.1Stls - fix a couple of header typos 1341.1Stls - many cgi-bin fixes from lukem@netbsd.org 1351.1Stls - add -T chrootdir and -U user, plus several minor other cleanups 1361.1Stls with signals and return values. from xs@kittenz.org 1371.1Stls - add -e that does not clear the environment for -T/-U 1381.1Stls - fix a formatting error noticed by ISIHARA Takanori <ishit@oak.dti.ne.jp> 1391.1Stls 1401.1Stlschanges since bozohttpd 5.08 (20010812): 1411.1Stls - add a daemon mode 1421.1Stls - document how to use bozohttpd in netbsd inetd with more than 40 1431.1Stls connections per minute and also with cgibin 1441.1Stls - man page fixes from wiz@netbsd.org 1451.1Stls 1461.1Stlschanges since bozohttpd 5.07 (20010610): 1471.1Stls - add directory index generation support (-X) from ad@netbsd.org 1481.1Stls - add .pa as an alias for .pac 1491.1Stls - make server software version configurable (RFC) 1501.1Stls 1511.1Stlschanges since bozohttpd 5.06 (20000825): 1521.1Stls - add .png support 1531.1Stls - new "-x index.html" flag to change default file 1541.1Stls - new "-p public_html" flag to change default ~user directory 1551.1Stls - fixes cgi-bin support and more from chuck@research.att.com 1561.1Stls - add many new content-types, now support most common ones 1571.1Stls 1581.1Stlschanges since bozohttpd 5.05 (20000815): 1591.1Stls - add IPv6 suppor from itojun@iijlab.net 1601.1Stls - man page fixes from jlam@netbsd.org 1611.1Stls 1621.1Stlschanges since bozohttpd 5.04 (20000427): 1631.1Stls - fix a virtual host bug, from kleink@netbsd.org 1641.1Stls 1651.1Stlschanges since bozohttpd 5.03 (20000427): 1661.1Stls - fix virtual host support; URI takes precedence over Host: 1671.1Stls 1681.1Stlschanges since bozohttpd 5.02 (20000426): 1691.1Stls - fix a bug with chdir() 1701.1Stls 1711.1Stlschanges since bozohttpd 5.01 (20000421): 1721.1Stls - .pac spport from simonb 1731.1Stls 1741.1Stlschanges since bozohttpd 5.00 (19990519): 1751.1Stls - .swf support 1761.1Stls - virtual hosting support 1771.1Stls 178