Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-28-2012, 04:27 AM   #1
Registered: Aug 2009
Location: India,Kerala,Cochin
Distribution: Fedora 11 ,Centos, ubuntu, Redhat
Posts: 42

Rep: Reputation: 1
Wink Solution for blocking some https sites with centos

Hi guys,
Iam using centos5.6, and squid 2.6.STABLE21, now squid is working fine for me, it blocks the given keywords with http only, the problem is clients are accessing https versions of blocked sites, my requirment is to block https also
for eg:
but allow
and i dont want iptables becaus there might be a chance for changing the ips of the blocked sites.

looking forward for a grt support
Old 04-28-2012, 09:48 PM   #2
Registered: Apr 2012
Location: /root
Distribution: Ubuntu, Redhat, Fedora, CentOS
Posts: 190

Rep: Reputation: 55
try this, may be this will helps, this should works in non transparent proxy.

acl bad_sites dstdomain "/etc/squid/bad_sites.txt"
http_access deny bad_sites
http_access deny bad_sites CONNECT

cat /etc/squid/bad_sites.txt


block, facebook, https, squid, ssl

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
linux Proxy server and https sites blocking Ammad Linux - Server 1 08-19-2009 10:26 PM
squid 2.6 not blocking sites even i entered ACL to block sites mohantorvalds Linux - Server 1 01-08-2009 04:17 AM
http > https for 1 of 6 sites hivtop Fedora 1 03-11-2008 01:27 PM
help in blocking https venki Linux - Security 5 06-28-2007 02:44 AM
Client cannot open few https://.. sites i.e. secure sites rajeshghy Linux - General 1 11-02-2006 06:30 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration