Koozali.org: home of the SME Server

Dansguardian with Auth login

Offline uli334

  • ****
  • 128
  • +0/-0
Dansguardian with Auth login
« on: June 16, 2016, 03:46:56 PM »
Hello,

I've installed dansguardian on "SME 9.1 i386" following the wiki (https://wiki.contribs.org/Dansguardian).
Then activated "Auth login" exactly as described.

- config setprop squid Transparent no
- config setprop squid RequireAuth pam
(expanded template and squid restart done after each step...)

In "dansguardian.conf" set AuthPlugin to "proxy-basic.conf" and activated all by restarting dansguardian.

In the Win7 workstation the sme-proxy IP is and port (8080) is set. If I try to access a website by HTTP or HTTPS an authentification-window is opened by the browser- I enter username and password of an sme-user (...admin...), click "OK" and the "authentification-window" opens again and so on...

In the /var/log/dansguardian/access.log:
- if calling a site via http nothings appears here
- if calling a site via https the username from the authentification-window is seen here and the site he has called i.e.
   "admin   <server-ip>     https://www.pro-linux.de:443            CONNECT 3898    0               1       200    --"

Behaviour on the workstation side as described above...

Does anyone know what to do?

Greetings,
Uli





Offline Jean-Philippe Pialasse

  • *
  • 2,911
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Dansguardian with Auth login
« Reply #1 on: June 16, 2016, 09:10:51 PM »
Hi,

have you seen this thread ? https://forums.contribs.org/index.php?topic=42736.0

also is you clamav enabled and running ?

Are you using clamav rpm from sme repos, not from epel ?

Offline uli334

  • ****
  • 128
  • +0/-0
Re: Dansguardian with Auth login
« Reply #2 on: June 17, 2016, 04:15:44 AM »
Yes, Im the same who posts about clamav, I only wanted to seperate two themes...
Im using clamav from the repros, not from epel.

Offline uli334

  • ****
  • 128
  • +0/-0
Re: Dansguardian with Auth login
« Reply #3 on: June 17, 2016, 04:45:21 AM »
About clamav Im writing in the other post: https://forums.contribs.org/index.php/topic,52519.0.html

And yes, clamav is running.

Greetings, Uli

Offline Jean-Philippe Pialasse

  • *
  • 2,911
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Dansguardian with Auth login
« Reply #4 on: June 17, 2016, 05:59:49 AM »
what gives the logs when authenticating
/var/logs/messages
/var/log/httpd/access_log
/var/log/httpd/error_log

Offline uli334

  • ****
  • 128
  • +0/-0
Re: Dansguardian with Auth login
« Reply #5 on: June 18, 2016, 01:16:16 PM »
Hello,

- /var/logs/messages:           nothing, no reaction
- /var/log/httpd/access_log:   nothing
- /var/log/httpd/error_log:      nothing
- /var/log/dansguardian/access.log:
  - 2016.6.18 13:11:05   admin   <server-ip>  https://tiles.services.mozilla.com:443   CONNECT 3938  0     1   200
  - 2016.6.18 13:11:05   admin   <server-ip>  https://self-repair.mozilla.org:443      CONNECT 3926  0     1   200
After these two lines an new auth-window appers in the browser. I authentificate again- two new lines appear, then a new auth- window and so on...

Offline Jean-Philippe Pialasse

  • *
  • 2,911
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Dansguardian with Auth login
« Reply #6 on: June 22, 2016, 04:57:22 AM »
Do you use a manual configuration of dansguardian or have you added smeserver-dansguardian-panel ?

I think it will be easier if you can open a bug against dansguardian in bug tracker (http://bugs.contribs.org/enter_bug.cgi?product=SME%20Contribs&component=smeserver-dansguardian&short_desc=&comment=) and post me your configuration files (  dansguardian.conf and  the dansguardianf*.conf you use to start) so I can try to reproduce it .

also the output of the followings would be useful in the bug:
Code: [Select]
# rpm -qa|grep dans
# config show squid
# config show dansguardian

also if you have any template-custom
Code: [Select]
# /sbin/e-smith/audittools/templates