LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-17-2012, 06:51 AM   #1
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
Lightbulb Blocking proxy bypass and porn websites through content filtering on Squid server.


Hi,

I have my Squid Server on RHEL 5.3

Is there any method of blocking proxy bypass websites and porn websites through content filtering method on Squid Server other than using 'safeSquid' and 'squidGuard'.
And without using any blacklist downloaded from any website and copying all urls on a text file and making a rule on squid server.

I want some rule or policy on my squid server so that squid server will be able to block those websites by reading the contents(like porn, sex, etc.) of website and then block that website. Or any any other policy without installing third party software...??

Last edited by Satyaveer Arya; 01-17-2012 at 06:52 AM.
 
Old 01-17-2012, 09:53 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,989

Rep: Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972
Quote:
Originally Posted by Satyaveer Arya View Post
Hi,
I have my Squid Server on RHEL 5.3

Is there any method of blocking proxy bypass websites and porn websites through content filtering method on Squid Server other than using 'safeSquid' and 'squidGuard'. And without using any blacklist downloaded from any website and copying all urls on a text file and making a rule on squid server.

I want some rule or policy on my squid server so that squid server will be able to block those websites by reading the contents(like porn, sex, etc.) of website and then block that website. Or any any other policy without installing third party software...??
Almost the same thing as you asked here:
http://www.linuxquestions.org/questi...server-920569/

..and it was answered here too, as you were directed to earlier:
http://www.linuxquestions.org/questi...3/#post4280914

If you want to block such sites, use Squidguard, safeSquid, or Dansguardian...that's what they were invented for. What you're asking for is basically a magic filter...how do you think you'd block a site, with no rules, blacklists, or other types of identifiers?? You have to set SOME rule SOME WHERE, to do what you want. And if a porn site had an address of "www.myeducationportal.net", and had all the images named "book1.jpg" etc., then it would go right through your 'filter' right?
 
Old 01-18-2012, 02:29 AM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Original Poster
Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
Ok TBOne, I agree with you.

And what about through .htaccess? What do you say?
 
Old 01-18-2012, 12:21 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,989

Rep: Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972
Quote:
Originally Posted by Satyaveer Arya View Post
Ok TBOne, I agree with you.
And what about through .htaccess? What do you say?
Say about what? .htaccess is for AUTHENTICATION, which has nothing to do with ACL's, unless (as previously pointed out to you), you're basing ACL's on user names/authentication. Again, the ACL is separate from the user authentication, and you will need rules for ANY ACL, defined in ANY manner.
 
Old 01-19-2012, 03:05 AM   #5
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Original Poster
Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
But when I was searching on google, I read there was also the method of blocking through htaccess method.
 
Old 01-19-2012, 11:39 AM   #6
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,989

Rep: Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972
Quote:
Originally Posted by Satyaveer Arya View Post
But when I was searching on google, I read there was also the method of blocking through htaccess method.
Did you pay attention to your question that you started this thread with?? You asked:
Quote:
Originally Posted by Satyaveer Arya
Is there any method of blocking proxy bypass websites and porn websites through content filtering method on Squid Server other than using 'safeSquid' and 'squidGuard'.And without using any blacklist downloaded from any website and copying all urls on a text file and making a rule on squid server.
As it reads, you want a 'magic' filter, that will just block things, without you having to actually DO anything, such as make rules, etc. The answer is no. If you can do it through individual .htaccess files (administratively a poor idea), you are STILL DEFINING RULESETS, just in a different place. You are no better off than doing it through blacklists or ACL's.

What is your actual goal? What are you trying to do?
 
Old 01-20-2012, 12:40 AM   #7
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Original Poster
Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
I was just wondering is there any method of blocking proxy bypass websites and porn websites through content filtering method on Squid Server but other than using 'safeSquid' and 'squidGuard' or DNSGuardian. I I was just thinking, if there is any any method.

And I think I got my answer and I think there isn't any other method.. Right?
 
Old 01-20-2012, 11:11 AM   #8
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,989

Rep: Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972Reputation: 2972
Quote:
Originally Posted by Satyaveer Arya View Post
I was just wondering is there any method of blocking proxy bypass websites and porn websites through content filtering method on Squid Server but other than using 'safeSquid' and 'squidGuard' or DNSGuardian. I I was just thinking, if there is any any method.

And I think I got my answer and I think there isn't any other method.. Right?
If you want ANY type of filtering, you have to define rules, period. Where you define them is up to you. There are ways around ANY type of filtering, no matter what you do.
 
Old 01-21-2012, 02:33 AM   #9
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Original Poster
Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
Well, now I got it. So, I'm marking this thread as SOLVED.
 
  


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
[SOLVED] Blocking porn websites through squid server. Satyaveer Arya Linux - Server 13 12-29-2011 02:09 AM
Bypass Content Filtering hector3699 Linux - Software 1 02-01-2010 04:52 PM
Need to know how to use Squid proxy for content filtering surangar Linux - Newbie 2 03-10-2009 03:51 AM
Blocking websites in squid proxy server. crackerB Linux - Software 1 10-18-2006 02:44 AM
Safesquid-Content Filtering Proxy Server davidwalton Linux - Software 1 10-15-2004 05:27 AM


All times are GMT -5. The time now is 07:17 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