Endian Bugtracker
Endian Issue Tracker





Please see now our new Bugtracker system: JIRA








View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002754Endian FirewallProxy HTTPpublic2010-03-08 12:362010-06-07 15:46
Reporterluca-endian 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version2.2 
Target VersionfutureFixed in Version 
Summary0002754: dansguardian and google images
DescriptionWe are seeing problems with dansguardian filtering of google images. If we go to images.google.com and we enter any words, it gets filtered as pornography (even if it wasn't pornography).

For example, if we put the search word "recipe" in at images.google.com we get:

http://images.google.com.au/images?hl=en&q=normal&um=1&ie=UT [^] F-8&sa=N&tab=wi *DENIED* Banned combination phrase found: (google, &safe=off) GET 39913 5 Pornography 1 403 text/html -

below is the URL which gives the above error:

http://images.google.com.au/images?hl=en&q=recipe&btnG=Search+Images&gbv=2&aq=f&oq= [^]


There is a whole discussion on this at http://tech.groups.yahoo.com/group/dansguardian/message/22994 [^] - it seems that its due to a change inthe google pages.

I worked out a workaround, but it requires manual edits. Can endian look at including this in the next update?


Workaround
-----------------
1. In the Content Filtering section of EFW, set Content Filter > Adult > Googlesearches to be allowed.


2. on the EFW command-line, edit the file /etc/dansguardian/phraselists/pornography/banned
so to comment out the line <google>,<&safe=off>
so the file looks like this:

#listcategory: "Pornography"

<family filter is off>,<altavista>,<search>
#<google>,<&safe=off>
<hl=en&safe=off&output=search>
<SafeSearch is OFF>

There are two files which need to be modified, both have the same contents:
/etc/dansguardian/lists/phraselists/pxxxography/banned
/etc/dansguardian/phraselists/pxxxography/banned

Place a hash at the start of these lines:
# <google>,<&safe=off>
#<hl=en&safe=off&output=search>

And then add a line:
<SafeSearch is Off>

3. Restart the HTTP Proxy server. Note: restarting the efw will reset this file back to default.

With this solution, everything gets blocked if safesearch is off in google. Otherwise, searching is allowed, and efw filters after google has applied its filter to the displayed results.
Tagspurple
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2010-03-08 12:36 luca-endian New Issue
2010-03-08 12:36 luca-endian Tag Attached: purple
2010-03-08 13:08 peter-endian Status new => acknowledged
2010-03-08 13:08 peter-endian Target Version => 2.3.1
2010-06-07 15:46 peter-endian Target Version 2.3.1 => future

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker