Commit Graph

18 Commits

Author SHA1 Message Date
Warner Losh
9b50a3ce03 Fix problem in ftp and case mapping mode where the converted string wasn't
terminated properly.  Fix is from the PR and works for the test cases I
threw at it.  Should be safe and desirable for back porting to 2.2 or
earlier if there are people still comitting to -stable.

Submitted by:	Marc Slemko <marcs@znep.com>
Closes PR:	1864
1996-12-17 17:59:40 +00:00
Jordan K. Hubbard
a378b701cb Apply a long-forgotten change to make FTP_PASSIVE_MODE just that
much more universal (in FreeBSD, anyway) in taking some of the pain
out of firewalls.
1996-11-02 18:18:38 +00:00
Poul-Henning Kamp
1dc60e2b2e Make "ftp" a synonym for "open" 1996-09-19 08:16:47 +00:00
Poul-Henning Kamp
b2420a13ab Fix a couple of file-descriptor leaks. 1996-08-23 09:33:32 +00:00
Paul Traina
ad9b7e5685 1. Remove SOCKS support (unneded with SOCKS v5 port)
2. Update quarantine port support to use new kernel mechanism.
1996-05-30 03:08:17 +00:00
Marc G. Fournier
94e99b9ffa Changed printf for reporting transfer stats from using %.2g to %.2f to
get rid of "scientific notation" reporting (PR#bin/329)

Added a switch so that if bytes/sec > 1Meg/sec, report in Meg/sec instead
of Kbytes/sec
1996-05-26 21:12:50 +00:00
Paul Traina
33bb8564be Add support for socks 1996-04-23 05:18:43 +00:00
Mike Pritchard
4a8d02835c Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
Paul Traina
4c450ad7a7 Use data ports in the range 40000..44999 by default to enhance FTP usability
in a firewall environment.  Original idea by Mark Tracy (?).

Reviewed by:	wollman
Submitted by:	pst
1995-08-05 19:12:05 +00:00
Rodney W. Grimes
7799f52a32 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
Poul-Henning Kamp
f6e018497f Use port 21 as default if getservbyname fails to find it for us. This let
us remove some crud from the install-procedure.
1995-04-20 05:38:58 +00:00
Bruce Evans
829b9f6e93 Fix checking of directory access for "/foo". The parent directory is
"/", not "".
1995-02-16 11:42:36 +00:00
Paul Traina
1dcd7de0c3 Add -p flag and pftp alias for passive ftp 1994-09-29 20:55:25 +00:00
Steven Wallace
240baf2f68 Declare fuction setpassive in file cmds.c void and update corresponding
prototype declaration in extern.h.
1994-09-18 05:45:29 +00:00
David Greenman
63f5112ede Kludge to workaround ftp coredumping when password is specified before
login in .netrc.

Submitted by:	John Kohl
1994-09-18 04:09:28 +00:00
Paul Traina
9095be3705 Add support for passive mode FTP (default off) to base FTP client to support
users behind packet filtering firewalls.
Obtained from: David Carrel <carrel@cisco.com>
1994-09-15 19:45:43 +00:00
David Greenman
f114b8260c Fixed stupid bug which prevented any command line options from being
understood.

Submitted by:	Uwe Arndt (arndt@mailhost.uni-koblenz.de)
1994-08-31 17:20:12 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00