Release Notes

busybox-w32 version FRP-3445-g10e14d5eb was released on 2020-04-11. It is no longer current. For other release notes see:

httpd applet

The httpd web server applet has been ported to WIN32 and enabled in the default build. To serve web pages from the current directory on the default port (80) simply run:
   ~ $ httpd

The server supports Basic Authentication using plain-text passwords. Support for MD5-encrypted passwords has been ported but isn't enabled by default.

It does not support CGI or the https:// protocol.

The server can be configured using the system-wide file /etc/httpd.conf or local httpd.conf files in any served directory. The source file networking/httpd.c has some documentation. In brief:

   httpd.conf has the following format:
  
   H:/serverroot     # define the server root. It will override -h
   A:172.20.         # Allow address from 172.20.0.0/16
   A:10.0.0.0/25     # Allow any address from 10.0.0.0-10.0.0.127
   A:10.0.0.0/255.255.255.128  # Allow any address that previous set
   A:127.0.0.1       # Allow local loopback connections
   D:*               # Deny from other IP connections
   E404:/path/e404.html # /path/e404.html is the 404 (not found) error page
   I:index.html      # Show index.html when a directory is requested
   /adm:admin:setup  # Require user admin, pwd setup on urls starting with /adm/
   /adm:toor:PaSsWd  # or user toor, pwd PaSsWd on urls starting with /adm/
   .au:audio/basic   # additional mime type for audio.au files

time applet

The time applet has been ported to WIN32 and enabled in the default build. It reports elapsed, user and system time for an application:
   ~ $ time sleep 5
   real    0m 5.02s
   user    0m 0.00s
   sys     0m 0.01s
   ~ $

Sparse files

The seek=N option in dd creates a sparse file where possible.

Utilities that report file sizes, such as ls and stat report the correct size for sparse files. Thus:

   ~ $ dd if=/dev/urandom of=sparse.file bs=1k count=0 seek=2048
   0+0 records in
   0+0 records out
   ~ $ ls -ls sparse.file
   0 -rw-rw-r--    1 rmy      rmy        2097152 Mar 24 16:51 sparse.file
   ~ $ fsutil sparse queryflag sparse.file
   This file is set as sparse
   ~ $

(GitHub issue #181)

Shell read built-in

The read shell built-in has improved support for backspace, end-of-file (control-Z) and control-C in interactive mode.

Bug fixes

Changes imported from upstream

busybox-w32 has been synchronised with upstream BusyBox. The bulk of changes since the last release are the backporting of fixes to the ash shell from upstream dash. These are too numerous to document in detail but should result in improvements throughout the shell.