Koozali.org: home of the SME Server

Dansguardian install but there Modifying problem

Offline AhmetNuri

  • 19
  • +0/-0
Dansguardian install but there Modifying problem
« 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.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Dansguardian install but there Modifying problem
« Reply #1 on: April 04, 2008, 01:00:11 PM »
AhmetNuri

What version of dansguardian did you install and how did you install it ?
...

Offline AhmetNuri

  • 19
  • +0/-0
Re: Dansguardian install but there Modifying problem
« Reply #2 on: April 08, 2008, 09:36:36 PM »
oo i am too,
 late sorry,
i use 2.9.9.2 version on sme 7.3(upgrade to sme 7.0)


Offline raem

  • *
  • 3,972
  • +4/-0
Re: Dansguardian install but there Modifying problem
« Reply #3 on: April 09, 2008, 05:38:17 AM »
AhmetNuri

Did you install using
yum --enablerepo=smecontribs install smeserver-dansguardian

please show output of
rpm -q dansguadian smeserver-dansguardian
...

Offline AhmetNuri

  • 19
  • +0/-0
Re: Dansguardian install but there Modifying problem
« Reply #4 on: April 24, 2008, 10:39:14 AM »
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

« Last Edit: April 24, 2008, 10:43:11 AM by AhmetNuri »

Offline brianr

  • *
  • 988
  • +2/-0
Re: Dansguardian install but there Modifying problem
« Reply #5 on: April 24, 2008, 05:02:28 PM »
please show output of
rpm -q dansguadian smeserver-dansguardian

try

rpm -qa | grep dansguardian
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline AhmetNuri

  • 19
  • +0/-0
Re: Dansguardian install but there Modifying problem
« Reply #6 on: April 24, 2008, 06:36:44 PM »
when i run
"rpm -q dansguadian smeserver-dansguardian"
show this :

package dansguadian is not installed

Offline brianr

  • *
  • 988
  • +2/-0
Re: Dansguardian install but there Modifying problem
« Reply #7 on: April 24, 2008, 07:17:47 PM »
there is a spelling mistake in that command, try

try

rpm -qa | grep dansguardian

and post the results here.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline AhmetNuri

  • 19
  • +0/-0
Re: Dansguardian install but there Modifying problem
« Reply #8 on: April 24, 2008, 07:39:25 PM »
when i run
"rpm -qa | grep dansguardian"
show this :
smeserver-dansguardian-2.9-3.el4.sme
dansguardian-2.9.9.3-1.el4.sme

Offline brianr

  • *
  • 988
  • +2/-0
Re: Dansguardian install but there Modifying problem
« Reply #9 on: April 24, 2008, 09:28:30 PM »
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
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline AhmetNuri

  • 19
  • +0/-0
Re: Dansguardian install but there Modifying problem
« Reply #10 on: April 25, 2008, 09:51:26 AM »
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?



« Last Edit: April 25, 2008, 11:42:40 AM by AhmetNuri »

Offline brianr

  • *
  • 988
  • +2/-0
Re: Dansguardian install but there Modifying problem
« Reply #11 on: April 25, 2008, 12:04:27 PM »
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.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline AhmetNuri

  • 19
  • +0/-0
Re: Dansguardian install but there Modifying problem
« Reply #12 on: April 25, 2008, 01:54:45 PM »

[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

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Dansguardian install but there Modifying problem
« Reply #13 on: April 25, 2008, 02:15:34 PM »
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.
...

Offline brianr

  • *
  • 988
  • +2/-0
Re: Dansguardian install but there Modifying problem
« Reply #14 on: April 25, 2008, 02:41:42 PM »
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?
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Dansguardian install but there Modifying problem
« Reply #15 on: April 25, 2008, 03:05:17 PM »
Quote
Will you alter the Howto?

already done
...

Offline AhmetNuri

  • 19
  • +0/-0
Re: Dansguardian install but there Modifying problem
« Reply #16 on: April 25, 2008, 03:49:44 PM »
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?



Offline AhmetNuri

  • 19
  • +0/-0
Re: Dansguardian install but there Modifying problem
« Reply #17 on: April 25, 2008, 04:09:22 PM »
thansk for help me and change wiki. :)

« Last Edit: April 25, 2008, 04:24:13 PM by AhmetNuri »

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Dansguardian install but there Modifying problem
« Reply #18 on: April 25, 2008, 04:36:54 PM »
AhmetNuri

Quote
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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline AhmetNuri

  • 19
  • +0/-0
Re: Dansguardian install but there Modifying problem
« Reply #19 on: April 25, 2008, 10:44:00 PM »

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.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Dansguardian install but there Modifying problem
« Reply #20 on: April 26, 2008, 05:21:03 AM »
AhmetNuri

Quote
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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.