Yoshinobu Inoue
7f14aa9b8a
Removed bogus line.
...
Specified by: ache
Approved by: jkh
2000-02-19 16:13:03 +00:00
Yoshinobu Inoue
aeb2954d05
Don't try EPSV once it failed.
...
Specified by: Andrey A. Chernov" <ache@nagual.pp.ru>
Approved by: jkh
2000-02-18 07:02:48 +00:00
Yoshinobu Inoue
1132b408c5
Add -4 and -6 options.
...
Current getaddrinfo() implemetation has a problem of too much resolving
waiting time on INET6 enabled systems.
-4 and -6 options can limit name resolving address family and is a possible
workaround for the problem.
Approved by: jkh
2000-02-15 15:11:40 +00:00
Yoshinobu Inoue
e7e960abeb
Add more dual stack consideration.
...
-Should retry as much as possible when dest addr and
source addr(specified with -s option) address family
missmatch happend
Approved by: jkh
2000-02-12 17:59:06 +00:00
Yoshinobu Inoue
319c8e321c
Fix parsing problems.
...
-"ftp hostname:/path" was not working.
- IPv6 raw addr specification was not well supported, such as,
"ftp http://\[1:2:3:4:5:6:7:8:\]/index.html "
Approved by: jkh
2000-02-12 15:16:59 +00:00
Yoshinobu Inoue
2bd54ee847
Fix several bogus bugs
...
-Some address resolving related structures were not freed after use.
-Some error messages were not printed out correctly.
Approved by: jkh
2000-02-12 15:03:05 +00:00
Yoshinobu Inoue
d98d74772f
Let ftp command use only PORT(no EPRT) for IPv4 destination.
...
Because if ftpd is invoked with -R option, and EPRT is used via firewal
or NAT which don't understand EPRT, then the data connection from ftpd
to ftp client will fail.
Reported By: ume@mahoroba.org
Approved by: jkh
2000-02-09 00:27:40 +00:00
Yoshinobu Inoue
4dd8b5ab79
another tcp apps IPv6 updates.(should be make world safe)
...
ftp, telnet, ftpd, faithd
also telnet related sync with crypto, secure, kerberosIV
Obtained from: KAME project
2000-01-27 09:28:38 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Ruslan Ermilov
f62092b8c3
- add "-s src_addr" option to allow setting of the source IP address;
...
- fix two minor bugs;
- slightly cleanup manpage.
1999-06-25 14:11:16 +00:00
Eivind Eklund
65d303887c
Better error checking.
1998-12-09 20:49:20 +00:00
Warner Losh
d352b6c59e
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
Warner Losh
a716ad6693
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
Andrey A. Chernov
8e6f104bf2
Add more (unsigned char) casts to ctype macros
1997-12-16 08:22:37 +00:00
Paul Traina
b62081305a
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
Mike Smith
5fc864b26d
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
David Greenman
e30478ed6c
Meg -> Mbytes
...
PR: 3829
Submitted by: Josh Gilliam <josh@quick.net>
1997-06-10 12:49:17 +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
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
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
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
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00