A little while ago I installed Dansguardian w/ ClamAV from the OpenBSD 4.5 package. I'm running squid for the proxy all on the same OpenBSD 4.5 system.

The software seems to be 'working' fine with the exception of a few issues I've encountered. Most likely these are configuration errors as apposed to application malfunction. Hoping someone will be able to help!

Issue 1:

I've been trying to have more than one filter group with authentication based on the IP address only. When I run Dans I see the following:

# Filter groups options
# filtergroups sets the number of filter groups. A filter group is a set of cont
# filtering options you can apply to a group of users. The value must be 1 or m
# DansGuardian will automatically look for dansguardianfN.conf where N is the fi
# group. To assign users to groups use the filtergroupslist option. All users
# to filter group 1. You must have some sort of authentication to be able to ma
# to a group. The more filter groups the more copies of the lists will be in RA
# use as few as possible.
filtergroups = 2
filtergroupslist = '/etc/dansguardian/lists/filtergroupslist'

I've tried using different combination's to specify the IP range as shown above.

Any idea how to make Dans except the IP range?

Issue 2:

Regarding the AD blocking. How can I specify a custom list to be treated as an AD list. I would like to make use of replacing images with the replacement image provided with Dans. Currently I seem to only be able to block using my "denied page" which technically works but I'd prefer to just see nothing at all.

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 = 1
custombannedimagefile = '/usr/local/share/dansguardian/transparent1x1.gif'

Issue 3:

Not sure if this is an issue. However I see prompts about ClamAV when I start Dans. Should I upgrade or will this cause compatibility issues?

Solved:
Hi, I can see that this issue is due to use groups name, if you don't use the groupname option next #groupname='' , it works properly, just use the name filter1, filter2, etc, in each dansguardianf#.conf file just comment the groupname='' line.
Don't forget assign in ../authplugins/ipgroups file the default filter name filter1,filter2 etc, to the respective subnet segment like this: