inoffizielle 3rd-Party Signaturen, update Intervall

Dieses Forum ist für alle Copfilter v2 support Anfragen in Deutsch. (IPCop version 2)

inoffizielle 3rd-Party Signaturen, update Intervall

Postby ron » 23 Jan 2016 17:30

Hallo,

wie ist es möglich das automatische update der inoffizielle 3rd-Party Signaturen von einer Stunde zu erhöhen? Idealerweise sollte hier der Intervall der Clamav Datenbanken übernommen werden.

Da ich Copfilter 2.1.93beta1 mit C-ICAP benutzt ist die kurze Unterbrechung jede Stunde durch das neue laden der Clamav Datenbanken nervig und ein längerer Intervall wäre sehr wünschenswert.

Gruß
Ron
ron
 
Posts: 89
Joined: 11 Dec 2009 20:00

Re: inoffizielle 3rd-Party Signaturen, update Intervall

Postby ShelbyGT500 » 30 Jan 2016 16:57

Hi,

Sorry for english! :)

You need to modify /var/spool/cron/root.origin , in this part :
Code: Select all
### Added by sigfile mod start - do not modify
55 23 * * * root /usr/local/bin/copfilter_3pcron_d >> /var/log/copfilter/default/opt/tmp/cron.si.log 2>&1
22 * * * * root /usr/local/bin/copfilter_3pcron_h >> /var/log/copfilter/default/opt/tmp/cron.sa.log 2>&1
12 */4 * * * root /usr/local/bin/copfilter_3pcron_4h >> /var/log/copfilter/default/opt/tmp/cron.mb.log 2>&1
7,27,47 * * * * root /usr/local/bin/copfilter_3pcron
*/30 * * * * root /usr/local/bin/copfilter_3pcron_clear >> /var/log/copfilter/default/opt/tools/var/log/copfilter_cron.log 2>&1
5 */1 * * * root /usr/local/bin/copfilter_3pcron_mb >> /var/log/copfilter/default/opt/tmp/cron.mb.log 2>&1 &
## Added by sigfile mod end - do not modify


You can in "Test and Logs GUI" (cronpart logs), to choose the frequency and databases you want to change.
According the frequency and the database you want to change , you need to modify for each line the part
Code: Select all
* * * * *


Code: Select all
 # ┌───────────── min (0 - 59)
 # │ ┌────────────── hour (0 - 23)
 # │ │ ┌─────────────── day of month (1 - 31)
 # │ │ │ ┌──────────────── month (1 - 12)
 # │ │ │ │ ┌───────────────── day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0)
 # │ │ │ │ │
 # │ │ │ │ │
 # * * * * *  command to execute


For SecuriteInfo database, the frequency is the same that clamav if you did that viewtopic.php?f=9&t=1189


Then type in the shell :
Code: Select all
fcrontab -z
to save these new settings and reset.

Regards.

ShelbyGT500
ShelbyGT500
 
Posts: 846
Joined: 13 May 2010 22:37
Location: FRANCE

Re: inoffizielle 3rd-Party Signaturen, update Intervall

Postby ron » 31 Jan 2016 11:39

Hi,

I have changed the update interval from hourly to every three hours.

Code: Select all
22 */3 * * * root /usr/local/bin/copfilter_3pcron_h >> /var/log/copfilter/default/opt/tmp/cron.sa.log 2>&1


Following the link I got also SecuriteInfo workin again.Thank you ! I'm just wondering because it doesn't shows the securiteinfo.hdb, spam_marketing.ndb and securiteinfohtml.hdb on the Anrivirus Gui.

Code: Select all
Securiteinfo Datenbanken:
2016-01-30 19:12 javascript.ndb
2016-01-30 19:13 securiteinfoascii.hdb
2016-01-30 19:12 securiteinfo.ign2


BR
Ron
ron
 
Posts: 89
Joined: 11 Dec 2009 20:00

Re: inoffizielle 3rd-Party Signaturen, update Intervall

Postby ShelbyGT500 » 31 Jan 2016 12:47

Hi,

ron wrote:Following the link I got also SecuriteInfo workin again.Thank you ! I'm just wondering because it doesn't shows the securiteinfo.hdb, spam_marketing.ndb and securiteinfohtml.hdb on the Anrivirus Gui.

Code: Select all
Securiteinfo Datenbanken:
2016-01-30 19:12 javascript.ndb
2016-01-30 19:13 securiteinfoascii.hdb
2016-01-30 19:12 securiteinfo.ign2
Ron
You should read all the posts of the link: viewtopic.php?f=9&t=1189#p6006
You need to modify the GUI.

I modified the GUI for my virus scanner mod :
Image

But it is not relaesed for now.All files are ready (with new sophos virus scanner), and working fine.
I just need to find some time to package and released. I hope in a few weeks! :D

Regards.

ShelbyGT500
ShelbyGT500
 
Posts: 846
Joined: 13 May 2010 22:37
Location: FRANCE


Return to German Copfilter v2 Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron