LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-05-2010, 09:30 AM   #1
chuafengru
LQ Newbie
 
Registered: Jun 2010
Posts: 28

Rep: Reputation: 0
Dansguardian- filter google but not kidrex


Hi guys,

I recently came into a problem where i was trying to restrict kids to www.google.com and any other localized google search engines. However, i need to allow them to use www.kidrex.org. Im using squid with dansguardian filtering, and is using a whitelist on squid. which means i only allow whats on the whitelist and deny all.

My problem:
-allow kidrex.org in the whitelist only, however the search engine could not display any results.

this problem forced me to put www.google.com on the whitelist, so that kidrex.org works properly. And this isn't what i want as it introduce potential risk of explicit materials to children.

is there any ways to allow kidrex only, but deny any other access to google search engines?

Regards,
FR
 
Old 07-06-2010, 06:01 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I'm afraid there's not really much you can do. The URLs that kidrex
displays are dynamically generated via javascript from the google
home-page, and I don't know of any way of 'preprocessing' that on
the proxy to suit your needs.


Cheers,
Tink
 
Old 07-12-2010, 03:48 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
AFAICT, you should be able to get it working with something like this (example):
Code:
acl kidrex dstdomain .kidrex.org
acl kidrex_google1 url_regex ^http://www.google.com/afsonline/show_afs_search.js
acl kidrex_google2 url_regex ^http://www.google.com/cse?

http_access allow kidrex
http_access allow kidrex_google1
http_access allow kidrex_google2
http_access deny all
Basically, you allow only the specific Google URLs which KidRex requires (instead of the entire site).
 
  


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
dansguardian filter by username invader44 Linux - Software 0 10-14-2009 03:04 PM
dansguardian filter groups invader44 Linux - Newbie 0 02-17-2009 10:31 PM
How do I switch from filtering to using no filter (dansguardian)? invader44 Linux - Software 2 01-14-2009 08:54 PM
Dansguardian - Won't filter new addresses added to filter list TechnoBod Linux - Software 1 01-08-2008 01:40 AM
DansGuardian: filter for others on LAN tmillard Linux - Networking 1 12-12-2005 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:58 AM.

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