2020-03-23 09:44:29 -04:00
|
|
|
#***************************************************************************
|
|
|
|
# _ _ ____ _
|
|
|
|
# Project ___| | | | _ \| |
|
|
|
|
# / __| | | | |_) | |
|
|
|
|
# | (__| |_| | _ <| |___
|
|
|
|
# \___|\___/|_| \_\_____|
|
|
|
|
#
|
|
|
|
# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
#
|
|
|
|
# This software is licensed as described in the file COPYING, which
|
|
|
|
# you should have received as part of this distribution. The terms
|
|
|
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
|
|
|
#
|
|
|
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
# copies of the Software, and permit persons to whom the Software is
|
|
|
|
# furnished to do so, under the terms of the COPYING file.
|
|
|
|
#
|
|
|
|
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
# KIND, either express or implied.
|
|
|
|
#
|
|
|
|
###########################################################################
|
2017-02-25 17:38:25 -05:00
|
|
|
# Shared between Makefile.am and CMakeLists.txt
|
|
|
|
|
2018-12-17 09:46:56 -05:00
|
|
|
DPAGES = \
|
|
|
|
abstract-unix-socket.d \
|
2019-03-03 05:17:52 -05:00
|
|
|
alt-svc.d \
|
2018-12-17 09:46:56 -05:00
|
|
|
anyauth.d \
|
|
|
|
append.d basic.d \
|
|
|
|
cacert.d capath.d \
|
|
|
|
cert-status.d \
|
|
|
|
cert-type.d \
|
|
|
|
cert.d \
|
|
|
|
ciphers.d \
|
|
|
|
compressed-ssh.d \
|
|
|
|
compressed.d \
|
|
|
|
config.d \
|
|
|
|
connect-timeout.d \
|
|
|
|
connect-to.d \
|
|
|
|
continue-at.d \
|
|
|
|
cookie-jar.d \
|
|
|
|
cookie.d \
|
|
|
|
create-dirs.d \
|
|
|
|
crlf.d crlfile.d \
|
|
|
|
data-ascii.d \
|
|
|
|
data-binary.d \
|
|
|
|
data-urlencode.d \
|
|
|
|
data.d data-raw.d \
|
|
|
|
delegation.d \
|
|
|
|
digest.d \
|
|
|
|
disable-eprt.d \
|
|
|
|
disable-epsv.d \
|
|
|
|
disable.d \
|
|
|
|
disallow-username-in-url.d \
|
|
|
|
dns-interface.d \
|
|
|
|
dns-ipv4-addr.d \
|
|
|
|
dns-ipv6-addr.d \
|
|
|
|
dns-servers.d \
|
|
|
|
doh-url.d \
|
|
|
|
dump-header.d \
|
|
|
|
egd-file.d \
|
|
|
|
engine.d \
|
2019-10-30 04:43:14 -04:00
|
|
|
etag-compare.d \
|
2020-03-25 11:31:13 -04:00
|
|
|
etag-save.d \
|
2018-12-17 09:46:56 -05:00
|
|
|
expect100-timeout.d \
|
|
|
|
fail-early.d \
|
|
|
|
fail.d \
|
|
|
|
false-start.d \
|
|
|
|
form-string.d \
|
|
|
|
form.d \
|
|
|
|
ftp-account.d \
|
|
|
|
ftp-alternative-to-user.d \
|
|
|
|
ftp-create-dirs.d \
|
|
|
|
ftp-method.d \
|
|
|
|
ftp-pasv.d \
|
|
|
|
ftp-port.d \
|
|
|
|
ftp-pret.d \
|
|
|
|
ftp-skip-pasv-ip.d \
|
|
|
|
ftp-ssl-ccc-mode.d \
|
|
|
|
ftp-ssl-ccc.d \
|
|
|
|
ftp-ssl-control.d \
|
|
|
|
get.d globoff.d \
|
|
|
|
happy-eyeballs-timeout-ms.d \
|
|
|
|
haproxy-protocol.d \
|
|
|
|
head.d header.d \
|
|
|
|
help.d \
|
|
|
|
hostpubmd5.d \
|
|
|
|
http0.9.d \
|
|
|
|
http1.0.d \
|
|
|
|
http1.1.d http2.d \
|
|
|
|
http2-prior-knowledge.d \
|
2019-08-07 08:17:48 -04:00
|
|
|
http3.d \
|
2018-12-17 09:46:56 -05:00
|
|
|
ignore-content-length.d \
|
|
|
|
include.d \
|
|
|
|
insecure.d \
|
|
|
|
interface.d \
|
|
|
|
ipv4.d ipv6.d \
|
|
|
|
junk-session-cookies.d \
|
|
|
|
keepalive-time.d \
|
|
|
|
key.d key-type.d \
|
|
|
|
krb.d libcurl.d \
|
|
|
|
limit-rate.d \
|
|
|
|
list-only.d \
|
|
|
|
local-port.d \
|
|
|
|
location-trusted.d \
|
|
|
|
location.d \
|
|
|
|
login-options.d \
|
|
|
|
mail-auth.d \
|
|
|
|
mail-from.d \
|
2020-03-25 11:31:13 -04:00
|
|
|
mail-rcpt-allowfails.d \
|
2018-12-17 09:46:56 -05:00
|
|
|
mail-rcpt.d \
|
|
|
|
manual.d \
|
|
|
|
max-filesize.d \
|
|
|
|
max-redirs.d \
|
|
|
|
max-time.d \
|
|
|
|
metalink.d \
|
|
|
|
negotiate.d \
|
|
|
|
netrc-file.d \
|
|
|
|
netrc-optional.d \
|
|
|
|
netrc.d \
|
|
|
|
next.d no-alpn.d \
|
|
|
|
no-buffer.d \
|
|
|
|
no-keepalive.d \
|
|
|
|
no-npn.d \
|
2019-10-09 04:10:05 -04:00
|
|
|
no-progress-meter.d \
|
2018-12-17 09:46:56 -05:00
|
|
|
no-sessionid.d \
|
|
|
|
noproxy.d \
|
|
|
|
ntlm.d ntlm-wb.d \
|
|
|
|
oauth2-bearer.d \
|
2019-07-20 13:14:00 -04:00
|
|
|
output.d \
|
2019-10-17 04:05:53 -04:00
|
|
|
parallel-immediate.d \
|
|
|
|
parallel-max.d \
|
2019-07-20 13:14:00 -04:00
|
|
|
parallel.d \
|
2019-10-09 04:10:05 -04:00
|
|
|
pass.d \
|
2018-12-17 09:46:56 -05:00
|
|
|
path-as-is.d \
|
|
|
|
pinnedpubkey.d \
|
|
|
|
post301.d \
|
|
|
|
post302.d \
|
|
|
|
post303.d \
|
|
|
|
preproxy.d \
|
|
|
|
progress-bar.d \
|
|
|
|
proto-default.d \
|
|
|
|
proto-redir.d \
|
|
|
|
proto.d \
|
|
|
|
proxy-anyauth.d \
|
|
|
|
proxy-basic.d \
|
|
|
|
proxy-cacert.d \
|
|
|
|
proxy-capath.d \
|
|
|
|
proxy-cert-type.d \
|
|
|
|
proxy-cert.d \
|
|
|
|
proxy-ciphers.d \
|
|
|
|
proxy-crlfile.d \
|
|
|
|
proxy-digest.d \
|
|
|
|
proxy-header.d \
|
|
|
|
proxy-insecure.d \
|
|
|
|
proxy-key-type.d \
|
|
|
|
proxy-key.d \
|
|
|
|
proxy-negotiate.d \
|
|
|
|
proxy-ntlm.d \
|
|
|
|
proxy-pass.d \
|
|
|
|
proxy-pinnedpubkey.d \
|
|
|
|
proxy-service-name.d \
|
|
|
|
proxy-ssl-allow-beast.d \
|
|
|
|
proxy-tls13-ciphers.d \
|
|
|
|
proxy-tlsauthtype.d \
|
|
|
|
proxy-tlspassword.d \
|
|
|
|
proxy-tlsuser.d \
|
|
|
|
proxy-tlsv1.d \
|
|
|
|
proxy-user.d \
|
|
|
|
proxy.d \
|
|
|
|
proxy1.0.d \
|
|
|
|
proxytunnel.d \
|
|
|
|
pubkey.d quote.d \
|
|
|
|
random-file.d \
|
|
|
|
range.d raw.d \
|
|
|
|
referer.d \
|
|
|
|
remote-header-name.d \
|
|
|
|
remote-name-all.d \
|
|
|
|
remote-name.d \
|
|
|
|
remote-time.d \
|
|
|
|
request-target.d \
|
|
|
|
request.d \
|
|
|
|
resolve.d \
|
2020-04-04 16:16:18 -04:00
|
|
|
retry-all-errors.d \
|
2018-12-17 09:46:56 -05:00
|
|
|
retry-connrefused.d \
|
|
|
|
retry-delay.d \
|
|
|
|
retry-max-time.d \
|
|
|
|
retry.d \
|
2020-03-25 11:31:13 -04:00
|
|
|
sasl-authzid.d \
|
2018-12-17 09:46:56 -05:00
|
|
|
sasl-ir.d \
|
|
|
|
service-name.d \
|
|
|
|
show-error.d \
|
|
|
|
silent.d \
|
|
|
|
socks4.d socks5.d \
|
|
|
|
socks4a.d \
|
|
|
|
socks5-basic.d \
|
|
|
|
socks5-gssapi-nec.d \
|
|
|
|
socks5-gssapi-service.d \
|
|
|
|
socks5-gssapi.d \
|
|
|
|
socks5-hostname.d \
|
|
|
|
speed-limit.d \
|
|
|
|
speed-time.d \
|
|
|
|
ssl-allow-beast.d \
|
|
|
|
ssl-no-revoke.d \
|
|
|
|
ssl-reqd.d \
|
schannel: add "best effort" revocation check option
- Implement new option CURLSSLOPT_REVOKE_BEST_EFFORT and
--ssl-revoke-best-effort to allow a "best effort" revocation check.
A best effort revocation check ignores errors that the revocation check
was unable to take place. The reasoning is described in detail below and
discussed further in the PR.
---
When running e.g. with Fiddler, the schannel backend fails with an
unhelpful error message:
Unknown error (0x80092012) - The revocation function was unable
to check revocation for the certificate.
Sadly, many enterprise users who are stuck behind MITM proxies suffer
the very same problem.
This has been discussed in plenty of issues:
https://github.com/curl/curl/issues/3727,
https://github.com/curl/curl/issues/264, for example.
In the latter, a Microsoft Edge developer even made the case that the
common behavior is to ignore issues when a certificate has no recorded
distribution point for revocation lists, or when the server is offline.
This is also known as "best effort" strategy and addresses the Fiddler
issue.
Unfortunately, this strategy was not chosen as the default for schannel
(and is therefore a backend-specific behavior: OpenSSL seems to happily
ignore the offline servers and missing distribution points).
To maintain backward-compatibility, we therefore add a new flag
(`CURLSSLOPT_REVOKE_BEST_EFFORT`) and a new option
(`--ssl-revoke-best-effort`) to select the new behavior.
Due to the many related issues Git for Windows and GitHub Desktop, the
plan is to make this behavior the default in these software packages.
The test 2070 was added to verify this behavior, adapted from 310.
Based-on-work-by: georgeok <giorgos.n.oikonomou@gmail.com>
Co-authored-by: Markus Olsson <j.markus.olsson@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Closes https://github.com/curl/curl/pull/4981
2020-02-26 05:24:26 -05:00
|
|
|
ssl-revoke-best-effort.d \
|
2018-12-17 09:46:56 -05:00
|
|
|
ssl.d \
|
|
|
|
sslv2.d sslv3.d \
|
|
|
|
stderr.d \
|
|
|
|
styled-output.d \
|
|
|
|
suppress-connect-headers.d \
|
|
|
|
tcp-fastopen.d \
|
|
|
|
tcp-nodelay.d \
|
|
|
|
telnet-option.d \
|
|
|
|
tftp-blksize.d \
|
|
|
|
tftp-no-options.d \
|
|
|
|
time-cond.d \
|
|
|
|
tls-max.d \
|
|
|
|
tls13-ciphers.d \
|
|
|
|
tlsauthtype.d \
|
|
|
|
tlspassword.d \
|
|
|
|
tlsuser.d \
|
|
|
|
tlsv1.0.d \
|
|
|
|
tlsv1.1.d \
|
|
|
|
tlsv1.2.d \
|
|
|
|
tlsv1.3.d tlsv1.d \
|
|
|
|
tr-encoding.d \
|
|
|
|
trace-ascii.d \
|
|
|
|
trace-time.d \
|
|
|
|
trace.d \
|
|
|
|
unix-socket.d \
|
|
|
|
upload-file.d \
|
|
|
|
url.d use-ascii.d \
|
|
|
|
user-agent.d \
|
|
|
|
user.d verbose.d \
|
|
|
|
version.d \
|
|
|
|
write-out.d \
|
|
|
|
xattr.d
|
2017-02-25 17:38:25 -05:00
|
|
|
|
|
|
|
OTHERPAGES = page-footer page-header
|