]> git.ipfire.org Git - thirdparty/squid.git/commit
Importing SslBump feature from Squid3 ssl-bump branch:
authorrousskov <>
Tue, 12 Feb 2008 05:28:47 +0000 (05:28 +0000)
committerrousskov <>
Tue, 12 Feb 2008 05:28:47 +0000 (05:28 +0000)
commit4c9da9630c739e275fc832a5a3f73fd6facfe8fb
tree2abba8c991265910c6866abf0a3ce3656452aa74
parent154dc8842fca8ee7a35553a44c2fe82fecb3786c
Importing SslBump feature from Squid3 ssl-bump branch:

        SslBump needs access to SSL-related options when responding to
        CONNECT requests. We could add a new squid.conf option to
        accept those options, but I decided to add SSL-related options
        to http_port, where CONNECT requests will arrive. This design
        avoids the necessity to map SSL options to an HTTP port or to a
        CONNECT request when a global default would not do.

        Adding SSL options to http_port makes http_port_list and
        https_port_list almost identical. I moved stuff around to
        reduce duplication between the two classes, moving related
        code to ProtoPort.{cc,h} in the process. More work is needed
        to remove the distinction completely or, at least, remove the
        https_port::http hack.

        Added sslproxy_cert_error ACL to be able to bypass some
        certificate validation errors. The default is to bypass
        nothing.

        Only a few SSL certificate validation errors are currently
        recognized by name, including the newly defined
        SQUID_X509_V_ERR_DOMAIN_MISMATCH error which is raised when
        Squid certificate domain validation fails.

        Added support for ssl_error ACL (ACLSslError*).
src/cf.data.pre
src/structs.h
src/typedefs.h