diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-11 23:07:52 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-11 23:07:52 +0000 |
commit | 563cbcc6bb0759b23ab67b5074f66de45f7b546a (patch) | |
tree | e01ca3683194db3aeceae741c74d8d819e752b2b /net/socket/ssl_client_socket_nss.h | |
parent | 79b1f324791fec657c1f62ec7a4cbef5ab9057cc (diff) | |
download | chromium_src-563cbcc6bb0759b23ab67b5074f66de45f7b546a.zip chromium_src-563cbcc6bb0759b23ab67b5074f66de45f7b546a.tar.gz chromium_src-563cbcc6bb0759b23ab67b5074f66de45f7b546a.tar.bz2 |
net: detect and error out with ESET HTTPS interception + False Start
ESET products (anti-virus) and NetNanny can intercept HTTPS connections. However,
they're False Start intolerant. Rather than have connections hang
forever, we detect them by the leaf certificate's issuer common name
and give a helpful error message.
BUG=58152
TEST=Install ESET anti-virus. Configure to intercept HTTPS connections. Goto https://mail.google.com. Confirm that a helpful error page appears.
Review URL: http://codereview.chromium.org/3723001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_client_socket_nss.h')
-rw-r--r-- | net/socket/ssl_client_socket_nss.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/socket/ssl_client_socket_nss.h b/net/socket/ssl_client_socket_nss.h index 7b9809b..db567c4 100644 --- a/net/socket/ssl_client_socket_nss.h +++ b/net/socket/ssl_client_socket_nss.h @@ -178,6 +178,14 @@ class SSLClientSocketNSS : public SSLClientSocket { // Write call into a Snap Start handshake. bool pseudo_connected_; + // True iff we believe that the user has an ESET product intercepting our + // HTTPS connections. + bool eset_mitm_detected_; + + // True iff we believe that the user has NetNanny intercepting our HTTPS + // connections. + bool netnanny_mitm_detected_; + // This pointer is owned by the caller of UseDNSSEC. DNSSECProvider* dnssec_provider_; // The time when we started waiting for DNSSEC records. |