LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-16-2006, 06:02 AM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 504

Rep: Reputation: 31
Lightbulb Dansguardian doesn't work


friends ,

I want to configure "Dansguardian" into my Redhat Linux Enterprise 4 .Hence i have Download Danguardian rpm and install it & configure like the following way :

1) For Squid ,I have written into squid.conf :

acl network src 192.168.10.0/24
http_access allow network

where my network is : 192.168.10.0/24 and my host is "server.example.com (192.168.10.20)"

My squid is running fine .

2) for Danguardian , "Danguardian.conf" is :

reportinglevel = 2

accessdeniedaddress = http://server.example.com/cgi-bin/dansguardian.pl

loglevel = 3

filterip =
filterport = 8080
proxyport = 3128
proxyip = 192.168.10.20

bannedphraselist = '/etc/dansguardian/bannedphraselist'
exceptionphraselist = '/etc/dansguardian/exceptionphraselist'
weightedphraselist = '/etc/dansguardian/weightedphraselist'
bannedsitelist = '/etc/dansguardian/bannedsitelist'
exceptionsitelist = '/etc/dansguardian/exceptionsitelist'
exceptionurllist = '/etc/dansguardian/exceptionurllist'
bannedurllist = '/etc/dansguardian/bannedurllist'
bannedregexpurllist = '/etc/dansguardian/bannedregexpurllist'
bannedextensionlist = '/etc/dansguardian/bannedextensionlist'
bannedmimetypelist = '/etc/dansguardian/bannedmimetypelist'
bannediplist = '/etc/dansguardian/bannediplist'
exceptioniplist = '/etc/dansguardian/exceptioniplist'
banneduserlist = '/etc/dansguardian/banneduserlist'
exceptionuserlist = '/etc/dansguardian/exceptionuserlist'
picsfile = '/etc/dansguardian/pics'

weightedphrasemode = 1
naughtynesslimit = 50
showweightedfound = on

reverseaddresslookups = off
createlistcachefiles = on
maxuploadsize = -1

username_id_method_proxyauth = off
username_id_method_ntlm = off # **NOT IMPLEMENTED**
username_id_method_ident = on

forwarded_for = off
maxchildren = 120
log_connection_handling_errors = on


Using this configuration i write "google.com" in "bannedsitelist" so that user cannot access this site . But it doesn't work ?

Is there any mistake in my configuration ? Is any more thing is necessary , then plz inform me . i will be glad to u ?
 
Old 04-18-2006, 03:08 AM   #2
~=gr3p=~
Member
 
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30
enter filterip = 192.168.10.20

Did you actually start dansguardian process by executing command

# dansguardian

Check if dansguardian is listening on port 8080

# netstat -lnpt

Have you configured your IE/Firefox browser to use Proxy IP = 192.168.10.20 and Proxy Port = 8080 ??

check the dansguardian access log. In my setup it's located here:

# tail -f /usr/local/var/log/dansguardian/access.log

You have to enable logging in the dansguardian.conf file using this variable:

loglocation = '/usr/local/var/log/dansguardian/access.log'

Last edited by ~=gr3p=~; 04-18-2006 at 03:10 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
install DansGuardian Trio3b Linux - Software 3 09-09-2005 04:49 PM
Dansguardian mahmoudkhn Linux - Networking 4 12-20-2004 06:15 AM
Networking with Dansguardian...please help! Louie55 Linux - Networking 3 08-26-2004 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:16 AM.

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