Welcome, Guest. Please login or register.
Did you miss your activation email?
Sunday 17 November 2024, 05:32:02 am

Login with username, password and session length

Download the latest community FREE version  HERE
14258 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  DansGuardian and Google Image Search
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: DansGuardian and Google Image Search  (Read 35549 times)
iandunn
Full Member
***
Offline Offline

Posts: 15


« on: Friday 17 September 2010, 01:47:47 pm »

I'm trying to configure DansGuardian to prevent users from viewing pornography with Google Image Search.

I uncommented the regexes in /etc/dansguardian/lists/urlregexplist that rewrites all requests to use the 'very safe search'.

I also added "SafeSearch off" to /etc/dansguardian/lists/phraselists/pornography/banned, which should block the page if safesearch is off.

I restarted DansGuardian and the neither of those changes seem to be doing anything. Does anyone have any ideas?
Logged
laythingy59
Full Member
***
Offline Offline

Posts: 40


« Reply #1 on: Thursday 07 October 2010, 02:34:59 am »

i'm also having the same issue, I haven't tried the first step though, only the second one.

Any help would be appreciated

Thanks
Logged
laythingy59
Full Member
***
Offline Offline

Posts: 40


« Reply #2 on: Monday 25 October 2010, 08:32:44 pm »

ive found this which i think may be useful
please note the word b.l.o.g should be between the two //  the forum keeps removing the word b.l.o.g
Youll need to remove the full stops Wink

http://www.manystrands.com//force-google-safesearch-dansguardian

ive not implemented it yet as i work from a different site and i cant test the solution.

hope to test it this week sometime
Logged
hickmanr
Full Member
***
Offline Offline

Posts: 17


« Reply #3 on: Wednesday 27 October 2010, 10:40:41 am »

This doesn't directly resolve your issue, however you could add a  extra layers of filtering.

1 - consider filtering by phrases in addition to URLs if you aren't already. So when your users do search for inappropriate content their search phrase may kill the request.

2 - I pointed my EFW DNS to OpenDNS. With OpenDNS you can block by categories or your own custom lists. Take Facebook for example. I can block facebook with EFW unless a student uses HTTPS (port 443 - SSL) to connect to it. However, OpenDNS will block the DNS request regardless of what EFW does. You can get to P.l.ayb.oy using HTTPS as well.
Logged
laythingy59
Full Member
***
Offline Offline

Posts: 40


« Reply #4 on: Friday 29 October 2010, 10:52:10 pm »

ok, tested the solution i posted previously and it doesnt work....

hickmanr.... can you please expand on the phrase filtering and open dns

is it just a case of setting the dns server addresses to opendns's addresses.
do i need an open dns account ?? never used it before.

also, where is the phrase filtering in efw2.4


Thanks
 
Logged
hickmanr
Full Member
***
Offline Offline

Posts: 17


« Reply #5 on: Saturday 30 October 2010, 07:08:12 am »

Open DNS isn't too bad to setup.

First, go to the OpenDNS (.com) website and create account, which is free. They do have a pay for option with more features, which I haven't needed yet.

You'll have to add the IP address of your EFW that will be making the requests. OpenDNS will need to send you an e-mail to verify the address and such. I've had to send their help desk e-mail explaining that my e-mail server lives at a different IP, which they've accommodated for me pretty easily.

Once you get your network added you can start changing the settings for it on the OpenDNS website. It is pretty straight forward. You can block categories and set custom black and white lists. They allow a little bit of customizing to your blocked paged, I added our school's logo to it.

Once you get your account created and some settings taken care of walk through the "Network Configuration" wizard on the "System" tab of EFW and set the DNS to point at OpenDNS, which you can find the IPs for on the bottom of the OpenDNS website.

Test it.



Setting up phrase filtering is done nearly the same way as filtering by URL black lists.

On your EFW go to the Proxy tab… HTTP… Contentfilter tab and create a new profile.

1-   Give the profile a name (i.e. Pornography and A-d.ult Content)
2-   Change the “Max. score for phrases (50-300)” to 250, which I found works well for our students.  Meanwhile, 300 works better for staff. No matter what you set it at I guarantee you’ll have to adjust it.
3-   Expand “Filters pages containing phrases of the following categories. (Content Filtering)”
a.   Select your desired categories of phrases to block. For my example I’ll select: all of A-dul.t, Da-t.ing, and Web Proxies.
4-   Click “Create Profile” then Apply.

Next, click the “Access Policy” Tab and Add Access Policy.

1-   Select your source type, which is probably “Zone” and your source zone is probably “Green”
2-   Leave destination “Any”
3-   Setup the Authentication for your needs.
4-   I don’t normally set a time restriction or User agent
5-   Change the Access Policy to “Allow access”
6-   Set the Filter Profile to the previously created “Pornography and  Content”
7-   Make sure “Enable policy rule” is checked and click “Update policy”

Test it by searching for “Ad-ul.t” words.

Keep in mind; you may need to adjust the phrase score. With phrase filtering you’ll also find that more sites will need to be white listed, especially news websites. They’ll work fine then one day they’ll post an article about child p.o-rn.

Logged
laythingy59
Full Member
***
Offline Offline

Posts: 40


« Reply #6 on: Thursday 04 November 2010, 03:25:02 am »

thanks for this.

Much appreciated

Adam
Logged
riaanjvr
Jr. Member
*
Offline Offline

Posts: 5


« Reply #7 on: Tuesday 23 April 2013, 02:26:36 am »

Except more recently it seems newer versions of web browsers, when used with google actually now bypasses the google image search...
Firefox 2 works, you cant search for images that match any  keyword, but using any newer version like 19 will allow images to go though...

Logged
albertgordojr
Jr. Member
*
Offline Offline

Posts: 6


« Reply #8 on: Wednesday 05 June 2013, 05:28:48 am »

any update with this?
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.109 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com