Koozali.org: home of the SME Server

Squid / Dansguardian Does not work for me.

Offline steve288

  • *
  • 336
  • +0/-0
Squid / Dansguardian Does not work for me.
« on: April 15, 2008, 06:15:55 PM »
I have Squid guard installed and Dansguardian installed.

My simple tests show me that it is running
Squid
[root@wmail rc.d]# rpm -q squid
squid-2.5.STABLE14-1.4E.el4_6.2

And
[root@wmail rc.d]# squid
2008/04/15 11:46:01| Squid is already running!  Process ID 5456

Dansguardian
[root@wmail dansguardian]# rpm -q dansguardian
dansguardian-2.9.9.2-1.el4.sme

[root@wmail dansguardian]# dansguardian
I seem to be running already!

[root@wmail dansguardian]# /etc/init.d/dansguardian status
Parent DansGuardian pid:10707


But when I set up a windows computer to use it as its gateway, we can still get to  x rated or any other sites that I think should be blocked.

When I
 “tail -f /var/log/squid/access.log”

There certainly seems to be a good log there but nothing is blocked.  And it does not show anything being blocked. Eg.

When I go to www.playboy.com I get the following nothing is blocked.

1208275703.611    143 10.1.0.117 TCP_REFRESH_HIT/200 1704 GET http://www.sex.com/images/buttons/searchButton.gif - DIRECT/69.42.90.94 image/gif
1208275703.655     96 10.1.0.117 TCP_REFRESH_HIT/200 1793 GET http://www.sex.com/images/CStemp2/curveTopIvory.jpg - DIRECT/69.42.90.94 image/jpeg
1208275703.841    230 10.1.0.117 TCP_REFRESH_HIT/200 2156 GET http://www.sex.com/images/CStemp2/curveBottomIvory.jpg - DIRECT/69.42.90.94 image/jpeg
1208275704.376    769 10.1.0.117 TCP_MISS/200 10706 GET http://simg.zedo.com/speed-test/10k.gif? - DIRECT/207.138.233.32 image/gif
1208275704.742    688 10.1.0.117 TCP_MISS/200 1283 GET http://d7.zedo.com/ads2/d/2309/0/777/1/e13.js? - DIRECT/96.6.120.16 application/x-javascript
1208275706.463   1521 10.1.0.117 TCP_MISS/200 72588 GET http://www.jeans.com/imagesjeans/jeansAd2D.jpg - DIRECT/198.107.45.46 image/jpeg

10.1.0.117 is my computer.

I have a Squid and Dans on a 6.0 version and it works great.

Can anyone advise me on what seems to be wrong. Thanks.