Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: AhmetNuri on April 04, 2008, 10:47:01 AM
-
hi,
i use sme server 7.3 upgrade from sme server 7.0
i install Modifying Dansguardian, it is work well.
i use pam auth.
i read this page http://wiki.contribs.org/Dansguardian and read same of forum for this.
Modifying other Dansguardian configuration files
You will need to change other config files to suit your site requirements:
You can read information in the beginning of each config file that explains usage & syntax
These are located in
/etc/dansguardian/lists...
/etc/dansguardian/lists/f1/...
I haven't got
"/etc/dansguardian/lists/f1/" dirctory in lists directory?
This is a problem for me
i create myself "f1" directory but it is empty.
i can't Modifying Dansguardian configuration . Please help me.
Thanks.
-
AhmetNuri
What version of dansguardian did you install and how did you install it ?
-
oo i am too,
late sorry,
i use 2.9.9.2 version on sme 7.3(upgrade to sme 7.0)
-
AhmetNuri
Did you install using
yum --enablerepo=smecontribs install smeserver-dansguardian
please show output of
rpm -q dansguadian smeserver-dansguardian
-
when i run this command "# rpm -q dansguadian smeserver-dansguardian" i see this
package dansguadian is not installed
smeserver-dansguardian-2.9-3.el4.sme
when i run this command "rpm -q dansguadian smeserver-dansguardian" i see this
]# yum --enablerepo=smecontribs install smeserver-dansguardian
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
smecontribs 100% |=========================| 951 B 00:00
smeaddons 100% |=========================| 951 B 00:00
smeos 100% |=========================| 951 B 00:00
smeupdates 100% |=========================| 951 B 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================
have you got any f1 example
-
please show output of
rpm -q dansguadian smeserver-dansguardian
try
rpm -qa | grep dansguardian
-
when i run
"rpm -q dansguadian smeserver-dansguardian"
show this :
package dansguadian is not installed
-
there is a spelling mistake in that command, try
try
rpm -qa | grep dansguardian
and post the results here.
-
when i run
"rpm -qa | grep dansguardian"
show this :
smeserver-dansguardian-2.9-3.el4.sme
dansguardian-2.9.9.3-1.el4.sme
-
Ok, so you have the latest rpm, then I do not know why you do not have the "f1" directory.
Perhaps someone else will come along who does.
In the interim, you could try uninstalling by
rpm -e dansguardian smeserver-dansguardian
and then re-install
yum install --enablerepo=smecontribs dansguardian smeserver-dansguardian
-
hi,
i am update my server and remove Dansguardian than
install again it whit yum.there is no error but there is no f1 directory in /etc/dansguardian/lists/
can you send me f1 directory orj. files for sme 7.3.
thanks for help me.
my dansguardian.conf write that
filtergroupslist = '/etc/dansguardian/lists/filtergroupslist'
is it normal?
-
filtergroupslist = '/etc/dansguardian/lists/filtergroupslist'
is it normal?
yes, same as mine.
please do
cd /etc/dansguardian/lists
ls -l
and paste the result here.
-
[root@kartal dansguardian]# cd /etc/dansguardian/lists
[root@kartal lists]# ls -l
total 152
drw-r--r-- 2 root root 4096 Apr 25 10:46 authplugins
-rw-r--r-- 1 root root 4949 Apr 20 04:06 bannedextensionlist
-rw-r--r-- 1 root root 256 Apr 20 04:06 bannediplist
-rw-r--r-- 1 root root 284 Apr 20 04:06 bannedmimetypelist
-rw-r--r-- 1 root root 1958 Apr 20 04:06 bannedphraselist
-rw-r--r-- 1 root root 321 Apr 20 04:06 bannedregexpheaderlist
-rw-r--r-- 1 root root 5672 Apr 20 04:06 bannedregexpurllist
-rw-r--r-- 1 root root 4986 Apr 25 14:04 bannedsitelist
-rw-r--r-- 1 root root 2641 Apr 25 13:51 bannedurllist
drw-r--r-- 77 root root 4096 Apr 25 11:53 blacklists
-rw-r--r-- 1 root root 4979 Apr 20 04:06 contentregexplist
drw-r--r-- 2 root root 4096 Apr 25 10:46 contentscanners
drw-r--r-- 2 root root 4096 Apr 25 10:46 downloadmanagers
-rw-r--r-- 1 root root 480 Apr 20 04:06 exceptionextensionlist
-rw-r--r-- 1 root root 912 Apr 20 04:06 exceptionfilesitelist
-rw-r--r-- 1 root root 834 Apr 20 04:06 exceptionfileurllist
-rw-r--r-- 1 root root 464 Apr 20 04:06 exceptioniplist
-rw-r--r-- 1 root root 653 Apr 20 04:06 exceptionmimetypelist
-rw-r--r-- 1 root root 538 Apr 20 04:06 exceptionphraselist
-rw-r--r-- 1 root root 109 Apr 20 04:06 exceptionregexpurllist
-rw-r--r-- 1 root root 1275 Apr 20 04:06 exceptionsitelist
-rw-r--r-- 1 root root 361 Apr 20 04:06 exceptionurllist
-rw-r--r-- 1 root root 194 Apr 20 04:06 filtergroupslist
-rw-r--r-- 1 root root 1910 Apr 20 04:06 greysitelist
-rw-r--r-- 1 root root 902 Apr 20 04:06 greyurllist
-rw-r--r-- 1 root root 520 Apr 20 04:06 headerregexplist
-rw-r--r-- 1 root root 623 Apr 20 04:06 logregexpurllist
-rw-r--r-- 1 root root 596 Apr 20 04:06 logsitelist
-rw-r--r-- 1 root root 591 Apr 20 04:06 logurllist
drw-r--r-- 36 root root 4096 Apr 25 10:46 phraselists
-rw-r--r-- 1 root root 2743 Apr 20 04:06 pics
-rw-r--r-- 1 root root 2887 Apr 20 04:06 urlregexplist
-rw-r--r-- 1 root root 6123 Apr 20 04:06 weightedphraselist
-
AhmetNuri
It looks like the file/folder layout has changed in the more recent version of the dansguardian rpm.
I just installed it and there is no f1 folder.
In previous versions there was a f1 folder, but now all the config files are in /etc/dansguardian/lists/
So now you will need to create the f1, f2, f3 etc folders and then copy all the configuration files in /etc/dansguardian/lists
to
/etc/dansguardian/lists/f1/
and
/etc/dansguardian/lists/f2/
and
/etc/dansguardian/lists/f3/
etc etc
Then follow the Howto.
-
AhmetNuri
It looks like the file/folder layout has changed in the more recent version of the dansguardian rpm.
I just installed it and there is no f1 folder.
In previous versions there was a f1 folder, but now all the config files are in /etc/dansguardian/lists/
aha - and my upgrade, preserved the existing one.
Will you alter the Howto?
-
Will you alter the Howto?
already done
-
thansks for help me.
now it is work well. i am very happy.
I want to use transparan squid.
which Auth login methods may i use?
i use now ncsa auth method. is it true?
-
thansk for help me and change wiki. :)
-
AhmetNuri
I want to use transparan squid. which Auth login methods may i use?
i use now ncsa auth method. is it true?
Each Auth login method suits different scenarios. Choose the one that's right for you.
The Howto says you need to disable Transparent proxy if using pam auth.
see http://dansguardian.org or Google for more details.
-
AhmetNuri
Each Auth login method suits different scenarios. Choose the one that's right for you.
The Howto says you need to disable Transparent proxy if using pam auth.
see http://dansguardian.org or Google for more details.
i read that. But I don't konw which is best way for transparent proxy.
-
AhmetNuri
But I don't konw which is best way for transparent proxy.
There is no best way.
You use the auth login method that your situation requires ie if you must authenticate against users on sme server, then you have to use pam auth, you have no other choice, and in that case you need to disable transparent proxy for pam auth to work OK.
If you are happy to maintain seperate user lists then you can use ncsa auth.
If you prefer to use ident auth then you need an ident client software on your workstations.
The reasons for using each vary.
There is no mention of disabling Transparent proxy for ncsa or ident auth in the Howto, so if you feel you must use a Transparent proxy then you are limited to using one of those auth methods.