[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. 99ae9353f6834da0cb73f59f4b32d1f0ae1263fa

Stephen Gran steve at lobefin.net
Thu Sep 4 12:37:06 UTC 2008


The following commit has been merged in the debian/unstable branch:
commit bbbd85d5b0e1c4c8d1617581c4ab861ce421a7fc
Author: Stephen Gran <steve at lobefin.net>
Date:   Thu Sep 4 13:25:53 2008 +0100

    Revert "various updates"
    
    This reverts commit bc0a8db0dd94b7908159a1622f3904652e90b8cd.

diff --git a/ChangeLog b/ChangeLog
index c5c1ef1..dfdcfca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,3 @@
-Tue Mar 18 15:47:47 CET 2008 (tk)
----------------------------------
-  * docs/clamdoc.*: various documentation updates
-  * examples/ex1.c: update to new limits
-
 Tue Mar 18 13:35:00 EET 2008 (edwin)
 ------------------------------------
   * libclamav/entconv.c: fix memory leak (patch from TK)
diff --git a/docs/clamdoc.pdf b/docs/clamdoc.pdf
index 8e060e5..313127d 100644
Binary files a/docs/clamdoc.pdf and b/docs/clamdoc.pdf differ
diff --git a/docs/clamdoc.tex b/docs/clamdoc.tex
index 3c62b58..450f1ff 100644
--- a/docs/clamdoc.tex
+++ b/docs/clamdoc.tex
@@ -127,7 +127,7 @@
 	\item{POSIX compliant, portable}
 	\item{Fast scanning}
 	\item{Supports on-access scanning (Linux and FreeBSD only)}
-	\item{Detects over 230.000 viruses, worms and trojans, including
+	\item{Detects over 158.000 viruses, worms and trojans, including
 	      Microsoft Office macro viruses, mobile malware, and other threats}
 	\item{Scans within archives and compressed files (also protects
 	      against archive bombs), built-in support includes:
@@ -144,15 +144,12 @@
 		\item MS SZDD compression format
 		\item BinHex
 		\item SIS (SymbianOS packages)
-		\item AutoIt
 	    \end{itemize}}
 	\item{Supports Portable Executable (32/64-bit) files compressed or obfuscated with:}
 	    \begin{itemize}
-		\item AsPack
 		\item UPX
 		\item FSG
 		\item Petite
-		\item PeSpin
 		\item NsPack
 		\item wwpack32
 		\item MEW
@@ -203,7 +200,7 @@
     \section{Base package}
 
     \subsection{Supported platforms}
-    Most popular UNIX operating systems are supported. Clam AntiVirus 0.9x was
+    Most popular UNIX operating systems are supported. Clam AntiVirus 0.90 was
     tested on:
     \begin{itemize}
 	\item{GNU/Linux}
@@ -226,13 +223,7 @@
     The following elements are required to compile ClamAV:
     \begin{itemize}
 	\item zlib and zlib-devel packages
-	\item gcc compiler suite (tested with 2.9x, 3.x and 4.x series)\\
-	      \textbf{If you are compiling with higher optimization levels
-	      than the default one (\hbox{-O2} for gcc), be aware that there
-	      have been reports of misoptimizations. The build system of ClamAV
-	      only checks for bugs affecting the default settings, it is your
-	      responsibility to check that your compiler version doesn't
-	      have any bugs.}
+	\item gcc compiler suite (tested with 2.9x, 3.x and 4.x series)
     \end{itemize}
     The following packages are optional but \textbf{highly recommended}:
     \begin{itemize}
@@ -619,15 +610,14 @@ N * * * *	/usr/local/bin/freshclam --quiet
     and 32-bit ELF files. Additionally, it can handle PE files compressed or
     obfuscated with the following tools:
     \begin{itemize}
-	\item Aspack (2.12)
 	\item UPX (all versions)
 	\item FSG (1.3, 1.31, 1.33, 2.0)
 	\item Petite (2.x)
-	\item PeSpin (1.1)
 	\item NsPack
 	\item wwpack32 (1.20)
 	\item MEW
 	\item Upack
+	\item SUE
 	\item Y0da Cryptor (1.3)
     \end{itemize}
 
@@ -650,7 +640,6 @@ N * * * *	/usr/local/bin/freshclam --quiet
 	\item MS SZDD compression format
 	\item BinHex
 	\item SIS (SymbianOS packages)
-	\item AutoIt
     \end{itemize}
 
     \subsubsection{Documents}
@@ -705,13 +694,8 @@ N * * * *	/usr/local/bin/freshclam --quiet
 	Load phishing signatures.
 	\item \textbf{CL\_DB\_PHISHING\_URLS}\\
 	Initialize the phishing detection module and load .wdb and .pdb files.
-	\item \textbf{CL\_DB\_PUA}\\
-	Load signatures for Potentially Unwanted Applications.
-	\item \textbf{CL\_DB\_CVDNOTMP}\\
-	Load CVD files directly without unpacking them into a temporary
-	directory.
     \end{itemize}
-    \verb+cl_load+ returns 0 (\verb+CL_SUCCESS+) on success and a negative
+    \verb+cl_load+ returns 0 (\verb+CL_SUCCESS+) on success and a non-negative
     value on failure.
     \begin{verbatim}
 	    ...
@@ -767,7 +751,7 @@ N * * * *	/usr/local/bin/freshclam --quiet
 	cl_statinidir(dbdir, &dbstat);
     \end{verbatim}
     To check for a change you just need to call \verb+cl_statchkdir+ and check
-    its return value (0 - no change, 1 - some change occured):
+    its return value:
     \begin{verbatim}
 	if(cl_statchkdir(&dbstat) == 1) {
 	    reload_database...;
@@ -788,7 +772,7 @@ N * * * *	/usr/local/bin/freshclam --quiet
 	long int *scanned, const struct cl_engine *engine, const
 	struct cl_limits *limits, unsigned int options);
     \end{verbatim}
-    Both functions will store a virus name under the pointer \verb+virname+,
+    Both functions will save a virus name under the pointer \verb+virname+,
     the virus name is part of the engine structure and must not be released
     directly. If the third argument (\verb+scanned+) is not NULL, the
     functions will increase its value with the size of scanned data (in
@@ -796,17 +780,16 @@ N * * * *	/usr/local/bin/freshclam --quiet
     limits in order to protect against Denial of Service attacks.
     \begin{verbatim}
 struct cl_limits {
-    unsigned long int maxscansize;  /* during the scanning of archives this
-                                     * size will never be exceeded
-                                     */
-    unsigned long int maxfilesize;  /* compressed files will only be
-                                     * decompressed and scanned up to this size
-                                     */
-    unsigned int maxreclevel;       /* maximum recursion level for archives */
-    unsigned int maxfiles;          /* maximum number of files to be scanned
-                                     * within a single archive
-                                     */
-    unsigned short archivememlim;   /* limit memory usage for some unpackers */
+    unsigned int maxreclevel;     /* maximum recursion level for archives */
+    unsigned int maxfiles;        /* maximum number of files to be scanned
+                                   * within a single archive
+                                   */
+    unsigned int maxmailrec;	  /* maximum recursion level for mail files */
+    unsigned int maxratio;	  /* maximum compression ratio */
+    unsigned long int maxfilesize;/* compressed files larger than this limit
+                                   * will not be scanned
+                                   */
+    unsigned short archivememlim;  /* limit memory usage for some unpackers */
 };
     \end{verbatim}
     The last argument (\verb+options+) configures the scan engine and supports
@@ -823,6 +806,9 @@ struct cl_limits {
 	\item \textbf{CL\_SCAN\_BLOCKENCRYPTED}\\
 	      With this flag the library will mark encrypted archives as viruses
 	      (Encrypted.Zip, Encrypted.RAR).
+	\item \textbf{CL\_SCAN\_BLOCKMAX}\\
+	      Mark archives as viruses if \verb+maxfiles+, \verb+maxfilesize+,
+	      or \verb+maxreclevel+ limit is reached.
 	\item \textbf{CL\_SCAN\_MAIL}\\
 	      Enable support for mail files.
 	\item \textbf{CL\_SCAN\_MAILURL}\\
@@ -849,6 +835,9 @@ struct cl_limits {
 	      decryption).
 	\item \textbf{CL\_SCAN\_ALGORITHMIC}\\
 	      Enable algorithmic detection of viruses.
+	\item \textbf{CL\_SCAN\_PHISHING\_DOMAINLIST}\\
+	      Phishing module: restrict URL scanning to domains from .pdf
+	      (RECOMMENDED).
 	\item \textbf{CL\_SCAN\_PHISHING\_BLOCKSSL}\\
 	      Phishing module: always block SSL mismatches in URLs.
 	\item \textbf{CL\_SCAN\_PHISHING\_BLOCKCLOAK}\\
@@ -862,10 +851,14 @@ struct cl_limits {
 	    const char *virname;
 
 	memset(&limits, 0, sizeof(struct cl_limits));
-	limits.maxfiles = 10000;
-	limits.maxscansize = 100 * 1048576; /* 100 MB */
-	limits.maxfilesize = 10 * 1048576; /* 10 MB */
-	limits.maxreclevel = 16;
+	limits.maxfiles = 1000; /* max files */
+	limits.maxfilesize = 10 * 1048576; /* maximum size of archived or
+                                    * compressed file (files exceeding
+                                    * this limit will be ignored)
+                                    */
+	limits.maxreclevel = 5; /* maximum recursion level for archives */
+	limits.maxmailrec = 64; /* maximum recursion level for mail files */
+	limits.maxratio = 200; /* maximum compression ratio */
 
 	if((ret = cl_scanfile("/tmp/test.exe", &virname, NULL, engine,
 	&limits, CL_STDOPT)) == CL_VIRUS) {
@@ -878,7 +871,7 @@ struct cl_limits {
     \end{verbatim}
 
     \subsubsection{Memory}
-    Because the engine structure occupies a few megabytes of system memory, you
+    Because the engine structure consumes a few megabytes of system memory, you
     should release it with \verb+cl_free+ if you no longer need to scan files.
 
     \subsubsection{clamav-config}
@@ -909,16 +902,15 @@ level required:MD5 checksum:digital signature:builder name:build time (sec)
     \verb+sigtool --info+ displays detailed information on CVD files:
     \begin{verbatim}
 zolw at localhost:/usr/local/share/clamav$ sigtool -i daily.cvd 
-File: daily.cvd
-Build time: 10 Mar 2008 10:45 +0000
-Version: 6191
-Signatures: 59084
-Functionality level: 26
+Build time: 11 Feb 2007 19-28 +0000
+Version: 2553
+# of signatures: 6063
+Functionality level: 9
 Builder: ccordes
-MD5: 6e6e29dae36b4b7315932c921e568330
-Digital signature: zz9irc9irupR3z7yX6J+OR6XdFPUat4HIM9ERn3kAcOWpcMFxq
-Fs4toG5WJsHda0Jj92IUusZ7wAgYjpai1Nr+jFfXHsJxv0dBkS5/XWMntj0T1ctNgqmiF
-+RLU6V0VeTl4Oej3Aya0cVpd9K4XXevEO2eTTvzWNCAq0ZzWNdjc
+MD5: 7f337b409249e11dea3effb04dd352f2
+Digital signature: 6Ybd2eeDHBAs8raaEwmayqzoa5ysGDNnQ5Cc89mS2VCm1jRXZP
+ke/itmkTyYQTc/rgJc2uQPr+NvzvUxRpsniwoyZ/gIkPniCLnqVCYOOytwtmirivbrV8j
+0kzxb9nHd+5UQqj/Z3rLbS7T5HCbRX3uE0JX1tAo642Gq9ACH9Fc
 Verification OK.
     \end{verbatim}
 
diff --git a/docs/html/clamdoc.html b/docs/html/clamdoc.html
index 7760221..3ab699c 100644
--- a/docs/html/clamdoc.html
+++ b/docs/html/clamdoc.html
@@ -209,7 +209,7 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/footnode.html b/docs/html/footnode.html
index 4a51ed2..66dad5a 100644
--- a/docs/html/footnode.html
+++ b/docs/html/footnode.html
@@ -98,7 +98,7 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
 .
 </PRE>
 </DD>
-<DT><A NAME="foot136">... system:</A><A
+<DT><A NAME="foot135">... system:</A><A
  HREF="node12.html#tex2html7"><SUP><SPAN CLASS="arabic">3</SPAN></SUP></A></DT>
 <DD>Cygwin note: If you have not
     /etc/passwd you can skip this point
@@ -135,7 +135,7 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
 .
 </PRE>
 </DD>
-<DT><A NAME="foot177">... file</A><A
+<DT><A NAME="foot176">... file</A><A
  HREF="node19.html#tex2html9"><SUP><SPAN CLASS="arabic">4</SPAN></SUP></A></DT>
 <DD>To get more info on clamscan options run 'man clamscan'
 
@@ -171,7 +171,7 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
 .
 </PRE>
 </DD>
-<DT><A NAME="foot211">... file</A><A
+<DT><A NAME="foot210">... file</A><A
  HREF="node23.html#tex2html13"><SUP><SPAN CLASS="arabic">5</SPAN></SUP></A></DT>
 <DD>man 5 clamd.conf
 
@@ -207,7 +207,7 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
 .
 </PRE>
 </DD>
-<DT><A NAME="foot268">... it</A><A
+<DT><A NAME="foot267">... it</A><A
  HREF="node30.html#tex2html14"><SUP><SPAN CLASS="arabic">6</SPAN></SUP></A></DT>
 <DD>You can still use clamd or clamscan instead
 
@@ -243,7 +243,7 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
 .
 </PRE>
 </DD>
-<DT><A NAME="foot291">... <code>signo</code></A><A
+<DT><A NAME="foot290">... <code>signo</code></A><A
  HREF="node39.html#tex2html15"><SUP><SPAN CLASS="arabic">7</SPAN></SUP></A></DT>
 <DD>Remember to initialize the virus counter
     variable with 0.
diff --git a/docs/html/index.html b/docs/html/index.html
index 7760221..3ab699c 100644
--- a/docs/html/index.html
+++ b/docs/html/index.html
@@ -209,7 +209,7 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node1.html b/docs/html/node1.html
index a0dfa4b..bde7749 100644
--- a/docs/html/node1.html
+++ b/docs/html/node1.html
@@ -179,7 +179,7 @@ ClamAV and Clam AntiVirus are trademarks of Sourcefire, Inc.
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node10.html b/docs/html/node10.html
index 88192d7..0ef9a80 100644
--- a/docs/html/node10.html
+++ b/docs/html/node10.html
@@ -61,12 +61,6 @@ Requirements</A>
 <LI>zlib and zlib-devel packages
 </LI>
 <LI>gcc compiler suite (tested with 2.9x, 3.x and 4.x series)
-<BR>	      <SPAN  CLASS="textbf">If you are compiling with higher optimization levels
-	      than the default one (-O2 for gcc), be aware that there
-	      have been reports of misoptimizations. The build system of ClamAV
-	      only checks for bugs affecting the default settings, it is your
-	      responsibility to check that your compiler version doesn't
-	      have any bugs.</SPAN>
     
 </LI>
 </UL>
@@ -96,7 +90,7 @@ A note for Solaris/SPARC users: you must set the <SPAN  CLASS="textit">ABI</SPAN
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node11.html b/docs/html/node11.html
index e3e9f61..b267936 100644
--- a/docs/html/node11.html
+++ b/docs/html/node11.html
@@ -75,7 +75,7 @@ Installing on shell account</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node12.html b/docs/html/node12.html
index 70e7910..c4917c2 100644
--- a/docs/html/node12.html
+++ b/docs/html/node12.html
@@ -57,7 +57,7 @@ Adding new system user and group</A>
 </H2>
     If you are installing ClamAV for the first time, you have to add a new
     user and group to your system: <A NAME="tex2html7"
-  HREF="footnode.html#foot136"><SUP><SPAN CLASS="arabic">3</SPAN></SUP></A>    <PRE>
+  HREF="footnode.html#foot135"><SUP><SPAN CLASS="arabic">3</SPAN></SUP></A>    <PRE>
 	# groupadd clamav
 	# useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav
 </PRE>
@@ -69,7 +69,7 @@ Adding new system user and group</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node13.html b/docs/html/node13.html
index d07faa1..041e882 100644
--- a/docs/html/node13.html
+++ b/docs/html/node13.html
@@ -75,7 +75,7 @@ Compilation of base package</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node14.html b/docs/html/node14.html
index 0dbe335..50d2f6d 100644
--- a/docs/html/node14.html
+++ b/docs/html/node14.html
@@ -64,7 +64,7 @@ Compilation with clamav-milter enabled</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node15.html b/docs/html/node15.html
index fa3d93e..96f210b 100644
--- a/docs/html/node15.html
+++ b/docs/html/node15.html
@@ -83,7 +83,7 @@ Configuration</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node16.html b/docs/html/node16.html
index 7c0a8eb..d882451 100644
--- a/docs/html/node16.html
+++ b/docs/html/node16.html
@@ -79,7 +79,7 @@ clamd</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node17.html b/docs/html/node17.html
index 1bab081..cab52f3 100644
--- a/docs/html/node17.html
+++ b/docs/html/node17.html
@@ -90,7 +90,7 @@ On-access scanning</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node18.html b/docs/html/node18.html
index cd2d0de..3524863 100644
--- a/docs/html/node18.html
+++ b/docs/html/node18.html
@@ -81,7 +81,7 @@ define(`confINPUT_MAIL_FILTERS', `clmilter')
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node19.html b/docs/html/node19.html
index dfca05e..e8081fc 100644
--- a/docs/html/node19.html
+++ b/docs/html/node19.html
@@ -62,7 +62,7 @@ Testing</A>
     It should find some test files in the clamav-x.yz/test directory.
     The scan result will be saved in the <code>scan.txt</code> log file
     <A NAME="tex2html9"
-  HREF="footnode.html#foot177"><SUP><SPAN CLASS="arabic">4</SPAN></SUP></A>.
+  HREF="footnode.html#foot176"><SUP><SPAN CLASS="arabic">4</SPAN></SUP></A>.
     To test <code>clamd</code>, start it and use <code>clamdscan</code> (or instead connect
     directly to its socket and run the SCAN command):
     <PRE>
@@ -75,7 +75,7 @@ Testing</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node2.html b/docs/html/node2.html
index f61eaab..87b6431 100644
--- a/docs/html/node2.html
+++ b/docs/html/node2.html
@@ -79,7 +79,7 @@ Introduction</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node20.html b/docs/html/node20.html
index 726bb8b..8effe16 100644
--- a/docs/html/node20.html
+++ b/docs/html/node20.html
@@ -139,7 +139,7 @@ N * * * *	/usr/local/bin/freshclam --quiet
 <!--End of Navigation Panel-->
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node21.html b/docs/html/node21.html
index e664ab5..48d431d 100644
--- a/docs/html/node21.html
+++ b/docs/html/node21.html
@@ -77,7 +77,7 @@ Closest mirrors</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node22.html b/docs/html/node22.html
index 277e351..a41c1ac 100644
--- a/docs/html/node22.html
+++ b/docs/html/node22.html
@@ -80,7 +80,7 @@ Usage</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node23.html b/docs/html/node23.html
index 9a0a07c..b7c86c3 100644
--- a/docs/html/node23.html
+++ b/docs/html/node23.html
@@ -68,7 +68,7 @@ Clam daemon
 </UL>
     The daemon is fully configurable via the <code>clamd.conf</code> file
     <A NAME="tex2html13"
-  HREF="footnode.html#foot211"><SUP><SPAN CLASS="arabic">5</SPAN></SUP></A>. <code>clamd</code> recognizes the following commands:
+  HREF="footnode.html#foot210"><SUP><SPAN CLASS="arabic">5</SPAN></SUP></A>. <code>clamd</code> recognizes the following commands:
     
 <UL>
 <LI><SPAN  CLASS="textbf">PING</SPAN>
@@ -160,7 +160,7 @@ Start/end a <code>clamd</code> session - you can do multiple commands
 <!--End of Navigation Panel-->
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node24.html b/docs/html/node24.html
index fcb356d..a235eb7 100644
--- a/docs/html/node24.html
+++ b/docs/html/node24.html
@@ -76,7 +76,7 @@ Clam<SPAN  CLASS="textbf">d</SPAN>scan</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node25.html b/docs/html/node25.html
index 2b53ccc..cd0d237 100644
--- a/docs/html/node25.html
+++ b/docs/html/node25.html
@@ -92,7 +92,7 @@ SIGTERM signal. In other case you can lose access
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node26.html b/docs/html/node26.html
index 9704282..0c067f5 100644
--- a/docs/html/node26.html
+++ b/docs/html/node26.html
@@ -70,7 +70,7 @@ Output format</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node27.html b/docs/html/node27.html
index e45bdb9..a0d8341 100644
--- a/docs/html/node27.html
+++ b/docs/html/node27.html
@@ -94,7 +94,7 @@ clamscan</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node28.html b/docs/html/node28.html
index ee0a2eb..3245bc6 100644
--- a/docs/html/node28.html
+++ b/docs/html/node28.html
@@ -83,7 +83,7 @@ Error messages are printed in the following format:
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node29.html b/docs/html/node29.html
index 5bad28c..3a0f89f 100644
--- a/docs/html/node29.html
+++ b/docs/html/node29.html
@@ -124,7 +124,7 @@ LibClamAV</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node3.html b/docs/html/node3.html
index 7e5fcf7..cb6e2b2 100644
--- a/docs/html/node3.html
+++ b/docs/html/node3.html
@@ -67,7 +67,7 @@ Features</A>
 </LI>
 <LI>Supports on-access scanning (Linux and FreeBSD only)
 </LI>
-<LI>Detects over 230.000 viruses, worms and trojans, including
+<LI>Detects over 158.000 viruses, worms and trojans, including
 	      Microsoft Office macro viruses, mobile malware, and other threats
 </LI>
 <LI>Scans within archives and compressed files (also protects
@@ -97,8 +97,6 @@ Features</A>
 <LI>BinHex
 </LI>
 <LI>SIS (SymbianOS packages)
-</LI>
-<LI>AutoIt
 	    
 </LI>
 </UL>
@@ -106,16 +104,12 @@ Features</A>
 <LI>Supports Portable Executable (32/64-bit) files compressed or obfuscated with:
 	    
 <UL>
-<LI>AsPack
-</LI>
 <LI>UPX
 </LI>
 <LI>FSG
 </LI>
 <LI>Petite
 </LI>
-<LI>PeSpin
-</LI>
 <LI>NsPack
 </LI>
 <LI>wwpack32
@@ -183,7 +177,7 @@ Features</A>
 <!--End of Navigation Panel-->
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node30.html b/docs/html/node30.html
index 00f0bf9..0429871 100644
--- a/docs/html/node30.html
+++ b/docs/html/node30.html
@@ -58,14 +58,14 @@ Licence</A>
     Libclamav is licensed under the GNU GPL v2 licence. This means you are
     <SPAN  CLASS="textbf">not allowed</SPAN> to link commercial, close-source applications
     against it<A NAME="tex2html14"
-  HREF="footnode.html#foot268"><SUP><SPAN CLASS="arabic">6</SPAN></SUP></A>.
+  HREF="footnode.html#foot267"><SUP><SPAN CLASS="arabic">6</SPAN></SUP></A>.
     All software using libclamav must be GPL compliant.
 
 <P>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node31.html b/docs/html/node31.html
index 1f781e8..fc5bbd6 100644
--- a/docs/html/node31.html
+++ b/docs/html/node31.html
@@ -77,7 +77,7 @@ Supported formats</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node32.html b/docs/html/node32.html
index 7096a13..fed0c9e 100644
--- a/docs/html/node32.html
+++ b/docs/html/node32.html
@@ -60,16 +60,12 @@ Executables</A>
     obfuscated with the following tools:
     
 <UL>
-<LI>Aspack (2.12)
-</LI>
 <LI>UPX (all versions)
 </LI>
 <LI>FSG (1.3, 1.31, 1.33, 2.0)
 </LI>
 <LI>Petite (2.x)
 </LI>
-<LI>PeSpin (1.1)
-</LI>
 <LI>NsPack
 </LI>
 <LI>wwpack32 (1.20)
@@ -78,6 +74,8 @@ Executables</A>
 </LI>
 <LI>Upack
 </LI>
+<LI>SUE
+</LI>
 <LI>Y0da Cryptor (1.3)
     
 </LI>
@@ -87,7 +85,7 @@ Executables</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node33.html b/docs/html/node33.html
index e800976..c798dc8 100644
--- a/docs/html/node33.html
+++ b/docs/html/node33.html
@@ -62,7 +62,7 @@ Mail files</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node34.html b/docs/html/node34.html
index 7cbb1ed..cf82f68 100644
--- a/docs/html/node34.html
+++ b/docs/html/node34.html
@@ -80,8 +80,6 @@ Archives and compressed files</A>
 <LI>BinHex
 </LI>
 <LI>SIS (SymbianOS packages)
-</LI>
-<LI>AutoIt
     
 </LI>
 </UL>
@@ -90,7 +88,7 @@ Archives and compressed files</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node35.html b/docs/html/node35.html
index aaf98e1..ca9516e 100644
--- a/docs/html/node35.html
+++ b/docs/html/node35.html
@@ -73,7 +73,7 @@ Documents</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node36.html b/docs/html/node36.html
index 68dbce7..3ad7c42 100644
--- a/docs/html/node36.html
+++ b/docs/html/node36.html
@@ -75,7 +75,7 @@ Others</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node37.html b/docs/html/node37.html
index d378ece..918de3e 100644
--- a/docs/html/node37.html
+++ b/docs/html/node37.html
@@ -75,7 +75,7 @@ API</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node38.html b/docs/html/node38.html
index f9a7631..2f1d805 100644
--- a/docs/html/node38.html
+++ b/docs/html/node38.html
@@ -64,7 +64,7 @@ Header file</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node39.html b/docs/html/node39.html
index 480da7b..f005541 100644
--- a/docs/html/node39.html
+++ b/docs/html/node39.html
@@ -70,7 +70,7 @@ Database loading</A>
     is used for passing in the engine structure which should be previously
     initialized with NULL. A number of loaded signatures will be <SPAN  CLASS="textbf">added</SPAN>
     to <code>signo</code> <A NAME="tex2html15"
-  HREF="footnode.html#foot291"><SUP><SPAN CLASS="arabic">7</SPAN></SUP></A>. The last argument can pass the following flags:
+  HREF="footnode.html#foot290"><SUP><SPAN CLASS="arabic">7</SPAN></SUP></A>. The last argument can pass the following flags:
     
 <UL>
 <LI><SPAN  CLASS="textbf">CL_DB_STDOPT</SPAN>
@@ -84,19 +84,10 @@ Load phishing signatures.
 <LI><SPAN  CLASS="textbf">CL_DB_PHISHING_URLS</SPAN>
 <BR>
 Initialize the phishing detection module and load .wdb and .pdb files.
-</LI>
-<LI><SPAN  CLASS="textbf">CL_DB_PUA</SPAN>
-<BR>
-Load signatures for Potentially Unwanted Applications.
-</LI>
-<LI><SPAN  CLASS="textbf">CL_DB_CVDNOTMP</SPAN>
-<BR>
-Load CVD files directly without unpacking them into a temporary
-	directory.
     
 </LI>
 </UL>
-    <code>cl_load</code> returns 0 (<code>CL_SUCCESS</code>) on success and a negative
+    <code>cl_load</code> returns 0 (<code>CL_SUCCESS</code>) on success and a non-negative
     value on failure.
     <PRE>
 	    ...
@@ -111,7 +102,7 @@ Load CVD files directly without unpacking them into a temporary
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node4.html b/docs/html/node4.html
index f1d572e..5ff54c9 100644
--- a/docs/html/node4.html
+++ b/docs/html/node4.html
@@ -86,7 +86,7 @@ Alternatively you can try asking on the <code>#clamav</code> IRC channel - launc
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node40.html b/docs/html/node40.html
index c96842a..2ef72c6 100644
--- a/docs/html/node40.html
+++ b/docs/html/node40.html
@@ -68,7 +68,7 @@ Error handling</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node41.html b/docs/html/node41.html
index 244ba2e..62f9177 100644
--- a/docs/html/node41.html
+++ b/docs/html/node41.html
@@ -74,7 +74,7 @@ Engine structure</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node42.html b/docs/html/node42.html
index 24a9bd4..558bfe7 100644
--- a/docs/html/node42.html
+++ b/docs/html/node42.html
@@ -72,7 +72,7 @@ Database reloading</A>
 	cl_statinidir(dbdir, &amp;dbstat);
 </PRE>
     To check for a change you just need to call <code>cl_statchkdir</code> and check
-    its return value (0 - no change, 1 - some change occured):
+    its return value:
     <PRE>
 	if(cl_statchkdir(&amp;dbstat) == 1) {
 	    reload_database...;
@@ -101,7 +101,7 @@ Database reloading</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node43.html b/docs/html/node43.html
index a933aba..d2c19b0 100644
--- a/docs/html/node43.html
+++ b/docs/html/node43.html
@@ -65,7 +65,7 @@ Data scan functions</A>
 	long int *scanned, const struct cl_engine *engine, const
 	struct cl_limits *limits, unsigned int options);
 </PRE>
-    Both functions will store a virus name under the pointer <code>virname</code>,
+    Both functions will save a virus name under the pointer <code>virname</code>,
     the virus name is part of the engine structure and must not be released
     directly. If the third argument (<code>scanned</code>) is not NULL, the
     functions will increase its value with the size of scanned data (in
@@ -73,17 +73,16 @@ Data scan functions</A>
     limits in order to protect against Denial of Service attacks.
     <PRE>
 struct cl_limits {
-    unsigned long int maxscansize;  /* during the scanning of archives this
-                                     * size will never be exceeded
-                                     */
-    unsigned long int maxfilesize;  /* compressed files will only be
-                                     * decompressed and scanned up to this size
-                                     */
-    unsigned int maxreclevel;       /* maximum recursion level for archives */
-    unsigned int maxfiles;          /* maximum number of files to be scanned
-                                     * within a single archive
-                                     */
-    unsigned short archivememlim;   /* limit memory usage for some unpackers */
+    unsigned int maxreclevel;     /* maximum recursion level for archives */
+    unsigned int maxfiles;        /* maximum number of files to be scanned
+                                   * within a single archive
+                                   */
+    unsigned int maxmailrec;	  /* maximum recursion level for mail files */
+    unsigned int maxratio;	  /* maximum compression ratio */
+    unsigned long int maxfilesize;/* compressed files larger than this limit
+                                   * will not be scanned
+                                   */
+    unsigned short archivememlim;  /* limit memory usage for some unpackers */
 };
 </PRE>
     The last argument (<code>options</code>) configures the scan engine and supports
@@ -109,6 +108,11 @@ This flag enables transparent scanning of various archive formats.
 With this flag the library will mark encrypted archives as viruses
 	      (Encrypted.Zip, Encrypted.RAR).
 </LI>
+<LI><SPAN  CLASS="textbf">CL_SCAN_BLOCKMAX</SPAN>
+<BR>
+Mark archives as viruses if <code>maxfiles</code>, <code>maxfilesize</code>,
+	      or <code>maxreclevel</code> limit is reached.
+</LI>
 <LI><SPAN  CLASS="textbf">CL_SCAN_MAIL</SPAN>
 <BR>
 Enable support for mail files.
@@ -153,6 +157,11 @@ This flag enables HTML normalisation (including ScrEnc
 <BR>
 Enable algorithmic detection of viruses.
 </LI>
+<LI><SPAN  CLASS="textbf">CL_SCAN_PHISHING_DOMAINLIST</SPAN>
+<BR>
+Phishing module: restrict URL scanning to domains from .pdf
+	      (RECOMMENDED).
+</LI>
 <LI><SPAN  CLASS="textbf">CL_SCAN_PHISHING_BLOCKSSL</SPAN>
 <BR>
 Phishing module: always block SSL mismatches in URLs.
@@ -171,10 +180,14 @@ Phishing module: always block cloaked URLs.
 	    const char *virname;
 
 	memset(&amp;limits, 0, sizeof(struct cl_limits));
-	limits.maxfiles = 10000;
-	limits.maxscansize = 100 * 1048576; /* 100 MB */
-	limits.maxfilesize = 10 * 1048576; /* 10 MB */
-	limits.maxreclevel = 16;
+	limits.maxfiles = 1000; /* max files */
+	limits.maxfilesize = 10 * 1048576; /* maximum size of archived or
+                                    * compressed file (files exceeding
+                                    * this limit will be ignored)
+                                    */
+	limits.maxreclevel = 5; /* maximum recursion level for archives */
+	limits.maxmailrec = 64; /* maximum recursion level for mail files */
+	limits.maxratio = 200; /* maximum compression ratio */
 
 	if((ret = cl_scanfile("/tmp/test.exe", &amp;virname, NULL, engine,
 	&amp;limits, CL_STDOPT)) == CL_VIRUS) {
@@ -214,7 +227,7 @@ Phishing module: always block cloaked URLs.
 <!--End of Navigation Panel-->
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node44.html b/docs/html/node44.html
index f6816e1..c8289e0 100644
--- a/docs/html/node44.html
+++ b/docs/html/node44.html
@@ -55,14 +55,14 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
 <H3><A NAME="SECTION00074200000000000000">
 Memory</A>
 </H3>
-    Because the engine structure occupies a few megabytes of system memory, you
+    Because the engine structure consumes a few megabytes of system memory, you
     should release it with <code>cl_free</code> if you no longer need to scan files.
 
 <P>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node45.html b/docs/html/node45.html
index 2007821..ed54e8b 100644
--- a/docs/html/node45.html
+++ b/docs/html/node45.html
@@ -67,7 +67,7 @@ clamav-config</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node46.html b/docs/html/node46.html
index 03ff2b3..b1a7d92 100644
--- a/docs/html/node46.html
+++ b/docs/html/node46.html
@@ -65,7 +65,7 @@ Example</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node47.html b/docs/html/node47.html
index 869e8cb..b84bfdf 100644
--- a/docs/html/node47.html
+++ b/docs/html/node47.html
@@ -65,16 +65,15 @@ level required:MD5 checksum:digital signature:builder name:build time (sec)
     <code>sigtool --info</code> displays detailed information on CVD files:
     <PRE>
 zolw at localhost:/usr/local/share/clamav$ sigtool -i daily.cvd 
-File: daily.cvd
-Build time: 10 Mar 2008 10:45 +0000
-Version: 6191
-Signatures: 59084
-Functionality level: 26
+Build time: 11 Feb 2007 19-28 +0000
+Version: 2553
+# of signatures: 6063
+Functionality level: 9
 Builder: ccordes
-MD5: 6e6e29dae36b4b7315932c921e568330
-Digital signature: zz9irc9irupR3z7yX6J+OR6XdFPUat4HIM9ERn3kAcOWpcMFxq
-Fs4toG5WJsHda0Jj92IUusZ7wAgYjpai1Nr+jFfXHsJxv0dBkS5/XWMntj0T1ctNgqmiF
-+RLU6V0VeTl4Oej3Aya0cVpd9K4XXevEO2eTTvzWNCAq0ZzWNdjc
+MD5: 7f337b409249e11dea3effb04dd352f2
+Digital signature: 6Ybd2eeDHBAs8raaEwmayqzoa5ysGDNnQ5Cc89mS2VCm1jRXZP
+ke/itmkTyYQTc/rgJc2uQPr+NvzvUxRpsniwoyZ/gIkPniCLnqVCYOOytwtmirivbrV8j
+0kzxb9nHd+5UQqj/Z3rLbS7T5HCbRX3uE0JX1tAo642Gq9ACH9Fc
 Verification OK.
 </PRE>
 
@@ -82,7 +81,7 @@ Verification OK.
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node48.html b/docs/html/node48.html
index 6e60522..c919c84 100644
--- a/docs/html/node48.html
+++ b/docs/html/node48.html
@@ -613,7 +613,7 @@ Contributors</A>
 <!--End of Navigation Panel-->
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node49.html b/docs/html/node49.html
index 17325ee..e1b0c8c 100644
--- a/docs/html/node49.html
+++ b/docs/html/node49.html
@@ -459,7 +459,7 @@ Donors</A>
 <!--End of Navigation Panel-->
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node5.html b/docs/html/node5.html
index 8df575e..6c2bc73 100644
--- a/docs/html/node5.html
+++ b/docs/html/node5.html
@@ -65,7 +65,7 @@ Virus submitting</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node50.html b/docs/html/node50.html
index fbd6676..9ea3e1e 100644
--- a/docs/html/node50.html
+++ b/docs/html/node50.html
@@ -63,7 +63,7 @@ Graphics</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node51.html b/docs/html/node51.html
index bc25132..9705c25 100644
--- a/docs/html/node51.html
+++ b/docs/html/node51.html
@@ -62,7 +62,7 @@ OpenAntiVirus</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node52.html b/docs/html/node52.html
index de6985a..4539b79 100644
--- a/docs/html/node52.html
+++ b/docs/html/node52.html
@@ -134,7 +134,7 @@ Role: coder
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node53.html b/docs/html/node53.html
index fb184d5..66761a2 100644
--- a/docs/html/node53.html
+++ b/docs/html/node53.html
@@ -64,11 +64,11 @@ Mathematics Department, Macquarie University, Sydney.
 The command line arguments were: <BR>
  <STRONG>latex2html</STRONG> <TT>-local_icons clamdoc.tex</TT>
 <P>
-The translation was initiated by Tomasz Kojm on 2008-03-18
+The translation was initiated by Tomasz Kojm on 2008-03-03
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node6.html b/docs/html/node6.html
index 50f2e96..d99cf54 100644
--- a/docs/html/node6.html
+++ b/docs/html/node6.html
@@ -71,7 +71,7 @@ Base package</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node7.html b/docs/html/node7.html
index 469090c..2aa63bc 100644
--- a/docs/html/node7.html
+++ b/docs/html/node7.html
@@ -55,7 +55,7 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
 <H2><A NAME="SECTION00031000000000000000">
 Supported platforms</A>
 </H2>
-    Most popular UNIX operating systems are supported. Clam AntiVirus 0.9x was
+    Most popular UNIX operating systems are supported. Clam AntiVirus 0.90 was
     tested on:
     
 <UL>
@@ -80,7 +80,7 @@ Supported platforms</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node8.html b/docs/html/node8.html
index d9473de..0e2ac39 100644
--- a/docs/html/node8.html
+++ b/docs/html/node8.html
@@ -61,7 +61,7 @@ Binary packages</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/docs/html/node9.html b/docs/html/node9.html
index 1b75138..d5f1f6f 100644
--- a/docs/html/node9.html
+++ b/docs/html/node9.html
@@ -77,7 +77,7 @@ Installation</A>
 <BR><HR>
 <ADDRESS>
 Tomasz Kojm
-2008-03-18
+2008-03-03
 </ADDRESS>
 </BODY>
 </HTML>
diff --git a/examples/ex1.c b/examples/ex1.c
index 61b8766..6a031d1 100644
--- a/examples/ex1.c
+++ b/examples/ex1.c
@@ -1,9 +1,6 @@
 /*
  *  Compilation: gcc -Wall ex1.c -o ex1 -lclamav
  *
- *  Copyright (C) 2007 - 2008 Sourcefire, Inc.
- *  Author: Tomasz Kojm <tkojm at clamav.net>
- *
  *  Copyright (C) 2002 - 2006 Tomasz Kojm <tkojm at clamav.net>
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -78,15 +75,14 @@ int main(int argc, char **argv)
 
     /* set up archive limits */
     memset(&limits, 0, sizeof(struct cl_limits));
-    limits.maxscansize = 100 * 1048576; /* during the scanning of archives this
-					 * size (100 MB) will never be exceeded
-					 */
-    limits.maxfilesize = 10 * 1048576; /* compressed files will only be
-					* decompressed and scanned up to this
-					* size (10 MB)
+    limits.maxfiles = 1000; /* max files */
+    limits.maxfilesize = 10 * 1048576; /* maximum size of archived/compressed
+					* file (files exceeding this limit
+					* will be ignored)
 					*/
-    limits.maxfiles = 10000; /* max files */
-    limits.maxreclevel = 16; /* maximum recursion level for archives */
+    limits.maxreclevel = 5; /* maximum recursion level for archives */
+    limits.maxmailrec = 64; /* maximum recursion level for mail files */
+    limits.maxratio = 200; /* maximum compression ratio */
 
     /* scan file descriptor */
     if((ret = cl_scandesc(fd, &virname, &size, engine, &limits, CL_SCAN_STDOPT)) == CL_VIRUS) {
diff --git a/libclamav/clamav.h b/libclamav/clamav.h
index 1dc1853..0d90d87 100644
--- a/libclamav/clamav.h
+++ b/libclamav/clamav.h
@@ -84,7 +84,7 @@ extern "C"
 #define CL_SCAN_PE		    0x20
 #define CL_SCAN_BLOCKBROKEN	    0x40
 #define CL_SCAN_MAILURL		    0x80
-#define CL_SCAN_BLOCKMAX	    0x100 /* ignored */
+#define CL_SCAN_BLOCKMAX	    0x100
 #define CL_SCAN_ALGORITHMIC	    0x200
 #define CL_SCAN_PHISHING_BLOCKSSL   0x800 /* ssl mismatches, not ssl by itself*/
 #define CL_SCAN_PHISHING_BLOCKCLOAK 0x1000

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list