LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-01-2004, 01:49 AM   #1
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Unhappy Problems with DansGuardian


i've got a linux gateway with squid and dansguardian on it...

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...

Last edited by win32sux; 12-01-2004 at 11:11 PM.
 
Old 12-01-2004, 06:48 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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...

=(

Last edited by win32sux; 12-01-2004 at 07:52 PM.
 
Old 12-02-2004, 10:02 AM   #3
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
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.

# ICRA is a new version of RSAC
# 0 = none 1 = some
ICRAchat = 1
ICRAmoderatedchat = 1
ICRAlanguagesexual = 0
ICRAlanguageprofanity = 1
ICRAlanguagemildexpletives = 0
ICRAnuditygraphic = 0
ICRAnuditymalegraphic = 0
ICRAnudityfemalegraphic = 0
ICRAnuditytopless = 0
ICRAnuditybottoms = 0
ICRAnuditysexualacts = 0
ICRAnudityobscuredsexualacts = 0
ICRAnuditysexualtouching = 0
ICRAnuditykissing = 1
ICRAnudityartistic = 1
ICRAnudityeducational = 1
ICRAnuditymedical = 1
ICRAdrugstobacco = 1
ICRAdrugsalcohol = 1
ICRAdrugsuse = 1
ICRAgambling = 1
ICRAweaponuse = 1
ICRAintolerance = 1
ICRAbadexample = 1
ICRApgmaterial = 1
ICRAviolencerape = 0
ICRAviolencetohumans = 0
ICRAviolencetoanimals = 0
ICRAviolencetofantasy = 0
ICRAviolencekillinghumans = 0
ICRAviolencekillinganimals = 0
ICRAviolencekillingfantasy = 0
ICRAviolenceinjuryhumans = 0
ICRAviolenceinjuryanimals = 0
ICRAviolenceinjuryfantasy = 0
ICRAviolenceartisitic = 0
ICRAviolenceeducational = 0
ICRAviolencemedical = 1
ICRAviolencesports = 1
ICRAviolenceobjects = 1

# RSAC
# 0 = none 2 = default 4 = wanton and gratuitous
RSACviolence = 2
RSACsex = 2
RSACnudity = 2
RSAClanguage = 2


# evaluWEB
# 0 = U 1 = PG 2 = 18
evaluWEBrating = 2


# CyberNOT
# 0 = none 8 = lots
CyberNOTsex = 3
CyberNOTother = 3


# SafeSurf
# 0 = full filtering 9 = wanton and gratuitous
SafeSurfprofanity = 3
SafeSurfheterosexualthemes = 3
SafeSurfhomosexualthemes = 3
SafeSurfnudity = 3
SafeSurfviolence = 3
SafeSurfsexviolenceandprofanity = 3
SafeSurfintolerance = 3
SafeSurfdruguse = 3
SafeSurfotheradultthemes = 3
SafeSurfgambling = 3
# 1 = All ages 3 = early teens 9 = explicitly for adults
SafeSurfagerange = 6


# Weburbia
# 0 = U 1 = PG 2 = 18
Weburbiarating = 2


#Vancouver Webpages - low is good high is bad
Vancouvermulticulturalism = 0 # -3 to 2
Vancouvereducationalcontent = 0 # -3 to 1
Vancouverenvironmentalawareness = 0 # -3 to 1
Vancouvertolerance = 0 # -2 to 4
Vancouverviolence = 0 # 0 to 5
Vancouversex = 0 # 0 to 7
Vancouverprofanity = 0 # 0 to 4
Vancouversafety = 0 # -2 to 2
Vancouvercanadiancontent = 0 # -2 to 0
Vancouvercommercialcontent = 0 # 0 to 3
Vancouvergambling = 0 # -1 to 3
[root@gmbackupsvr ~]#
 
Old 12-02-2004, 12:17 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
thanks for the reply, i really appreciate it...

i have enablePICS = off set and still no go... here's what my current pics file looks like:

Code:
# Enable PICS filtering
# on | off and all other PICS settings are ignored
enablePICS = off

# 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.

# ICRA is a new version of RSAC
# 0 = none  1 = some
ICRAchat = 1
ICRAmoderatedchat = 1
ICRAlanguagesexual = 0
ICRAlanguageprofanity = 0
ICRAlanguagemildexpletives = 1
ICRAnuditygraphic = 0
ICRAnuditymalegraphic = 0
ICRAnudityfemalegraphic = 0
ICRAnuditytopless = 0
ICRAnuditybottoms = 0
ICRAnuditysexualacts = 0
ICRAnudityobscuredsexualacts = 0
ICRAnuditysexualtouching = 0
ICRAnuditykissing = 0
ICRAnudityartistic = 1
ICRAnudityeducational = 1
ICRAnuditymedical = 1
ICRAdrugstobacco = 0
ICRAdrugsalcohol = 0
ICRAdrugsuse = 0
ICRAgambling = 0
ICRAweaponuse = 0
ICRAintolerance = 0
ICRAbadexample = 0
ICRApgmaterial = 0
ICRAviolencerape = 0
ICRAviolencetohumans = 0
ICRAviolencetoanimals = 0
ICRAviolencetofantasy = 0
ICRAviolencekillinghumans = 0
ICRAviolencekillinganimals = 0
ICRAviolencekillingfantasy = 0
ICRAviolenceinjuryhumans = 0
ICRAviolenceinjuryanimals = 0
ICRAviolenceinjuryfantasy = 0
ICRAviolenceartisitic = 0
ICRAviolenceeducational = 0
ICRAviolencemedical = 0
ICRAviolencesports = 0
ICRAviolenceobjects = 0

# RSAC
# 0 = none  2 = default  4 = wanton and gratuitous
RSACviolence = 2
RSACsex = 2
RSACnudity = 2
RSAClanguage = 2


# evaluWEB
# 0 = U  1 = PG  2 = 18
evaluWEBrating = 1


# CyberNOT
# 0 = none  8 = lots
CyberNOTsex = 3
CyberNOTother = 3


# SafeSurf
# 0 = full filtering  9 = wanton and gratuitous
SafeSurfprofanity = 3
SafeSurfheterosexualthemes = 3
SafeSurfhomosexualthemes = 3
SafeSurfnudity = 3
SafeSurfviolence = 3
SafeSurfsexviolenceandprofanity = 3
SafeSurfintolerance = 3
SafeSurfdruguse = 3
SafeSurfotheradultthemes = 3
SafeSurfgambling = 3
# 1 = All ages  3 = early teens  9 = explicitly for adults
SafeSurfagerange = 3


# Weburbia
# 0 = U  1 = PG  2 = 18
Weburbiarating = 1


#Vancouver Webpages - low is good high is bad
Vancouvermulticulturalism = 0  # -3 to 2
Vancouvereducationalcontent = 0  # -3 to 1
Vancouverenvironmentalawareness = 0  # -3 to 1
Vancouvertolerance = 0  # -2 to 4
Vancouverviolence = 0  # 0 to 5
Vancouversex = 0  # 0 to 7
Vancouverprofanity = 0  # 0 to 4
Vancouversafety = 0  # -2 to 2
Vancouvercanadiancontent = 0  # -2 to 0
Vancouvercommercialcontent = 0  # 0 to 3
Vancouvergambling = 0  # -1 to 3

Last edited by win32sux; 12-02-2004 at 12:19 PM.
 
Old 12-02-2004, 12:34 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
i just tried using your pics file, and still the same...

=(
 
Old 12-02-2004, 12:43 PM   #6
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
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.
 
Old 12-02-2004, 12:54 PM   #7
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
well, i killed dansguardian and then started it again after re-configuring it...

i've just seen something else.... look at this site:

http://www.presidencia.gov.co

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'
 
Old 12-02-2004, 01:09 PM   #8
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
I don't get those images also. Hum.....I am out of answers cause I don't know alot dansguardian.
 
Old 12-02-2004, 02:19 PM   #9
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
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...

Last edited by win32sux; 12-02-2004 at 02:21 PM.
 
Old 12-02-2004, 04:32 PM   #10
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
i'm not sure i see any errors in the dansguardian log when i load tucows.com...

i set DG at loglevel 3 and this is what i get when i load tucows.com:

Code:
2004.12.2 17:15:56 - 127.0.0.1 http://www.tucows.com  GET 17710
2004.12.2 17:15:56 - 127.0.0.1 http://www.tucows.com/images/ctl.gif  GET 80
2004.12.2 17:15:56 - 127.0.0.1 http://www.tucows.com/images/ctr.gif  GET 79
2004.12.2 17:15:56 - 127.0.0.1 http://www.tucows.com/images/tulo-04.gif  GET 2605
2004.12.2 17:15:56 - 127.0.0.1 http://www.tucows.com/images/blank.gif  GET 43
2004.12.2 17:15:56 - 127.0.0.1 http://adclient1.tucows.com/adserver...7&what=zone:30  GET 806
2004.12.2 17:15:57 - 127.0.0.1 http://www.tucows.com/images/adv1.gif  GET 201
2004.12.2 17:15:57 - 127.0.0.1 http://client4.tucows.com/adserver/a...88&what=zone:3  GET 782
2004.12.2 17:15:57 - 127.0.0.1 http://client4.tucows.com/adserver/a...68&what=zone:1  GET 806
2004.12.2 17:15:57 - 127.0.0.1 http://client4.tucows.com/adserver/a...64&what=zone:5  GET 1179
2004.12.2 17:15:57 - 127.0.0.1 http://www.tucows.com/images/se-go.gif  GET 182
2004.12.2 17:15:57 - 127.0.0.1 http://www.tucows.com/images/dd5.GIF  GET 8721
2004.12.2 17:15:57 - 127.0.0.1 http://www.tucows.com/images/adv2.gif  GET 221
2004.12.2 17:15:57 - 127.0.0.1 http://www.tucows.com/ads/Winguides/6012.gif  GET 5402
2004.12.2 17:15:57 - 127.0.0.1 http://cpc1.tucows.com/pre1.cgi?pre_type=www_cpc&top=1  GET 4697
2004.12.2 17:15:57 - 127.0.0.1 http://ad.doubleclick.net/adi/N2790....sz=120x90;ord=[timestamp]?  GET 504
2004.12.2 17:15:57 - 127.0.0.1 http://cpc1.tucows.com/pre1.cgi?pre_...w_cpc&bottom=1  GET 4674
2004.12.2 17:15:58 - 127.0.0.1 http://www.tucows.com/images/cbl.gif  GET 79
2004.12.2 17:15:58 - 127.0.0.1 http://www.tucows.com/images/cbr.gif  GET 80
2004.12.2 17:15:58 - 127.0.0.1 http://client4.tucows.com/adserver/a...6a&what=zone:2  GET 1185
2004.12.2 17:15:58 - 127.0.0.1 http://www.tucows.com/ads/Google/tucows_728x45.gif  GET 6123
2004.12.2 17:15:58 - 127.0.0.1 http://jdc.tucows.com/cgi-bin/ctasp-...Wt8KMwo68UI&c=  GET 210
2004.12.2 17:15:58 - 127.0.0.1 http://client4.tucows.com/adserver/a...5a8813a6b9595f  GET 43
2004.12.2 17:15:58 - 127.0.0.1 http://adclient1.tucows.com/adserver...4339422d909b42  GET 43
2004.12.2 17:15:58 - 127.0.0.1 http://www.tucows.com/ads/Winzip/winzip_ad.gif  GET 4701
2004.12.2 17:15:58 - 127.0.0.1 http://client4.tucows.com/adserver/a...a9fc13c868bf20  GET 43
2004.12.2 17:15:58 - 127.0.0.1 http://client4.tucows.com/adserver/a...ff4a925195b5d3  GET 43
2004.12.2 17:15:58 - 127.0.0.1 http://cpc1.tucows.com/preimage.cgi?pre_image_id=3641  GET 0
2004.12.2 17:15:58 - 127.0.0.1 http://cpc1.tucows.com/preimage.cgi?pre_image_id=9943  GET 1198
2004.12.2 17:15:58 - 127.0.0.1 http://cpc1.tucows.com/preimage.cgi?pre_image_id=13701  GET 0
2004.12.2 17:15:58 - 127.0.0.1 http://cpc1.tucows.com/preimage.cgi?pre_image_id=13781  GET 1455
2004.12.2 17:15:58 - 127.0.0.1 http://m3.doubleclick.net/viewad/851...gus_120x90.gif  GET 5617
2004.12.2 17:15:59 - 127.0.0.1 http://client4.tucows.com/adserver/a...f41338d4356ac6  GET 43
2004.12.2 17:15:59 - 127.0.0.1 http://ad.doubleclick.net/adi/N2335....z=120x600;ord=[timestamp]?  GET 4140
2004.12.2 17:15:59 - 127.0.0.1 http://jdc.tucows.com/cgi-bin/ctasp-...tucows.com/&f=  GET 20
2004.12.2 17:16:02 - 127.0.0.1 http://m3.doubleclick.net/949851/Pai...20x600_20k.jpg  GET 57104
2004.12.2 17:16:03 - 127.0.0.1 http://www.tucows.com/favicon.ico  GET 2238
these are the URLs for the images that give me placeholders:

http://cpc1.tucows.com/preimage.cgi?pre_image_id=3641

http://cpc1.tucows.com/preimage.cgi?pre_image_id=9943

http://cpc1.tucows.com/preimage.cgi?pre_image_id=13781

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:

http://cpc1.tucows.com/preimage.cgi?pre_image_id=13701

this is getting creepy...

=(


Quote:
Originally posted by phatboyz
the image place holders could be cause by your squid config file.
good point... maybe we can compare squid.confs?? here's mine... could you please post yours??

Code:
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl Safe_ports port 80
acl mylan src 192.168.0.2-192.168.0.254
http_access allow localhost
http_access deny !Safe_ports
http_access allow mylan 
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow localhost
cache_effective_user squid
cache_effective_group squid
cache_dir null /dev/null
cache_mem 64 MB
maximum_object_size_in_memory 256 KB
memory_replacement_policy heap LFUDA
cache_mgr win32sux@blablabla.com
cache_store_log none
cache_access_log /dev/null
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
visible_hostname britney
pid_filename /var/run/squid.pid

Last edited by win32sux; 12-02-2004 at 05:13 PM.
 
Old 12-02-2004, 06:14 PM   #11
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
i've got some more data which i'm currently looking at and googling about...

this is my squid's access log when tucows.com is loaded (correctly) without dansguardian:

Code:
1102032473.766    550 127.0.0.1 TCP_MISS/200 1124 GET http://client4.tucows.com/adserver/adframe.php? - DIRECT/216.40.32.115 text/html
1102032473.781    443 127.0.0.1 TCP_MISS/200 1100 GET http://client4.tucows.com/adserver/adframe.php? - DIRECT/216.40.32.115 text/html
1102032473.784    419 127.0.0.1 TCP_MISS/200 1497 GET http://client4.tucows.com/adserver/adframe.php? - DIRECT/216.40.32.115 text/html
1102032473.916    132 127.0.0.1 TCP_MISS/200 520 GET http://www.tucows.com/images/adv2.gif - DIRECT/216.40.32.30 image/gif
1102032474.040    125 127.0.0.1 TCP_MISS/200 377 GET http://www.tucows.com/images/cbl.gif - DIRECT/216.40.32.30 image/gif
1102032474.081    295 127.0.0.1 TCP_MISS/200 1503 GET http://client4.tucows.com/adserver/adframe.php? - DIRECT/216.40.32.115 text/html
1102032474.195    154 127.0.0.1 TCP_MISS/200 378 GET http://www.tucows.com/images/cbr.gif - DIRECT/216.40.32.30 image/gif
1102032474.237    498 127.0.0.1 TCP_MISS/200 4895 GET http://cpc1.tucows.com/pre1.cgi? - DIRECT/216.40.32.185 text/html
1102032474.298    531 127.0.0.1 TCP_MISS/200 4872 GET http://cpc1.tucows.com/pre1.cgi? - DIRECT/216.40.32.185 text/html
1102032474.423    227 127.0.0.1 TCP_MISS/200 6425 GET http://www.tucows.com/ads/Google/tucows_728x45.gif - DIRECT/216.40.32.30 image/gif
1102032474.703    279 127.0.0.1 TCP_MISS/200 8377 GET http://www.tucows.com/ads/Winguides/6013.gif - DIRECT/216.40.32.30 image/gif
1102032474.723    640 127.0.0.1 TCP_MISS/200 734 GET http://jdc.tucows.com/cgi-bin/ctasp-server.cgi? - DIRECT/216.40.32.140 text/html
1102032474.734    494 127.0.0.1 TCP_MISS/200 442 GET http://adclient1.tucows.com/adserver/adlog.php? - DIRECT/216.40.32.60 image/gif
1102032474.903    170 127.0.0.1 TCP_MISS/200 5003 GET http://www.tucows.com/ads/Winzip/winzip_ad.gif - DIRECT/216.40.32.30 image/gif
1102032474.972    268 127.0.0.1 TCP_MISS/200 442 GET http://client4.tucows.com/adserver/adlog.php? - DIRECT/216.40.32.115 image/gif
1102032475.066    332 127.0.0.1 TCP_MISS/200 442 GET http://client4.tucows.com/adserver/adlog.php? - DIRECT/216.40.32.115 image/gif
1102032475.124    222 127.0.0.1 TCP_MISS/200 694 GET http://ad.doubleclick.net/adi/N2790....sz=120x90;ord=[timestamp]? - DIRECT/216.73.87.20 text/html
1102032475.290    318 127.0.0.1 TCP_MISS/200 442 GET http://client4.tucows.com/adserver/adlog.php? - DIRECT/216.40.32.115 image/gif
1102032475.316    191 127.0.0.1 TCP_MISS/200 442 GET http://client4.tucows.com/adserver/adlog.php? - DIRECT/216.40.32.115 image/gif
1102032475.370    304 127.0.0.1 TCP_MISS/200 4331 GET http://ad.doubleclick.net/adi/N2335....z=120x600;ord=[timestamp]? - DIRECT/216.73.87.20 text/html
1102032475.562    271 127.0.0.1 TCP_MISS/600 4322 GET http://cpc1.tucows.com/preimage.cgi? - DIRECT/216.40.32.185 -
1102032475.606    289 127.0.0.1 TCP_MISS/600 743 GET http://cpc1.tucows.com/preimage.cgi? - DIRECT/216.40.32.185 -
1102032475.635    264 127.0.0.1 TCP_MISS/600 2441 GET http://cpc1.tucows.com/preimage.cgi? - DIRECT/216.40.32.185 -
1102032475.852    287 127.0.0.1 TCP_MISS/200 861 GET http://jdc.tucows.com/cgi-bin/ctasp-server.cgi? - DIRECT/216.40.32.140 text/html
1102032476.043    436 127.0.0.1 TCP_MISS/200 5902 GET http://m3.doubleclick.net/viewad/851...gus_120x90.gif - DIRECT/65.205.8.13 image/gif
1102032477.378   1739 127.0.0.1 TCP_MISS/200 57391 GET http://m3.doubleclick.net/949851/Pai...20x600_20k.jpg - DIRECT/65.205.8.13 image/jpeg
1102032477.604   3359 127.0.0.1 TCP_MISS/600 1321 GET http://cpc1.tucows.com/preimage.cgi? - DIRECT/216.40.32.185 -
1102032477.738    133 127.0.0.1 TCP_MISS/200 2541 GET http://www.tucows.com/favicon.ico - DIRECT/216.40.32.30 text/plain

and this is my squid's access log when tucows.com is loaded (showing missing/corrupt images) using dansguardian:

Code:
1102032615.345    297 127.0.0.1 TCP_MISS/200 1124 GET http://client4.tucows.com/adserver/adframe.php? - DIRECT/216.40.32.115 text/html
1102032615.384    300 127.0.0.1 TCP_MISS/200 1497 GET http://client4.tucows.com/adserver/adframe.php? - DIRECT/216.40.32.115 text/html
1102032615.396      0 127.0.0.1 TCP_MEM_HIT/200 524 GET http://www.tucows.com/images/adv2.gif - NONE/- image/gif
1102032615.401    327 127.0.0.1 TCP_MISS/200 1100 GET http://client4.tucows.com/adserver/adframe.php? - DIRECT/216.40.32.115 text/html
1102032615.417      0 127.0.0.1 TCP_MEM_HIT/200 381 GET http://www.tucows.com/images/cbl.gif - NONE/- image/gif
1102032615.425      0 127.0.0.1 TCP_MEM_HIT/200 382 GET http://www.tucows.com/images/cbr.gif - NONE/- image/gif
1102032615.706    293 127.0.0.1 TCP_MISS/200 1503 GET http://client4.tucows.com/adserver/adframe.php? - DIRECT/216.40.32.115 text/html
1102032615.718      0 127.0.0.1 TCP_MEM_HIT/200 6429 GET http://www.tucows.com/ads/Google/tucows_728x45.gif - NONE/- image/gif
1102032615.747    419 127.0.0.1 TCP_MISS/200 4895 GET http://cpc1.tucows.com/pre1.cgi? - DIRECT/216.40.32.185 text/html
1102032615.762    330 127.0.0.1 TCP_MISS/200 734 GET http://jdc.tucows.com/cgi-bin/ctasp-server.cgi? - DIRECT/216.40.32.140 text/html
1102032615.805    448 127.0.0.1 TCP_MISS/200 4872 GET http://cpc1.tucows.com/pre1.cgi? - DIRECT/216.40.32.185 text/html
1102032616.015    289 127.0.0.1 TCP_MISS/200 437 GET http://adclient1.tucows.com/adserver/adlog.php? - DIRECT/216.40.32.60 image/gif
1102032616.078    260 127.0.0.1 TCP_MISS/200 897 GET http://ad.doubleclick.net/adi/N2790....sz=120x90;ord=[timestamp]? - DIRECT/216.73.87.40 text/html
1102032616.086    310 127.0.0.1 TCP_MISS/200 437 GET http://client4.tucows.com/adserver/adlog.php? - DIRECT/216.40.32.115 image/gif
1102032616.100      1 127.0.0.1 TCP_MEM_HIT/200 5007 GET http://www.tucows.com/ads/Winzip/winzip_ad.gif - NONE/- image/gif
1102032616.117    359 127.0.0.1 TCP_MISS/200 5700 GET http://www.tucows.com/ads/Winguides/6012.gif - DIRECT/216.40.32.30 image/gif
1102032616.259    160 127.0.0.1 TCP_MISS/200 437 GET http://client4.tucows.com/adserver/adlog.php? - DIRECT/216.40.32.115 image/gif
1102032616.303    293 127.0.0.1 TCP_MISS/600 4322 GET http://cpc1.tucows.com/preimage.cgi? - DIRECT/216.40.32.185 -
1102032616.330    305 127.0.0.1 TCP_MISS/200 437 GET http://client4.tucows.com/adserver/adlog.php? - DIRECT/216.40.32.115 image/gif
1102032616.415    145 127.0.0.1 TCP_MISS/200 437 GET http://client4.tucows.com/adserver/adlog.php? - DIRECT/216.40.32.115 image/gif
1102032616.440    331 127.0.0.1 TCP_MISS/200 4534 GET http://ad.doubleclick.net/adi/N2335....z=120x600;ord=[timestamp]? - DIRECT/216.73.87.40 text/html
1102032616.612    273 127.0.0.1 TCP_MISS/200 861 GET http://jdc.tucows.com/cgi-bin/ctasp-server.cgi? - DIRECT/216.40.32.140 text/html
1102032616.624    314 127.0.0.1 TCP_MISS/600 1321 GET http://cpc1.tucows.com/preimage.cgi? - DIRECT/216.40.32.185 -
1102032616.636      0 127.0.0.1 TCP_MEM_HIT/200 5906 GET http://m3.doubleclick.net/viewad/851...gus_120x90.gif - NONE/- image/gif
1102032616.646      1 127.0.0.1 TCP_MEM_HIT/200 57395 GET http://m3.doubleclick.net/949851/Pai...20x600_20k.jpg - NONE/- image/jpeg
1102032616.673    248 127.0.0.1 TCP_MISS/600 743 GET http://cpc1.tucows.com/preimage.cgi? - DIRECT/216.40.32.185 -
1102032616.738    272 127.0.0.1 TCP_MISS/600 2441 GET http://cpc1.tucows.com/preimage.cgi? - DIRECT/216.40.32.185 -
1102032617.047      0 127.0.0.1 TCP_MEM_HIT/200 2545 GET http://www.tucows.com/favicon.ico - NONE/- text/plain
 
Old 12-02-2004, 07:43 PM   #12
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
this is the URL of the code that creates the top table with two of my problem images on tucows.com:

http://cpc1.tucows.com/pre1.cgi?pre_type=www_cpc&top=1

it produces a much shorter log than loading the whole page does, so i'm gonna focus on that URL...

the issue is the same, the two images at the URL above load only when dansguardian isn't used...


this is my squid log when loading the above URL without dansguardian (images load fine):

Code:
1102036628.226    398 127.0.0.1 TCP_MISS/200 4895 GET http://cpc1.tucows.com/pre1.cgi? - DIRECT/216.40.32.185 text/html
1102036628.528    262 127.0.0.1 TCP_REFRESH_HIT/304 204 GET http://www.tucows.com/images/blank.gif - DIRECT/216.40.32.30 -
1102036628.600    326 127.0.0.1 TCP_MISS/600 4322 GET http://cpc1.tucows.com/preimage.cgi? - DIRECT/216.40.32.185 -
1102036628.600    330 127.0.0.1 TCP_MISS/600 1321 GET http://cpc1.tucows.com/preimage.cgi? - DIRECT/216.40.32.185 -
1102036628.655     53 127.0.0.1 TCP_NEGATIVE_HIT/404 491 GET http://cpc1.tucows.com/favicon.ico - NONE/- text/html

this is my squid log when loading that URL with dansguardian (missing images):

Code:
1102036687.905    385 127.0.0.1 TCP_MISS/200 4895 GET http://cpc1.tucows.com/pre1.cgi? - DIRECT/216.40.32.185 text/html
1102036688.079    121 127.0.0.1 TCP_REFRESH_HIT/304 199 GET http://www.tucows.com/images/blank.gif - DIRECT/216.40.32.30 -
1102036688.224    259 127.0.0.1 TCP_MISS/600 1321 GET http://cpc1.tucows.com/preimage.cgi? - DIRECT/216.40.32.185 -
1102036688.286    313 127.0.0.1 TCP_MISS/600 4322 GET http://cpc1.tucows.com/preimage.cgi? - DIRECT/216.40.32.185 -
1102036688.542    238 127.0.0.1 TCP_MISS/404 482 GET http://cpc1.tucows.com/favicon.ico - DIRECT/216.40.32.185 text/html
and here's the dansguardian log when loading the url (missing images):

Code:
2004.12.2 20:41:05 - 127.0.0.1 http://cpc1.tucows.com/pre1.cgi?pre_type=www_cpc&top=1  GET 4697
2004.12.2 20:41:05 - 127.0.0.1 http://www.tucows.com/images/blank.gif  GET 0
2004.12.2 20:41:05 - 127.0.0.1 http://cpc1.tucows.com/preimage.cgi?pre_image_id=3641  GET 0
2004.12.2 20:41:05 - 127.0.0.1 http://cpc1.tucows.com/preimage.cgi?pre_image_id=9943  GET 2600
2004.12.2 20:41:05 - 127.0.0.1 http://cpc1.tucows.com/favicon.ico  GET 277

Last edited by win32sux; 12-02-2004 at 07:46 PM.
 
Old 12-07-2004, 04:26 PM   #13
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
BUMP...
 
  


Reply



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
using DansGuardian Trio3b Linux - Security 4 12-02-2005 03:18 AM
Dansguardian jomy Linux - Networking 2 11-27-2005 09:56 AM
Dansguardian mahmoudkhn Linux - Networking 4 12-20-2004 06:15 AM
DansGuardian/Squid/SquidGuardian problems :-( Sn7 Linux - Security 1 06-21-2004 09:22 AM
dansguardian setup problems!!! kbrian38 Linux - Software 1 06-16-2004 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:34 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
Open Source Consulting | Domain Registration