Commit Graph

12 Commits

Author SHA1 Message Date
Hajimu UMEMOTO
bc67101b31 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
Hajimu UMEMOTO
07da07565e Replace isurl() with isipv6addr().
Reported by:	Koji Kondo <koji@jp.above.net>
Obtained from:	NetBSD
2000-05-22 17:18:38 +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
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
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
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
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
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
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