wget/src
Ander Juaristi f8901af4e0 Added support for FTPS
* doc/wget.texi: updated documentation to reflect the new FTPS functionality.
 * src/ftp-basic.c (ftp_greeting): new function to read the server's greeting.
   (ftp_login): greeting code was previously here. Moved to ftp_greeting to
   support FTPS implicit mode.
   (ftp_auth): wrapper around the AUTH TLS command.
   (ftp_ccc): wrapper around the CCC command.
   (ftp_pbsz): wrapper around the PBSZ command.
   (ftp_prot): wraooer around the PROT command.
 * src/ftp.c (get_ftp_greeting): new static function.
   (init_control_ssl_connection): new static function to start SSL/TLS on the
   control channel.
   (getftp): added hooks to support FTPS commands (RFCs 2228 and 4217).
   (ftp_loop_internal): test for new FTPS error codes.
 * src/ftp.h: new enum 'prot_level' with available FTPS protection levels +
   prototypes of previous functions. New flag for enum 'wget_ftp_fstatus' to track
   whether the data channel has some security mechanism enabled or not.
 * src/gnutls.c (struct wgnutls_transport_context): new field 'session_data'.
   (wgnutls_close): free GnuTLS session data before exiting.
   (ssl_connect_wget): save/resume SSL/TLS session.
 * src/http.c (establish_connection): refactor ssl_connect_wget call.
   (metalink_from_http): take into account SCHEME_FTPS as well.
 * src/init.c, src/main.c, src/options.h: new command line/wgetrc options.
   (main): in recursive downloads, check for SCHEME_FTPS as well.
 * src/openssl.c (struct openssl_transport_context): new field 'sess'.
   (ssl_connect_wget): save/resume SSL/TLS session.
 * src/retr.c (retrieve_url): check new scheme SCHEME_FTPS.
 * src/ssl.h (ssl_connect_wget): refactor. New parameter of type 'int *'.
 * src/url.c. src/url.h: new scheme SCHEME_FTPS.
 * src/wget.h: new FTPS error codes.
 * src/metalink.h: support FTPS scheme.
2015-09-14 10:16:44 +02:00
..
DESCRIP_DEPS.MMS imported patch vms-overlay 2010-01-09 15:24:02 -08:00
DESCRIP_MODS.MMS Remove trailing empty lines 2014-06-12 18:49:15 +02:00
DESCRIP_SRC.MMS Remove trailing empty lines 2014-06-12 18:49:15 +02:00
Makefile.am Added support for HSTS. 2015-07-20 15:55:57 +02:00
build_info.c.in Assume large-file support for WINDOWS 2014-11-20 21:37:24 +01:00
connect.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
connect.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
convert.c Clarify that links are being converted. 2015-08-21 20:58:55 +02:00
convert.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
cookies.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
cookies.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
css-tokens.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
css-url.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
css-url.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
css.l maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
decc_ver.c Ensure main calls bindtextdomain 2014-06-12 18:49:14 +02:00
exits.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
exits.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
ftp-basic.c Added support for FTPS 2015-09-14 10:16:44 +02:00
ftp-ls.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
ftp-opie.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
ftp.c Added support for FTPS 2015-09-14 10:16:44 +02:00
ftp.h Added support for FTPS 2015-09-14 10:16:44 +02:00
gnutls.c Added support for FTPS 2015-09-14 10:16:44 +02:00
hash.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
hash.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
host.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
host.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
hsts.c Fix memory leaks in unit-test 2015-08-29 22:52:49 +05:30
hsts.h Added support for HSTS. 2015-07-20 15:55:57 +02:00
html-parse.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
html-parse.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
html-url.c html-url.c: Fix potential memory leaks 2015-03-14 16:48:30 +05:30
html-url.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
http-ntlm.c Remove shadowed variable in http.c 2015-05-04 21:45:26 +05:30
http-ntlm.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
http.c Added support for FTPS 2015-09-14 10:16:44 +02:00
http.h Added support for HSTS. 2015-07-20 15:55:57 +02:00
init.c Added support for FTPS 2015-09-14 10:16:44 +02:00
init.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
iri.c Fix leaks found by Coverity 2015-08-30 14:10:25 +02:00
iri.h Change function params to const in src/iri.[ch] 2015-07-01 17:15:10 +02:00
log.c Fixed #44516 -o- not logging to stdout 2015-08-16 00:20:20 +05:30
log.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
main.c Added support for FTPS 2015-09-14 10:16:44 +02:00
metalink.c Fix null pointer dereference 2015-08-30 14:17:47 +02:00
metalink.h Added support for FTPS 2015-09-14 10:16:44 +02:00
mswindows.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
mswindows.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
netrc.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
netrc.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
openssl.c Added support for FTPS 2015-09-14 10:16:44 +02:00
options.h Added support for FTPS 2015-09-14 10:16:44 +02:00
progress.c Disable progress bar when wget is backgrounded (trivial patch) 2015-09-10 10:26:29 +02:00
progress.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
ptimer.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
ptimer.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
recur.c Added support for FTPS 2015-09-14 10:16:44 +02:00
recur.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
res.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
res.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
retr.c Added support for FTPS 2015-09-14 10:16:44 +02:00
retr.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
spider.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
spider.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
ssl.h Added support for FTPS 2015-09-14 10:16:44 +02:00
sysdep.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
test.c Add unit test for parse_content_range() method 2015-08-30 21:34:32 +05:30
test.h Add unit test for parse_content_range() method 2015-08-30 21:34:32 +05:30
url.c Added support for FTPS 2015-09-14 10:16:44 +02:00
url.h Added support for FTPS 2015-09-14 10:16:44 +02:00
utils.c Fix function name collision with OpenSSL library 2015-07-24 23:52:43 +05:30
utils.h Fix function name collision with OpenSSL library 2015-07-24 23:52:43 +05:30
version.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
vms.c Remove trailing empty lines 2014-06-12 18:49:15 +02:00
warc.c Remove redundant definition of _GNU_SOURCE 2015-08-07 13:24:14 +02:00
warc.h Add more const usage to function params 2015-04-17 22:42:59 +02:00
wget.h Added support for FTPS 2015-09-14 10:16:44 +02:00