]>
Commit | Line | Data |
---|---|---|
0c604439 | 1 | diff -urN clamav-0.80rc4.orig/etc/clamd.conf clamav-0.80rc4/etc/clamd.conf |
2 | --- clamav-0.80rc4.orig/etc/clamd.conf 2004-10-11 03:14:30.000000000 +0200 | |
3 | +++ clamav-0.80rc4/etc/clamd.conf 2004-10-16 23:14:10.722021576 +0200 | |
4 | @@ -5,13 +5,13 @@ | |
5664ab19 | 5 | |
c935072a MK |
6 | |
7 | # Comment or remove the line below. | |
8 | -Example | |
0c604439 | 9 | +#Example |
c935072a MK |
10 | |
11 | # Uncomment this option to enable logging. | |
0c604439 | 12 | # LogFile must be writable for the user running daemon. |
13 | # A full path is required. | |
14 | # Default: disabled | |
c935072a | 15 | -#LogFile /tmp/clamd.log |
0c604439 | 16 | +#LogFile /var/log/clamd.log |
c935072a MK |
17 | |
18 | # By default the log file is locked for writing - the lock protects against | |
19 | # running clamd multiple times (if want to run another clamd, please | |
0c604439 | 20 | @@ -40,7 +40,7 @@ |
c935072a MK |
21 | |
22 | # Use system logger (can work together with LogFile). | |
0c604439 | 23 | # Default: disabled |
c935072a MK |
24 | -#LogSyslog |
25 | +LogSyslog | |
26 | ||
7259763f | 27 | # Specify the type of syslog messages - please refer to 'man syslog' |
0c604439 | 28 | # for facility names. |
29 | @@ -54,7 +54,7 @@ | |
30 | # This option allows you to save a process identifier of the listening | |
c935072a | 31 | # daemon (main thread). |
0c604439 | 32 | # Default: disabled |
c935072a | 33 | -#PidFile /var/run/clamd.pid |
5664ab19 MK |
34 | +PidFile /var/run/clamav/clamd.pid |
35 | ||
36 | # Optional path to the global temporary directory. | |
0c604439 | 37 | # Default: system specific (usually /tmp or /var/tmp). |
38 | @@ -69,7 +69,7 @@ | |
39 | ||
40 | # Path to a local socket file the daemon will listen on. | |
41 | # Default: disabled | |
c935072a | 42 | -LocalSocket /tmp/clamd |
c935072a MK |
43 | +LocalSocket /var/lib/clamav/clamd.socket |
44 | ||
e41d1146 | 45 | # Remove stale socket after unclean shutdown. |
0c604439 | 46 | # Default: disabled |
47 | @@ -130,11 +130,11 @@ | |
48 | ||
49 | # Run as a selected user (clamd must be started by root). | |
50 | # Default: disabled | |
c935072a MK |
51 | -#User clamav |
52 | +User clamav | |
53 | ||
0c604439 | 54 | # Initialize supplementary group access (clamd must be started by root). |
55 | # Default: disabled | |
c935072a MK |
56 | -#AllowSupplementaryGroups |
57 | +AllowSupplementaryGroups | |
58 | ||
0c604439 | 59 | # Don't fork into background. |
60 | # Default: disabled | |
61 | @@ -273,15 +273,15 @@ | |
62 | ||
63 | # Set access mask for Clamuko. | |
64 | # Default: disabled | |
65 | -#ClamukoScanOnOpen | |
66 | -#ClamukoScanOnClose | |
67 | -#ClamukoScanOnExec | |
68 | +ClamukoScanOnOpen | |
69 | +ClamukoScanOnClose | |
70 | +ClamukoScanOnExec | |
71 | ||
72 | # Set the include paths (all files in them will be scanned). You can have | |
73 | # multiple ClamukoIncludePath directives but each directory must be added | |
74 | # in a seperate line. | |
75 | # Default: disabled | |
76 | -#ClamukoIncludePath /home | |
77 | +ClamukoIncludePath /home | |
78 | #ClamukoIncludePath /students | |
79 | ||
80 | # Set the exclude paths. All subdirectories are also excluded. | |
81 | diff -urN clamav-0.80rc4.orig/etc/freshclam.conf clamav-0.80rc4/etc/freshclam.conf | |
82 | --- clamav-0.80rc4.orig/etc/freshclam.conf 2004-09-27 22:35:01.000000000 +0200 | |
83 | +++ clamav-0.80rc4/etc/freshclam.conf 2004-10-16 23:17:04.467608232 +0200 | |
84 | @@ -3,10 +3,14 @@ | |
85 | ## Please read the freshclam.conf(5) manual before editing this file. | |
86 | ## This file may be optionally merged with clamd.conf. | |
c935072a | 87 | ## |
0c604439 | 88 | - |
5664ab19 MK |
89 | +## PLD NOTE: Note that freshclam is called periodically via cron |
90 | +## Check /etc/sysconfig/clamd for details | |
91 | +## Seems better to run task once per period than keep daemon running | |
0c604439 | 92 | +## only for that. |
5664ab19 MK |
93 | +## But if you have arguments please tell us. |
94 | ||
0c604439 | 95 | # Comment or remove the line below. |
96 | -Example | |
97 | +#Example | |
98 | ||
99 | # Path to the database directory. | |
100 | # WARNING: It must match clamd.conf's directive! | |
101 | @@ -19,11 +23,11 @@ | |
5664ab19 MK |
102 | |
103 | # Enable verbose logging. | |
0c604439 | 104 | # Default: disabled |
5664ab19 MK |
105 | -#LogVerbose |
106 | +LogVerbose | |
107 | ||
0ad46739 | 108 | # Use system logger (can work together with UpdateLogFile). |
0c604439 | 109 | # Default: disabled |
c19ba3ca PS |
110 | -#LogSyslog |
111 | +LogSyslog | |
0ad46739 | 112 | |
7259763f | 113 | # Specify the type of syslog messages - please refer to 'man syslog' |
0c604439 | 114 | # for facility names. |
115 | @@ -37,7 +41,7 @@ | |
116 | # By default when started freshclam drops privileges and switches to the | |
117 | # "clamav" user. This directive allows you to change the database owner. | |
118 | # Default: clamav (may depend on installation options) | |
5664ab19 MK |
119 | -#DatabaseOwner clamav |
120 | +DatabaseOwner clamav | |
121 | ||
0c604439 | 122 | # Use DNS to verify virus database version. Freshclam uses DNS TXT records |
123 | # to verify database and software versions. We highly recommend enabling | |
124 | @@ -62,7 +66,7 @@ | |
5664ab19 | 125 | |
0c604439 | 126 | # Number of database checks per day. |
127 | # Default: 12 (every two hours) | |
128 | -#Checks 24 | |
5664ab19 MK |
129 | +Checks 2 |
130 | ||
131 | # Proxy settings | |
0c604439 | 132 | # Default: disabled |
133 | @@ -76,7 +80,7 @@ | |
134 | #NotifyClamd | |
135 | # By default it uses the hardcoded configuration file but you can force an | |
136 | # another one. | |
137 | -#NotifyClamd /config/file/path | |
488002f3 | 138 | +NotifyClamd /etc/clamav.conf |
c935072a | 139 | |
0c604439 | 140 | # Run command after successful database update. |
141 | # Default: disabled |