Results 1 to 6 of 6
Hello Guys,
I am looking to block some of the websites i.e Https sites. Already done with blocking Http sites via squid. Searched for squid solution but ended with no ...
- 06-01-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 7
squid + https block sites
Hello Guys,
I am looking to block some of the websites i.e Https sites. Already done with blocking Http sites via squid. Searched for squid solution but ended with no luck. . Is there a way to block Https sites via squid? If so what are the entries I have to make in squid configuration? Waiting for replies
Thanks in advance
- 06-02-2010 #2
If you can do it by domain or subdomain (you don't give any examples), look at
acl totalfail dstdomain .example.org
substituting a domain you want to block for ".example.org".
- 06-02-2010 #3
The part in bold has me just a bit confused... Do you want to block all HTTPS traffic, or just HTTPS traffic for specific domains? ...or block all to traffic to any domains that allow HTTPS? If you want to block all HTTPS traffic, you could probably just add "port 443" (or maybe "proto https") as a "dangerous" port; see here for more on that.
If you just want to block HTTPS traffic for specific domains, then try using a domain block and an HTTPS block on the same line in the configuration file; look here for the "elements" used.
If you wanted to block all traffic to any domain that allows HTTPS... I don't know; that sounds quite complicated.
Although I am curious... why would you want to block HTTPS specifically?
- 06-02-2010 #4Just Joined!
- Join Date
- Apr 2010
- Posts
- 7
I have successfully allowed some ten Http sites and blocked remaining sites using squid configuration. I am looking for the solution in sqiud for Https sites also - Allow some ten Https sites and block the remaining Https sites. Waiting for one exact solution.
- 06-02-2010 #5Just Joined!
- Join Date
- Jul 2008
- Posts
- 1
Try This and see if this works.
acl special_url url_regex ^[your desired domains go here with the https prefix]
http_access allow [your subnet]
http_access deny any
Note: each url will require a conplete line of the first command.
Goodluck
- 06-04-2010 #6Just Joined!
- Join Date
- Apr 2010
- Posts
- 7
I have tried with the below squid configuration
----
acl special_url url_regex ^[your desired domains go here with the https prefix]
http_access allow [your subnet]
http_access deny any
----
But ended with no luck
Is there any solution in squid configuration or is there any other solution to fill this solution?
Waiting for one good solution.
Thanks in advance.


Reply With Quote
