| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
supports most of the previous features of FreeBSD ftp, but has been
better maintained and includes new features.
|
|
|
|
|
|
| |
PR: bin/23526
Submitted by: root@yoda.fwe.pi.musin.de
MFC after: 1 week
|
|
|
|
| |
Partially submitted by: kris
|
| |
|
|
|
|
|
|
|
|
|
|
| |
long -> off_t
fseek -> fseeko
NOTE: that fseek not works for >long offsets files per POSIX:
[EOVERFLOW] For fseek( ), the resulting file offset would be a value which
cannot be represented correctly in an object of type long.
|
|
|
|
|
|
| |
a check on the final snprintf and reduces duplicated code.
Submitted by: brian
|
| |
|
|
|
|
|
| |
Requests through a proxy are still broken for URIs that contain
blanks, since this required a bigger rewrite of the whole function.
|
|
|
|
|
|
|
|
|
|
| |
asprintf(3) when creating the request string, as the length of
a path is defined as unlimited by the standard and limiting the
total request to 4K is awfully arbitrary.
PR: 30054
Submitted by: Joseph Mallett <jmallett@xMach.org>
MFC after: 8 days
|
|
|
|
|
|
| |
o This fixes a memory leak that can occur on some URL's.
Pointy hat to: brian
|
|
|
|
| |
Mostly submitted by: bde
|
|
|
|
| |
Pointed out by: bde
|
|
|
|
| |
Pointed out by: bde
|
|
|
|
| |
MFC after: 2 weeks
|
| |
|
|
|
|
| |
with a trailing zero-width space: `e.g.\&'.
|
|
|
|
|
|
|
| |
fflush(stdout). This is one ancient PR...
PR: bin/1589
Submitted by: imp
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
PR: bin/28337
Submitted by: Koga Youichirou <y-koga@jp.freebsd.org>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
move the "for safety" zeroing of unused members of timebuf to a better
place. It actually moved the zeroing to a worse place and didn't add
necessary braces.
Fixed a nearby older bug. timebuf.tm_gmtoff was sometimes used even
when timebuf was invalid. Even when it is zeroed, a failing mktime()
might set it to nonzero.
PR: 25243
|
| |
|
| |
|
|
|
|
| |
<time.h>).
|
|
|
|
| |
PR: bin/21476
|
|
|
|
| |
h_error is declared in netdb.h
|
|
|
|
|
|
|
|
| |
this, and add a bit to the descriptions of "dir" and "nlist" to emphasize
the difference.
PR: 15408
Submitted by: Joe Smith <inwap@best.com>
|
|
|
|
|
|
|
|
| |
- Make it compile with -Wall.
PR: 18619
Submitted by: David Malone <dwmalone@maths.tcd.ie>
Reviewed by: ru
|
|
|
|
| |
Submitted by: Max Khon <fjoe@iclub.nsu.ru>
|
|
|
|
| |
Submitted by: Thomas Ludwig <tludwig@urbanet.ch>
|
|
|
|
|
|
| |
returns IPv4 mapped IPv6 address. FTP is nervous about address
family.
Submitted by itojun and slightly modified to fit our ftp(1).
|
| |
|
|
|
|
| |
Reviewed by: sumikawa
|
|
|
|
|
| |
Reported by: Koji Kondo <koji@jp.above.net>
Obtained from: NetBSD
|
| |
|
| |
|
|
|
|
|
| |
PR: docs/17099
Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
|
|
|
|
|
|
|
|
| |
so fix it.
Approved by: jkh
Submitted by: Ian West <ian@niw.com.au>
|
|
|
|
|
|
|
| |
Temporal buffer was used for the hostname and freed before actually used.
Specified by: ru
Approved by: jkh
|
|
|
|
| |
Approved by: jkh
|
|
|
|
|
| |
Specified by: ache
Approved by: jkh
|
|
|
|
|
| |
Specified by: Andrey A. Chernov" <ache@nagual.pp.ru>
Approved by: jkh
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
-Should retry as much as possible when dest addr and
source addr(specified with -s option) address family
missmatch happend
Approved by: jkh
|
|
|
|
|
|
|
|
| |
-"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
|
|
|
|
|
|
|
| |
-Some address resolving related structures were not freed after use.
-Some error messages were not printed out correctly.
Approved by: jkh
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
ftp, telnet, ftpd, faithd
also telnet related sync with crypto, secure, kerberosIV
Obtained from: KAME project
|
|
|
|
|
|
|
|
|
|
| |
a special case of memset and we already initialize all those
members of the struct tm which are required by mktime().
The memset() is only necessary for style conformity with the rest
of the file. :-)
Scenic route tour by: bde
|