1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00
wget/src
Ander Juaristi b60131a399 Added support for HSTS.
* Makefile.am: Added new source files hsts.c and hsts.h.
 * http.c (parse_strict_transport_security): new function for STS header
   parsing.
   (gethttp): update the HSTS store.
 * http.h: new include "hsts.h".
 * init.c: new options --hsts and --hsts-file.
 * main.c (get_hsts_database, load_hsts, save_hsts): new functions.
   New options --no-hsts and --hsts-file added to help.
   (main): load and save HSTS store.
 * options.h: new variables for supporting --hsts and --hsts-file.
 * retr.c (retrieve_url): rewrite the URI according to the HSTS policy before
   entering http_loop.
 * test.c, test.h: new unit tests for HSTS.
 * utils.c, utils.h (countchars): new function.
 * wget.h: new preprocessor check.
 * hsts.c, hsts.h: new files with the HSTS engine implementation.

Added support for HTTP Strict Transport Security (HSTS), as defined by RFC
6797.
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 maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01: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
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
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 maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01: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 Fix timestamping and continue behaviour with ftp protocol. 2015-05-01 00:28:08 +02:00
ftp.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
gnutls.c Fix double free bug in SSL code 2015-04-27 19:48:51 +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 Added support for HSTS. 2015-07-20 15:55:57 +02:00
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 HSTS. 2015-07-20 15:55:57 +02:00
http.h Added support for HSTS. 2015-07-20 15:55:57 +02:00
init.c Added support for HSTS. 2015-07-20 15:55:57 +02:00
init.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
iri.c Change function params to const in src/iri.[ch] 2015-07-01 17:15:10 +02:00
iri.h Change function params to const in src/iri.[ch] 2015-07-01 17:15:10 +02:00
log.c maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
log.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
main.c Added support for HSTS. 2015-07-20 15:55:57 +02:00
Makefile.am Added support for HSTS. 2015-07-20 15:55:57 +02:00
metalink.c Geolocation support for Metalink resources. 2015-07-20 15:31:06 +02:00
metalink.h Move some Metalink-related code from http.c to metalink.c. 2015-07-20 15:31:06 +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 openssl: Read cert from private key file when needed 2015-04-27 19:52:18 +02:00
options.h Added support for HSTS. 2015-07-20 15:55:57 +02:00
progress.c Fix documentation for update_speed_ring() 2015-05-07 11:29:07 +05:30
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 fix compiler warnings 2015-07-20 15:37:52 +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 HSTS. 2015-07-20 15:55:57 +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 maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
sysdep.h maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
test.c Added support for HSTS. 2015-07-20 15:55:57 +02:00
test.h Added support for HSTS. 2015-07-20 15:55:57 +02:00
url.c Fixed incorrect handling of reserved chars. 2015-05-12 21:24:06 +02:00
url.h Fixed incorrect handling of reserved chars. 2015-05-12 21:24:06 +02:00
utils.c Metalink support. 2015-07-20 15:30:39 +02:00
utils.h fix compiler warnings 2015-07-20 15:37:52 +02:00
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 Check memory allocations in WARC code 2015-04-17 22:42:59 +02:00
warc.h Add more const usage to function params 2015-04-17 22:42:59 +02:00
wget.h Added support for HSTS. 2015-07-20 15:55:57 +02:00