~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to docs/html/node23.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-03-12 11:30:04 UTC
  • mfrom: (0.41.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100312113004-b0fop4bkycszdd0z
Tags: 0.96~rc1+dfsg-0ubuntu1
* New upstream RC - FFE (LP: #537636):
  - Add OfficialDatabaseOnly option to clamav-base.postinst.in
  - Add LocalSocketGroup option to clamav-base.postinst.in
  - Add LocalSocketMode option to clamav-base.postinst.in
  - Add CrossFilesystems option to clamav-base.postinst.in
  - Add ClamukoScannerCount option to clamav-base.postinst.in
  - Add BytecodeSecurity opiton to clamav-base.postinst.in
  - Add DetectionStatsHostID option to clamav-freshclam.postinst.in
  - Add Bytecode option to clamav-freshclam.postinst.in
  - Add MilterSocketGroup option to clamav-milter.postinst.in
  - Add MilterSocketMode option to clamav-milter.postinst.in
  - Add ReportHostname option to clamav-milter.postinst.in
  - Bump libclamav SO version to 6.1.0 in libclamav6.install
  - Drop clamdmon from clamav.examples (no longer shipped by upstream)
  - Drop libclamav.a from libclamav-dev.install (not built by upstream)
  - Update SO version for lintian override for libclamav6
  - Add new Bytecode Testing Tool, usr/bin/clambc, to clamav.install
  - Add build-depends on python and python-setuptools for new test suite
  - Update debian/copyright for the embedded copy of llvm (using the system
    llvm is not currently feasible)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8
8
<HTML>
9
9
<HEAD>
10
 
<TITLE>Closest mirrors</TITLE>
11
 
<META NAME="description" CONTENT="Closest mirrors">
 
10
<TITLE>Testing</TITLE>
 
11
<META NAME="description" CONTENT="Testing">
12
12
<META NAME="keywords" CONTENT="clamdoc">
13
13
<META NAME="resource-type" CONTENT="document">
14
14
<META NAME="distribution" CONTENT="global">
18
18
 
19
19
<LINK REL="STYLESHEET" HREF="clamdoc.css">
20
20
 
 
21
<LINK REL="next" HREF="node24.html">
21
22
<LINK REL="previous" HREF="node22.html">
22
 
<LINK REL="up" HREF="node22.html">
 
23
<LINK REL="up" HREF="node19.html">
23
24
<LINK REL="next" HREF="node24.html">
24
25
</HEAD>
25
26
 
26
27
<BODY >
27
28
 
28
29
<DIV CLASS="navigation"><!--Navigation Panel-->
29
 
<A NAME="tex2html497"
 
30
<A NAME="tex2html502"
30
31
  HREF="node24.html">
31
32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
32
 
<A NAME="tex2html493"
33
 
  HREF="node22.html">
 
33
<A NAME="tex2html498"
 
34
  HREF="node19.html">
34
35
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
35
 
<A NAME="tex2html489"
 
36
<A NAME="tex2html492"
36
37
  HREF="node22.html">
37
38
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
38
 
<A NAME="tex2html495"
 
39
<A NAME="tex2html500"
39
40
  HREF="node1.html">
40
41
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>  
41
42
<BR>
42
 
<B> Next:</B> <A NAME="tex2html498"
43
 
  HREF="node24.html">ClamAV Active Malware Report</A>
44
 
<B> Up:</B> <A NAME="tex2html494"
45
 
  HREF="node22.html">Setting up auto-updating</A>
46
 
<B> Previous:</B> <A NAME="tex2html490"
47
 
  HREF="node22.html">Setting up auto-updating</A>
48
 
 &nbsp; <B>  <A NAME="tex2html496"
 
43
<B> Next:</B> <A NAME="tex2html503"
 
44
  HREF="node24.html">Setting up auto-updating</A>
 
45
<B> Up:</B> <A NAME="tex2html499"
 
46
  HREF="node19.html">Configuration</A>
 
47
<B> Previous:</B> <A NAME="tex2html493"
 
48
  HREF="node22.html">clamav-milter</A>
 
49
 &nbsp; <B>  <A NAME="tex2html501"
49
50
  HREF="node1.html">Contents</A></B> 
50
51
<BR>
51
52
<BR></DIV>
52
53
<!--End of Navigation Panel-->
53
54
 
54
 
<H3><A NAME="SECTION00054100000000000000">
55
 
Closest mirrors</A>
56
 
</H3>
57
 
    The <code>DatabaseMirror</code> directive in the config file specifies the
58
 
    database server <code>freshclam</code> will attempt (up to <code>MaxAttempts</code>
59
 
    times) to download the database from. The default database mirror
60
 
    is <TT><A NAME="tex2html14"
61
 
  HREF="database.clamav.net">database.clamav.net</A></TT> but multiple directives are allowed.
62
 
    In order to download the database from the closest mirror you should  
63
 
    configure <code>freshclam</code> to use <TT><A NAME="tex2html15"
64
 
  HREF="db.xx.clamav.net">db.xx.clamav.net</A></TT> where xx
65
 
    represents your country code. For example, if your server is in "Ascension
66
 
    Island" you should have the following lines included in <code>freshclam.conf</code>:
67
 
    <PRE>
68
 
        DNSDatabaseInfo current.cvd.clamav.net
69
 
        DatabaseMirror db.ac.clamav.net
70
 
        DatabaseMirror database.clamav.net
71
 
</PRE>
72
 
    The second entry acts as a fallback in case the connection to the first
73
 
    mirror fails for some reason. The full list of two-letters country codes
74
 
    is available at <TT><A NAME="tex2html16"
75
 
  HREF="http://www.iana.org/cctld/cctld-whois.htm">http://www.iana.org/cctld/cctld-whois.htm</A></TT>
 
55
<H2><A NAME="SECTION00053000000000000000">
 
56
Testing</A>
 
57
</H2>
 
58
    Try to scan recursively the source directory:
 
59
    <PRE>
 
60
        $ clamscan -r -l scan.txt clamav-x.yz
 
61
</PRE>
 
62
    It should find some test files in the clamav-x.yz/test directory.
 
63
    The scan result will be saved in the <code>scan.txt</code> log file
 
64
    <A NAME="tex2html17"
 
65
  HREF="footnode.html#foot203"><SUP><SPAN CLASS="arabic">8</SPAN></SUP></A>.
 
66
    To test <code>clamd</code>, start it and use <code>clamdscan</code> (or instead connect
 
67
    directly to its socket and run the SCAN command):
 
68
    <PRE>
 
69
        $ clamdscan -l scan.txt clamav-x.yz
 
70
</PRE>
 
71
    Please note that the scanned files must be accessible by the user running
 
72
    <code>clamd</code> or you will get an error.
 
73
 
76
74
<P>
77
75
<BR><HR>
78
76
<ADDRESS>
79
77
Tomasz Kojm
80
 
2009-10-28
 
78
2010-03-10
81
79
</ADDRESS>
82
80
</BODY>
83
81
</HTML>