"Fossies" - the Fresh Open Source Software Archive

Member "bftpd/CHANGELOG" (10 Jan 2020, 35206 Bytes) of package /linux/privat/bftpd-5.4.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "CHANGELOG": 5.3_vs_5.4.

    1 This file contains all major changes made during the development of bftpd.
    2 The uppermost change is the newest one.
    3 
    4 Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.4
    5 	- Fixed potential one-by-one heap issue when
    6           reading during transferring files. 
    7 	  Issue reported by Antonio Morales.
    8 
    9 
   10 Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.3
   11 	- Made the situation where FILE_AUTH more clear, advised
   12           against it. Added warning about making sure password
   13           file is not readable by another other than the admin.
   14 	- Updated Makefile.in to use more fine-grained dependency
   15 	  checks. Should speed up compiling when just one
   16 	  source file has been altered.
   17 	  New Makefile.in provided by Vemake.
   18 	- Fixed out of bounds memory read when fetching options.
   19           Issue reported by and solution provided by Antonio Morales.
   20 
   21 
   22 Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.2
   23 	- Make sure we do not send extra newline when DENY message
   24 	is sent to the client.
   25 	- Fixed some build dependencies in the Makefile so fresh
   26           build is triggered by updating config.h.
   27           Change provided by Vemake.
   28 
   29 Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.1
   30 	- Fixed duplicate error message when user tries to
   31           sign in with invalid username.
   32 	- Make sure user can change username before
   33 	  successfully authenticating.
   34 	- Fix error message when "type" command is not
   35           given a parameter.
   36 	- Make sure we do not return multiple error
   37 	  codes when an account is disabled.
   38 	- Do not drop connection to client when
   39 	  selected account is disabled.
   40 	- Make sure when accounts are disabled/denied, they print the
   41           proper reason (set in the config file) back to the client.
   42 
   43 Jesse Smith <jessefrgsmith@yahoo.ca> -> 5.0
   44 	- Added more checks to places where we are mapping a file
   45           or checking for symbolic links. Should avoid trying to
   46           operating on invalid path names or broken symlinks.
   47           Issue reported by Xu.
   48 
   49 Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.9
   50 	- Several checks added to chdir() and other
   51           return codes to make sure syscalls are all returning
   52           properly. Patch provided by Zhouyang Jia.
   53 	- Fixed some compiler warnings due to unused or
   54           oddly indented code.
   55 
   56 Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.8
   57 	- Fixed potential double-free bug during Bftpd shutdown.
   58 	- Fixed potential unititalized variable.
   59 	  Thanks to Alex for reporting these bugs.
   60 
   61 Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.7
   62 	- Fixed memory leak in rename function.
   63           Thanks to Alex for reporting this bug.
   64 
   65 Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.6
   66 	- Avoid memory corruption when reading config file by initalizing memory.
   67 	- Make sure CHROOT is default option, even if it is not specified
   68 	  in the config file.
   69 	  Thanks for Anton Yuzhaninov for providing the above two fixes.
   70 
   71 Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.5
   72 	- Avoid potential buffer underflow in main.c
   73 	  Thanks to Andreas for pointing out this problem.
   74 
   75 Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.4
   76 	- Fixed potential buffer overflow when
   77 	  expanding symbolic link file names.
   78 
   79 Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.3
   80 	- Clarified license (COPYING file)
   81         - Fixed compiler warning with regards to
   82           pointer-to-integer cast.
   83 
   84 Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.2
   85 	- Improved user checking code to avoid locking out
   86 	  valid users from the system.
   87 	  (Thanks to Lauri Kasanen for reporting this bug
   88            and supplying a patch.)
   89 	
   90 Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.1
   91 	- Added checks to crypt() calls to prevent
   92 	  operating on NULL pointer.
   93 	  (Thanks to Lauri Kasanen for reporting this bug.)
   94 
   95 Jesse Smith <jessefrgsmith@yahoo.ca> -> 4.0
   96 	- Added patch from Thomas Cort to make Bftpd
   97 	  compile on NetBSD.
   98 
   99 Jesse Smith <jessefrgsmith@yahoo.ca> -> 3.9
  100 	- Adjusted Makefile to allow for easy access to
  101 	  non-default compiler options. Alternative compiler
  102 	  can be used by running "make CC=compilername".
  103 	- Zhenbo Xu reported several potential memory
  104 	  bugs which could cause Bftpd if the operating
  105 	  system is out of memory. Also reported a memory
  106           leak. Checks are now in place to prevent crashes
  107 	  and the memory leak has been plugged.
  108 	- Added MINIX-specific configuration file which
  109           should allow Bftpd to run smoothly and without
  110 	  additional configuration on MINIX.
  111 	- Merged MINIX porting code into mainline Bftpd
  112 	  so we can work with one, unified code base.
  113 
  114 Jesse Smith <jessefrgsmith@yahoo.ca> -> 3.8
  115 	- Fixed bug in user tracking which could result
  116           in corrupted times on 64-bit systems.
  117 	- When Bftpd is compiled with a "prefix" (which
  118           is the default behaviour) the Bftpd will
  119 	  check both /etc/bftpd.conf AND PREFIX/etc/bftpd.conf
  120           when trying to find its configuration file.
  121           This should avoid requiring the admin to pass
  122 	  the location of the config file on the command line.
  123 
  124 
  125 Jesse Smith <jessefrgsmith@yahoo.ca> -> 3.7
  126 	- Removed CVS directory from doc folder.
  127 	- Options in the config file may now have
  128           following #comments.
  129           Reading the config file should happen a
  130           little faster too.
  131           Thanks to Zhang for reporting this issue.
  132 	- Fixed typo in re-reading config file.
  133 	  Thanks to Zhang for reporting this issue.
  134 	- When installing Bftpd the make file now
  135 	  respects the configure --prefix=/path/to/install
  136 	  flag.
  137           Thanks to Martin for reporting this bug.
  138         - Config file parser now handled multiple
  139           unexpected spaces.
  140           Thanks to Chang for reporting this issue.
  141 
  142 
  143 Jesse Smith <jessefrgsmith@yahoo.ca> -> 3.6
  144 	- Expanded home directory maximum length to 64 characters.
  145 	- Directory listing no longer hangs if the directory
  146 	  contains a named pipe.
  147 
  148 
  149 Jesse Smith <jessefrgsmith@yahoo.ca> -> 3.5
  150 	- Added explicit setting of sin_family to AF_INET to
  151 	  avoid ambiguity and possible bind errors.
  152 	  (Patch provided by Tony.)
  153 
  154 Jesse Smith <jessefrgsmith@yahoo.ca> -> 3.4
  155 	- Added configuration file option TIMEZONE_FIX. By
  156 	  default Bftpd tries to guess the time zone, working
  157 	  around the C library. When running on a system where
  158 	  the C library can correctly guess the time zone in
  159 	  a chroot environment, set TIMEZONE_FIX="no" in the
  160 	  bftpd.conf file.
  161 	- Added -v command line option which will cause
  162 	  Bftpd to display the current version and exit.
  163 
  164 
  165 Jesse Smith <jessefrgsmith@yahoo.ca> -> 3.3
  166 	- Time stamps in the log file were not correct
  167 	  after chrooting. Added time zone code to make
  168 	  sure we can calculate the correct time without
  169 	  access to system time zone info.
  170 	  (Thanks to Paul for reporting this bug.)
  171 	  
  172 
  173 Jesse Smith <jessefrgsmith@yahoo.ca> -> 3.2
  174 	- Added new value for SHOW_HIDDEN_FILES option in the
  175   	  config file. The option can now be set to "yes",
  176  	  "no" or "always". This allows admins to determine whether
  177 	  clients can see hidden files if it is requested, never
  178 	  or all the time, repectively. Please see the config file
  179 	  comments for details.
  180 	- Made sure HIDE_GROUP variable will cause files belonging
  181 	  to a given group to not be shown to the client.
  182 
  183 
  184 Jesse Smith <jessefrgsmith@yahoo.ca> -> 3.1
  185 	- Make sure default config disables anonymous login
  186 	  by default.
  187 
  188 
  189 Jesse Smith <jessefrgsmith@yahoo.ca> -> 3.0
  190 	- Updated documentation to fix links. Thanks to Xiang for
  191 	  pointing out the error.
  192 	- Added Slovak documentation, provided by Dusan.
  193 
  194 
  195 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.9
  196 	- Bftpd will attempt to create it's utmp directory
  197           if that directory does not exist. Fixes issue on
  198 	  Ubuntu where the direcotry is wiped out at each
  199 	  reboot.
  200 	- The ROOTDIR option now works properly for
  201 	  anonymous users.
  202 	  Thanks to Paul for reporting this bug.
  203 
  204 
  205 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.8
  206 	- Added patch which will allow client to see hidden
  207 	  files if the "-a" parameter is used in list commands. 
  208 	  Hidden files are only shown if SHOW_HIDDEN_FILES 
  209 	  is enabled in the config file.
  210 	  Patch provded by Raster.
  211 	- Swapped out glob function for custom directory
  212   	  search matching. Allows clients to see broken
  213 	  symbolic links if "SHOW_NONREADABLE_FILES" is set
  214 	  to "yes".
  215 	  Patch supplied by Raster.
  216 	- Added patch to clean up zombies if several children
  217 	  processes all die at the same time. We were cleaning up
  218 	  just one child per signal before.
  219 	  Patch supplied by Raster.
  220 	- Fixed typo in log error message.
  221 	- Made sure we can read user config file options
  222 	  even with unusual compile flags.
  223 	- Fixed anonymous login.
  224 	- Anonymous login disabled by default in the config file.
  225 
  226 
  227 
  228 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.7
  229 	- Added patch from Raster which returns more speicifc error
  230 	  messages to the client when a file or directory cannot be
  231 	  removed. This should avoid confusing some clients when the
  232 	  user attempts to remove a directory.
  233 	- Added checks for increased security/stability and to remove
  234 	  compiler warnings.
  235 
  236 
  237 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.6
  238 	- Removed some debugging information from the log file.
  239 	- Made certain that bandwidth log will not over-write itself
  240        	  when multiple users are logged in.
  241 	- Bandwidth log file is flushed to avoid loss of data.
  242  	- Bftpd will write to bandwidth log even if client does
  243 	  not disconnect cleanly.
  244 
  245 
  246 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.5
  247 	- Added better UTF support. Clients that check for this
  248   	  will now enable UTF-8. For example, Filezilla.
  249 	- Made sure remote admin login was disabled. This shouldn't
  250   	  have worked anyway, but disabled the feature to make sure.
  251 	- Added additional log file which tracks user bandwidth.
  252 	  See the option in the config file called BANDWIDTH.
  253 	- Updated README file to contain notes on logging.
  254 
  255 
  256 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.4
  257 	- Fixed a possible security hole which would allow
  258 	attackers to perform a DoS attack against bftpd.
  259         (Thanks to Dazhi for pointing out this problem.)
  260 
  261 
  262 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.2.1 (aka 2.3)
  263 	- Bftpd should not attempt to close stdin, stdout and stderr
  264 	if they do not exist. Fixed this in main.c.
  265 	(Patch provided by Ivan A-R.)
  266 
  267 
  268 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.2
  269 	- Bftpd does not exit when an incorrect password is given.
  270 	The server does drop connections in cases where logins are
  271 	specifically denied, full server or if an error appears in
  272 	the config file.
  273 
  274 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.1.2
  275 	- Added option to not show files in a dir list
  276 	if the file is not readable. Thanks to Eric
  277         Woltermann for sending in this patch.
  278 	By default non-readable files are not listed.
  279 	See the SHOW_NONREADABLE_FILES config option.
  280 	- Make the replace() function safer with
  281 	range checking to avoid buffer over-flow.
  282 	- Fixed calls to replace() function.
  283 	- Most string buffers now have a set size of
  284 	MAX_STRING_LENGTH, rather than some arbitraty size.
  285 	- Applied patch to allow user specific data to
  286 	be subsituted into the user MOTD file path.
  287 	The symbols %u and %h and be used in place of the
  288 	user's username and home directory in the MOTD_USER
  289 	config option.
  290 	Thanks to Eric Woltermann for submitting this patch.
  291 	- Bftpd now prompts for a password, even on anonymous
  292 	accounts to help increase compatiblity with some
  293 	web browsers.
  294 
  295 
  296 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.1.1
  297 	- Fixed directory creation so that the proper
  298 	umask is used. thanks to Thiemo for pointing
  299 	out this problem.
  300 	- Fixed buffer under-size error in options.c
  301 	Thanks to Athan for reporting this bug.
  302 
  303 
  304 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.1
  305 	- By default, the SITE command is now disabled
  306 	in the bftpd.conf file. This is to prevent
  307 	security holes and DoS attacks via "site md5 <filename>"
  308 
  309 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.0.3
  310 	- Added md5 support for amd64 machines.
  311 	- If no arch is defined for md5, assume little endian.
  312 
  313 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.0.2
  314 	- Transfer buffer size now defaults to staying the
  315 	same (max) size for all transfers. To get a variable
  316 	buffer size, change the config option CHANGE_BUFSIZE
  317 	to "yes".
  318 	- Added config file option SHOW_HIDDEN_FILES. When this
  319 	option is set to "yes", bftpd shows hidden files in directory
  320 	listings. By default this is set to "no".
  321 
  322 
  323 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.0.1
  324 	- Avoid possible segfault in replace() function
  325 	in mystring.c
  326 	- Avoid memory error in main.c using strdup()
  327 	- Avoid segfault in options.c the create_options()
  328 	- Added ability to use the SITE command to provide md5
  329 	checksums of files. (usage: site md5 filename)
  330 
  331 	Very many thanks to Ulrich Drepper and Gray Watson for
  332 	the md5 library!
  333 
  334 	- Changed ratio calculations to use double type to
  335 	allow for larger files and data transfers.
  336 	- Added HELP option to the SITE command.
  337 	(usage: site help)
  338 	- Added config file variable CHANGE_BUFSIZE. This
  339           determines whether the transfer buffer changes size.
  340           It defaults to "yes".
  341 	- Removed extra fileno() calles in file receives.
  342 
  343 
  344 
  345 Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.0
  346 	- Avoid memory error in options.c
  347 
  348 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.9.3
  349 	- Avoid segfaults in options.c and cwd.c
  350 	- Added memory checks in options.c
  351 
  352 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.9.2
  353 	- Avoid segfaults in options.c and dirlist.c
  354 
  355 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.9.1
  356 	- Avoid segfaults in options.c and main.c
  357 	
  358 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.9
  359 	- Added limits.h entry to main.c and options.c
  360 	for compatibility with FreeBSD.
  361 	(All problems with bftpd on FreeBSD were found and 
  362 	corrected by Beech of the FreeBSD team.)
  363 
  364 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.8.4
  365 	- When printing file sizes for files larger than 4GB
  366 	the file size is now displayed correctly.
  367 	- When a FTP client drops a connection without sending
  368 	an ABORT (ABOR) signal, Bftpd will detect the dropped
  369 	connection and log it. This prevents stale connections
  370 	preventing new users from connecting.
  371 	(Bug found and fixed by: Thorsten)
  372 	- Added limits.h and signal.h to list of headers used
  373 	in commands.c, for compatibility with BSD.
  374 	- Changed sighandler_t in "run_script()" to sig_t
  375 	for compatibility between Linux and BSD.
  376 	- Added OpenPAM patch from FreeBSD (login.c)
  377 	- Added limits.h include to login.c file for
  378 	compatibility with BSD.
  379 
  380 
  381 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.8.3
  382 	- If Bftpd is unable to create bftpdutmp file, an error
  383 	should now be written to the log file.
  384 	- Directory output corrected for when large files (> 2GB)
  385 	are listed.
  386 	- Documentation for xinetd config updated.
  387 
  388 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.8.2
  389 	- Changed bftpd's direcotry name to plain "bftpd"
  390 	rather than "bftpd-version". This will, hopefully, make
  391 	it easier to run scripts which build/run bftpd.
  392 
  393 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.8.1
  394 	- Avoid segfault in getoption() (options.c)
  395 	  Credit to Mats Erik Andersson for finding this bug.
  396 	- Fixed potential memory leaks in commands.c
  397 
  398 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.7.2
  399 	- Fixed serious bug which would cause bftpd to crash
  400 	while sending a file. Double-free error.
  401 	(Credit to Davide Pozza for reporting these bugs below.)
  402 	- Prevent buffer over-flow in parsecmd() when
  403 	forming confstr variable.
  404 	- Check return values of strtoul() to make sure they
  405 	do not over-flow an int.
  406 
  407 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.7.1
  408 	(Credit to Davide Pozza for reporting these bugs.)
  409 	- Avoid memory over-flow in bftpd_login (login.c)
  410 	with the str[] variable. Made size 512 + 1.
  411 	- Avoid buffer over-flow in str[] variable in
  412 	main().
  413 	- Prevent buffer over-flow in check_file_password()
  414 	when performing fscanf().
  415 	- In check_file_password() made calloc() allocate
  416 	larger buffer to prevent over-flow.
  417 	- Performed range checking on the number of users on
  418 	the system to make sure they don't over-flow a 32-bit int.
  419 	- Make sure malloc calls in commands.c do not allocate
  420 	too much or too little memory.
  421 
  422 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6.6
  423 	- Perform memory allocation check in bftpd_cwd_mappath()
  424 	- Changed a strcmp() to strcasecmp() in command_retr function.
  425 	- Performed free(mapped) at end of command_retr.
  426 	- Performed memory checks and clean-up in various functions.
  427 
  428 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6.5
  429 	- The when using the FILE_AUTH option, the text
  430 	password file can contain anonymous users. That is,
  431 	users who do not require passwords. THIS IS DANGEROUS
  432 	ON MOST SYSTEMS. A entry with the password field set to
  433 	a * (star) does not require a password. See the
  434 	config file option FILE_AUTH for more information.
  435 
  436 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6.4
  437 	- Allow ANONYMOUS_USER config file option to be used with
  438 	the FILE_AUTH option. This basically allows anyone
  439 	to login to the system without a password if both
  440 	options are used!
  441 	- When a chroot fails during login the server will
  442 	no longer tell the client which directory it was trying
  443 	to chroot to.
  444 	- When the config.h file contains a definition for
  445 	NO_GETPWNAM then the getpwnam() function is not used.
  446 	Also, this forces the use of the FILE_AUTH option. If
  447 	NO_GETPWNAM is defined and FILE_AUTH is not used, all
  448 	connections are dropped.
  449 
  450 
  451 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6.3
  452 	- Introduced option to over-ride the local/LAN
  453 	IP address assigned to the host computer. This
  454 	option takes a 4-number IP address in the format
  455 	of "127.0.3.101". See OVERRIDE_IP in bftpd.conf for
  456 	more information.
  457 	- Removed description-pak file from source tree.
  458 	- The options PRE_WRITE_SCRIPT and POST_WRITE_SCRIPT
  459 	have been added to the bftpd.conf file. These options
  460 	let you run scripts before and after any command writes
  461 	to the file system. Handy if you want to re-mount.
  462 	Please see the bftpd.conf file for details.
  463 
  464 
  465 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6.2
  466 	- When using FILE_AUTH to login, check
  467 	DO_CHROOT option before performing
  468 	a chroot().
  469 
  470 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6.1
  471 	- Removed code which uses sendfile().
  472 	The sendfile code appears to cause a
  473 	conflict on some systems when used
  474 	with 64-bit file size variables.
  475 
  476 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.6
  477 	- Released bftpd without code changes, but
  478 	with updated Polish documentation.
  479 
  480 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.5
  481 	- Added Polish documentation to website.
  482 
  483 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.4.1
  484 	- Added ability to use a plain text file
  485 	  for authentication. See config file option
  486 	  FILE_AUTH for details.
  487 
  488 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.4
  489 	- Fixed default configuration.
  490 	- Fixed compile warnings for vanilla config.
  491 
  492 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.3.2
  493 	- Fixed Makefile to erase config.cache file during
  494 	  "make clean"
  495 	- Added ability to uncompress files on the fly
  496 	  during downloads. Any file with the extension
  497 	  ".gz" can be decompressed during transfer to
  498 	  the client with the use of the GZ_DOWNLOAD
  499 	  in the config file. This option requires bftpd
  500 	  be configured (pre-compile time) with the flag
  501 	  --enable-libz.
  502 
  503 
  504 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.3.1
  505 	- Changed ratio values to unsigned long
  506 	  variables to support large files.
  507 	- Editted Makefile to allow bftpd to handle large
  508 	  files (2GB+).
  509 
  510 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.2.2
  511 	- Added ability to upload files and
  512 	  compress them into .gz files on the fly.
  513 	  See bftpd.conf file for the option.
  514 	  This option requires --enable-libz be
  515 	  used when running the configure script.
  516 
  517 	- Cleaned up code to avoid compiler warnings
  518 	  from gcc 4.0.2.
  519 	  Files changed: main.c commands.c
  520 
  521 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.2.1
  522 	- When the config file is re-read, global
  523           are changed only.   
  524           Files changes: options.c options.h
  525 
  526 
  527 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.2
  528 	- Made re-reable options be able to hold larger
  529 	  values. Up to 256 bytes/characters long.
  530 	- Replaced old rpm spec file with one from
  531 	  Joe, which will be used from now on for
  532 	  rpm builds.
  533 
  534 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.1.3
  535 	- When a child/client dies, the
  536 	  parent process will now attempt to
  537 	  remove the client's log entry
  538 	  from the bftpdutmp file. This
  539 	  should prevent stale entries.
  540 	- Changed some default values to
  541           constants in options.h
  542 	- Fixed typo(s) in bftpd.conf
  543 	- Set delete/over-write for global
  544 	  users to be disabled by default
  545           in bftpd.conf.
  546         - Added the XFER_DELAY option to
  547           the bftpd.conf file. This allows
  548           the admin to set a time delay
  549           between data transfer bursts.
  550           This aid in bandwidth throttling.
  551           Please see bftpd.conf for more
  552           details on this feature.
  553 	- Added more re-read options
  554           when catching signal SIGHUP.
  555           The re-readable options are now:
  556           HELLO_STRING, QUIT_MSG, XFERBUFSIZE,
  557           DATA_TIMEOUT, CONTROL_TIMEOUT,
  558           USERLIMIT_GLOBAL, USERLIMIT_SINGLEUSER,
  559           USERLIMIT_HOST, DENY_LOGIN and XFER_DELAY.
  560 
  561 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.1.2
  562 	- Program now catches signal SIGHUP.
  563 	- When bftpd catches the SIGHUP (hang up)
  564           it re-reads the config file. It looks
  565           for some config values, but not all.
  566           At this time, the values which are
  567           re-read are:
  568           HELLO_STRING, QUIT_MSG and XFERBUFSIZE
  569 
  570 Jesse Smith <jessefrgsmith@yahoo.ca> -> 1.1.1
  571 	- Added rpm spec file to redhat directory.
  572 	- Changed numberic string length (512) to a defined
  573           string length (MAXCMD). Makes code more
  574           compatible with main.c and uses less stack
  575           memory. File changed: commands.c
  576 	- When receiving files, the transfer buffer
  577           (XFER_BUFSIZE) is divided by the number of 
  578           connected clients. This should prevent bandwidth
  579           being sucked back by multiple connections.
  580 	- Minor fixes, checking for malloc errors,
  581           freeing memory and closing sockets.
  582           File changed: commands.c
  583         - When sending files, the transfer buffer
  584           (XFER_BUFSIZE) is divided by the number
  585           of connected clients. This should prevent
  586           bandwidth being taken over by multiple connections.
  587 	- Changed Makefile so bftpd.8 gets installed as
  588 	  a manual page in the proper location.
  589           Also updated rpm spec file to include man page.
  590 
  591 
  592 Jesse Smith <slicer69@hotmail.com> -> 1.1.0
  593 	- Changed some bftpdutmp_log(0) lines to
  594 	calls to bftpdutmp_end(). This should be safer.	
  595 	- Made sure that clients cannot write or append
  596 	to files if the "delete" command is disabled. I
  597 	think if they cannot delete the file they shouldn't
  598 	be allowed to truncate it to zero bytes either.
  599 	- Added reason for login failure to log file.
  600 	- Removed logging of getting user count from
  601 	temp file. Just seems to be taking up space.
  602 
  603 Jesse Smith <slicer69@hotmail.com> -> 1.0.24-2
  604 	- Added ability to block multiple connections from the
  605 	  same IP address. This will keep download managers and
  606 	  Internet Explorer from taking up multiple connections.
  607           See the new option USERLIMIT_HOST in bftpd.conf.
  608 	- Made sure that bftpd logs out stale control connections
  609 	  via added calls to bftpdutmp_log(0).
  610 	- Added alarm() calls before trying to read from
  611 	  the control socket. We shouldn't assume we are going to
  612 	  get anything.
  613 
  614 Jesse Smith <slicer69@hotmail.com> -> 1.0.24-1
  615 	- Fixed bug with NLIST command. The bftpd server should not be
  616 	  sending leading path in front of filename when using NLIST.
  617 	  File(s) affected: dirlist.c
  618 	- Added the MGET command. Allows client to receive multiple files
  619 	  with one command.
  620 	  File(s) affected: commands.c
  621 	- Added the MPUT command. Allows client to send multiple files
  622 	  to the server with one command.
  623 	  File(s) affected: commands.c
  624 
  625 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.24
  626 	- The PATH_BFTPDUTMP configuration option was added (idea by Szabo Peter
  627 	  <pts@math.bme.hu>).
  628 	- Whenever a data connection is established, the reply message now
  629 	  contains the transfer mode (idea by Szabo Peter).
  630 	- The -D, -h and -n command line options have been added (idea by Szabo
  631 	  Peter). Some code was changed to support operation without a configuration
  632 	  file.
  633 	- ATTENTION! The option LOGFILE has changed. See sample config file.
  634 	- In daemon mode, bftpd closes its sockets correctly now (important if you
  635 	  have a lot of connections), problem discovered by Olivier Kaloudoff.
  636 	- Fixed a bug that prevented Mozilla from getting directory lists (found
  637 	  by Marc Pauls).
  638 	- Daniel Mack fixed a memory leak in his code.
  639 	- The configuration parser handles comments better now.
  640 	- The USERLIMIT_GLOBAL configuration option has been added.
  641 	- The USERLIMIT_SINGLEUSER configuration option has been added.
  642 	- Some memory leaks discovered by David Heine <dlheine@suif.stanford.edu>
  643 	  were fixed.
  644 
  645 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.23
  646     - A serious file corruption bug using sendfile was fixed.
  647     - A makefile bug was fixed.
  648     - The AUTO_CHDIR and HIDE_GROUP configuration options were added.
  649     - A bug in the RNFR and RNTO functions has been fixed.
  650     - A bug occuring when compiling on StrongARM has been fixed.
  651     - The config file has been made more tolerant to missing spaces (error
  652       reported by Saus101 <Saus101@prime.gushi.org>).
  653     - A bug in the HELP function was fixed.
  654     - Two BSD incompatibilities have been fixed.
  655     - A STAT bug was fixed.
  656 	- bftpd now follows symlinks.
  657 	- A bug in the daemonmode code was fixed.
  658 
  659 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.22
  660     - The ALLOW_FXP configuration option has been added.
  661     - The DATA_TIMEOUT configuration option has been added.
  662     - The PASSIVE_PORTS configuration option has been added.
  663     - A control timeout bug has been fixed.
  664     - Configuration options are now written like name="value", allowing
  665       comments after the option. Directories are written like
  666       directory "/foo/bar" {. Please update your config files!
  667     - bftpdutmp logging has been implemented as well as some administration
  668       functions using it. Read the updated documentation for details on how
  669       to use them.
  670     - You needn't link gzip statically to bftpd any more if you want on-the-fly
  671       compression, but you can dynamically link against zlib instead now.
  672       The pax sources are still needed for tar on-the-fly.
  673     - A directory listing bug reported by Hendrik Harms
  674       <hendrik.harms@bigfoot.de> has been fixed.
  675 
  676 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.21
  677     - The XFER_BUFSIZE configuration option has been added, allowing tweaking
  678       of data throughput. If you and your clients are on a very fast network
  679       (fast meaning 100 Mbit/s or more), you should set this to 64000 or
  680       something like that.
  681     - The APPE command has been implemented.
  682     - The ALLO command has been implemented as an alias to NOOP.
  683     - The INITAL_CHROOT configuration option has been added. See the new
  684       example config file for details.
  685     - The ability to disable logging has been added :)
  686     - A bug making file transmissions impossible with old config files has
  687       been fixed.
  688     - A bug concerning file truncating when STORing has been fixed.
  689 
  690 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.20
  691     - The FEAT function has been implemented.
  692     - A permission bug in the STOR function has been fixed.
  693     - The UMASK configuration option can now be used directory-specifically.
  694     - The EPSV and EPRT functions have been implemented, making IPv6 support
  695       possible somewhere in the future.
  696 
  697 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.19
  698     - The NLST function has been made usable again. There has been an
  699       unnoticed bug in it since the globbing function has been implemented.
  700     - The XCWD, XCUP, XMKD, XRMD and XPWD functions have been implemented
  701       as aliases to CWD, CDUP, MKD, RMD and PWD.
  702     - The documentation is now in the SGML format, making it more extensible,
  703       hopefully.
  704     - The DATAPORT20 configuration option has been added. If set to yes,
  705       the server will open data connections from port 20, which should make
  706       firewall users happier.
  707 
  708 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.18
  709     - The configuration file has been restructured. See README for details.
  710     - The PORT configuration option has been added, allowing you to change
  711       the port number the daemon should listen on (only for daemon mode).
  712     - A workaround for the /*/../* vulnerability mentioned on Bugtraq has
  713       been added, although it's not the right thing to do, really.
  714     - Compatibility to Solaris 8 has been improved. Josh Woodcock
  715       <josh@hamparts.com> and Michael Smirnov <smb@mh.vstu.edu.ru> gave
  716       some hints.
  717     - The CONTROL_TIMEOUT configuration option has been added. You can now
  718       say after how many seconds of idle time users should be kicked.
  719     - Hashes (#) in /etc/passwd and /etc/group are now supported as comments.
  720       This improves FreeBSD compatibility, I'm not sure about other systems.
  721 
  722 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.17
  723 	- A globbing bug was fixed, making Midnight Commander able to connect
  724 	  to bftpd.
  725     - A bug which appeared when doing LIST if a group line in /etc/group
  726       had more than 256 characters was fixed.
  727     - /etc/shells and /etc/ftpusers authentication were implemented by
  728       Christophe Bailleux.
  729     - You can now indent your configuration options with tabulators.
  730     - A small problem with the ip_conntrack_ftp kernel module has been fixed,
  731       which was the fault of ip_conntrack_ftp. It was found by Erik Hensema
  732       <erik@hensema.xs4all.nl>.
  733     - ASCII transfer mode has been implemented.
  734     - You can now prevent a user from executing specific commands by using
  735       the ALLOWCOMMAND_XXXX=no option.
  736 
  737 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.16
  738 	- .tar and .gz on-the-fly support has been implemented. Look in the
  739 	  README file if you want to do that.
  740 	- Supplementary group IDs are now initialized correctly.
  741 	- PORT commands now check if the supplied IP address really belongs
  742 	  to the client, so that an attacker can't make the server connect
  743 	  to a machine in its LAN.
  744 	- A bug making the wtmp logging system unusable under BSD systems was
  745 	  fixed.
  746 	- A bug making the server crash when logging in a non-existent user
  747 	  with ANONYMOUS_USER enabled was fixed.
  748 	- A patch supplied by Christophe Bailleux was applied, changing the
  749 	  following:
  750 	    - Spaces after a command in each command string are removed.
  751 	    - The HELP command was implemented.
  752 	    - CWD to ~ now works.
  753 	  
  754 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.15
  755 	- You can override the default path to the config file with the command
  756 	  line parameter '-c'.
  757 	- wtmp logging was implemented, so that bftpd logins show up in
  758 	  commands like 'last'.
  759 	- You can have bftpd bind to only one interface, for example, if you
  760 	  want to run an FTP proxy server on the same port on another network
  761 	  interface.
  762 	- The LIST and NLST commands now support globbing.
  763 	- A security problem in the syslog code was fixed.
  764 
  765 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.14
  766 	- A lot of bugs found by Christophe Bailleux <cb@grolier.fr> have been
  767 	  fixed, as always.
  768 	- bftpd can now cope with special characters, such as umlauts.
  769 	- SITE commands are now disabled by default.
  770 	- A bug preventing resolution of GIDs on some systems has been fixed.
  771 	- Debian packages are now built for every new version.
  772 	- You can now specify if any password should fit for a particular user,
  773 	  so that you don't have to set a user's password to nothing
  774 	  (security).
  775 	- You can now turn off chroot() for particular users.
  776 
  777 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.13
  778 	- David L. Nicol <david@kasey.umkc.edu> tested bftpd on Tru64.
  779 	  He also improved the character filtering routine.
  780 	- Some RFC incompliance was fixed, improving compatibility with
  781 	  FTPExplorer and LeechFTP.
  782 	- The SIZE command was implemented.
  783 	- A bug making the server segfault when being killed was fixed.
  784 	- A buffer overflow bug found by asynchro <asynchro@pkcrew.org>,
  785       Jonathan Heusser <jonathanheusser@gyml.unibas.ch> and Christophe
  786 	  Bailleux <cb@grolier.fr> was fixed.
  787 	- The SITE CHMOD and SITE CHOWN commands were implemented. You can turn
  788 	  them off in the config file.
  789 	- A lot of useful changes proposed by Heiko Rother <rother@cmsnet.de>
  790           were made:
  791 		- Standalone mode, independent from inetd
  792     	- Better support for symbolic links
  793 		- Display of user/group name instead of UID/GID
  794 		- Ability to set the umask
  795 		- Ability to log into syslog
  796 
  797 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.12
  798 	- SmartFTP support was improved (parameters to LIST beginning with -
  799 	  are discarded).
  800 	- A buffer overflow bug found by Christophe Bailleux <cb@grolier.fr>
  801 	  was fixed.
  802 
  803 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.11
  804 	- PAM support was implemented. Specify --enable-pam while starting
  805           configure to use it.
  806 	- You can now specify users who should be unable to log in.
  807 
  808 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.10
  809 	- Applied a big patch from Daniel Mack that makes some things better,
  810       for example virtual host support, a FreeBSD correction for the
  811       directory listings, etc.
  812     - The MDTM command was implemented.
  813 
  814 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.9
  815 	- Fixed another bug preventing successful running on Solaris.
  816 	- Implemented "message of the day".
  817 	- Fixed an evil bug in string substitution.
  818 	- Fixed a bug causing the server to crash when listing an empty
  819 	  directory.
  820 	- The NLST command was implemented.
  821 
  822 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.8
  823 	- Fixed a bug that caused StarOffice not to work.
  824 	- Removed the use of a non-Posix function that prevented compiling
  825 	  on Solaris.
  826 	- Implemented an option to let root have / as his home directory
  827       independent of his real one.
  828 
  829 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.7
  830 	- The PASV command was implemented.
  831 
  832 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.6
  833 	- bftpd also compiles on FreeBSD and Solaris.
  834 	- Aliases for users can be set.
  835 	- Error messages are now printed correctly.
  836 	- "In bftpd.conf you can define if you want bftpd to use /etc/shadow"
  837 	  was removed again because it was stupid.
  838 	- Ratio was added.
  839 
  840 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.5
  841 	- ls-independant directory listing was implemented. You don't need
  842 	  special directories or files in your home directory any longer.
  843 	- Compiling works with configure for portability reasons now.
  844 	- bftpd also compiles on BSD/OS and DG-UX.
  845 	- The name of the log file can now be set in bftpd.conf.
  846 	- The RMD command was implemented.
  847 	- Internet Explorer and Netscape compatability was improved.
  848 	- The REST command was implemented.
  849 	- The ABOR command was implemented (but with very stupid code!).
  850 	- In bftpd.conf you can define if you want bftpd to use /etc/shadow.
  851 
  852 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.4
  853 	- Logging was implemented.
  854 	- A wrong error number for 'Permission denied' was fixed.
  855 
  856 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.3
  857 	- A config file and two options have been implemented: You can
  858 	  disable the server and you can disable .ftp.
  859 
  860 Max-Wilhelm Bruker <brukie@gmx.net> -> 1.0.2
  861 	- It is now checked if .ftp is a symbolic link so that users don't
  862 	  link .ftp to /.