Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
certain images on certain sites won't load (on the client browsers) when dansguardian is running...
for example, at http://www.tucows.com the images in the blue-edged tables in the center don't load, i just get placeholders... if i re-route to squid, they load fine...
i've googled and i've gone through the dansguardian config files looking for something that could be causing this, but i've had no luck...
why is dansguardian doing this??
isn't it supposed to "leave stuff alone" if it isn't filtered??
i would really appreciate any help you could give me...
thanks!!
PS: it's dansguardian 2.8.0.3 on slackware 10.0...
if i add an affected site to the /etc/dansguardian/exceptionsitelist file (to bypass filtering temporarily, as a test) the images load fine... dansgaurdian is indeed blocking certain images on certain sites... i still don't know why, or how to fix it...
Your Probem lies in /etc/dansguardian/pics
I can load the page fine so its in this config. Once you make your changes do a "dansguardian -r"
Here is mine.
[root@gmbackupsvr ~]# cat /etc/dansguardian/pics
# Enable PICS filtering
# on | off and all other PICS settings are ignored
enablePICS = on
# A more detailed discussion of the options in this file
# can be found in the Detailed Installation Guide on
# the DansGuardian web site.
# The default settings below are aimed at early teens.
# You may wish to reduce or increase this.
I assume that you did a dansguardian -r after that?
Today I was editing mine and it actually had to do a dansquardian -q and then start it again. Well the image place holders could be cause by your squid config file. I am not really sure on this one now.
none of the images (at the top) load with my dansguardian... i don't even get placeholders...
but if i set "usecustombannedimage = 0" in my dansguardian.conf, then i get placeholders for the images, even though they still don't load...
note that at tucows.com i get the placeholders even with "usecustombannedimage = 1" set...
Code:
# Banned image replacement
# Images that are banned due to domain/url/etc reasons including those
# in the adverts blacklists can be replaced by an image. This will,
# for example, hide images from advert sites and remove broken image
# icons from banned domains.
# 0 = off
# 1 = on (default)
usecustombannedimage = 0
custombannedimagefile = '/etc/dansguardian/transparent1x1.gif'
Originally posted by phatboyz I don't get those images also. Hum.....I am out of answers cause I don't know alot dansguardian.
either way, thanks so much for all the help so far, i am very greatful...
okay, here's my latest news:
after checking the names of the files that were being blocked in the http://www.presidencia.gov.co website, i noticed they had the string "tit" in them, for example, one of the images is http://www.presidencia.gov.co/images/tit_casa.jpg so i began to suspect that the "tit" might have something to do with it, for obvious (porn) reasons...
so i did a tail -f /var/log/dansguardian/access.log while accessing http://www.presidencia.gov.co and sure enough i was getting "access denied" for the images... so it was just a matter of tweaking the /etc/dansguardian/bannedregexpurllist file and that issue was fixed...
i'm am now checking my logs for error messages generated by the images on http://www.tucows.com , maybe it's a similar issue... i'm not so sure that it is similar yet because at tucows.com the images aren't replaced with the transparent gif like they were on the colombian government site...
they also give the dreaded "image cannot be displayed because it contains errors" message when i right-click on the placeholder and select "view image"...
interestingly, this one doesn't get a placeholder or an error message, instead i just get a blank page:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.