]>
Commit | Line | Data |
---|---|---|
213441c0 | 1 | diff -uNr clamav-0.91.orig/etc/clamd.conf clamav-0.91/etc/clamd.conf |
2 | --- clamav-0.91.orig/etc/clamd.conf 2007-07-05 23:52:20.000000000 +0200 | |
3 | +++ clamav-0.91/etc/clamd.conf 2007-07-12 14:45:44.125622000 +0200 | |
0c604439 | 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 | |
20a53372 | 20 | @@ -40,12 +40,12 @@ |
c935072a MK |
21 | |
22 | # Use system logger (can work together with LogFile). | |
8934b66c ER |
23 | # Default: no |
24 | -#LogSyslog yes | |
25 | +LogSyslog yes | |
c935072a | 26 | |
7259763f | 27 | # Specify the type of syslog messages - please refer to 'man syslog' |
0c604439 | 28 | # for facility names. |
20a53372 ER |
29 | # Default: LOG_LOCAL6 |
30 | -#LogFacility LOG_MAIL | |
31 | +LogFacility LOG_MAIL | |
32 | ||
33 | # Enable verbose logging. | |
34 | # Default: no | |
0c604439 | 35 | @@ -54,7 +54,7 @@ |
36 | # This option allows you to save a process identifier of the listening | |
c935072a | 37 | # daemon (main thread). |
0c604439 | 38 | # Default: disabled |
c935072a | 39 | -#PidFile /var/run/clamd.pid |
5664ab19 MK |
40 | +PidFile /var/run/clamav/clamd.pid |
41 | ||
42 | # Optional path to the global temporary directory. | |
0c604439 | 43 | # Default: system specific (usually /tmp or /var/tmp). |
ae005d1e | 44 | @@ -69,11 +69,11 @@ |
0c604439 | 45 | |
46 | # Path to a local socket file the daemon will listen on. | |
8934b66c | 47 | # Default: disabled (must be specified by a user) |
213441c0 | 48 | -LocalSocket /tmp/clamd.socket |
c935072a MK |
49 | +LocalSocket /var/lib/clamav/clamd.socket |
50 | ||
e41d1146 | 51 | # Remove stale socket after unclean shutdown. |
8934b66c | 52 | # Default: no |
ae005d1e ER |
53 | -#FixStaleSocket yes |
54 | +FixStaleSocket yes | |
55 | ||
56 | # TCP port address. | |
57 | # Default: no | |
213441c0 | 58 | @@ -142,11 +142,11 @@ |
59 | # Run as another user (clamd must be started by root to make this option | |
60 | # working). | |
8934b66c | 61 | # Default: don't drop privileges |
c935072a MK |
62 | -#User clamav |
63 | +User clamav | |
64 | ||
0c604439 | 65 | # Initialize supplementary group access (clamd must be started by root). |
8934b66c ER |
66 | # Default: no |
67 | -#AllowSupplementaryGroups no | |
68 | +AllowSupplementaryGroups yes | |
c935072a | 69 | |
8934b66c ER |
70 | # Stop daemon when libclamav reports out of memory condition. |
71 | #ExitOnOOM yes | |
213441c0 | 72 | @@ -328,15 +328,15 @@ |
0c604439 | 73 | |
74 | # Set access mask for Clamuko. | |
8934b66c ER |
75 | # Default: no |
76 | -#ClamukoScanOnOpen yes | |
77 | -#ClamukoScanOnClose yes | |
78 | -#ClamukoScanOnExec yes | |
79 | +ClamukoScanOnOpen yes | |
80 | +ClamukoScanOnClose yes | |
81 | +ClamukoScanOnExec yes | |
0c604439 | 82 | |
6e64bbee | 83 | # Set the include paths (all files inside them will be scanned). You can have |
0c604439 | 84 | # multiple ClamukoIncludePath directives but each directory must be added |
85 | # in a seperate line. | |
86 | # Default: disabled | |
87 | -#ClamukoIncludePath /home | |
88 | +ClamukoIncludePath /home | |
89 | #ClamukoIncludePath /students | |
90 | ||
91 | # Set the exclude paths. All subdirectories are also excluded. | |
213441c0 | 92 | diff -uNr clamav-0.91.orig/etc/freshclam.conf clamav-0.91/etc/freshclam.conf |
93 | --- clamav-0.91.orig/etc/freshclam.conf 2007-02-17 20:13:49.000000000 +0100 | |
94 | +++ clamav-0.91/etc/freshclam.conf 2007-07-12 14:49:25.623464750 +0200 | |
8934b66c ER |
95 | @@ -2,10 +2,14 @@ |
96 | ## Example config file for freshclam | |
0c604439 | 97 | ## Please read the freshclam.conf(5) manual before editing this file. |
c935072a | 98 | ## |
0c604439 | 99 | - |
5664ab19 MK |
100 | +## PLD NOTE: Note that freshclam is called periodically via cron |
101 | +## Check /etc/sysconfig/clamd for details | |
102 | +## Seems better to run task once per period than keep daemon running | |
0c604439 | 103 | +## only for that. |
5664ab19 MK |
104 | +## But if you have arguments please tell us. |
105 | ||
0c604439 | 106 | # Comment or remove the line below. |
107 | -Example | |
108 | +#Example | |
109 | ||
110 | # Path to the database directory. | |
111 | # WARNING: It must match clamd.conf's directive! | |
8934b66c | 112 | @@ -18,11 +22,11 @@ |
5664ab19 MK |
113 | |
114 | # Enable verbose logging. | |
8934b66c ER |
115 | # Default: no |
116 | -#LogVerbose yes | |
117 | +LogVerbose yes | |
5664ab19 | 118 | |
0ad46739 | 119 | # Use system logger (can work together with UpdateLogFile). |
8934b66c ER |
120 | # Default: no |
121 | -#LogSyslog yes | |
122 | +LogSyslog yes | |
0ad46739 | 123 | |
7259763f | 124 | # Specify the type of syslog messages - please refer to 'man syslog' |
0c604439 | 125 | # for facility names. |
8934b66c | 126 | @@ -36,7 +40,7 @@ |
0c604439 | 127 | # By default when started freshclam drops privileges and switches to the |
128 | # "clamav" user. This directive allows you to change the database owner. | |
129 | # Default: clamav (may depend on installation options) | |
5664ab19 MK |
130 | -#DatabaseOwner clamav |
131 | +DatabaseOwner clamav | |
132 | ||
8934b66c ER |
133 | # Initialize supplementary group access (freshclam must be started by root). |
134 | # Default: no | |
213441c0 | 135 | @@ -70,7 +74,7 @@ |
5664ab19 | 136 | |
0c604439 | 137 | # Number of database checks per day. |
138 | # Default: 12 (every two hours) | |
139 | -#Checks 24 | |
5664ab19 MK |
140 | +Checks 2 |
141 | ||
142 | # Proxy settings | |
0c604439 | 143 | # Default: disabled |
213441c0 | 144 | @@ -92,7 +96,7 @@ |
8934b66c ER |
145 | |
146 | # Send the RELOAD command to clamd. | |
147 | # Default: no | |
148 | -#NotifyClamd /path/to/clamd.conf | |
38d9666e | 149 | +#NotifyClamd /etc/clamd.conf |
c935072a | 150 | |
0c604439 | 151 | # Run command after successful database update. |
152 | # Default: disabled |