squid: whitelisting an https site using url_regex
I am trying to use url_regex in a site which is an https and it is not working. I have tried using the said command before for non-https sites and it is working fine.
In the logs, I am having an error of "TCP_DENIED...CONNECT...:443"(I only get the keywords). I am using url_regex because I only want to allow certain pages of the website and not the whole site. I can allow it if I give http_access allow to SSL_ports - which we don't want.
Is there a way for me to whitelist an https site without giving https_allow access to SSL_ports?
you could show us the actual config and intended destination urls so we can see what's going wrong, that'd help. After that all we can do is give you examples of the use of the url_regex acl type and you appear to know the principles behind it already...
Hi, please bear with me..here are the codes. I dont really know from where to where should I copy and post here but the codes below are the ones that I only play around.
http_access allow localhost
acl managers src "/etc/squid/managers"
acl whitelist dstdomain -i "/etc/squid/whitelist"
acl youtubelink url_regex -i "/etc/squid/youtubelinks"
http_access allow managers
http_access allow whitelist all
http_access allow youtubelink all
http_access deny all
Same issue, url specific allow listing not working for https
I have the same issue as the original poster.
In fact in my list of urls paths to be allowed, only those using http protocol are working.
I have a very similar need in that I want to block youtube generally but I want to allow a small list of specific paths on youtube.
Is there a solution to this?
|All times are GMT -5. The time now is 10:00 AM.|