Additional ClamAV signature files

This forum is for all copfilter support related questions in English.
ShelbyGT500
Posts: 846
Joined: 13 May 2010 22:37
Location: FRANCE

Re: Additional ClamAV signature files

Post by ShelbyGT500 » 28 Feb 2012 00:13

Hi,
karesmakro wrote:do you extract the package on a windows machine and copy the file(s) afterwards to IPCop?
You're right!
karesmakro wrote:Please always extract (and/or modify) packages/files on IPCop, this prevents many many problems ;)
I will do next time ;)

Regards.

Severus
Site Admin
Posts: 457
Joined: 10 Dec 2009 07:01
Location: Nürnberg - Germany

Re: Additional ClamAV signature files

Post by Severus » 28 Feb 2012 13:27

New versions released!

Current version for

IPCop 1.4.x with copfilter up to 0.85.2 and IPCop 1.9.x/2.0.0 with copfilter lower than 2.0.90: 0.55.2.4

IPCop 1.4.x with copfilter 0.85.3 or higher and IPCop 2.x.x with copfilter 2.0.90 and higher: 0.55.3.4

changes:
According with karesmakro in all files the cp command was replaced by rsync command whenever possible.
This will spare bandwidth as well as cpu and hdd usage while updating databases.
In addition rsync was updated to version 3.0.9

CopfilterLover
Posts: 17
Joined: 10 Jul 2010 18:50

Re: Additional ClamAV signature files

Post by CopfilterLover » 29 Feb 2012 17:23

Hello,
I've have a copfilter 0.84beta4 with all patch on it.
Additionnal ClamAV signature have been setup on it, I'm in 0.55.2
What should I deploy regarding your new update ?
Thank you for your work
Best regards,
CCh

Severus
Site Admin
Posts: 457
Joined: 10 Dec 2009 07:01
Location: Nürnberg - Germany

Re: Additional ClamAV signature files

Post by Severus » 29 Feb 2012 18:07

Hi,
you may update to 0.55.2.4.
The changes made you can see in former posts.
If you are using many 3rd_party-databases it will be a good idea to update.
Replacing the cp commands wherever possible by rsync command and modifying the clam_db_check.sh file to minimize the database checks to the inevitable ones will spare bandwidth, cpu usage and hdd usage.
And you get new databases and the current rsync version.
Regards Severus

Severus
Site Admin
Posts: 457
Joined: 10 Dec 2009 07:01
Location: Nürnberg - Germany

Re: Additional ClamAV signature files

Post by Severus » 15 Nov 2012 09:25

Hi all,
Hallo zusammen,

there is a new release of the 3rd_party_sigs.
es gibt ein neues Release der 3rd_party_sigs.

Please read
Bitte lest
viewtopic.php?p=486#p486
and the wiki
und das WiKi-

regards
Severus

Severus
Site Admin
Posts: 457
Joined: 10 Dec 2009 07:01
Location: Nürnberg - Germany

Re: Additional ClamAV signature files

Post by Severus » 22 Nov 2012 05:37

Hi all,
Hallo zusammen,

an old bug in mailscanner.sh has reoccured: When using renattach all attached files are marked as "bad".
ein alter Fehler in der mailscanner.sh ist wieder aufgetaucht: Wenn renattach benutzt wird werden alle Dateianhänge als "bad" behandelt.
The bug is fixed.
Der Fehler ist behoben.
If you don't like to reinstall the package please use the fix
Wenn ihr das Paket nicht nochmal neu installieren wollt benutzt den Fix
renattach_fix

The same procedure as any time: download, unpack, execute...
Wie immer: downloaden, entpacken, ausführen...

Image

regards
Severus

CopfilterLover
Posts: 17
Joined: 10 Jul 2010 18:50

Re: Additional ClamAV signature files

Post by CopfilterLover » 02 Dec 2012 19:53

Hello,

I've tried to update 3partySig 0.56.0 on my backup copfilter which is on release 0.85.2.
Installation hasn't finished correctly, staying at the following status a very long time, I had to control C to stop.
"...
copying modified update files...done
updating signature files for enabled scanners.
This may last for some time!
Please wait...
"

on doing this script, I've this message, I think it's linked:
root@secours:/tmp/3rd_party_sig_0.56.0/cronfiles # ./clam_db_check.sh
chmod: cannot access `/tmp/clamdatabases/*': No such file or directory
chown: `spam.copfilter': invalid user

Since I've patched, clamAV didn't update anymore, rules too, folder /tmp/clamdatabase is empty
But regarding GUI, additional items have came (google safebrowse appears etc ..)

I've tried to uninstall/reinstall additional rules package, it does the same.
Renattach patch has been set up, second version of Kare clamAV 0.96 also

What log may I provide you to help it working ?

Thanks in advance
Regards

FischerM
Site Admin
Posts: 544
Joined: 09 Dec 2009 19:24
Location: Rheinbach

Re: Additional ClamAV signature files

Post by FischerM » 02 Dec 2012 21:27

Hi!

Ok, you're running IPCop V1 with Copfilter 0.85.2.

I think, here's the culprit:
CopfilterLover wrote:chown: `spam.copfilter': invalid user
Sounds like the update script tries to set rights for user and group that doesn't exist on this version.

Try

Code: Select all

cat /etc/passwd | cut -d: -f1
cat /etc/group |cut -d: -f1
Then look if spam(user) and copfilter(group) exist on your machine.

If not, 'clam_db_check.sh' has to be changed .

Using 'vi' (Linux-Editor!), replace (line 11):

Code: Select all

chown spam.copfilter $TEMPDIR/*
With:

Code: Select all

chown clamav.clamav $TEMPDIR/*
Be sure that clamav(user/group) exist!

HTH
Matthias

CopfilterLover
Posts: 17
Joined: 10 Jul 2010 18:50

Re: Additional ClamAV signature files

Post by CopfilterLover » 04 Dec 2012 00:31

Thank you Matthias, I've done modification on clam_db_check.sh but I get the following:
chmod: cannot access `/tmp/clamdatabases/*': No such file or directory
chown: cannot access `/tmp/clamdatabases/*': No such file or directory

ClamAV and rules still don't update anymore. I think it's due to installation which didn't finish properly and I've tried to re-install Clam0.96 have same kind of issues:
"copy program files ...
chown: `spam:copfilter': invalid group

Cleaning up directories

Installing HAVP-0.92a!

Stopping havp if enabled
copying program files
chown: `havp:copfilter': invalid group

Update finished
"

edit:
With reinstall of clam, need to do that in order to monit 5.4 be up and running (tips found on this very good forum) :D
root@secours:/var/log/copfilter/default/opt/monit/etc # chown root.root monitrcroot@secours:/var/log/copfilter/default/opt/monit/etc # chmod 700 monitrc

What can I do for 3rdRules installation process goes to the end ?

Thanks for your help
Regards

Severus
Site Admin
Posts: 457
Joined: 10 Dec 2009 07:01
Location: Nürnberg - Germany

Re: Additional ClamAV signature files

Post by Severus » 04 Dec 2012 05:08

Hi CopfilterLover ,

please download the package again and have a go.

Severus

Post Reply