Author Topic: Dansguardian Error  (Read 6389 times)

RoboJ1M

  • Zen Monk
  • **
  • Posts: 51
  • Karma: +0/-0
    • View Profile
Re: Dansguardian Error
« Reply #15 on: June 04, 2009, 04:52:50 pm »
Looks like I've hit the same problem (http://forum.ebox-platform.com/index.php?topic=1432.0)

Default Policy in HTTP Proxy General set to "Filter"

The whole idea is to restrict all access and only allow cobalt-tt3.biz
(Should) Stop customers with our handheld software using it to browse Facebook all day.
Anyway, I've got the Domain filter set to that domain and block all others.
But it just blocks EVERYTHING!

I would send you a backup of my configuration but I just get this when pressing the download button:

"Your request could not be processed because it lacked some required parameters"

I tried stopping squid and dansguardian and using these to get output:

Code: [Select]
/usr/sbin/squid -D -sYC -N
/usr/sbin/dansguardian -N

But it didn't show any output or errors.

Also:

Code: [Select]
root@router-external:/var/log/squid# sudo /etc/init.d/dansguardian stop
 * Stopping DansGuardian dansguardian                                                                                                                         [ OK ]
root@router-external:/var/log/squid# sudo /etc/init.d/dansguardian start
 * Starting DansGuardian dansguardian                                                                                                                         [fail]

Code: [Select]
root@router-external:/var/log/squid# apt-cache policy dansguardian ebox-squid squid
dansguardian:
  Installed: 2.9.9.7-2~hardy2ebox
  Candidate: 2.9.9.7-2~hardy2ebox
  Version table:
 *** 2.9.9.7-2~hardy2ebox 0
        500 http://ppa.launchpad.net hardy/main Packages
        100 /var/lib/dpkg/status
     2.9.9.7-2~hardy2 0
        500 http://gb.archive.ubuntu.com hardy-updates/universe Packages
        500 http://security.ubuntu.com hardy-security/universe Packages
     2.8.0.6-antivirus-6.4.4.1-4build1 0
        500 http://gb.archive.ubuntu.com hardy/universe Packages
ebox-squid:
  Installed: 1.0.1-0ubuntu1~ppa1~hardy2
  Candidate: 1.0.1-0ubuntu1~ppa1~hardy2
  Version table:
 *** 1.0.1-0ubuntu1~ppa1~hardy2 0
        500 http://ppa.launchpad.net hardy/main Packages
        100 /var/lib/dpkg/status
     0.11.99-0ubuntu3 0
        500 http://gb.archive.ubuntu.com hardy/universe Packages
squid:
  Installed: 2.6.18-1ubuntu3
  Candidate: 2.6.18-1ubuntu3
  Version table:
 *** 2.6.18-1ubuntu3 0
        500 http://gb.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

Regards,

J1M.

alfadaemon

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Dansguardian Error
« Reply #16 on: June 04, 2009, 08:49:07 pm »
Javier, I changed the file but the result its the same :(, aflter change I restart the squid module and even restart ebox service but no result.

Before
/var/log/dansguardian/access.log {
        rotate 5
        daily
        prerotate
                /etc/init.d/dansguardian stop > /dev/null 2>&1 || true
        endscript
        postrotate
                /etc/init.d/dansguardian start > /dev/null 2>&1
        endscript
}

After
/var/log/dansguardian/access.log {
        rotate 5
        daily
        prerotate
                /etc/init.d/ebox squid stop > /dev/null 2>&1 || true
        endscript
        postrotate
                /etc/init.d/ebox squid start > /dev/null 2>&1
        endscript
}

I also try to put the proxy without transparent mode and the result was the same.