History log of /openbsd/usr.bin/ftp/ftp_var.h (Results 1 – 25 of 45)
Revision Date Author Comments
# 49dd5d56 02-Feb-2021 robert <robert@openbsd.org>

introduce support for sending the If-Modified-Since header while
fetching over http(s) and use the timestamps from the remote server's
Last-Modified header if available when saving local files
this m

introduce support for sending the If-Modified-Since header while
fetching over http(s) and use the timestamps from the remote server's
Last-Modified header if available when saving local files
this makes it possible to mirror files better with ftp(1)

the new timestamp behaviour can be disabled with the new '-u' flag

ok sthen@, input from sthen@ and gnezdo@

show more ...


# a6b0224a 01-Sep-2020 jca <jca@openbsd.org>

Fix build with -fno-common (default in clang 11)

Input and ok mortimer@


# 544013c6 18-Nov-2019 deraadt <deraadt@openbsd.org>

various knf and whitespace; ok jca


# bfd817ad 16-May-2019 florian <florian@openbsd.org>

Revert suni'ls ftp rewrite for now.
We are juggling too many things at the moment and we can't deal with
the differences in behaviour right now.


# a66db183 10-Feb-2018 jsing <jsing@openbsd.org>

Add TLS session support to ftp(1).

If a session file is specified via the `-S session=...', ftp(1) will
attempt to resume TLS sessions based on the session data contained within
this file. Upon comp

Add TLS session support to ftp(1).

If a session file is specified via the `-S session=...', ftp(1) will
attempt to resume TLS sessions based on the session data contained within
this file. Upon completion of a successful TLS handshake the session file
will be updated with new session data, if available.

Discussed with deraadt@ and beck@.

Requested by and input from espie@.

show more ...


# fe7ac6f2 21-Jan-2017 krw <krw@openbsd.org>

Nuke whitespace foolish enough to expose itself during the great
"warning:" rectification.


# c243c8e6 28-Dec-2016 deraadt <deraadt@openbsd.org>

Split -DSMALL into -DNOSSL, so that a SSL-enabled version of ftp can
be built, which is still pretty small (in distrib/special/ftp-ssl).
Lots of testing by rpe.


# 9391f203 09-Feb-2015 tedu <tedu@openbsd.org>

various defines always exist, so delete the ifdef test.
the socks support seems to be dead, since there are no other references.
also, redeclaring a standard function? that's a no-no.
custom compiles

various defines always exist, so delete the ifdef test.
the socks support seems to be dead, since there are no other references.
also, redeclaring a standard function? that's a no-no.
custom compiles with gate-ftp servers don't need to be supported either.
ok deraadt

show more ...


# b9fc9a72 16-Jan-2015 deraadt <deraadt@openbsd.org>

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

show more ...


# 61acca5f 31-Oct-2014 jsing <jsing@openbsd.org>

Update ftp(1) to use libtls instead of libressl.


# d7d58164 14-Jul-2014 jsing <jsing@openbsd.org>

Convert ftp(1) to libressl, rather than rolling in^W^Whand rolling libssl.

ok beck@ deraadt@


# aac88b91 11-Jul-2014 lteo <lteo@openbsd.org>

Allow ftp(1) to change its User-Agent for HTTP(S) URL requests using a
-U command-line option.

feedback from deraadt@, halex@, and Adam Thompson
ok deraadt@ sthen@, man page changes ok jmc@


# 4be470b4 24-Dec-2013 jca <jca@openbsd.org>

Add support for SSL/TLS server certificate validation, enabled by
default. See the documentation for the `-S' switch. This also allows
setting the preferred ciphers for the communication. Document

Add support for SSL/TLS server certificate validation, enabled by
default. See the documentation for the `-S' switch. This also allows
setting the preferred ciphers for the communication. Documentation bits
ok'ed by jmc@, ok beck@ sthen@.

show more ...


# 991943e0 30-Apr-2012 haesbaert <haesbaert@openbsd.org>

Add a -s flag to ftp(1) to let the user specify the source IP address
of the connection. This is useful for testing ftp(1) over VPN tunnels.

This -s flag is present in the other BSDs, including OS X

Add a -s flag to ftp(1) to let the user specify the source IP address
of the connection. This is useful for testing ftp(1) over VPN tunnels.

This -s flag is present in the other BSDs, including OS X.

All work was done by Lawrence Teo, thanks (-:.

ok myself mikeb

show more ...


# e7e3f67e 02-Jul-2010 deraadt <deraadt@openbsd.org>

#ifndef SMALL a few more things to save space on the ramdisks


# 7c1d16e2 30-Apr-2010 jsg <jsg@openbsd.org>

shuffle some things around to deal with incomplete types
gcc4 gets upset about.
based on suggestions from miod@, ok millert@


# b8ff3e6e 05-May-2009 martynas <martynas@openbsd.org>

make it clean removing the ifdef SMALL maze. separate cmds and
small stuff. make it a fetcher. shrinks quite a bit
agreed by millert@, krw@
ok theo, sthen@


# 2e0584bc 27-Apr-2009 martynas <martynas@openbsd.org>

remove uploading and macros support from install media; to save
some space
discussed with theo, todd@, millert@
tested and looked over by sthen@


# 77b8954d 08-Jul-2008 martynas <martynas@openbsd.org>

- add support for recursive transfers (but not for floppies), e.g.
'mget -cr 4.*' would recursively fetch (-r), and resume the previous
transfers (-c) of 4.X release directories
uses local matching (

- add support for recursive transfers (but not for floppies), e.g.
'mget -cr 4.*' would recursively fetch (-r), and resume the previous
transfers (-c) of 4.X release directories
uses local matching (fnmatch), but only for recursive transfers.
current behavior is not changed in any way.
- while here, ifndef SMALL debugging stuff, this saves some space,
for floppies
- some debugging code was enabled for non-debugging mode, checks
assume debug is set to zero, but it's not initially set
- all "Confirm with" prompts are forced, remove redundant argument
- fix usage: -C and -c are not available for SMALL

discussed a year ago w/ pyr@
looks good to millert@
previous version looked good to pyr@
man page tweaks & ok jmc@

show more ...


# 29ab5258 25-Jun-2008 martynas <martynas@openbsd.org>

in resume mode, pass -c to mget when {dir,file}hasglob, so that i'm
able to continue multiple transfers with -C; ok millert@
while here fix some comments (!SMALL vs. SMALL stuff), and add
missing


# 6de789f5 26-Nov-2007 martynas <martynas@openbsd.org>

implement -C for continuing ftp, http(s), and file transfers
ok millert@, pyr@


# e7c4842a 13-Jun-2007 pyr <pyr@openbsd.org>

Enable cookie support. This allows parsing of netscape-like cookie jars
and sending of appropriate cookies. No retrieval of new cookies is done.
Careful review and lots of input by millert and ray.

Enable cookie support. This allows parsing of netscape-like cookie jars
and sending of appropriate cookies. No retrieval of new cookies is done.
Careful review and lots of input by millert and ray.

ok millert@, ray@

show more ...


# 349a6152 16-May-2006 deraadt <deraadt@openbsd.org>

https URL support; rototilled by a few people including me; originally
from Rainer_Giedat@genua.de


# f75387cb 03-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.

show more ...


12