wollman
c5c43ce91f
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
...
<time.h>).
2000-10-10 01:50:26 +00:00
imp
180527062b
optarg and optind are declared in unistd.h.
...
h_error is declared in netdb.h
2000-09-04 05:59:25 +00:00
ru
f86fac3085
- Reflect `gateport' variable type change.
...
- Make it compile with -Wall.
PR: 18619
Submitted by: David Malone <dwmalone@maths.tcd.ie>
Reviewed by: ru
2000-06-24 15:34:31 +00:00
ume
345437204c
Make sure to use native IPv4 addrerss even if getaddrinfo()
...
returns IPv4 mapped IPv6 address. FTP is nervous about address
family.
Submitted by itojun and slightly modified to fit our ftp(1).
2000-06-14 15:26:58 +00:00
ume
80af27a32a
Don't pass scope-id to EPRT command.
...
Reviewed by: sumikawa
2000-05-25 15:27:31 +00:00
shin
0f87228bd0
Previous fix was incomplete and has problem in reverse lookup failed dest,
...
so fix it.
Approved by: jkh
Submitted by: Ian West <ian@niw.com.au>
2000-02-28 18:37:07 +00:00
shin
d693ba6b01
Correctly print out "Connected to" hostname.
...
Temporal buffer was used for the hostname and freed before actually used.
Specified by: ru
Approved by: jkh
2000-02-24 19:01:38 +00:00
ache
92446000b5
Fix several problems with EPSV (verbosity, one-per-session, missing place)
...
Approved by: jkh
2000-02-21 18:18:41 +00:00
shin
2c906dc972
Removed bogus line.
...
Specified by: ache
Approved by: jkh
2000-02-19 16:13:03 +00:00
shin
0dc6c76d54
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
shin
c83f0a97bd
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
shin
ce3ac581a3
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
shin
0a2a73d550
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
shin
4b6c4ae8e8
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
shin
49c2b4c16d
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
shin
ce15efb7c0
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
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
ru
d321f9c4e4
- 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
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