Commit graph

4 commits

Author SHA1 Message Date
wiz
24dd45c097 Update to 3.1.6, provided by Hiramatsu Yoshifumi in PR 22979.
3.1.6, 2003-08-25
  + Fixed an important bug that was causing socket leaks on Windows.
  + Added support for GCC 3.4 precompiled headers.
  + Aborting transfers is now more robust.
  + Re-fixed a problem where high ASCII characters at the NcFTP prompt
    could cause it to exit.
  + Bug fixed where timeouts may not have worked.
  + To the improved ASCII handling from 3.1.5, added another case where we
    workaround files sent by a buggy FTP server implementation whose
    files have CR+CR+LF end-of-lines.
  + More fixes related to the above, as well as few other fixes from
    Martin StorsjÃ.
  + Bug fixed where an upload filename could have been limited to 127
    characters.
  + Firewall exception hosts are no longer case sensitive.
  + Bug fixed in ncftpput's "-c" option so it works with the "-f" option
    (Thanks, ITO Tsuyoshi).
  + Ncftpbatch will now try to temporarily skip a failing host in the
  current run (Thanks, Eric Engstrom).
  + Bug fixed where a several minute delay would be incurred if you
    tried to transfer a file that did not exist.
  + For the malicious server problem that was addressed in 3.1.5, enhanced
    the fix for better compatibility with Serv-U and WS_FTP servers.

3.1.5, 2002-10-13
  + Problem fixed where a malicious or trojaned FTP server could send back
    pathnames with directories different from the directory requested.
    For example, if you did:
      cd /pub
      get *.zip
    the malicious server could
    send back a pathname like ../../../some/other/dir/filename.here
    rather than pathnames such as filename.zip and trick NcFTP into writing
    into a different local pathname if your user privileges had permission
    to write it.
    For details, see the CERT Vulnerability Note, at
      http://www.kb.cert.org/vuls/id/210409
 + Bug fixed where cd messages from remote server were not being displayed.
 + It's now possible to capture the output of the progress reports from
   ncftpget/put by redirecting descriptor(s) to a file.  Previous releases
   required a "tty" to enable progress reports.
 + Compatibility fixes for AIX, Linux, Mac OS X, IRIX 6.2 and SunOS 4.
 + Be less pedantic about incorrectly formatted multi-line responses.
 + Bug fixed where NcFTP could hang at exit.
 + For ASCII transfers, try harder to handle non-native end-of-line formats.

3.1.4, 2002-07-02
 + Bug fixed in Win32 port which could cause NcFTP to mis-parse output
   from Roxen FTP servers.
 + We now try to have ncftpbatch leave a core file for debugging if it
   exits with SIGSEGV, SIGBUS, or SIGILL.
 + Fixed(?) an elusive bug which had been present for the past few versions
   which could cause ncftpbatch to infinite loop or sleep too long.
 + New configure flag, --disable-ccdv.
 + Compatibility fixes for C++ and Linux.
 + Fixed a socket leak and a crash on Win32.
 + A few minor fixes for firewall logins (Thanks, Jochen Schnapka).
 + By default, proxy connections for PORT are no longer allowed.  This is
   mostly an extra security precaution, to eliminate cases where someone
   could hijack a data connection by connecting to us after we issue PORT
   but before the server could connect to us.
 + ncftpls now accepts a "-R" flag which is equivalent to "-x -lR".
 + Bugs fixed in configure script for our "--with-*" arguments
   (Thanks, David Kaelbling).
 + A few new firewalls (permutations of type 1).  (Thanks, Felix Buenemann)

3.1.3, 2002-03-27
 + Bug fixed on Solaris where a socket could be left in non-blocking mode.
 + Ls parsing is now more forgiving of weird /bin/ls implementations (AIX).
 + Be more lenient on broken server implementations which include extra
   blank lines in the control connection conversation.
 + Fix for ncftpget which was exiting with code 3 if URL mode was used
   and the file already existed.
 + Fix for resume prompts which in some cases was printing dates in the
   format like "Sun Feb 20:02:15 CST 2002" instead of
   "Sun Feb 24 20:02:15 CST 2002".  (I.e. the day of the month was
   missing.)
 + Compatibility fixes for IRIX 5.x and AIX 4.2.x.
 + Compatibility fixes for Cygwin
   (Thanks, Charles Wilson <cwilson AT ece.gatech.edu>).
 + Some extra debugging information is now logged to the trace logs.
 + When running the Windows bookmark editor in standalone mode, the
   program may not have launched NcFTP correctly with the selected
   bookmark (Thanks, Jochen.Erwied AT mbs-software.de).

3.1.2, 2002-01-30:
 + A fix for the local hostname detection code which could result with only
   the first character of the domain appended, rather than the entire domain
   (Thanks, Bernhard Sadlowski <sadlowsk AT mathematik.uni-bielefeld.de>).
 + Another bug fixed in local hostname detection where looking up the host
   by IP address was not done correctly.
 + Fixed a few portability problems on HP-UX 10.20 which were introduced
   in 3.1.0.
 + Fixed bug with readdir_r usage on Solaris, which could cause crashes
   when doing "put -R", among other things.
 + On Linux, use gethostbyname2_r() to specify that we only want IPv4
   addresses returned.
 + Reversing behavior from 3.1.0 where we did a shutdown() on the half
   of the socket that wasn't used.  We suspect this was causing some
   firewalls and routers to panic and assume the whole connection was
   to be closed.
 + Bug fixed where an unresolvable hostname caused a pointless connection
   attempt which would fail.
 + Shell utilities now print an error message when incompatible flags
   are used in conjunction with "-b" or "-c".
 + A few fixes for ncftpbatch.
 + Numerous fixes for SOCKS5.

3.1.1, 2001-12-23:
 + Fixed bugs with our use of gethostbyname_r/addr_r on Linux.
 + Fixed bugs with our implementation of stat64() on Windows, which caused
   problems when querying information about local directories.
 + Source distributions now include install-sh again.
 + Bug fixed with Win32 version of ncftpbookmarks, which could look
   in $HOME/.ncftp rather than $HOME/ncftp.  Many Win32 users weren't
   affected, since the HOME environment variable is not always set.

3.1.0, 2001-12-17:
+ ACCT is now always sent if the server requests it and you're going
  through the firewall.
+ Bug fixed where puts could delay a few seconds unnecessarily after
  the file had been sent.
+ Bug fixed where passwords were saved if you chose to autosave bookmarks.
  NcFTP also makes an effort to avoid saving passwords in the history
  and trace files if you foolishly use passwords on your command lines.
+ Bug fixed on Win32 port where putting a file that did not exist could
  cause a crash.
+ The "-r" (recursive) flag is back for "bgget" and "bgput".  We now spool
  the directory by creating individual spool files for each file in the
  directory, which should increase reliability and usability of this feature.
+ The binary packages should be a bit leaner, since ncftpls wasn't getting
  stripped.
+ Library optimizations should result in less unneeded code included with
  programs that use the libraries.  The binaries should be smaller as a
  result.
+ Recursive uploading has been substantially reworked.  "put -R" should now
  work better, especially on the Win32 port.  Arbitrary pathname sizes have
  also been removed, so directory trees should only be limited by available
  memory and stack space.
+ Huge number of lint fixes.  NcFTP now compiles cleanly on several
  platforms even with extra warning options enabled.
+ Large number of internal changes to the configure scripts.
+ Using my cool hack, "ccdv", in Makefiles.  Originally this became a
  necessity since some platforms could have $CFLAGS 4 or 5 lines long!
  Besides streamlining the build process so that lint warnings can
  easily be spotted, the builds are pleasing to the eye with ANSI color
  if your $TERM supports it.
+ Fixed bug where Win32 $HOME bug fixed for 3.0.4 wasn't fixed for
  ncftpbookmarks.
+ Fixes for large file support for the Win32 port.
+ Bugs fixed in Win32 port of ncftpbatch.
+ A few bug fixes for getline.
+ The default ASCII extensions list no longer include ".sh", since Sun
  apparently distributes the JDK as a shell script with binary data
  appended.

3.0.4, 2001-10-24:
+ Workaround new "feature" of glibc which defines printf as a macro if
  gcc is version 2.97 or later.
+ Bug fixed from 3.0.3 that caused ^Z (suspend) to quit ncftp when it
  was brought back to the foreground.
+ Bug fixed where large file support (LFS) was disabled on most systems.
+ New "ncftpspooler" utility program (actually a hard link to
  "ncftpbatch") serves as a "Global batch FTP job processor daemon."
+ The utility program ncftpget now has a "-c" flag like ncftpput has.
+ Utility programs can now accept more than one -W/-X/-Y option, if
  multiple commands are needed.
+ When changing directories, programs will try to change to the full path
  first, then fall back to using "change one subdir at a time" mode.
+ Bug fixed where using the "delete local file after upload" option
  and the "upload into temp file, then rename" option, the local file
  would get deleted anyway if the rename failed.
+ Compatibility fixes for HP-UX.
+ Internal limits increased to handle longer command lines and more parameters.
+ Improvement to the reliability of the Win32 version by using the
  _snprintf and _vsnprintf functions rather than sprintf and vsprintf.
+ A few more tweaks for MS-DOS pathname compatibility.
+ A tweak for better compatibility with Microsoft IIS.
+ A few tweaks for Cygwin support.
+ Fixes for --sysconfdir configure option courtesy of Christian Wiesgerber.
+ SOCKS5 is back in, but we don't support it.
+ Improved Y2K bug detection in remote servers.
+ Changed naming format for bgget/put spool files.  The contents are now
  documented; see the ncftpspooler man page.
+ Bug fixed in Win32 port which used $HOME rather than $HOME/ncftp as the
  UNIX equivalent of the $HOME/.ncftp directory.  Since most folks won't
  have a $HOME environment variable on Win32, you'll probably not notice
  the change.
2003-09-27 22:57:32 +00:00
wiz
eea2538061 Buildlinkify. 2001-12-25 20:38:00 +00:00
zuntum
070a45fd88 Update ncftp3 to version 3.0.3:
Sorry for dirty-looking list of changes but fmt didn't help much and I don't want to spend whole day
reworking it..

o Preference options can now be "file" completed on the command line with the set/show/prefs commands.
o NcFTP directory changes are now always one subdirectory at a time, for better portability on remote servers with non-UNIX filesystems.
o NcFTP tries to maintain the current directory itself, like /bin/ksh and Bash do, which means that symlinks remain part of the current working directory when possible. For example, on ftp.freesoftware.com if your current directory is /pub and you "cd linux", NcFTP will use /pub/linux as the current directory, even though the canonical directory on the server is /.0/linux. This is also useful for things like Linux's Kernel.org mirrors, so if you bgget a kernel.tar.gz file the "virtual" current directory is used rather than a specific-machine's layout.
o Mac OS X support added. No Mac or Aqua specific features yet.
o NcFTP now has an option to automatically use ASCII mode for transfers if the file's extension corresponds to a textual data file type.
o Using homegrown gl_getpass in place of getpass() and getpassphrase for all platforms, not just Windows..
o Incorporating a few getline suggestions from Ken Cox.
o Configuration tweaks for Cygwin port.
o Removed some arbitrary buffer size limits.
o Lint fixes.
o Curses configuration fixes for HP-UX.
o Shell utilities now have a "-bb" flag which is just like "-b" only the job is submitted only (and no ncftpbatch is spawned).
o More problems fixed with interaction with Windows FTP servers.
o Better compatibility with non-standard extensions to the FTP which allow for TCP Large Windows (specifically, SITE BUFSIZE).
o Win32 port had a bug which leaked file handles.
o Miscellaneous Win32 port fixes.
o Changed default anonymous password to NcFTP@, since no one really cares any more about using a real e-mail address.
o Bug fixed where some types of servers' features might not be queried.
o Fixed some inconsistencies with the -a and -A flags among NcFTP and the shell utilities. "-a" is now ASCII mode across the board, and "-A" is the flag to use for append mode (which not many people use anyway).
o Bug fixed where the flag for delete after upload (-DD) was being ignored.
o You can now do "set yes-i-know-about-NcFTPd yes" from a NcFTP prompt to get it to quit plugging NcFTPd every 7th time you run the program.
o Like the system-wide /etc/ncftp.firewall and /etc/ncftp.firewall.fixed files for global preferences, there is now the equivalent for regular preference files (/etc/ncftp.prefs_v3 and /etc/ncftp.prefs_v3.fixed).
o The ncftpbatch spool files now support some additional options for sending additional FTP commands. The options are called "pre-command", "post-command", and "per-file-command". This is useful if you need to send some odd SITE command before transfer, for example.
o Similarly, ncftpget and ncftpput have new -W/-X/-Y switches so you can send pre/each/post commands. (i.e. "-W SITE MY_WEIRD_IBM_MAINFRAME_OPTION").
o Bug fixed where NcFTP was not taking advantage of re-using a currently open host when exiting and launching ncftpbatch. If you bgget a file from within NcFTP, then exit while the host is still connected, ncftpbatch is supposed to inherit that existing context without having to reopen the host.
o When using a URL with ncftpget, you can do "-a" to have it use ASCII. Prior versions forced to you use the little-known URL syntax to specify ASCII mode (btw, example of that is "ftp://ftp.foo.com/pub/README.TXT;a")
o Bug fixed where our handling of the TCP_NODELAY option was not getting enabled.
o A few tweaks for C++ compatibility.
2001-04-24 20:39:37 +00:00
pooka
e9c65f4e56 Import ncftp3, a ftp client.
Based on package submitted by zuntum@eik.pl in pkg/11684
2001-01-17 00:18:39 +00:00