mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-11-02 00:50:54 +00:00
update
git-svn: trunk@501
This commit is contained in:
parent
39467b4747
commit
e3eaadd090
15 changed files with 33 additions and 20 deletions
|
|
@ -108,6 +108,7 @@ Thomas Quinot <thomas*cuivre.fr.eu.org>
|
||||||
Hector M. Rulot Segovia <Hector.Rulot*uv.es>
|
Hector M. Rulot Segovia <Hector.Rulot*uv.es>
|
||||||
David Santinoli <david*santinoli.com>
|
David Santinoli <david*santinoli.com>
|
||||||
Vijay Sarvepalli <vssarvep*office.uncg.edu>
|
Vijay Sarvepalli <vssarvep*office.uncg.edu>
|
||||||
|
Matthew Seaman <m.seaman*infracaninophile.co.uk>
|
||||||
Matt Sullivan <matt*sullivan.gen.nz>
|
Matt Sullivan <matt*sullivan.gen.nz>
|
||||||
Joe Talbott <josepht*cstone.net>
|
Joe Talbott <josepht*cstone.net>
|
||||||
Gernot Tenchio <g.tenchio*telco-tech.de>
|
Gernot Tenchio <g.tenchio*telco-tech.de>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Apr 16 23:20:19 CEST 2004 (tk)
|
||||||
|
----------------------------------
|
||||||
|
* freshclam: fix SIGHUP handling (patch by Dr Matthew J Seaman
|
||||||
|
<m.seaman*infracaninophile.co.uk>)
|
||||||
|
|
||||||
Fri Apr 16 22:21:14 CEST 2004 (tk)
|
Fri Apr 16 22:21:14 CEST 2004 (tk)
|
||||||
----------------------------------
|
----------------------------------
|
||||||
* docs: update
|
* docs: update
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ on our website: http://www.clamav.net/3rdparty.html):
|
||||||
+ ClamAssassin - a filter for procmail
|
+ ClamAssassin - a filter for procmail
|
||||||
+ Gadoyanvirus - a filter for Qmail
|
+ Gadoyanvirus - a filter for Qmail
|
||||||
+ OpenProtect - a complete e-mail protection solution
|
+ OpenProtect - a complete e-mail protection solution
|
||||||
+ RevolSys-SMTP - a complete e-mail protection solution
|
+ RevolSys SMTP kit for Postfix - an antispam/antivirus tools installation
|
||||||
+ POP3 Virus Scanner Daemon
|
+ POP3 Virus Scanner Daemon
|
||||||
+ mailman-clamav - a virus filter for Mailman
|
+ mailman-clamav - a virus filter for Mailman
|
||||||
+ wbmclamav - a webmin module to manage ClamAV
|
+ wbmclamav - a webmin module to manage ClamAV
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -130,7 +130,7 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||||
.
|
.
|
||||||
.
|
.
|
||||||
</PRE>
|
</PRE>
|
||||||
<DT><A NAME="foot941">... file.</A><A NAME="foot941"
|
<DT><A NAME="foot942">... file.</A><A NAME="foot942"
|
||||||
HREF="node14.html#tex2html19"><SUP>4</SUP></A>
|
HREF="node14.html#tex2html19"><SUP>4</SUP></A>
|
||||||
<DD>More info
|
<DD>More info
|
||||||
on clamscan options: <B>man clamscan</B>
|
on clamscan options: <B>man clamscan</B>
|
||||||
|
|
@ -235,7 +235,7 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||||
.
|
.
|
||||||
.
|
.
|
||||||
</PRE>
|
</PRE>
|
||||||
<DT><A NAME="foot1017">... read.</A><A NAME="foot1017"
|
<DT><A NAME="foot1018">... read.</A><A NAME="foot1018"
|
||||||
HREF="node26.html#tex2html70"><SUP>7</SUP></A>
|
HREF="node26.html#tex2html70"><SUP>7</SUP></A>
|
||||||
<DD>Only in a one-file mode (in recursive mode those errors
|
<DD>Only in a one-file mode (in recursive mode those errors
|
||||||
are ignored).
|
are ignored).
|
||||||
|
|
|
||||||
|
|
@ -200,7 +200,7 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||||
<LI><A NAME="tex2html197"
|
<LI><A NAME="tex2html197"
|
||||||
HREF="node56.html">OpenProtect</A>
|
HREF="node56.html">OpenProtect</A>
|
||||||
<LI><A NAME="tex2html198"
|
<LI><A NAME="tex2html198"
|
||||||
HREF="node57.html">RevolSys-SMTP</A>
|
HREF="node57.html">RevolSys SMTP kit for Postfix</A>
|
||||||
<LI><A NAME="tex2html199"
|
<LI><A NAME="tex2html199"
|
||||||
HREF="node58.html">POP3 Virus Scanner Daemon</A>
|
HREF="node58.html">POP3 Virus Scanner Daemon</A>
|
||||||
<LI><A NAME="tex2html200"
|
<LI><A NAME="tex2html200"
|
||||||
|
|
|
||||||
|
|
@ -181,7 +181,7 @@ Contents</A>
|
||||||
<LI><A NAME="tex2html287"
|
<LI><A NAME="tex2html287"
|
||||||
HREF="node56.html">OpenProtect</A>
|
HREF="node56.html">OpenProtect</A>
|
||||||
<LI><A NAME="tex2html288"
|
<LI><A NAME="tex2html288"
|
||||||
HREF="node57.html">RevolSys-SMTP</A>
|
HREF="node57.html">RevolSys SMTP kit for Postfix</A>
|
||||||
<LI><A NAME="tex2html289"
|
<LI><A NAME="tex2html289"
|
||||||
HREF="node58.html">POP3 Virus Scanner Daemon</A>
|
HREF="node58.html">POP3 Virus Scanner Daemon</A>
|
||||||
<LI><A NAME="tex2html290"
|
<LI><A NAME="tex2html290"
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ Testing</A>
|
||||||
</PRE>
|
</PRE>
|
||||||
It should find some test viruses in the clamav-x.yz/test directory.
|
It should find some test viruses in the clamav-x.yz/test directory.
|
||||||
The scan result is saved in the scan.txt log file. <A NAME="tex2html19"
|
The scan result is saved in the scan.txt log file. <A NAME="tex2html19"
|
||||||
HREF="footnode.html#foot941"><SUP>4</SUP></A>. To test clamd: start it and
|
HREF="footnode.html#foot942"><SUP>4</SUP></A>. To test clamd: start it and
|
||||||
use <I>clamdscan</I> (you can also connect directly to clamd and run
|
use <I>clamdscan</I> (you can also connect directly to clamd and run
|
||||||
the SCAN command):
|
the SCAN command):
|
||||||
<PRE>
|
<PRE>
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ Return codes</A>
|
||||||
ALT="$^7$">
|
ALT="$^7$">
|
||||||
<BR> <B>55: </B> I/O error during read.
|
<BR> <B>55: </B> I/O error during read.
|
||||||
<A NAME="tex2html70"
|
<A NAME="tex2html70"
|
||||||
HREF="footnode.html#foot1017"><SUP>7</SUP></A>
|
HREF="footnode.html#foot1018"><SUP>7</SUP></A>
|
||||||
<BR> <B>56: </B> Can't stat input file or directory. File (or directory) you want to
|
<BR> <B>56: </B> Can't stat input file or directory. File (or directory) you want to
|
||||||
scan doesn't exist.
|
scan doesn't exist.
|
||||||
<BR> <B>57: </B> Can't get absolute pathname of current working directory. Your
|
<BR> <B>57: </B> Can't get absolute pathname of current working directory. Your
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ Third party software</A>
|
||||||
<LI><A NAME="tex2html666"
|
<LI><A NAME="tex2html666"
|
||||||
HREF="node56.html">OpenProtect</A>
|
HREF="node56.html">OpenProtect</A>
|
||||||
<LI><A NAME="tex2html667"
|
<LI><A NAME="tex2html667"
|
||||||
HREF="node57.html">RevolSys-SMTP</A>
|
HREF="node57.html">RevolSys SMTP kit for Postfix</A>
|
||||||
<LI><A NAME="tex2html668"
|
<LI><A NAME="tex2html668"
|
||||||
HREF="node58.html">POP3 Virus Scanner Daemon</A>
|
HREF="node58.html">POP3 Virus Scanner Daemon</A>
|
||||||
<LI><A NAME="tex2html669"
|
<LI><A NAME="tex2html669"
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||||
SRC="/usr/share/latex2html/icons/contents.png"></A>
|
SRC="/usr/share/latex2html/icons/contents.png"></A>
|
||||||
<BR>
|
<BR>
|
||||||
<B> Next:</B> <A NAME="tex2html1024"
|
<B> Next:</B> <A NAME="tex2html1024"
|
||||||
HREF="node57.html">RevolSys-SMTP</A>
|
HREF="node57.html">RevolSys SMTP kit for</A>
|
||||||
<B> Up:</B> <A NAME="tex2html1020"
|
<B> Up:</B> <A NAME="tex2html1020"
|
||||||
HREF="node27.html">Third party software</A>
|
HREF="node27.html">Third party software</A>
|
||||||
<B> Previous:</B> <A NAME="tex2html1014"
|
<B> Previous:</B> <A NAME="tex2html1014"
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||||
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
||||||
<HTML>
|
<HTML>
|
||||||
<HEAD>
|
<HEAD>
|
||||||
<TITLE>RevolSys-SMTP</TITLE>
|
<TITLE>RevolSys SMTP kit for Postfix</TITLE>
|
||||||
<META NAME="description" CONTENT="RevolSys-SMTP">
|
<META NAME="description" CONTENT="RevolSys SMTP kit for Postfix">
|
||||||
<META NAME="keywords" CONTENT="clamdoc">
|
<META NAME="keywords" CONTENT="clamdoc">
|
||||||
<META NAME="resource-type" CONTENT="document">
|
<META NAME="resource-type" CONTENT="document">
|
||||||
<META NAME="distribution" CONTENT="global">
|
<META NAME="distribution" CONTENT="global">
|
||||||
|
|
@ -57,14 +57,15 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||||
<!--End of Navigation Panel-->
|
<!--End of Navigation Panel-->
|
||||||
|
|
||||||
<H2><A NAME="SECTION000630000000000000000">
|
<H2><A NAME="SECTION000630000000000000000">
|
||||||
RevolSys-SMTP</A>
|
RevolSys SMTP kit for Postfix</A>
|
||||||
</H2>
|
</H2>
|
||||||
<B>Homepage:</B> <TT><A NAME="tex2html98"
|
<B>Homepage:</B> <TT><A NAME="tex2html98"
|
||||||
HREF="http://www.revolsys.org/">http://www.revolsys.org/</A></TT>
|
HREF="http://smtp.revolsys.org/">http://smtp.revolsys.org/</A></TT>
|
||||||
<BR> <B>Supports:</B> ClamAV via amavisd-new
|
<BR> <B>Supports:</B> ClamAV via amavisd-new
|
||||||
<BR>
|
<BR>
|
||||||
RevolSys-SMTP is an e-mail protection solution consisting of ClamAV,
|
The RevolSyS SMTP kit for Postfix provides an antispam and antivirus
|
||||||
amavisd-new, Spamassassin and required Perl modules.
|
tools installation. It uses amavisd-new, Spamassassin, ClamAV, and Razor.
|
||||||
|
It aims to enhance an already-installed mail server running Postfix.
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
<BR><HR>
|
<BR><HR>
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ original version by: Nikos Drakos, CBLU, University of Leeds
|
||||||
<B> Up:</B> <A NAME="tex2html1044"
|
<B> Up:</B> <A NAME="tex2html1044"
|
||||||
HREF="node27.html">Third party software</A>
|
HREF="node27.html">Third party software</A>
|
||||||
<B> Previous:</B> <A NAME="tex2html1038"
|
<B> Previous:</B> <A NAME="tex2html1038"
|
||||||
HREF="node57.html">RevolSys-SMTP</A>
|
HREF="node57.html">RevolSys SMTP kit for</A>
|
||||||
  <B> <A NAME="tex2html1046"
|
  <B> <A NAME="tex2html1046"
|
||||||
HREF="node1.html">Contents</A></B>
|
HREF="node1.html">Contents</A></B>
|
||||||
<BR>
|
<BR>
|
||||||
|
|
|
||||||
|
|
@ -311,6 +311,8 @@ Contributors</A>
|
||||||
</LI>
|
</LI>
|
||||||
<LI>Scsi <scsi*softland.ru>
|
<LI>Scsi <scsi*softland.ru>
|
||||||
</LI>
|
</LI>
|
||||||
|
<LI>Dr Matthew J Seaman <m.seaman*infracaninophile.co.uk>
|
||||||
|
</LI>
|
||||||
<LI>Hector M. Rulot Segovia <Hector.Rulot*uv.es>
|
<LI>Hector M. Rulot Segovia <Hector.Rulot*uv.es>
|
||||||
</LI>
|
</LI>
|
||||||
<LI>Sergey <a_s_y*sama.ru>
|
<LI>Sergey <a_s_y*sama.ru>
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,7 @@ static void daemon_sighandler(int sig) {
|
||||||
|
|
||||||
case SIGHUP:
|
case SIGHUP:
|
||||||
action = "re-opening log file";
|
action = "re-opening log file";
|
||||||
|
terminate = -2;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
@ -66,10 +67,8 @@ static void daemon_sighandler(int sig) {
|
||||||
terminate = 1;
|
terminate = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
logg("Received signal %d, %s\n", sig, action);
|
logg("Received signal %d, %s\n", sig, action);
|
||||||
if (sig == SIGHUP) {
|
|
||||||
logg(NULL); /* forces log file re-opening */
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -270,7 +269,7 @@ int freshclam(struct optstruct *opt)
|
||||||
system(cpt->strarg);
|
system(cpt->strarg);
|
||||||
}
|
}
|
||||||
|
|
||||||
logg("\n--------------------------------------\n");
|
logg("--------------------------------------\n");
|
||||||
sigaction(SIGALRM, &sigact, &oldact);
|
sigaction(SIGALRM, &sigact, &oldact);
|
||||||
sigaction(SIGUSR1, &sigact, &oldact);
|
sigaction(SIGUSR1, &sigact, &oldact);
|
||||||
time(&wakeup);
|
time(&wakeup);
|
||||||
|
|
@ -280,9 +279,14 @@ int freshclam(struct optstruct *opt)
|
||||||
pause();
|
pause();
|
||||||
time(&now);
|
time(&now);
|
||||||
} while (!terminate && now < wakeup);
|
} while (!terminate && now < wakeup);
|
||||||
|
|
||||||
if (terminate == -1) {
|
if (terminate == -1) {
|
||||||
terminate = 0;
|
terminate = 0;
|
||||||
|
} else if (terminate == -2) {
|
||||||
|
terminate = 0;
|
||||||
|
logg_close();
|
||||||
}
|
}
|
||||||
|
|
||||||
sigaction(SIGALRM, &oldact, NULL);
|
sigaction(SIGALRM, &oldact, NULL);
|
||||||
sigaction(SIGUSR1, &oldact, NULL);
|
sigaction(SIGUSR1, &oldact, NULL);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue