[squid-dev] Build failed in Jenkins: trunk-x64-centos-7 #411

noc at squid-cache.org noc at squid-cache.org
Fri Apr 10 09:41:26 UTC 2015


See <http://build.squid-cache.org/job/trunk-x64-centos-7/411/changes>

Changes:

[Christos Tsantilas] Add server_name ACL matching server name(s) obtained from various sources such as CONNECT request URI, client SNI, and SSL server certificate CN.

During each SslBump step, Squid improves its understanding of a "true server
name", with a bias towards server-provided (and Squid-validated) information.

The server-provided server names are retrieved from the server certificate CN
and Subject Alternate Names. The new server_name ACL matches any of alternate
names and CN. If the CN or an alternate name is a wildcard, then the new ACL
matches any domain that matches the domain with the wildcard.

Other than supporting many sources of server name information (including
sources that may supply Squid with multiple server name variants and
wildcards), the new ACL is similar to dstdomain.

Also added a server_name_regex ACL.


This is a Measurement Factory project.

------------------------------------------
[...truncated 5335 lines...]
../../../src/ssl/ServerBump.h:39:5: error: 'CertErrors' in namespace 'Ssl' does not name a type
../../../src/ssl/ServerBump.h:41:9: error: 'BumpMode' in namespace 'Ssl' does not name a type
../../../src/ssl/ServerBump.h:42:9: error: 'BumpMode' in namespace 'Ssl' does not name a type
../../../src/ssl/ServerBump.h:43:9: error: 'BumpMode' in namespace 'Ssl' does not name a type
../../../src/ssl/ServerBump.h:45:5: error: 'BumpStep' in namespace 'Ssl' does not name a type
../../../src/ssl/ServerBump.h:32:96: error: 'bumpServerFirst' is not a member of 'Ssl'
../../../src/ssl/gadgets.h:34:9: error: 'SSL_METHOD' does not name a type
../../../src/ssl/gadgets.h:82:40: error: variable or field 'X509_free_cpp' declared void
../../../src/ssl/gadgets.h:82:40: error: 'X509' was not declared in this scope
../../../src/ssl/gadgets.h:82:47: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:83:24: error: 'X509' was not declared in this scope
../../../src/ssl/gadgets.h:83:30: error: 'X509_free_cpp' was not declared in this scope
../../../src/ssl/gadgets.h:83:45: error: 'CRYPTO_LOCK_X509' was not declared in this scope
../../../src/ssl/gadgets.h:83:61: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:83:61: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:83:61: error: template argument 3 is invalid
../../../src/ssl/gadgets.h:83:75: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:85:47: error: variable or field 'sk_X509_free_wrapper' declared void
../../../src/ssl/gadgets.h:85:56: error: 'X509' was not declared in this scope
../../../src/ssl/gadgets.h:85:60: error: 'STACK_OF' was not declared in this scope
../../../src/ssl/gadgets.h:85:64: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:86:30: error: 'X509' was not declared in this scope
../../../src/ssl/gadgets.h:86:34: error: 'STACK_OF' was not declared in this scope
../../../src/ssl/gadgets.h:86:37: error: 'sk_X509_free_wrapper' was not declared in this scope
../../../src/ssl/gadgets.h:86:57: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:86:57: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:86:77: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:88:44: error: variable or field 'EVP_PKEY_free_cpp' declared void
../../../src/ssl/gadgets.h:88:44: error: 'EVP_PKEY' was not declared in this scope
../../../src/ssl/gadgets.h:88:55: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:89:24: error: 'EVP_PKEY' was not declared in this scope
../../../src/ssl/gadgets.h:89:34: error: 'EVP_PKEY_free_cpp' was not declared in this scope
../../../src/ssl/gadgets.h:89:53: error: 'CRYPTO_LOCK_EVP_PKEY' was not declared in this scope
../../../src/ssl/gadgets.h:89:73: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:89:73: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:89:73: error: template argument 3 is invalid
../../../src/ssl/gadgets.h:89:91: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:91:38: error: variable or field 'BN_free_cpp' declared void
../../../src/ssl/gadgets.h:91:38: error: 'BIGNUM' was not declared in this scope
../../../src/ssl/gadgets.h:91:47: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:92:21: error: 'BIGNUM' was not declared in this scope
../../../src/ssl/gadgets.h:92:29: error: 'BN_free_cpp' was not declared in this scope
../../../src/ssl/gadgets.h:92:40: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:92:40: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:92:56: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:94:39: error: variable or field 'BIO_free_cpp' declared void
../../../src/ssl/gadgets.h:94:39: error: 'BIO' was not declared in this scope
../../../src/ssl/gadgets.h:94:45: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:95:21: error: 'BIO' was not declared in this scope
../../../src/ssl/gadgets.h:95:26: error: 'BIO_free_cpp' was not declared in this scope
../../../src/ssl/gadgets.h:95:38: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:95:38: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:95:51: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:97:48: error: variable or field 'ASN1_INTEGER_free_cpp' declared void
../../../src/ssl/gadgets.h:97:48: error: 'ASN1_INTEGER' was not declared in this scope
../../../src/ssl/gadgets.h:97:63: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:98:21: error: 'ASN1_INTEGER' was not declared in this scope
../../../src/ssl/gadgets.h:98:35: error: 'ASN1_INTEGER_free_cpp' was not declared in this scope
../../../src/ssl/gadgets.h:98:56: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:98:56: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:98:74: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:100:42: error: variable or field 'TXT_DB_free_cpp' declared void
../../../src/ssl/gadgets.h:100:42: error: 'TXT_DB' was not declared in this scope
../../../src/ssl/gadgets.h:100:51: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:101:21: error: 'TXT_DB' was not declared in this scope
../../../src/ssl/gadgets.h:101:29: error: 'TXT_DB_free_cpp' was not declared in this scope
../../../src/ssl/gadgets.h:101:44: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:101:44: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:101:60: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:103:45: error: variable or field 'X509_NAME_free_cpp' declared void
../../../src/ssl/gadgets.h:103:45: error: 'X509_NAME' was not declared in this scope
../../../src/ssl/gadgets.h:103:57: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:104:21: error: 'X509_NAME' was not declared in this scope
../../../src/ssl/gadgets.h:104:32: error: 'X509_NAME_free_cpp' was not declared in this scope
../../../src/ssl/gadgets.h:104:50: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:104:50: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:104:69: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:106:39: error: variable or field 'RSA_free_cpp' declared void
../../../src/ssl/gadgets.h:106:39: error: 'RSA' was not declared in this scope
../../../src/ssl/gadgets.h:106:45: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:107:21: error: 'RSA' was not declared in this scope
../../../src/ssl/gadgets.h:107:26: error: 'RSA_free_cpp' was not declared in this scope
../../../src/ssl/gadgets.h:107:38: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:107:38: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:107:51: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:109:44: error: variable or field 'X509_REQ_free_cpp' declared void
../../../src/ssl/gadgets.h:109:44: error: 'X509_REQ' was not declared in this scope
../../../src/ssl/gadgets.h:109:55: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:110:21: error: 'X509_REQ' was not declared in this scope
../../../src/ssl/gadgets.h:110:31: error: 'X509_REQ_free_cpp' was not declared in this scope
../../../src/ssl/gadgets.h:110:48: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:110:48: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:110:66: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:112:43: error: variable or field 'SSL_CTX_free_cpp' declared void
../../../src/ssl/gadgets.h:112:43: error: 'SSL_CTX' was not declared in this scope
../../../src/ssl/gadgets.h:112:53: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:113:21: error: 'SSL_CTX' was not declared in this scope
../../../src/ssl/gadgets.h:113:30: error: 'SSL_CTX_free_cpp' was not declared in this scope
../../../src/ssl/gadgets.h:113:46: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:113:46: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:113:63: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:115:39: error: variable or field 'SSL_free_cpp' declared void
../../../src/ssl/gadgets.h:115:39: error: 'SSL' was not declared in this scope
../../../src/ssl/gadgets.h:115:45: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:116:21: error: 'SSL' was not declared in this scope
../../../src/ssl/gadgets.h:116:26: error: 'SSL_free_cpp' was not declared in this scope
../../../src/ssl/gadgets.h:116:38: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:116:38: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:116:51: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:118:38: error: variable or field 'DH_free_cpp' declared void
../../../src/ssl/gadgets.h:118:38: error: 'DH' was not declared in this scope
../../../src/ssl/gadgets.h:118:43: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:119:21: error: 'DH' was not declared in this scope
../../../src/ssl/gadgets.h:119:25: error: 'DH_free_cpp' was not declared in this scope
../../../src/ssl/gadgets.h:119:36: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:119:36: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:119:48: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:121:51: error: variable or field 'sk_X509_CRL_free_wrapper' declared void
../../../src/ssl/gadgets.h:121:60: error: 'X509_CRL' was not declared in this scope
../../../src/ssl/gadgets.h:121:68: error: 'STACK_OF' was not declared in this scope
../../../src/ssl/gadgets.h:121:72: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:122:30: error: 'X509_CRL' was not declared in this scope
../../../src/ssl/gadgets.h:122:38: error: 'STACK_OF' was not declared in this scope
../../../src/ssl/gadgets.h:122:41: error: 'sk_X509_CRL_free_wrapper' was not declared in this scope
../../../src/ssl/gadgets.h:122:65: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:122:65: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:122:89: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:124:52: error: variable or field 'sk_X509_NAME_free_wrapper' declared void
../../../src/ssl/gadgets.h:124:61: error: 'X509_NAME' was not declared in this scope
../../../src/ssl/gadgets.h:124:70: error: 'STACK_OF' was not declared in this scope
../../../src/ssl/gadgets.h:124:74: error: 'a' was not declared in this scope
../../../src/ssl/gadgets.h:125:30: error: 'X509_NAME' was not declared in this scope
../../../src/ssl/gadgets.h:125:39: error: 'STACK_OF' was not declared in this scope
../../../src/ssl/gadgets.h:125:42: error: 'sk_X509_NAME_free_wrapper' was not declared in this scope
../../../src/ssl/gadgets.h:125:67: error: template argument 1 is invalid
../../../src/ssl/gadgets.h:125:67: error: template argument 2 is invalid
../../../src/ssl/gadgets.h:125:92: error: invalid type in declaration before ';' token
../../../src/ssl/gadgets.h:131:1: error: 'EVP_PKEY' does not name a type
../../../src/ssl/gadgets.h:241:11: error: 'EVP_MD' does not name a type
../../../src/ssl/gadgets.h:263:1: error: 'EVP_PKEY' does not name a type
../../../src/ssl/gadgets.h:286:35: error: 'X509' was not declared in this scope
../../../src/ssl/gadgets.h:286:41: error: 'peer_cert' was not declared in this scope
../../../src/ssl/gadgets.h:286:74: error: expected primary-expression before 'const'
../../../src/ssl/gadgets.h:286:91: error: expression list treated as compound expression in initializer [-fpermissive]
../../../src/ssl/gadgets.h:293:28: error: 'X509' was not declared in this scope
../../../src/ssl/gadgets.h:293:34: error: 'x509' was not declared in this scope
../../../src/ssl/gadgets.h:300:29: error: 'X509' was not declared in this scope
../../../src/ssl/gadgets.h:300:35: error: 'x509' was not declared in this scope
../../../src/ssl/support.h:66:1: error: 'SSL' does not name a type
../../../src/ssl/support.h:70:1: error: 'SSL' does not name a type
../../../src/ssl/support.h:79:34: error: 'X509' has not been declared
../../../src/ssl/support.h:92:1: error: 'SSL_CTX' does not name a type
../../../src/ssl/support.h:95:1: error: 'SSL_CTX' does not name a type
../../../src/ssl/support.h:104:26: error: variable or field 'ssl_shutdown_method' declared void
../../../src/ssl/support.h:104:26: error: 'SSL' was not declared in this scope
../../../src/ssl/support.h:104:31: error: 'ssl' was not declared in this scope
../../../src/ssl/support.h:107:29: error: 'SSL' was not declared in this scope
../../../src/ssl/support.h:107:34: error: 'ssl' was not declared in this scope
../../../src/ssl/support.h:110:33: error: 'SSL' was not declared in this scope
../../../src/ssl/support.h:110:38: error: 'ssl' was not declared in this scope
../../../src/ssl/support.h:110:43: error: expected primary-expression before 'const'
../../../src/ssl/support.h:110:69: error: expression list treated as compound expression in initializer [-fpermissive]
../../../src/ssl/support.h:113:31: error: 'SSL' was not declared in this scope
../../../src/ssl/support.h:113:36: error: 'ssl' was not declared in this scope
../../../src/ssl/support.h:113:41: error: expected primary-expression before 'const'
../../../src/ssl/support.h:113:67: error: expression list treated as compound expression in initializer [-fpermissive]
../../../src/ssl/support.h:116:38: error: 'SSL' was not declared in this scope
../../../src/ssl/support.h:116:43: error: 'ssl' was not declared in this scope
../../../src/ssl/support.h:119:43: error: 'SSL' was not declared in this scope
../../../src/ssl/support.h:119:48: error: 'ssl' was not declared in this scope
../../../src/ssl/support.h:124:38: error: typedef 'Ssl::GETX509ATTRIBUTE' is initialized (use decltype instead)
../../../src/ssl/support.h:124:38: error: 'X509' was not declared in this scope
../../../src/ssl/support.h:124:44: error: expected primary-expression before ',' token
../../../src/ssl/support.h:124:46: error: expected primary-expression before 'const'
../../../src/ssl/support.h:127:1: error: 'GETX509ATTRIBUTE' does not name a type
../../../src/ssl/support.h:130:1: error: 'GETX509ATTRIBUTE' does not name a type
../../../src/ssl/support.h:133:1: error: 'GETX509ATTRIBUTE' does not name a type
../../../src/ssl/support.h:135:14: error: 'EVP_MD' does not name a type
../../../src/ssl/support.h:176:9: error: expected constructor, destructor, or type conversion before '(' token
../../../src/ssl/support.h:182:1: error: 'DH' does not name a type
../../../src/ssl/support.h:188:1: error: 'ContextMethod' does not name a type
../../../src/ssl/support.h:200:1: error: 'SSL_CTX' does not name a type
../../../src/ssl/support.h:209:27: error: 'SSL_CTX' was not declared in this scope
../../../src/ssl/support.h:209:37: error: 'sslContext' was not declared in this scope
../../../src/ssl/support.h:209:71: error: expected primary-expression before 'const'
../../../src/ssl/support.h:209:88: error: expression list treated as compound expression in initializer [-fpermissive]
../../../src/ssl/support.h:216:1: error: 'SSL_CTX' does not name a type
../../../src/ssl/support.h:222:1: error: 'SSL_CTX' does not name a type
../../../src/ssl/support.h:229:19: error: 'SSL' was not declared in this scope
../../../src/ssl/support.h:229:24: error: 'ssl' was not declared in this scope
../../../src/ssl/support.h:229:51: error: expected primary-expression before 'const'
../../../src/ssl/support.h:229:84: error: expected primary-expression before '&' token
../../../src/ssl/support.h:229:85: error: 'port' was not declared in this scope
../../../src/ssl/support.h:229:89: error: expression list treated as compound expression in initializer [-fpermissive]
../../../src/ssl/support.h:236:45: error: 'SSL' was not declared in this scope
../../../src/ssl/support.h:236:50: error: 'ssl' was not declared in this scope
../../../src/ssl/support.h:236:55: error: expected primary-expression before 'const'
../../../src/ssl/support.h:236:87: error: expected primary-expression before '&' token
../../../src/ssl/support.h:236:88: error: 'port' was not declared in this scope
../../../src/ssl/support.h:236:92: error: expression list treated as compound expression in initializer [-fpermissive]
../../../src/ssl/support.h:242:27: error: variable or field 'addChainToSslContext' declared void
../../../src/ssl/support.h:242:27: error: 'SSL_CTX' was not declared in this scope
../../../src/ssl/support.h:242:36: error: 'sslContext' was not declared in this scope
../../../src/ssl/support.h:242:57: error: 'X509' was not declared in this scope
../../../src/ssl/support.h:242:61: error: 'STACK_OF' was not declared in this scope
../../../src/ssl/support.h:242:64: error: 'certList' was not declared in this scope
../../../src/ssl/support.h:262:26: error: 'X509' was not declared in this scope
../../../src/ssl/support.h:262:32: error: 'peer_cert' was not declared in this scope
../../../src/ssl/support.h:262:43: error: expected primary-expression before 'void'
../../../src/ssl/support.h:262:67: error: 'check_func' was not declared in this scope
../../../src/ssl/support.h:262:79: error: expected primary-expression before 'void'
../../../src/ssl/support.h:262:97: error: 'ASN1_STRING' was not declared in this scope
../../../src/ssl/support.h:262:110: error: 'cn_data' was not declared in this scope
../../../src/ssl/support.h:262:118: error: expression list treated as compound expression in initializer [-fpermissive]
../../../src/ssl/support.h:271:30: error: 'X509' was not declared in this scope
../../../src/ssl/support.h:271:36: error: 'cert' was not declared in this scope
../../../src/ssl/support.h:271:42: error: expected primary-expression before 'const'
../../../src/ssl/support.h:271:60: error: expression list treated as compound expression in initializer [-fpermissive]
../../../src/ssl/support.h:281:22: error: 'ASN1_TIME' was not declared in this scope
../../../src/ssl/support.h:281:35: error: expected primary-expression before ',' token
../../../src/ssl/support.h:281:37: error: expected primary-expression before 'char'
../../../src/ssl/support.h:281:48: error: expected primary-expression before 'int'
../../../src/ssl/support.h:281:55: error: expression list treated as compound expression in initializer [-fpermissive]
../../../src/ssl/support.h:289:19: error: 'SSL' was not declared in this scope
../../../src/ssl/support.h:289:24: error: 'ssl' was not declared in this scope
../../../src/ssl/support.h:289:29: error: expected primary-expression before 'const'
../../../src/ssl/support.h:289:45: error: expression list treated as compound expression in initializer [-fpermissive]
../../../src/ssl/support.h:294:1: error: 'SSL_METHOD' does not name a type
../../../src/ssl/support.h:299:7: error: 'SSL_METHOD' does not name a type
../../../src/acl/ServerName.cc:66:38: error: 'ASN1_STRING' has not been declared
../../../src/acl/ServerName.cc:71:18: error: request for member 'length' in 'cn_data->', which is of non-class type 'int'
../../../src/acl/ServerName.cc:74:25: error: request for member 'data' in 'cn_data->', which is of non-class type 'int'
../../../src/acl/ServerName.cc:74:40: error: request for member 'length' in 'cn_data->', which is of non-class type 'int'
../../../src/acl/ServerName.cc:75:17: error: request for member 'length' in 'cn_data->', which is of non-class type 'int'
../../../src/acl/ServerName.cc:87:49: error: 'class ConnStateData' has no member named 'serverBump'
../../../src/acl/ServerName.cc:88:13: error: 'X509' was not declared in this scope
../../../src/acl/ServerName.cc:88:19: error: 'peer_cert' was not declared in this scope
../../../src/acl/ServerName.cc:88:50: error: 'class ConnStateData' has no member named 'serverBump'
../../../src/acl/ServerName.cc:89:96: error: 'Ssl::matchX509CommonNames' cannot be used as a function
../../../src/acl/ServerName.cc:95:50: error: 'class ConnStateData' has no member named 'sslCommonName'
../../../src/acl/ServerName.cc:96:39: error: 'class ConnStateData' has no member named 'sslCommonName'
cc1plus: error: unrecognized command line option "-Wno-deprecated-register" [-Werror]
make[4]: *** [ServerName.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [distcheck] Error 1
Build FAILED.
Build step 'Execute shell' marked build as failure


More information about the squid-dev mailing list