Squid SSL Bump TAG_NONE / HEIR_NONESquid SSL bump with parent proxysquid ssl bump sslv3 enforce to allow old sites“Invalid URL” Squid 3.3.8 transparent proxy w/ SSL Bumphaproxy vs squid ssl bump and dynamic generationHTTPS Content Filtering without de-crypting traffic using squid?Squid Enable SSL not workingSquid 4 ssl-bump with self-signed root CA causing web socket connections impossibleSquid Proxy: why Https ssl_bump need ip address?Squid ssl-bump not reusing server connections

How can internet speed be 10 times slower without a router than when using a router?

Do I add modifiers to the Charisma check roll of 15 granted by the Glibness spell?

How should I tell my manager I'm not paying for an optional after work event I'm not going to?

Can I use a fetch land to shuffle my deck while the opponent has Ashiok, Dream Render in play?

Decoupling cap routing on a 4 layer PCB

Identifying characters

Should I decline this job offer that requires relocating to an area with high cost of living?

Floor of Riemann zeta function

Is there an official reason for not adding a post-credits scene?

Are there any of the Children of the Forest left, or are they extinct?

Can my company stop me from working overtime?

If I set assumevalid=0 after syncing the blockchain will Bitcoin Core go back and validate historical blocks?

Can my 2 children 10 and 12 Travel to the USA on expired American Passports? They are US citizens

How can I roleplay a follower-type character when I as a player have a leader-type personality?

Do publishers care if submitted work has already been copyrighted?

What does 'made on' mean here?

Something that can be activated/enabled

Are pressure-treated posts that have been submerged for a few days ruined?

Adding command shortcuts to bin

Does it make sense for a function to return an rvalue reference?

Should I dumb down my writing in a foreign country?

Upside-Down Pyramid Addition...REVERSED!

Understanding trademark infringements in a world where many dictionary words are trademarks?

Find the cheapest shipping option based on item weight



Squid SSL Bump TAG_NONE / HEIR_NONE


Squid SSL bump with parent proxysquid ssl bump sslv3 enforce to allow old sites“Invalid URL” Squid 3.3.8 transparent proxy w/ SSL Bumphaproxy vs squid ssl bump and dynamic generationHTTPS Content Filtering without de-crypting traffic using squid?Squid Enable SSL not workingSquid 4 ssl-bump with self-signed root CA causing web socket connections impossibleSquid Proxy: why Https ssl_bump need ip address?Squid ssl-bump not reusing server connections






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have a transparent proxy, Squid, version 3.5.20 (latest stable at this time)
I need to do domain whitelisting. Squid is configured to do SSLBumping (see squid config below)



I try to install Sumologic on a server which is located behind the squid transparent NAT.



The problem is that sumologic cannot connect out through the transparent NAT. Why can't it connect through the app, but I can using curl?



When I install Sumologic, I get the following error:



javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
at com.sumologic.scala.collector.rest.RestClient$class.getResponse(RestClient.scala:83)
at com.sumologic.scala.collector.rest.RestClient$class.makeGetRequest(RestClient.scala:68)
at com.sumologic.scala.collector.auth.CollectorRegistrationManager.makeGetRequest(CollectorRegistrationManager.scala:49)
at com.sumologic.scala.collector.rest.RestClient$class.makeRequest(RestClient.scala:119)
at com.sumologic.scala.collector.auth.CollectorRegistrationManager.com$sumologic$scala$collector$rest$RestClientRetries$$super$makeRequest(CollectorRegistrationManager.scala:49)
at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$makeRequest$1.apply(RestClientRetries.scala:42)
at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$makeRequest$1.apply(RestClientRetries.scala:35)
at com.sumologic.util.retry.Retry$.whileExceptionsAreThrown(Retry.scala:143)
at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$withRetries$1.apply(RestClientRetries.scala:23)
at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$withRetries$1.apply(RestClientRetries.scala:23)
at com.sumologic.scala.collector.rest.RestClientRetries$class.makeRequest(RestClientRetries.scala:35)
at com.sumologic.scala.collector.auth.CollectorRegistrationManager.com$sumologic$scala$collector$rest$RestClientDeploymentRedirection$$super$makeRequest(CollectorRegistrationManager.scala:49)
at com.sumologic.scala.collector.rest.RestClientDeploymentRedirection$class.makeRequest(RestClientDeploymentRedirection.scala:74)
at com.sumologic.scala.collector.auth.CollectorRegistrationManager.makeRequest(CollectorRegistrationManager.scala:49)
at com.sumologic.scala.collector.auth.CollectorRegistrationManager.ping(CollectorRegistrationManager.scala:361)
at com.sumologic.scala.collector.Collector.init(Collector.scala:546)
at com.sumologic.scala.collector.Collector$.main(Collector.scala:831)
at com.sumologic.scala.collector.Collector.main(Collector.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.read(Unknown Source)
... 40 more


If I open a powershell and do a curl on 'service.au.sumologic.com', it works...



PS > curl https://service.au.sumologic.com


StatusCode : 200
StatusDescription : OK
Content : <html>
<body>
<h2>Tweep</h2>
</body>
</html>
RawContent : HTTP/1.1 200 OK
Strict-Transport-Security: max-age=15552000
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Connection: keep-alive
Accept-Ranges: byte...
Forms :
Headers : [Strict-Transport-Security, max-age=15552000], [X-Content-Type-Options, nosniff],
[X-Frame-Options, SAMEORIGIN], [X-XSS-Protection, 1; mode=block]...
Images :
InputFields :
Links :
ParsedHtml : System.__ComObject
RawContentLength : 44


In my squid access.log I can see:



1470638115.212 164 172.26.192.122 TAG_NONE/200 0 CONNECT 54.252.91.36:443 - HIER_NONE/- -


which is service.au.sumologic.com....



Have I missed something in my squid config?



Squid Config



visible_hostname squid

http_port 3129 intercept
acl allowed_http_sites dstdomain .amazonaws.com
acl allowed_http_sites dstdomain .newrelic.com
acl allowed_http_sites dstdomain .windowsupdate.com
acl allowed_http_sites dstdomain .microsoft.com
acl allowed_http_sites dstdomain ocsp.comodoca.com
acl allowed_http_sites dstdomain crl.usertrust.com
acl allowed_http_sites dstdomain ocsp.globalsign.com
acl allowed_http_sites dstdomain crl.globalsign.net


http_access allow allowed_http_sites

https_port 3130 ssl-bump intercept connection-auth=off generate-host-certificates=on dynamic_cert_mem_cache_size=8MB cert=/etc/squid/ssl/squid.pem key=/etc/squid/ssl/squid.key c$acl SSL_port port 443
http_access allow SSL_port
acl allowed_https_sites ssl::server_name .amazonaws.com
acl allowed_https_sites ssl::server_name .newrelic.com
acl allowed_https_sites ssl::server_name .microsoft.com
acl allowed_https_sites ssl::server_name .windowsupdate.com
acl allowed_https_sites ssl::server_name .sumologic.com
acl allowed_https_sites ssl::server_name .datadoghq.com

sslproxy_cert_error allow all

acl NoSSLIntercept ssl::server_name_regex -i "/etc/squid/url.nobump"
acl step1 at_step SslBump1
acl step2 at_step SslBump2
acl step3 at_step SslBump3
ssl_bump peek step1 all
ssl_bump peek step2 allowed_https_sites
ssl_bump peek step2 NoSSLIntercept
ssl_bump splice step1 NoSSLIntercept
ssl_bump splice step3 allowed_https_sites
ssl_bump terminate step2 all

http_access deny all









share|improve this question




























    0















    I have a transparent proxy, Squid, version 3.5.20 (latest stable at this time)
    I need to do domain whitelisting. Squid is configured to do SSLBumping (see squid config below)



    I try to install Sumologic on a server which is located behind the squid transparent NAT.



    The problem is that sumologic cannot connect out through the transparent NAT. Why can't it connect through the app, but I can using curl?



    When I install Sumologic, I get the following error:



    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
    at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
    at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
    at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
    at com.sumologic.scala.collector.rest.RestClient$class.getResponse(RestClient.scala:83)
    at com.sumologic.scala.collector.rest.RestClient$class.makeGetRequest(RestClient.scala:68)
    at com.sumologic.scala.collector.auth.CollectorRegistrationManager.makeGetRequest(CollectorRegistrationManager.scala:49)
    at com.sumologic.scala.collector.rest.RestClient$class.makeRequest(RestClient.scala:119)
    at com.sumologic.scala.collector.auth.CollectorRegistrationManager.com$sumologic$scala$collector$rest$RestClientRetries$$super$makeRequest(CollectorRegistrationManager.scala:49)
    at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$makeRequest$1.apply(RestClientRetries.scala:42)
    at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$makeRequest$1.apply(RestClientRetries.scala:35)
    at com.sumologic.util.retry.Retry$.whileExceptionsAreThrown(Retry.scala:143)
    at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$withRetries$1.apply(RestClientRetries.scala:23)
    at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$withRetries$1.apply(RestClientRetries.scala:23)
    at com.sumologic.scala.collector.rest.RestClientRetries$class.makeRequest(RestClientRetries.scala:35)
    at com.sumologic.scala.collector.auth.CollectorRegistrationManager.com$sumologic$scala$collector$rest$RestClientDeploymentRedirection$$super$makeRequest(CollectorRegistrationManager.scala:49)
    at com.sumologic.scala.collector.rest.RestClientDeploymentRedirection$class.makeRequest(RestClientDeploymentRedirection.scala:74)
    at com.sumologic.scala.collector.auth.CollectorRegistrationManager.makeRequest(CollectorRegistrationManager.scala:49)
    at com.sumologic.scala.collector.auth.CollectorRegistrationManager.ping(CollectorRegistrationManager.scala:361)
    at com.sumologic.scala.collector.Collector.init(Collector.scala:546)
    at com.sumologic.scala.collector.Collector$.main(Collector.scala:831)
    at com.sumologic.scala.collector.Collector.main(Collector.scala)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.EOFException: SSL peer shut down incorrectly
    at sun.security.ssl.InputRecord.read(Unknown Source)
    ... 40 more


    If I open a powershell and do a curl on 'service.au.sumologic.com', it works...



    PS > curl https://service.au.sumologic.com


    StatusCode : 200
    StatusDescription : OK
    Content : <html>
    <body>
    <h2>Tweep</h2>
    </body>
    </html>
    RawContent : HTTP/1.1 200 OK
    Strict-Transport-Security: max-age=15552000
    X-Content-Type-Options: nosniff
    X-Frame-Options: SAMEORIGIN
    X-XSS-Protection: 1; mode=block
    Connection: keep-alive
    Accept-Ranges: byte...
    Forms :
    Headers : [Strict-Transport-Security, max-age=15552000], [X-Content-Type-Options, nosniff],
    [X-Frame-Options, SAMEORIGIN], [X-XSS-Protection, 1; mode=block]...
    Images :
    InputFields :
    Links :
    ParsedHtml : System.__ComObject
    RawContentLength : 44


    In my squid access.log I can see:



    1470638115.212 164 172.26.192.122 TAG_NONE/200 0 CONNECT 54.252.91.36:443 - HIER_NONE/- -


    which is service.au.sumologic.com....



    Have I missed something in my squid config?



    Squid Config



    visible_hostname squid

    http_port 3129 intercept
    acl allowed_http_sites dstdomain .amazonaws.com
    acl allowed_http_sites dstdomain .newrelic.com
    acl allowed_http_sites dstdomain .windowsupdate.com
    acl allowed_http_sites dstdomain .microsoft.com
    acl allowed_http_sites dstdomain ocsp.comodoca.com
    acl allowed_http_sites dstdomain crl.usertrust.com
    acl allowed_http_sites dstdomain ocsp.globalsign.com
    acl allowed_http_sites dstdomain crl.globalsign.net


    http_access allow allowed_http_sites

    https_port 3130 ssl-bump intercept connection-auth=off generate-host-certificates=on dynamic_cert_mem_cache_size=8MB cert=/etc/squid/ssl/squid.pem key=/etc/squid/ssl/squid.key c$acl SSL_port port 443
    http_access allow SSL_port
    acl allowed_https_sites ssl::server_name .amazonaws.com
    acl allowed_https_sites ssl::server_name .newrelic.com
    acl allowed_https_sites ssl::server_name .microsoft.com
    acl allowed_https_sites ssl::server_name .windowsupdate.com
    acl allowed_https_sites ssl::server_name .sumologic.com
    acl allowed_https_sites ssl::server_name .datadoghq.com

    sslproxy_cert_error allow all

    acl NoSSLIntercept ssl::server_name_regex -i "/etc/squid/url.nobump"
    acl step1 at_step SslBump1
    acl step2 at_step SslBump2
    acl step3 at_step SslBump3
    ssl_bump peek step1 all
    ssl_bump peek step2 allowed_https_sites
    ssl_bump peek step2 NoSSLIntercept
    ssl_bump splice step1 NoSSLIntercept
    ssl_bump splice step3 allowed_https_sites
    ssl_bump terminate step2 all

    http_access deny all









    share|improve this question
























      0












      0








      0








      I have a transparent proxy, Squid, version 3.5.20 (latest stable at this time)
      I need to do domain whitelisting. Squid is configured to do SSLBumping (see squid config below)



      I try to install Sumologic on a server which is located behind the squid transparent NAT.



      The problem is that sumologic cannot connect out through the transparent NAT. Why can't it connect through the app, but I can using curl?



      When I install Sumologic, I get the following error:



      javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
      at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
      at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
      at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
      at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
      at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
      at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
      at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
      at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
      at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
      at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
      at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
      at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
      at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
      at com.sumologic.scala.collector.rest.RestClient$class.getResponse(RestClient.scala:83)
      at com.sumologic.scala.collector.rest.RestClient$class.makeGetRequest(RestClient.scala:68)
      at com.sumologic.scala.collector.auth.CollectorRegistrationManager.makeGetRequest(CollectorRegistrationManager.scala:49)
      at com.sumologic.scala.collector.rest.RestClient$class.makeRequest(RestClient.scala:119)
      at com.sumologic.scala.collector.auth.CollectorRegistrationManager.com$sumologic$scala$collector$rest$RestClientRetries$$super$makeRequest(CollectorRegistrationManager.scala:49)
      at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$makeRequest$1.apply(RestClientRetries.scala:42)
      at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$makeRequest$1.apply(RestClientRetries.scala:35)
      at com.sumologic.util.retry.Retry$.whileExceptionsAreThrown(Retry.scala:143)
      at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$withRetries$1.apply(RestClientRetries.scala:23)
      at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$withRetries$1.apply(RestClientRetries.scala:23)
      at com.sumologic.scala.collector.rest.RestClientRetries$class.makeRequest(RestClientRetries.scala:35)
      at com.sumologic.scala.collector.auth.CollectorRegistrationManager.com$sumologic$scala$collector$rest$RestClientDeploymentRedirection$$super$makeRequest(CollectorRegistrationManager.scala:49)
      at com.sumologic.scala.collector.rest.RestClientDeploymentRedirection$class.makeRequest(RestClientDeploymentRedirection.scala:74)
      at com.sumologic.scala.collector.auth.CollectorRegistrationManager.makeRequest(CollectorRegistrationManager.scala:49)
      at com.sumologic.scala.collector.auth.CollectorRegistrationManager.ping(CollectorRegistrationManager.scala:361)
      at com.sumologic.scala.collector.Collector.init(Collector.scala:546)
      at com.sumologic.scala.collector.Collector$.main(Collector.scala:831)
      at com.sumologic.scala.collector.Collector.main(Collector.scala)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.EOFException: SSL peer shut down incorrectly
      at sun.security.ssl.InputRecord.read(Unknown Source)
      ... 40 more


      If I open a powershell and do a curl on 'service.au.sumologic.com', it works...



      PS > curl https://service.au.sumologic.com


      StatusCode : 200
      StatusDescription : OK
      Content : <html>
      <body>
      <h2>Tweep</h2>
      </body>
      </html>
      RawContent : HTTP/1.1 200 OK
      Strict-Transport-Security: max-age=15552000
      X-Content-Type-Options: nosniff
      X-Frame-Options: SAMEORIGIN
      X-XSS-Protection: 1; mode=block
      Connection: keep-alive
      Accept-Ranges: byte...
      Forms :
      Headers : [Strict-Transport-Security, max-age=15552000], [X-Content-Type-Options, nosniff],
      [X-Frame-Options, SAMEORIGIN], [X-XSS-Protection, 1; mode=block]...
      Images :
      InputFields :
      Links :
      ParsedHtml : System.__ComObject
      RawContentLength : 44


      In my squid access.log I can see:



      1470638115.212 164 172.26.192.122 TAG_NONE/200 0 CONNECT 54.252.91.36:443 - HIER_NONE/- -


      which is service.au.sumologic.com....



      Have I missed something in my squid config?



      Squid Config



      visible_hostname squid

      http_port 3129 intercept
      acl allowed_http_sites dstdomain .amazonaws.com
      acl allowed_http_sites dstdomain .newrelic.com
      acl allowed_http_sites dstdomain .windowsupdate.com
      acl allowed_http_sites dstdomain .microsoft.com
      acl allowed_http_sites dstdomain ocsp.comodoca.com
      acl allowed_http_sites dstdomain crl.usertrust.com
      acl allowed_http_sites dstdomain ocsp.globalsign.com
      acl allowed_http_sites dstdomain crl.globalsign.net


      http_access allow allowed_http_sites

      https_port 3130 ssl-bump intercept connection-auth=off generate-host-certificates=on dynamic_cert_mem_cache_size=8MB cert=/etc/squid/ssl/squid.pem key=/etc/squid/ssl/squid.key c$acl SSL_port port 443
      http_access allow SSL_port
      acl allowed_https_sites ssl::server_name .amazonaws.com
      acl allowed_https_sites ssl::server_name .newrelic.com
      acl allowed_https_sites ssl::server_name .microsoft.com
      acl allowed_https_sites ssl::server_name .windowsupdate.com
      acl allowed_https_sites ssl::server_name .sumologic.com
      acl allowed_https_sites ssl::server_name .datadoghq.com

      sslproxy_cert_error allow all

      acl NoSSLIntercept ssl::server_name_regex -i "/etc/squid/url.nobump"
      acl step1 at_step SslBump1
      acl step2 at_step SslBump2
      acl step3 at_step SslBump3
      ssl_bump peek step1 all
      ssl_bump peek step2 allowed_https_sites
      ssl_bump peek step2 NoSSLIntercept
      ssl_bump splice step1 NoSSLIntercept
      ssl_bump splice step3 allowed_https_sites
      ssl_bump terminate step2 all

      http_access deny all









      share|improve this question














      I have a transparent proxy, Squid, version 3.5.20 (latest stable at this time)
      I need to do domain whitelisting. Squid is configured to do SSLBumping (see squid config below)



      I try to install Sumologic on a server which is located behind the squid transparent NAT.



      The problem is that sumologic cannot connect out through the transparent NAT. Why can't it connect through the app, but I can using curl?



      When I install Sumologic, I get the following error:



      javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
      at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
      at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
      at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
      at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
      at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
      at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
      at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
      at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
      at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
      at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
      at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
      at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
      at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
      at com.sumologic.scala.collector.rest.RestClient$class.getResponse(RestClient.scala:83)
      at com.sumologic.scala.collector.rest.RestClient$class.makeGetRequest(RestClient.scala:68)
      at com.sumologic.scala.collector.auth.CollectorRegistrationManager.makeGetRequest(CollectorRegistrationManager.scala:49)
      at com.sumologic.scala.collector.rest.RestClient$class.makeRequest(RestClient.scala:119)
      at com.sumologic.scala.collector.auth.CollectorRegistrationManager.com$sumologic$scala$collector$rest$RestClientRetries$$super$makeRequest(CollectorRegistrationManager.scala:49)
      at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$makeRequest$1.apply(RestClientRetries.scala:42)
      at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$makeRequest$1.apply(RestClientRetries.scala:35)
      at com.sumologic.util.retry.Retry$.whileExceptionsAreThrown(Retry.scala:143)
      at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$withRetries$1.apply(RestClientRetries.scala:23)
      at com.sumologic.scala.collector.rest.RestClientRetries$$anonfun$withRetries$1.apply(RestClientRetries.scala:23)
      at com.sumologic.scala.collector.rest.RestClientRetries$class.makeRequest(RestClientRetries.scala:35)
      at com.sumologic.scala.collector.auth.CollectorRegistrationManager.com$sumologic$scala$collector$rest$RestClientDeploymentRedirection$$super$makeRequest(CollectorRegistrationManager.scala:49)
      at com.sumologic.scala.collector.rest.RestClientDeploymentRedirection$class.makeRequest(RestClientDeploymentRedirection.scala:74)
      at com.sumologic.scala.collector.auth.CollectorRegistrationManager.makeRequest(CollectorRegistrationManager.scala:49)
      at com.sumologic.scala.collector.auth.CollectorRegistrationManager.ping(CollectorRegistrationManager.scala:361)
      at com.sumologic.scala.collector.Collector.init(Collector.scala:546)
      at com.sumologic.scala.collector.Collector$.main(Collector.scala:831)
      at com.sumologic.scala.collector.Collector.main(Collector.scala)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.EOFException: SSL peer shut down incorrectly
      at sun.security.ssl.InputRecord.read(Unknown Source)
      ... 40 more


      If I open a powershell and do a curl on 'service.au.sumologic.com', it works...



      PS > curl https://service.au.sumologic.com


      StatusCode : 200
      StatusDescription : OK
      Content : <html>
      <body>
      <h2>Tweep</h2>
      </body>
      </html>
      RawContent : HTTP/1.1 200 OK
      Strict-Transport-Security: max-age=15552000
      X-Content-Type-Options: nosniff
      X-Frame-Options: SAMEORIGIN
      X-XSS-Protection: 1; mode=block
      Connection: keep-alive
      Accept-Ranges: byte...
      Forms :
      Headers : [Strict-Transport-Security, max-age=15552000], [X-Content-Type-Options, nosniff],
      [X-Frame-Options, SAMEORIGIN], [X-XSS-Protection, 1; mode=block]...
      Images :
      InputFields :
      Links :
      ParsedHtml : System.__ComObject
      RawContentLength : 44


      In my squid access.log I can see:



      1470638115.212 164 172.26.192.122 TAG_NONE/200 0 CONNECT 54.252.91.36:443 - HIER_NONE/- -


      which is service.au.sumologic.com....



      Have I missed something in my squid config?



      Squid Config



      visible_hostname squid

      http_port 3129 intercept
      acl allowed_http_sites dstdomain .amazonaws.com
      acl allowed_http_sites dstdomain .newrelic.com
      acl allowed_http_sites dstdomain .windowsupdate.com
      acl allowed_http_sites dstdomain .microsoft.com
      acl allowed_http_sites dstdomain ocsp.comodoca.com
      acl allowed_http_sites dstdomain crl.usertrust.com
      acl allowed_http_sites dstdomain ocsp.globalsign.com
      acl allowed_http_sites dstdomain crl.globalsign.net


      http_access allow allowed_http_sites

      https_port 3130 ssl-bump intercept connection-auth=off generate-host-certificates=on dynamic_cert_mem_cache_size=8MB cert=/etc/squid/ssl/squid.pem key=/etc/squid/ssl/squid.key c$acl SSL_port port 443
      http_access allow SSL_port
      acl allowed_https_sites ssl::server_name .amazonaws.com
      acl allowed_https_sites ssl::server_name .newrelic.com
      acl allowed_https_sites ssl::server_name .microsoft.com
      acl allowed_https_sites ssl::server_name .windowsupdate.com
      acl allowed_https_sites ssl::server_name .sumologic.com
      acl allowed_https_sites ssl::server_name .datadoghq.com

      sslproxy_cert_error allow all

      acl NoSSLIntercept ssl::server_name_regex -i "/etc/squid/url.nobump"
      acl step1 at_step SslBump1
      acl step2 at_step SslBump2
      acl step3 at_step SslBump3
      ssl_bump peek step1 all
      ssl_bump peek step2 allowed_https_sites
      ssl_bump peek step2 NoSSLIntercept
      ssl_bump splice step1 NoSSLIntercept
      ssl_bump splice step3 allowed_https_sites
      ssl_bump terminate step2 all

      http_access deny all






      ssl squid transparent-proxy






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 8 '16 at 7:15









      MikeMike

      176213




      176213




















          2 Answers
          2






          active

          oldest

          votes


















          0














          The access.log line is the TCP connection arriving and being accepted to begin the bumping process.



          Your ssl_bump rules say to peek at step1 then to terminate at step2 unless the client sent a TLS SNI value containing one of a few whitelisted server names in one of allowed_https_sites or NoSSLIntercept ACLs.



          It seems the Java application either does not send SNI, or sends a value not whitelisted. It also crashes when TLS is unsuccessful (terminated by the other endpoint).






          share|improve this answer






























            -2














            check selinux status



            try following command



            getenforce


            change to "Permissive"






            share|improve this answer

























            • How is this going to change an SSL problem?

              – Jenny D
              Mar 19 at 6:57











            • i am not an linux expert. i was having same issue with my squid server. i changed selinux from "enforcing" to "permissive" and it sorted my issue.

              – user3532209
              Mar 20 at 11:54












            • Advising people to turn off security systems without knowing why it even worked in the first place is extremely negligent.

              – Jenny D
              Mar 20 at 11:56











            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f795432%2fsquid-ssl-bump-tag-none-heir-none%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            The access.log line is the TCP connection arriving and being accepted to begin the bumping process.



            Your ssl_bump rules say to peek at step1 then to terminate at step2 unless the client sent a TLS SNI value containing one of a few whitelisted server names in one of allowed_https_sites or NoSSLIntercept ACLs.



            It seems the Java application either does not send SNI, or sends a value not whitelisted. It also crashes when TLS is unsuccessful (terminated by the other endpoint).






            share|improve this answer



























              0














              The access.log line is the TCP connection arriving and being accepted to begin the bumping process.



              Your ssl_bump rules say to peek at step1 then to terminate at step2 unless the client sent a TLS SNI value containing one of a few whitelisted server names in one of allowed_https_sites or NoSSLIntercept ACLs.



              It seems the Java application either does not send SNI, or sends a value not whitelisted. It also crashes when TLS is unsuccessful (terminated by the other endpoint).






              share|improve this answer

























                0












                0








                0







                The access.log line is the TCP connection arriving and being accepted to begin the bumping process.



                Your ssl_bump rules say to peek at step1 then to terminate at step2 unless the client sent a TLS SNI value containing one of a few whitelisted server names in one of allowed_https_sites or NoSSLIntercept ACLs.



                It seems the Java application either does not send SNI, or sends a value not whitelisted. It also crashes when TLS is unsuccessful (terminated by the other endpoint).






                share|improve this answer













                The access.log line is the TCP connection arriving and being accepted to begin the bumping process.



                Your ssl_bump rules say to peek at step1 then to terminate at step2 unless the client sent a TLS SNI value containing one of a few whitelisted server names in one of allowed_https_sites or NoSSLIntercept ACLs.



                It seems the Java application either does not send SNI, or sends a value not whitelisted. It also crashes when TLS is unsuccessful (terminated by the other endpoint).







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Sep 28 '16 at 0:57









                Amos JeffriesAmos Jeffries

                24015




                24015























                    -2














                    check selinux status



                    try following command



                    getenforce


                    change to "Permissive"






                    share|improve this answer

























                    • How is this going to change an SSL problem?

                      – Jenny D
                      Mar 19 at 6:57











                    • i am not an linux expert. i was having same issue with my squid server. i changed selinux from "enforcing" to "permissive" and it sorted my issue.

                      – user3532209
                      Mar 20 at 11:54












                    • Advising people to turn off security systems without knowing why it even worked in the first place is extremely negligent.

                      – Jenny D
                      Mar 20 at 11:56















                    -2














                    check selinux status



                    try following command



                    getenforce


                    change to "Permissive"






                    share|improve this answer

























                    • How is this going to change an SSL problem?

                      – Jenny D
                      Mar 19 at 6:57











                    • i am not an linux expert. i was having same issue with my squid server. i changed selinux from "enforcing" to "permissive" and it sorted my issue.

                      – user3532209
                      Mar 20 at 11:54












                    • Advising people to turn off security systems without knowing why it even worked in the first place is extremely negligent.

                      – Jenny D
                      Mar 20 at 11:56













                    -2












                    -2








                    -2







                    check selinux status



                    try following command



                    getenforce


                    change to "Permissive"






                    share|improve this answer















                    check selinux status



                    try following command



                    getenforce


                    change to "Permissive"







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Mar 19 at 6:56









                    Jenny D

                    24.4k116196




                    24.4k116196










                    answered Mar 18 at 11:33









                    user3532209user3532209

                    1




                    1












                    • How is this going to change an SSL problem?

                      – Jenny D
                      Mar 19 at 6:57











                    • i am not an linux expert. i was having same issue with my squid server. i changed selinux from "enforcing" to "permissive" and it sorted my issue.

                      – user3532209
                      Mar 20 at 11:54












                    • Advising people to turn off security systems without knowing why it even worked in the first place is extremely negligent.

                      – Jenny D
                      Mar 20 at 11:56

















                    • How is this going to change an SSL problem?

                      – Jenny D
                      Mar 19 at 6:57











                    • i am not an linux expert. i was having same issue with my squid server. i changed selinux from "enforcing" to "permissive" and it sorted my issue.

                      – user3532209
                      Mar 20 at 11:54












                    • Advising people to turn off security systems without knowing why it even worked in the first place is extremely negligent.

                      – Jenny D
                      Mar 20 at 11:56
















                    How is this going to change an SSL problem?

                    – Jenny D
                    Mar 19 at 6:57





                    How is this going to change an SSL problem?

                    – Jenny D
                    Mar 19 at 6:57













                    i am not an linux expert. i was having same issue with my squid server. i changed selinux from "enforcing" to "permissive" and it sorted my issue.

                    – user3532209
                    Mar 20 at 11:54






                    i am not an linux expert. i was having same issue with my squid server. i changed selinux from "enforcing" to "permissive" and it sorted my issue.

                    – user3532209
                    Mar 20 at 11:54














                    Advising people to turn off security systems without knowing why it even worked in the first place is extremely negligent.

                    – Jenny D
                    Mar 20 at 11:56





                    Advising people to turn off security systems without knowing why it even worked in the first place is extremely negligent.

                    – Jenny D
                    Mar 20 at 11:56

















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f795432%2fsquid-ssl-bump-tag-none-heir-none%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                    Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

                    Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020