LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-30-2010, 05:24 AM   #1
fareedreg
Member
 
Registered: Dec 2007
Posts: 51

Rep: Reputation: 15
Internet access restrictions with squid


I am using internet web control through squid... All is working fine only some little bit issues.

(1) Sometime when i tried to open google.com or any site I got message (The requested URL could not be retrieved) Screen Shot Attached.) but again after sometimes same websites will open.

http://www.desiupload.com/show.php/665979_1.jpg.html

(2) I would like to block word 'sex'.. So I have edit squid.conf with the following acl

acl Blockword url_regex sex
http_access deny Blockword
but problem occur in some websites where 'sensex' word found in url. Then squid block 'sensex' url content website also..

Any suggestion please to resolve these two issue.

Last edited by fareedreg; 12-30-2010 at 07:25 AM.
 
Old 12-30-2010, 07:26 AM   #2
fareedreg
Member
 
Registered: Dec 2007
Posts: 51

Original Poster
Rep: Reputation: 15
Anyone please????????
 
Old 12-30-2010, 10:03 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,935

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Quote:
Originally Posted by fareedreg View Post
I am using internet web control through squid... All is working fine only some little bit issues.

(1) Sometime when i tried to open google.com or any site I got message (The requested URL could not be retrieved) Screen Shot Attached.) but again after sometimes same websites will open.

http://www.desiupload.com/show.php/665979_1.jpg.html
First, don't post follow-ups within a few hours. We volunteer our time here, and answer what (and WHEN) we want to. If you need 24/7/365 help when you want it, pay for SuSE or RedHat enterprise, and they'll be there for you.

Did you try to look up this error?? Plenty of information available on the Squid forums. If this child proxy is on a private network without Internet DNS access then see the Squid FAQ on how to use Squid within a firewall. Test DNS
resolution on the child proxy using dig. If dig fails, then make sure the child proxy is configured with the correct DNS servers and is allowed to query them.
Quote:
(2) I would like to block word 'sex'.. So I have edit squid.conf with the following acl

acl Blockword url_regex sex
http_access deny Blockword
but problem occur in some websites where 'sensex' word found in url. Then squid block 'sensex' url content website also..

Any suggestion please to resolve these two issue.
Again, did you bother to try to look this up, or think about what you did? If you block the word "sex", and it matches in a URL (which is what you TOLD it to do), it'll block the site. There is no problem with that behavior. Create a special file called squid-noblock.acl, with those sites in it.
 
  


Reply


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
Squid internet access getting slower !! arunabh_biswas Linux - Server 1 07-24-2010 06:42 AM
Internet Access Restrictions SBN Linux - Security 30 07-04-2007 09:51 PM
Timed based access restrictions with squid & danguardian keithdj Fedora 3 04-19-2006 11:27 AM
How to allow only Squid to access the internet? varange Linux - Networking 6 12-09-2005 02:24 AM
slow internet access using squid gigi Linux - Networking 4 01-20-2004 01:59 AM


All times are GMT -5. The time now is 12:40 PM.

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