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