[squid-users] Some questions about ssl_bump.
bmarkey at gmail.com
Tue Nov 17 18:46:57 UTC 2015
So I "think" I have squid working with https, but to be honest I'm not
really sure. Hopefully someone can point me in the right direction.
We're using squid as a transparent NON caching proxy. It's basically only
there to give us insight into what everyone is using the web for. From
there we'll do some blacklisting via squidguard.
I'm running centos 7, squid installed via yum. Squid version 3.3.8.
Here are my questions.
1. If ssl_bump is working correctly what should I be seeing in my
access.log? Something like this?
1447785601.904 240239 192.168.203.100 TCP_MISS/200 4876 CONNECT
18.104.22.168:443 - HIER_DIRECT/22.214.171.124 -
2. What should ssl_bump be set to? Right now it's set to ssl_bump none
all. I don't think I'm seeing the traffic in the logs. I changed this
and instantly started seeing https in the log BUT could not connect.
Browser errors. Yes I understand how MITM works but I'm not sure what
exactly I'm supposed to be seeing here. I assume if this was working
correctly i'd have push out the self signed cert I used for squid to
3. I'm not able to block https sites with squidguard. I think this is due
to my https proxying not being correct. I'm just not sure what exactly to
look for to troubleshoot.
At the end of the day all I'd like to be able to do is quantify where
people are going, both http and https and to be able to blacklist certain
http_port 3128 intercept
https_port 3129 intercept ssl-bump cert=/opt/squid_certs/proxyCA.pem
wccp2_service standard 0
wccp2_service dynamic 70
wccp2_service_info 70 protocol=tcp flags=src_ip_hash,src_port_alt_hash
debug_options ALL, 1
ssl_bump none all
sslcrtd_program /usr/lib64/squid/ssl_crtd -s /opt/squid_ssldb/ssl_db -M 40
#acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl home_network src 192.168.200.0/21
#acl guest_network src 192.168.1.0/24
#Ports allowed through Squid
acl Safe_ports port 80 #http
acl Safe_ports port 443 #https
acl SSL_ports port 443
acl SSL method CONNECT
acl CONNECT method CONNECT
http_access allow localhost
http_access allow home_network
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
#rewrite program squidGuard
url_rewrite_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
cache deny all
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the squid-users