Commit Graph

15 Commits

Author SHA1 Message Date
eivind
0e52448bcc Better error checking. 1998-12-09 20:49:20 +00:00
imp
573de313c0 fd_set is documented to be a typedef, not a struct. Conform more
closely to the documented interface.

Inspired-by: similar changes in OpenBSD
1998-07-26 18:49:36 +00:00
imp
8c96be00ef Don't assume that hp->h_lenght == 4. Be conservative in its use.
Submitted by:	 J. Assange a long time ago.
1998-06-09 04:31:02 +00:00
ache
57d8708b90 Add more (unsigned char) casts to ctype macros 1997-12-16 08:22:37 +00:00
pst
5ff5a36e72 Sync with NetBSD v1.3.
Keep I8N1 and quarantine port code.  Replace our security fix with NetBSD's
(their idea was better).
1997-12-13 20:38:21 +00:00
msmith
89334bc82c Import substantial improvements to ftp(1) from NetBSD, largely the
work of Luke Mewburn.

This includes, but is not limited to :

 - commandline editing and history.
 - local and remote filename completion.
 - a new progress display.
 - the ability to access files using either the ftp or http protocols,
   and use http proxies for ftp transfers.

The FreeeBSD "restricted ports" functionality was preserved.

Obtained from:	NetBSD
1997-06-25 08:56:46 +00:00
dg
a5d7fa9daa Meg -> Mbytes
PR:	3829
Submitted by:	Josh Gilliam <josh@quick.net>
1997-06-10 12:49:17 +00:00
phk
a283f65a08 Fix a couple of file-descriptor leaks. 1996-08-23 09:33:32 +00:00
pst
93cb831554 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
scrappy
0ec1a91c8d 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
pst
0e79ca4d90 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
rgrimes
a14d555c87 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
bde
5ab11f181a Fix checking of directory access for "/foo". The parent directory is
"/", not "".
1995-02-16 11:42:36 +00:00
pst
019579bbf9 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
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00