]>
Commit | Line | Data |
---|---|---|
6bacbf20 AM |
1 | diff -ur clamav-1.2.0.org/etc/clamav-milter.conf.sample clamav-1.2.0/etc/clamav-milter.conf.sample |
2 | --- clamav-1.2.0.org/etc/clamav-milter.conf.sample 2023-08-27 00:00:24.000000000 +0200 | |
3 | +++ clamav-1.2.0/etc/clamav-milter.conf.sample 2023-09-05 10:47:53.869998771 +0200 | |
75ee8714 | 4 | @@ -3,7 +3,7 @@ |
5 | ## | |
6 | ||
7 | # Comment or remove the line below. | |
8 | -Example | |
9 | +#Example | |
10 | ||
11 | ||
12 | ## | |
6bacbf20 AM |
13 | @@ -20,10 +20,11 @@ |
14 | #MilterSocket /run/clamav/clamav-milter.sock | |
15 | #MilterSocket /tmp/clamav-milter.sock | |
75ee8714 | 16 | #MilterSocket inet:7357 |
6bacbf20 | 17 | +MilterSocket /var/lib/clamav/clamav-milter.socket |
75ee8714 | 18 | |
19 | # Define the group ownership for the (unix) milter socket. | |
20 | # Default: disabled (the primary group of the user running clamd) | |
21 | -#MilterSocketGroup virusgroup | |
22 | +#MilterSocketGroup clamav | |
23 | ||
24 | # Sets the permissions on the (unix) milter socket to the specified mode. | |
25 | # Default: disabled (obey umask) | |
6bacbf20 | 26 | @@ -66,6 +67,7 @@ |
75ee8714 | 27 | # |
28 | # Default: disabled | |
6bacbf20 | 29 | #PidFile /run/clamav/clamav-milter.pid |
75ee8714 | 30 | +PidFile /var/run/clamav/clamav-milter.pid |
31 | ||
32 | # Optional path to the global temporary directory. | |
33 | # Default: system specific (usually /tmp or /var/tmp). | |
6bacbf20 | 34 | @@ -94,7 +96,7 @@ |
75ee8714 | 35 | # Default: no default |
6bacbf20 AM |
36 | #ClamdSocket tcp:scanner.mydomain:7357 |
37 | #ClamdSocket unix:/run/clamav/clamd.sock | |
38 | - | |
59f1ef4d | 39 | +ClamdSocket unix:/var/lib/clamav/clamd.socket |
75ee8714 | 40 | |
75ee8714 | 41 | ## |
6bacbf20 AM |
42 | ## Exclusions |
43 | @@ -243,13 +245,13 @@ | |
75ee8714 | 44 | # Use system logger (can work together with LogFile). |
45 | # | |
46 | # Default: no | |
47 | -#LogSyslog yes | |
48 | +LogSyslog yes | |
49 | ||
50 | # Specify the type of syslog messages - please refer to 'man syslog' | |
51 | # for facility names. | |
52 | # | |
53 | # Default: LOG_LOCAL6 | |
54 | -#LogFacility LOG_MAIL | |
55 | +LogFacility LOG_MAIL | |
56 | ||
57 | # Enable verbose logging. | |
58 | # | |
6bacbf20 AM |
59 | Only in clamav-1.2.0/etc: clamav-milter.conf.sample~ |
60 | Only in clamav-1.2.0/etc: clamav-milter.conf.sample.orig | |
61 | Only in clamav-1.2.0/etc: clamav-milter.conf.sample.rej | |
62 | diff -ur clamav-1.2.0.org/etc/clamd.conf.sample clamav-1.2.0/etc/clamd.conf.sample | |
63 | --- clamav-1.2.0.org/etc/clamd.conf.sample 2023-08-27 00:00:24.000000000 +0200 | |
64 | +++ clamav-1.2.0/etc/clamd.conf.sample 2023-09-05 10:48:39.263332082 +0200 | |
0c604439 | 65 | @@ -5,13 +5,13 @@ |
5664ab19 | 66 | |
c935072a MK |
67 | |
68 | # Comment or remove the line below. | |
69 | -Example | |
0c604439 | 70 | +#Example |
c935072a MK |
71 | |
72 | # Uncomment this option to enable logging. | |
0c604439 | 73 | # LogFile must be writable for the user running daemon. |
74 | # A full path is required. | |
75 | # Default: disabled | |
c935072a | 76 | -#LogFile /tmp/clamd.log |
0c604439 | 77 | +#LogFile /var/log/clamd.log |
c935072a MK |
78 | |
79 | # By default the log file is locked for writing - the lock protects against | |
80 | # running clamd multiple times (if want to run another clamd, please | |
6bacbf20 | 81 | @@ -41,12 +41,12 @@ |
c935072a MK |
82 | |
83 | # Use system logger (can work together with LogFile). | |
8934b66c ER |
84 | # Default: no |
85 | -#LogSyslog yes | |
86 | +LogSyslog yes | |
c935072a | 87 | |
7259763f | 88 | # Specify the type of syslog messages - please refer to 'man syslog' |
0c604439 | 89 | # for facility names. |
20a53372 ER |
90 | # Default: LOG_LOCAL6 |
91 | -#LogFacility LOG_MAIL | |
92 | +LogFacility LOG_MAIL | |
93 | ||
94 | # Enable verbose logging. | |
95 | # Default: no | |
6bacbf20 | 96 | @@ -75,6 +75,7 @@ |
4cb842b3 | 97 | # also owned by root to keep other users from tampering with it. |
0c604439 | 98 | # Default: disabled |
6bacbf20 | 99 | #PidFile /run/clamav/clamd.pid |
5664ab19 MK |
100 | +PidFile /var/run/clamav/clamd.pid |
101 | ||
102 | # Optional path to the global temporary directory. | |
0c604439 | 103 | # Default: system specific (usually /tmp or /var/tmp). |
6bacbf20 | 104 | @@ -100,10 +101,11 @@ |
ae1cf7f1 | 105 | # Default: disabled (must be specified by a user) |
6bacbf20 AM |
106 | #LocalSocket /run/clamav/clamd.sock |
107 | #LocalSocket /tmp/clamd.sock | |
ae1cf7f1 AZ |
108 | +LocalSocket /var/lib/clamav/clamd.socket |
109 | ||
4a475f58 | 110 | # Sets the group ownership on the unix socket. |
111 | # Default: disabled (the primary group of the user running clamd) | |
75ee8714 | 112 | -#LocalSocketGroup virusgroup |
113 | +#LocalSocketGroup clamav | |
114 | ||
115 | # Sets the permissions on the unix socket to the specified mode. | |
116 | # Default: disabled (socket is world accessible) | |
6bacbf20 | 117 | @@ -224,7 +226,7 @@ |
0c604439 | 118 | |
e1ead9e8 | 119 | # Run as another user (clamd must be started by root for this option to work) |
8934b66c | 120 | # Default: don't drop privileges |
c935072a MK |
121 | -#User clamav |
122 | +User clamav | |
123 | ||
8934b66c ER |
124 | # Stop daemon when libclamav reports out of memory condition. |
125 | #ExitOnOOM yes | |
6bacbf20 AM |
126 | Only in clamav-1.2.0/etc: clamd.conf.sample.orig |
127 | Only in clamav-1.2.0/etc: clamd.conf.sample.rej | |
128 | diff -ur clamav-1.2.0.org/etc/freshclam.conf.sample clamav-1.2.0/etc/freshclam.conf.sample | |
129 | --- clamav-1.2.0.org/etc/freshclam.conf.sample 2023-08-27 00:00:24.000000000 +0200 | |
130 | +++ clamav-1.2.0/etc/freshclam.conf.sample 2023-09-05 10:47:06.513332122 +0200 | |
4a475f58 | 131 | @@ -3,9 +3,14 @@ |
0c604439 | 132 | ## Please read the freshclam.conf(5) manual before editing this file. |
c935072a | 133 | ## |
4a475f58 | 134 | |
5664ab19 MK |
135 | +## PLD NOTE: Note that freshclam is called periodically via cron |
136 | +## Check /etc/sysconfig/clamd for details | |
137 | +## Seems better to run task once per period than keep daemon running | |
0c604439 | 138 | +## only for that. |
5664ab19 MK |
139 | +## But if you have arguments please tell us. |
140 | ||
0c604439 | 141 | # Comment or remove the line below. |
142 | -Example | |
143 | +#Example | |
144 | ||
145 | # Path to the database directory. | |
146 | # WARNING: It must match clamd.conf's directive! | |
6bacbf20 | 147 | @@ -35,7 +40,7 @@ |
5664ab19 | 148 | |
0ad46739 | 149 | # Use system logger (can work together with UpdateLogFile). |
8934b66c ER |
150 | # Default: no |
151 | -#LogSyslog yes | |
152 | +LogSyslog yes | |
0ad46739 | 153 | |
7259763f | 154 | # Specify the type of syslog messages - please refer to 'man syslog' |
0c604439 | 155 | # for facility names. |
6bacbf20 | 156 | @@ -57,7 +62,7 @@ |
0c604439 | 157 | # By default when started freshclam drops privileges and switches to the |
158 | # "clamav" user. This directive allows you to change the database owner. | |
159 | # Default: clamav (may depend on installation options) | |
5664ab19 MK |
160 | -#DatabaseOwner clamav |
161 | +DatabaseOwner clamav | |
162 | ||
33f7b4a0 | 163 | # Use DNS to verify virus database version. FreshClam uses DNS TXT records |
4cb842b3 | 164 | # to verify database and software versions. With this directive you can change |
6bacbf20 | 165 | @@ -116,7 +121,7 @@ |
5664ab19 | 166 | |
0c604439 | 167 | # Number of database checks per day. |
168 | # Default: 12 (every two hours) | |
169 | -#Checks 24 | |
5664ab19 MK |
170 | +Checks 2 |
171 | ||
172 | # Proxy settings | |
4cb842b3 | 173 | # The HTTPProxyServer may be prefixed with [scheme]:// to specify which kind |
6bacbf20 | 174 | @@ -148,7 +153,7 @@ |
8934b66c ER |
175 | |
176 | # Send the RELOAD command to clamd. | |
177 | # Default: no | |
178 | -#NotifyClamd /path/to/clamd.conf | |
38d9666e | 179 | +#NotifyClamd /etc/clamd.conf |
c935072a | 180 | |
0c604439 | 181 | # Run command after successful database update. |
01a1fe23 | 182 | # Use EXIT_1 to return 1 after successful database update. |
6bacbf20 | 183 | Only in clamav-1.2.0/etc: freshclam.conf.sample.orig |