git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@899 77e5149b-7576-45b1-b177-96237e5ba77b
| ... | ... |
@@ -1,3 +1,8 @@ |
| 1 |
+Sun Sep 19 21:19:51 CEST 2004 (tk) |
|
| 2 |
+---------------------------------- |
|
| 3 |
+ * docs/MacOSX: update (thanks to Dale Enterprise L.L.C) |
|
| 4 |
+ * libclamav: minor cleanup |
|
| 5 |
+ |
|
| 1 | 6 |
Sun Sep 19 02:06:06 CEST 2004 (tk) |
| 2 | 7 |
---------------------------------- |
| 3 | 8 |
* etc/clamav.conf: rename clamd.conf |
| ... | ... |
@@ -332,7 +332,7 @@ int acceptloop_th(int socketd, struct cl_node *root, const struct cfgstruct *cop |
| 332 | 332 |
|
| 333 | 333 |
if(cfgopt(copt, "DetectBrokenExecutables")) {
|
| 334 | 334 |
logg("Detection of broken executables enabled.\n");
|
| 335 |
- options |= CL_SCAN_BROKEN; |
|
| 335 |
+ options |= CL_SCAN_BLOCKBROKEN; |
|
| 336 | 336 |
} |
| 337 | 337 |
|
| 338 | 338 |
} else {
|
| ... | ... |
@@ -168,7 +168,7 @@ int scanmanager(const struct optstruct *opt) |
| 168 | 168 |
options |= CL_SCAN_ARCHIVE; |
| 169 | 169 |
|
| 170 | 170 |
if(optl(opt, "detect-broken")) |
| 171 |
- options |= CL_SCAN_BROKEN; |
|
| 171 |
+ options |= CL_SCAN_BLOCKBROKEN; |
|
| 172 | 172 |
|
| 173 | 173 |
if(optl(opt, "block-encrypted")) |
| 174 | 174 |
options |= CL_SCAN_BLOCKENCRYPTED; |
| 181 | 181 |
deleted file mode 100644 |
| ... | ... |
@@ -1,806 +0,0 @@ |
| 1 |
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
| 2 |
- |
|
| 3 |
-<html> |
|
| 4 |
-<head> |
|
| 5 |
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> |
|
| 6 |
- <meta name="keywords" content="ClamAV, Samba, samba-vscan, AntyVir, Linux, UNIX"> |
|
| 7 |
- <meta name="description" content="::: ClamAV / Samba / samba-vscan :::"> |
|
| 8 |
- <meta name="author" content="doozer"> |
|
| 9 |
- <title>::: ClamAV / Samba / samba-vscan :::</title> |
|
| 10 |
- |
|
| 11 |
- <style type="text/css"> |
|
| 12 |
-P |
|
| 13 |
-{
|
|
| 14 |
- font-size : 12px; |
|
| 15 |
- font-style : normal; |
|
| 16 |
- color : #000000; |
|
| 17 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 18 |
- text-decoration : none; |
|
| 19 |
- text-align : justify; |
|
| 20 |
-} |
|
| 21 |
- |
|
| 22 |
-A |
|
| 23 |
-{
|
|
| 24 |
- font-size : 12px; |
|
| 25 |
- font-style : normal; |
|
| 26 |
- font-weight : bold; |
|
| 27 |
- color : #4457c9; |
|
| 28 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 29 |
- text-decoration : none; |
|
| 30 |
-} |
|
| 31 |
- |
|
| 32 |
-A:Visited |
|
| 33 |
-{
|
|
| 34 |
- font-size : 12px; |
|
| 35 |
- font-style : normal; |
|
| 36 |
- font-weight : bold; |
|
| 37 |
- color : #4457c9; |
|
| 38 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 39 |
- text-decoration : none; |
|
| 40 |
-} |
|
| 41 |
- |
|
| 42 |
-A:Active |
|
| 43 |
-{
|
|
| 44 |
- font-size : 12px; |
|
| 45 |
- font-style : normal; |
|
| 46 |
- font-weight : bold; |
|
| 47 |
- color : #4457c9; |
|
| 48 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 49 |
- text-decoration : none; |
|
| 50 |
-} |
|
| 51 |
- |
|
| 52 |
-A:Hover |
|
| 53 |
-{
|
|
| 54 |
- color : #000000; |
|
| 55 |
- font-size : 12px; |
|
| 56 |
- font-style : normal; |
|
| 57 |
- font-weight : bold; |
|
| 58 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 59 |
- text-decoration : none; |
|
| 60 |
-} |
|
| 61 |
- |
|
| 62 |
-BODY |
|
| 63 |
-{
|
|
| 64 |
- font-size : 12px; |
|
| 65 |
- font-style : normal; |
|
| 66 |
- color : #000000; |
|
| 67 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 68 |
- background-color : #ffffff; |
|
| 69 |
- text-decoration : none; |
|
| 70 |
- text-align : left; |
|
| 71 |
- margin: 0; |
|
| 72 |
-} |
|
| 73 |
- |
|
| 74 |
-PRE |
|
| 75 |
-{
|
|
| 76 |
- color: #000080; |
|
| 77 |
- font-size: 12px; |
|
| 78 |
- border: 1px solid #000000; |
|
| 79 |
- padding: 3pt; |
|
| 80 |
- background-color: #dddddd; |
|
| 81 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 82 |
-} |
|
| 83 |
- |
|
| 84 |
-TABLE |
|
| 85 |
-{
|
|
| 86 |
- border-collapse: collapse; |
|
| 87 |
- border-color: #000000; |
|
| 88 |
- border: 0; |
|
| 89 |
- background-color: #ffffff; |
|
| 90 |
-} |
|
| 91 |
- |
|
| 92 |
-TD |
|
| 93 |
-{
|
|
| 94 |
- font-size : 12px; |
|
| 95 |
- font-style : normal; |
|
| 96 |
- font-weight : normal; |
|
| 97 |
- color : #000000; |
|
| 98 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 99 |
- text-decoration : none; |
|
| 100 |
- border-color: #000000; |
|
| 101 |
-} |
|
| 102 |
- |
|
| 103 |
-TD.rtw |
|
| 104 |
-{
|
|
| 105 |
- font-size : 12px; |
|
| 106 |
- font-style : normal; |
|
| 107 |
- font-weight : normal; |
|
| 108 |
- color : #ffffff; |
|
| 109 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 110 |
- text-decoration : none; |
|
| 111 |
- border-color: #000000; |
|
| 112 |
-} |
|
| 113 |
- |
|
| 114 |
-TD.rall |
|
| 115 |
-{
|
|
| 116 |
- border-left-width: 1pt; |
|
| 117 |
- border-left-style: solid; |
|
| 118 |
- border-top-width: 1pt; |
|
| 119 |
- border-top-style: solid; |
|
| 120 |
- border-right-width: 1pt; |
|
| 121 |
- border-right-style: solid; |
|
| 122 |
- border-bottom-width: 1pt; |
|
| 123 |
- border-bottom-style: solid; |
|
| 124 |
- border-color: #000000; |
|
| 125 |
-} |
|
| 126 |
- |
|
| 127 |
-TD.rl |
|
| 128 |
-{
|
|
| 129 |
- border-left-width: 1pt; |
|
| 130 |
- border-left-style: solid; |
|
| 131 |
- border-top-width: 0pt; |
|
| 132 |
- border-top-style: none; |
|
| 133 |
- border-right-width: 0pt; |
|
| 134 |
- border-right-style: none; |
|
| 135 |
- border-bottom-width: 0pt; |
|
| 136 |
- border-bottom-style: none; |
|
| 137 |
- border-color: #000000; |
|
| 138 |
-} |
|
| 139 |
- |
|
| 140 |
-TD.rt |
|
| 141 |
-{
|
|
| 142 |
- border-left-width: 0pt; |
|
| 143 |
- border-left-style: none; |
|
| 144 |
- border-top-width: 1pt; |
|
| 145 |
- border-top-style: solid; |
|
| 146 |
- border-right-width: 0pt; |
|
| 147 |
- border-right-style: none; |
|
| 148 |
- border-bottom-width: 0pt; |
|
| 149 |
- border-bottom-style: none; |
|
| 150 |
- border-color: #000000; |
|
| 151 |
-} |
|
| 152 |
- |
|
| 153 |
-TD.rt_dddddd |
|
| 154 |
-{
|
|
| 155 |
- border-left-width: 0pt; |
|
| 156 |
- border-left-style: none; |
|
| 157 |
- border-top-width: 1pt; |
|
| 158 |
- border-top-style: solid; |
|
| 159 |
- border-right-width: 0pt; |
|
| 160 |
- border-right-style: none; |
|
| 161 |
- border-bottom-width: 0pt; |
|
| 162 |
- border-bottom-style: none; |
|
| 163 |
- border-color: #dddddd;; |
|
| 164 |
-} |
|
| 165 |
- |
|
| 166 |
-TD.rlr |
|
| 167 |
-{
|
|
| 168 |
- border-left-width: 1pt; |
|
| 169 |
- border-left-style: solid; |
|
| 170 |
- border-right-width: 1pt; |
|
| 171 |
- border-right-style: solid; |
|
| 172 |
- border-color: #000000; |
|
| 173 |
-} |
|
| 174 |
- |
|
| 175 |
-TD.rlr_b |
|
| 176 |
-{
|
|
| 177 |
- border-left-width: 4pt; |
|
| 178 |
- border-left-style: solid; |
|
| 179 |
- border-right-width: 4pt; |
|
| 180 |
- border-right-style: solid; |
|
| 181 |
- border-color: #000000; |
|
| 182 |
-} |
|
| 183 |
- |
|
| 184 |
-TD.rlb |
|
| 185 |
-{
|
|
| 186 |
- border-left-width: 1pt; |
|
| 187 |
- border-left-style: solid; |
|
| 188 |
- border-top-width: 0pt; |
|
| 189 |
- border-top-style: none; |
|
| 190 |
- border-right-width: 0pt; |
|
| 191 |
- border-right-style: none; |
|
| 192 |
- border-bottom-width: 1pt; |
|
| 193 |
- border-bottom-style: solid; |
|
| 194 |
-} |
|
| 195 |
- |
|
| 196 |
-TD.rltr |
|
| 197 |
-{
|
|
| 198 |
- border-left-width: 1pt; |
|
| 199 |
- border-left-style: solid; |
|
| 200 |
- border-top-width: 1pt; |
|
| 201 |
- border-top-style: solid; |
|
| 202 |
- border-right-width: 1pt; |
|
| 203 |
- border-right-style: solid; |
|
| 204 |
- border-bottom-width: 0pt; |
|
| 205 |
- border-bottom-style: none; |
|
| 206 |
-} |
|
| 207 |
- |
|
| 208 |
-TD.rltr_b |
|
| 209 |
-{
|
|
| 210 |
- border-left-width: 4pt; |
|
| 211 |
- border-left-style: solid; |
|
| 212 |
- border-top-width: 1pt; |
|
| 213 |
- border-top-style: solid; |
|
| 214 |
- border-right-width: 4pt; |
|
| 215 |
- border-right-style: solid; |
|
| 216 |
- border-bottom-width: 0pt; |
|
| 217 |
- border-bottom-style: none; |
|
| 218 |
-} |
|
| 219 |
- |
|
| 220 |
-TD.rrb |
|
| 221 |
-{
|
|
| 222 |
- border-left-width: 0pt; |
|
| 223 |
- border-left-style: none; |
|
| 224 |
- border-top-width: 0pt; |
|
| 225 |
- border-top-style: none; |
|
| 226 |
- border-right-width: 1pt; |
|
| 227 |
- border-right-style: solid; |
|
| 228 |
- border-bottom-width: 1pt; |
|
| 229 |
- border-bottom-style: solid; |
|
| 230 |
-} |
|
| 231 |
- |
|
| 232 |
-TD.rr |
|
| 233 |
-{
|
|
| 234 |
- border-left-width: 0pt; |
|
| 235 |
- border-left-style: none; |
|
| 236 |
- border-top-width: 0pt; |
|
| 237 |
- border-top-style: none; |
|
| 238 |
- border-right-width: 1pt; |
|
| 239 |
- border-right-style: solid; |
|
| 240 |
- border-bottom-width: 0pt; |
|
| 241 |
- border-bottom-style: none; |
|
| 242 |
-} |
|
| 243 |
- |
|
| 244 |
-TD.rltb |
|
| 245 |
-{
|
|
| 246 |
- border-left-width: 1pt; |
|
| 247 |
- border-left-style: solid; |
|
| 248 |
- border-top-width: 1pt; |
|
| 249 |
- border-top-style: solid; |
|
| 250 |
- border-right-width: 0pt; |
|
| 251 |
- border-right-style: none; |
|
| 252 |
- border-bottom-width: 1pt; |
|
| 253 |
- border-bottom-style: solid; |
|
| 254 |
-} |
|
| 255 |
- |
|
| 256 |
-TD.rlt |
|
| 257 |
-{
|
|
| 258 |
- border-left-width: 1pt; |
|
| 259 |
- border-left-style: solid; |
|
| 260 |
- border-top-width: 1pt; |
|
| 261 |
- border-top-style: solid; |
|
| 262 |
- border-right-width: 0pt; |
|
| 263 |
- border-right-style: none; |
|
| 264 |
- border-bottom-width: 0pt; |
|
| 265 |
- border-bottom-style: none; |
|
| 266 |
-} |
|
| 267 |
- |
|
| 268 |
-TD.rtr |
|
| 269 |
-{
|
|
| 270 |
- border-left-width: 0pt; |
|
| 271 |
- border-left-style: none; |
|
| 272 |
- border-top-width: 1pt; |
|
| 273 |
- border-top-style: solid; |
|
| 274 |
- border-right-width: 1pt; |
|
| 275 |
- border-right-style: solid; |
|
| 276 |
- border-bottom-width: 0pt; |
|
| 277 |
- border-bottom-style: none; |
|
| 278 |
-} |
|
| 279 |
- |
|
| 280 |
-TD.rlrb |
|
| 281 |
-{
|
|
| 282 |
- border-left-width: 1pt; |
|
| 283 |
- border-left-style: solid; |
|
| 284 |
- border-top-width: 0pt; |
|
| 285 |
- border-top-style: none; |
|
| 286 |
- border-right-width: 1pt; |
|
| 287 |
- border-right-style: solid; |
|
| 288 |
- border-bottom-width: 1pt; |
|
| 289 |
- border-bottom-style: solid; |
|
| 290 |
-} |
|
| 291 |
- |
|
| 292 |
-TD.rlrb_b |
|
| 293 |
-{
|
|
| 294 |
- border-left-width: 4pt; |
|
| 295 |
- border-left-style: solid; |
|
| 296 |
- border-top-width: 0pt; |
|
| 297 |
- border-top-style: none; |
|
| 298 |
- border-right-width: 4pt; |
|
| 299 |
- border-right-style: solid; |
|
| 300 |
- border-bottom-width: 1pt; |
|
| 301 |
- border-bottom-style: solid; |
|
| 302 |
-} |
|
| 303 |
- |
|
| 304 |
-TD.rallwl |
|
| 305 |
-{
|
|
| 306 |
- border-top-width: 1pt; |
|
| 307 |
- border-top-style: solid; |
|
| 308 |
- border-bottom-width: 1pt; |
|
| 309 |
- border-bottom-style: solid; |
|
| 310 |
- border-right-width: 1pt; |
|
| 311 |
- border-right-style: solid; |
|
| 312 |
- border-left-width: 0pt; |
|
| 313 |
- border-left-style: none; |
|
| 314 |
-} |
|
| 315 |
- |
|
| 316 |
-TD.rbottom |
|
| 317 |
-{
|
|
| 318 |
- border-bottom-width: 1pt; |
|
| 319 |
- border-bottom-style: solid; |
|
| 320 |
- border-left-width: 1pt; |
|
| 321 |
- border-left-style: solid; |
|
| 322 |
- border-right-width: 1pt; |
|
| 323 |
- border-right-style: solid; |
|
| 324 |
-} |
|
| 325 |
- |
|
| 326 |
-TD.rlrbdotted |
|
| 327 |
-{
|
|
| 328 |
- border-left-width: 1pt; |
|
| 329 |
- border-left-style: dotted; |
|
| 330 |
- border-top-width: 0pt; |
|
| 331 |
- border-top-style: none; |
|
| 332 |
- border-right-width: 1pt; |
|
| 333 |
- border-right-style: dotted; |
|
| 334 |
- border-bottom-width: 1pt; |
|
| 335 |
- border-bottom-style: dotted; |
|
| 336 |
-} |
|
| 337 |
- |
|
| 338 |
-TD.rbdotted |
|
| 339 |
-{
|
|
| 340 |
- border-left-width: 0pt; |
|
| 341 |
- border-left-style: none; |
|
| 342 |
- border-top-width: 0pt; |
|
| 343 |
- border-top-style: none; |
|
| 344 |
- border-right-width: 0pt; |
|
| 345 |
- border-right-style: none; |
|
| 346 |
- border-bottom-width: 1pt; |
|
| 347 |
- border-bottom-style: dotted; |
|
| 348 |
-} |
|
| 349 |
- |
|
| 350 |
-TD.rn |
|
| 351 |
-{
|
|
| 352 |
- border-left-width: 0pt; |
|
| 353 |
- border-left-style: none; |
|
| 354 |
- border-top-width: 0pt; |
|
| 355 |
- border-top-style: none; |
|
| 356 |
- border-right-width: 0pt; |
|
| 357 |
- border-right-style: none; |
|
| 358 |
- border-bottom-width: 0pt; |
|
| 359 |
- border-bottom-style: none; |
|
| 360 |
- border-color: #dddddd; |
|
| 361 |
-} |
|
| 362 |
- |
|
| 363 |
-IMG |
|
| 364 |
-{
|
|
| 365 |
- padding: 0; |
|
| 366 |
- border: 0; |
|
| 367 |
- border-color: #000000; |
|
| 368 |
-} |
|
| 369 |
- |
|
| 370 |
-.rfoot |
|
| 371 |
-{
|
|
| 372 |
- border-left-width: 1pt; |
|
| 373 |
- border-left-style: solid; |
|
| 374 |
- border-top-width: 1pt; |
|
| 375 |
- border-top-style: solid; |
|
| 376 |
- border-right-width: 1pt; |
|
| 377 |
- border-right-style: solid; |
|
| 378 |
- border-bottom-width: 1pt; |
|
| 379 |
- border-bottom-style: solid; |
|
| 380 |
- border-color: #000000; |
|
| 381 |
-} |
|
| 382 |
- |
|
| 383 |
-.rfoot:link |
|
| 384 |
-{
|
|
| 385 |
- color: #000000; |
|
| 386 |
- text-decoration: none; |
|
| 387 |
- border-left-width: 1pt; |
|
| 388 |
- border-left-style: solid; |
|
| 389 |
- border-top-width: 1pt; |
|
| 390 |
- border-top-style: solid; |
|
| 391 |
- border-right-width: 1pt; |
|
| 392 |
- border-right-style: solid; |
|
| 393 |
- border-bottom-width: 1pt; |
|
| 394 |
- border-bottom-style: solid; |
|
| 395 |
- border-color: #000000; |
|
| 396 |
-} |
|
| 397 |
- |
|
| 398 |
-.rfoot:hover |
|
| 399 |
-{
|
|
| 400 |
- border: 1px solid #0A246A; |
|
| 401 |
- background-color: #B6BDD2; |
|
| 402 |
- color: #000000; |
|
| 403 |
- border-left-width: 1pt; |
|
| 404 |
- border-left-style: solid; |
|
| 405 |
- border-top-width: 1pt; |
|
| 406 |
- border-top-style: solid; |
|
| 407 |
- border-right-width: 1pt; |
|
| 408 |
- border-right-style: solid; |
|
| 409 |
- border-bottom-width: 1pt; |
|
| 410 |
- border-bottom-style: solid; |
|
| 411 |
- border-color: #000000; |
|
| 412 |
-} |
|
| 413 |
- |
|
| 414 |
-.rfoot:visited |
|
| 415 |
-{
|
|
| 416 |
- color: #000000; |
|
| 417 |
- text-decoration: none; |
|
| 418 |
- border-left-width: 1pt; |
|
| 419 |
- border-left-style: solid; |
|
| 420 |
- border-top-width: 1pt; |
|
| 421 |
- border-top-style: solid; |
|
| 422 |
- border-right-width: 1pt; |
|
| 423 |
- border-right-style: solid; |
|
| 424 |
- border-bottom-width: 1pt; |
|
| 425 |
- border-bottom-style: solid; |
|
| 426 |
- border-color: #000000; |
|
| 427 |
-} |
|
| 428 |
- </style> |
|
| 429 |
- |
|
| 430 |
-</head> |
|
| 431 |
- |
|
| 432 |
-<body bgcolor="#ffffff"> |
|
| 433 |
- <center> |
|
| 434 |
- <a name="#begin"> </a> |
|
| 435 |
- |
|
| 436 |
-<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"> |
|
| 437 |
- <tr> |
|
| 438 |
- <td bgcolor="#dddddd" width="100%" align="left" height="20" class="rn"></td> |
|
| 439 |
- </tr> |
|
| 440 |
-</table> |
|
| 441 |
- |
|
| 442 |
-<!-- LOGOTABLE --> |
|
| 443 |
-<table width="100%" align="center" cellpadding="10" cellspacing="0" border="0"> |
|
| 444 |
- <tr> |
|
| 445 |
- <td bgcolor="#dddddd" width="8%" align="left" height="100" class="rt_dddddd"></td> |
|
| 446 |
- <td bgcolor="#ffffff" width="24%" align="left" height="100" class="rlt"><img src="clam.png" alt="ClamAV Logo"></td> |
|
| 447 |
- <td bgcolor="#ffffff" width="60%" align="left" height="100" class="rtr"> |
|
| 448 | ||
| 449 |
- <b><font size="+1">Ochrona antywirusowa z wykorzystaniem ClamAV</font></b><br><br> |
|
| 450 | ||
| 451 |
- </td> |
|
| 452 |
- <td bgcolor="#dddddd" width="8%" align="left" height="100" class="rt_dddddd"></td> |
|
| 453 |
- </tr> |
|
| 454 |
-</table> |
|
| 455 |
-<!-- end LOGOTABLE --> |
|
| 456 |
- |
|
| 457 |
-<!-- TOPTABLE --> |
|
| 458 |
-<table width="100%" align="center" cellpadding="10" cellspacing="0" border="0"> |
|
| 459 |
- <tr> |
|
| 460 |
- <td bgcolor="#dddddd" colspan="1" valign="top" align="left" width="8%" height="200"> |
|
| 461 |
- |
|
| 462 |
- </td> |
|
| 463 |
- |
|
| 464 |
- <td colspan="1" valign="top" align="left" width="84%" height="200" class="rlrb"> |
|
| 465 |
- |
|
| 466 | ||
| 467 |
- <br><b>1.</b> <a href="samba_clamav.html#a1">Wprowadzenie</a> |
|
| 468 | ||
| 469 |
- <br><b>3.</b> <a href="samba_clamav.html#a3">Zapotrzebowanie na oprogramowanie</a> |
|
| 470 |
- <br><b>4.</b> <a href="samba_clamav.html#a4">Konfiguracja serwera Samba</a> |
|
| 471 |
- <br><b>5.</b> <a href="samba_clamav.html#a5">Kompilacja ClamAV</a> |
|
| 472 |
- <br><b>6.</b> <a href="samba_clamav.html#a6">Uruchamianie</a> |
|
| 473 | ||
| 474 |
- |
|
| 475 |
-<br><br><br> |
|
| 476 | ||
| 477 |
- |
|
| 478 | ||
| 479 | ||
| 480 | ||
| 481 | ||
| 482 | ||
| 483 |
- |
|
| 484 |
-<a name="a1"> </a> |
|
| 485 |
-<br><br><br><b>1. Wprowadzenie</b> |
|
| 486 | ||
| 487 | ||
| 488 | ||
| 489 | ||
| 490 | ||
| 491 |
- |
|
| 492 |
-<a name="a2"> </a> |
|
| 493 | ||
| 494 | ||
| 495 | ||
| 496 | ||
| 497 |
-<a href="http://www.geocities.com/orville_torpid/papers/vfs_tutorial.html">tutaj</a> lub w dokumentacji Samby. |
|
| 498 |
- |
|
| 499 | ||
| 500 |
- |
|
| 501 | ||
| 502 |
- |
|
| 503 |
-<pre> |
|
| 504 | ||
| 505 |
-</pre> |
|
| 506 | ||
| 507 |
- |
|
| 508 |
-<a name="a3"> </a> |
|
| 509 |
-<br><br><br><b>3. Zapotrzebowanie na oprogramowanie</b> |
|
| 510 |
-<br><br> - ClamAV v0.67.1 - <a href="http://prdownloads.sourceforge.net/clamav/">http://prdownloads.sourceforge.net/clamav/</a> |
|
| 511 |
-<br> - Samba 3.0.1 - <a href="ftp://giswitch.sggw.waw.pl/pub/unix/samba/">ftp://giswitch.sggw.waw.pl/pub/unix/samba/</a> |
|
| 512 |
-<br> - samba-vscan 0.3.5-alpha2 - <a href="http://www.openantivirus.org/snapshots/">http://www.openantivirus.org/snapshots/</a> |
|
| 513 |
- |
|
| 514 | ||
| 515 |
- |
|
| 516 |
-<br><br> <b>Skrypty startowe</b> |
|
| 517 | ||
| 518 |
-<br> <a href="http://clamav.skc.com.pl/howtos/files/rc.samba">rc.samba</a> |
|
| 519 |
-<br> <a href="http://clamav.skc.com.pl/howtos/files/rc.clamd">rc.clamd</a> |
|
| 520 | ||
| 521 | ||
| 522 |
- |
|
| 523 |
-<a name="a4"> </a> |
|
| 524 |
-<br><br><br><b>4. Konfiguracja serwera Samba</b> |
|
| 525 | ||
| 526 | ||
| 527 |
- |
|
| 528 | ||
| 529 | ||
| 530 | ||
| 531 | ||
| 532 |
- |
|
| 533 |
-<pre> |
|
| 534 |
-root@linux: cd samba_source/source |
|
| 535 |
- |
|
| 536 | ||
| 537 |
- |
|
| 538 |
-CFLAGS="-march=i686 -mcpu=i686" \ |
|
| 539 |
-./configure \ |
|
| 540 |
-i386-slackware-linux |
|
| 541 |
- |
|
| 542 | ||
| 543 |
- |
|
| 544 |
-root@linux: make proto |
|
| 545 |
-root@linux: make |
|
| 546 |
-root@linux: make install |
|
| 547 |
-</pre> |
|
| 548 | ||
| 549 |
- |
|
| 550 |
-<br><br> |
|
| 551 | ||
| 552 |
-<pre> |
|
| 553 |
-#define VSCAN_CLAMD_SOCKET_NAME "/var/run/clamd" |
|
| 554 | ||
| 555 |
-#define VSCAN_CLAMD_SOCKET_NAME "/var/run/clamav/clamd.sock" |
|
| 556 |
-</pre> |
|
| 557 | ||
| 558 |
-<pre> |
|
| 559 |
-root@linux: cd samba-vscan_source/ |
|
| 560 |
-root@linux: ./configure --prefix=/usr --with-samba-source=samba_source/source |
|
| 561 |
-</pre> |
|
| 562 | ||
| 563 |
-<pre> |
|
| 564 |
-root@linux: make clamav |
|
| 565 |
-</pre> |
|
| 566 |
- |
|
| 567 | ||
| 568 |
- |
|
| 569 | ||
| 570 |
-<pre> |
|
| 571 |
-cp samba-vscan_source/vscan-clamav.so /usr/lib/samba/vfs/vscan-clamav.so |
|
| 572 |
-</pre> |
|
| 573 |
- |
|
| 574 | ||
| 575 |
-<pre> |
|
| 576 |
-root@linux: cp samba-vscan_source/openantivirus/vscan-oav.conf /etc/samba/vscan-clamav.conf |
|
| 577 |
-</pre> |
|
| 578 |
- |
|
| 579 |
-<br> |
|
| 580 | ||
| 581 |
-<pre> |
|
| 582 | ||
| 583 |
- To ustawienie pozwala na zdefiniowanie maksymalnego rozmiaru skanowanego pliku. |
|
| 584 | ||
| 585 | ||
| 586 |
- |
|
| 587 |
-* verbose file logging = [True/False | yes/no | 1/0] |
|
| 588 | ||
| 589 | ||
| 590 | ||
| 591 | ||
| 592 | ||
| 593 |
- |
|
| 594 |
-* scan on open = [True/False | yes/no | 1/0] |
|
| 595 | ||
| 596 | ||
| 597 |
- |
|
| 598 |
-* scan on close = [True/False | yes/no | 1/0] |
|
| 599 | ||
| 600 | ||
| 601 |
- |
|
| 602 |
-* deny access on error = [True/False | yes/no | 1/0] |
|
| 603 | ||
| 604 | ||
| 605 | ||
| 606 |
- |
|
| 607 |
-* deny access on minor error = [True/False | yes/no | 1/0] |
|
| 608 | ||
| 609 | ||
| 610 |
- |
|
| 611 |
-* send warning message = [True/False | yes/no | 1/0] |
|
| 612 | ||
| 613 |
- Messenger Service (winpopup). |
|
| 614 | ||
| 615 | ||
| 616 |
- |
|
| 617 |
-* infected file action = [quarantine | delete | nothing] |
|
| 618 | ||
| 619 |
- "quarantine" - plik zostanie przeniesiony do katalogu kwarantanny i zostanie mu |
|
| 620 | ||
| 621 | ||
| 622 | ||
| 623 | ||
| 624 |
- |
|
| 625 | ||
| 626 | ||
| 627 | ||
| 628 |
- |
|
| 629 |
-* quarantine prefix = [przedrostek] |
|
| 630 | ||
| 631 |
- |
|
| 632 | ||
| 633 | ||
| 634 | ||
| 635 | ||
| 636 | ||
| 637 | ||
| 638 | ||
| 639 |
- |
|
| 640 | ||
| 641 | ||
| 642 |
- Czas podawany jest w sekundach. |
|
| 643 | ||
| 644 |
- |
|
| 645 |
-* exclude file types = [lista] |
|
| 646 | ||
| 647 | ||
| 648 | ||
| 649 |
-</pre> |
|
| 650 |
- |
|
| 651 | ||
| 652 |
- |
|
| 653 | ||
| 654 |
- |
|
| 655 |
-<pre> |
|
| 656 |
-[vscan] |
|
| 657 |
- comment = virus-protected /samba directory |
|
| 658 |
- path = /samba |
|
| 659 |
- vfs object = vscan-clamav |
|
| 660 |
- vscan-clamav: config-file = /etc/samba/vscan-clamav.conf |
|
| 661 |
- writeable = yes |
|
| 662 |
- browseable = yes |
|
| 663 |
- guest ok = yes |
|
| 664 |
-</pre> |
|
| 665 |
- |
|
| 666 | ||
| 667 |
- |
|
| 668 |
-<a name="a5"> </a> |
|
| 669 |
-<br><br><br><b>5. Kompilacja ClamAV</b> |
|
| 670 | ||
| 671 |
-<pre> |
|
| 672 |
-root@linux: groupadd clamav |
|
| 673 |
-root@linux: useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav |
|
| 674 |
-</pre> |
|
| 675 |
- |
|
| 676 | ||
| 677 |
-<pre> |
|
| 678 |
-user@linux: cd clamav_source |
|
| 679 |
-user@linux: make clean |
|
| 680 |
-user@linux: ./configure --prefix=/usr --sysconfdir=/etc/clamav --datadir=/etc/clamav --with-dbdir=/etc/clamav |
|
| 681 |
-user@linux: make |
|
| 682 |
-user@linux: make check |
|
| 683 |
-user@linux: su |
|
| 684 |
-root@linux: make install |
|
| 685 |
-</pre> |
|
| 686 |
- |
|
| 687 | ||
| 688 | ||
| 689 |
- |
|
| 690 | ||
| 691 | ||
| 692 | ||
| 693 | ||
| 694 |
- |
|
| 695 | ||
| 696 | ||
| 697 |
- |
|
| 698 |
-<br><br> |
|
| 699 | ||
| 700 |
- |
|
| 701 | ||
| 702 |
- |
|
| 703 |
-<br><br><b>Uprawnienia</b> |
|
| 704 | ||
| 705 |
- |
|
| 706 | ||
| 707 |
- |
|
| 708 |
-<a name="a6"> </a> |
|
| 709 |
-<br><br><br><b>6. Uruchamianie</b> |
|
| 710 | ||
| 711 |
-<pre> |
|
| 712 |
-root@linux: chown -R clamav:clamav /etc/clamav |
|
| 713 |
-root@linux: mkdir /var/run/clamav; chown -R clamav:clamav /var/run/clamav |
|
| 714 |
-root@linux: mkdir /var/log/clamav; chown -R clamav:clamav /var/log/clamav |
|
| 715 |
-</pre> |
|
| 716 |
- |
|
| 717 | ||
| 718 | ||
| 719 |
- |
|
| 720 |
-<a name="a7"> </a> |
|
| 721 | ||
| 722 |
-<br><br> |
|
| 723 | ||
| 724 | ||
| 725 |
-<pre> |
|
| 726 | ||
| 727 |
-Mar 9 22:10:36 abuse smbd_vscan-clamav[23929]: samba-vscan (vscan-clamav 0.3.5alpha2) registered (Samba 3.0), (c) by |
|
| 728 |
-Rainer Link, OpenAntiVirus.org |
|
| 729 |
-Mar 9 22:10:36 abuse smbd_vscan-clamav[23929]: samba-vscan (vscan-clamav 0.3.5alpha2) connected (Samba 3.0), (c) by |
|
| 730 |
-Rainer Link, OpenAntiVirus.org |
|
| 731 |
-Mar 9 22:10:36 abuse smbd_vscan-clamav[23929]: INFO: connect to service vscan by user administrator |
|
| 732 |
-</pre> |
|
| 733 | ||
| 734 |
-<pre> |
|
| 735 |
-Mar 9 22:11:54 abuse smbd_vscan-clamav[23966]: INFO: File MozillaPL.org-MozillaPL-Windows-1.6.exe |
|
| 736 |
-is larger than specified maximum file size! Not scanned! |
|
| 737 |
-Mar 9 22:11:54 abuse smbd_vscan-clamav[23966]: INFO: File SavageDemoInstaller.exe |
|
| 738 |
-is larger than specified maximum file size! Not scanned! |
|
| 739 |
-</pre> |
|
| 740 | ||
| 741 |
-<pre> |
|
| 742 |
-Mar 9 22:13:02 abuse clamd[23977]: /samba/cygwin/src/clamav-devel-20040201/test/test3.rar: ClamAV-Test-Signature FOUND |
|
| 743 |
-Mar 9 22:13:02 abuse smbd_vscan-clamav[23966]: INFO: quarantining file |
|
| 744 |
-'/samba/cygwin/src/clamav-devel-20040201/test/test3.rar' to '/tmp/vir-Atnd5n' was successful |
|
| 745 |
-</pre> |
|
| 746 |
- |
|
| 747 | ||
| 748 |
-<center><img src="winmsg.png"></center> |
|
| 749 |
- |
|
| 750 |
- |
|
| 751 |
-<br><br> |
|
| 752 | ||
| 753 | ||
| 754 |
- |
|
| 755 |
-<br><br> |
|
| 756 |
-<hr size="1" style="color: #aaa4a0;"> |
|
| 757 | ||
| 758 |
-e-mail: <b>doozer (at) skc (dot) com (dot) pl</b> |
|
| 759 |
- |
|
| 760 |
-<br><br> |
|
| 761 |
-Wed Mar 10 00:16:38 CET 2004 <b>Pierwsza wersja howto</b><br> |
|
| 762 |
-<font style="font-size: 12px; color: #aaaaaa"> |
|
| 763 |
- # samba_clamav.html v1.0; Last modified: Sun, 11 Apr, 2004 22:14:13 by doozer # |
|
| 764 |
-</font> |
|
| 765 |
- |
|
| 766 |
- |
|
| 767 |
- </td> |
|
| 768 |
- <td bgcolor="#dddddd" colspan="1" valign="top" align="left" width="8%" height="2000"> |
|
| 769 |
- |
|
| 770 |
- </td> |
|
| 771 |
-</tr> |
|
| 772 |
-</table> |
|
| 773 |
-<!-- end CONTENTTABLE --> |
|
| 774 |
- |
|
| 775 |
-<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"> |
|
| 776 |
- <tr> |
|
| 777 |
- <td bgcolor="#dddddd" width="100%" align="center" height="60" class="rn"> |
|
| 778 |
- |
|
| 779 |
- </td> |
|
| 780 |
- </tr> |
|
| 781 |
-</table> |
|
| 782 |
- |
|
| 783 |
-</center> |
|
| 784 |
-</body> |
|
| 785 |
-</html> |
| 786 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,752 +0,0 @@ |
| 1 |
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
| 2 |
- |
|
| 3 |
-<html> |
|
| 4 |
-<head> |
|
| 5 |
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> |
|
| 6 |
- <meta name="keywords" content="ClamAV, Sendmail, clamav-milter, AntyVir, Linux, UNIX"> |
|
| 7 |
- <meta name="description" content="::: ClamAV / Sendmail / clamav-milter :::"> |
|
| 8 |
- <meta name="author" content="doozer"> |
|
| 9 |
- <title>::: ClamAV / Sendmail / clamav-milter :::</title> |
|
| 10 |
- |
|
| 11 |
- <style type="text/css"> |
|
| 12 |
-P |
|
| 13 |
-{
|
|
| 14 |
- font-size : 12px; |
|
| 15 |
- font-style : normal; |
|
| 16 |
- color : #000000; |
|
| 17 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 18 |
- text-decoration : none; |
|
| 19 |
- text-align : justify; |
|
| 20 |
-} |
|
| 21 |
- |
|
| 22 |
-A |
|
| 23 |
-{
|
|
| 24 |
- font-size : 12px; |
|
| 25 |
- font-style : normal; |
|
| 26 |
- font-weight : bold; |
|
| 27 |
- color : #4457c9; |
|
| 28 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 29 |
- text-decoration : none; |
|
| 30 |
-} |
|
| 31 |
- |
|
| 32 |
-A:Visited |
|
| 33 |
-{
|
|
| 34 |
- font-size : 12px; |
|
| 35 |
- font-style : normal; |
|
| 36 |
- font-weight : bold; |
|
| 37 |
- color : #4457c9; |
|
| 38 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 39 |
- text-decoration : none; |
|
| 40 |
-} |
|
| 41 |
- |
|
| 42 |
-A:Active |
|
| 43 |
-{
|
|
| 44 |
- font-size : 12px; |
|
| 45 |
- font-style : normal; |
|
| 46 |
- font-weight : bold; |
|
| 47 |
- color : #4457c9; |
|
| 48 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 49 |
- text-decoration : none; |
|
| 50 |
-} |
|
| 51 |
- |
|
| 52 |
-A:Hover |
|
| 53 |
-{
|
|
| 54 |
- color : #000000; |
|
| 55 |
- font-size : 12px; |
|
| 56 |
- font-style : normal; |
|
| 57 |
- font-weight : bold; |
|
| 58 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 59 |
- text-decoration : none; |
|
| 60 |
-} |
|
| 61 |
- |
|
| 62 |
-BODY |
|
| 63 |
-{
|
|
| 64 |
- font-size : 12px; |
|
| 65 |
- font-style : normal; |
|
| 66 |
- color : #000000; |
|
| 67 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 68 |
- background-color : #ffffff; |
|
| 69 |
- text-decoration : none; |
|
| 70 |
- text-align : left; |
|
| 71 |
- margin: 0; |
|
| 72 |
-} |
|
| 73 |
- |
|
| 74 |
-PRE |
|
| 75 |
-{
|
|
| 76 |
- color: #000080; |
|
| 77 |
- font-size: 12px; |
|
| 78 |
- border: 1px solid #000000; |
|
| 79 |
- padding: 3pt; |
|
| 80 |
- background-color: #dddddd; |
|
| 81 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 82 |
-} |
|
| 83 |
- |
|
| 84 |
-TABLE |
|
| 85 |
-{
|
|
| 86 |
- border-collapse: collapse; |
|
| 87 |
- border-color: #000000; |
|
| 88 |
- border: 0; |
|
| 89 |
- background-color: #ffffff; |
|
| 90 |
-} |
|
| 91 |
- |
|
| 92 |
-TD |
|
| 93 |
-{
|
|
| 94 |
- font-size : 12px; |
|
| 95 |
- font-style : normal; |
|
| 96 |
- font-weight : normal; |
|
| 97 |
- color : #000000; |
|
| 98 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 99 |
- text-decoration : none; |
|
| 100 |
- border-color: #000000; |
|
| 101 |
-} |
|
| 102 |
- |
|
| 103 |
-TD.rtw |
|
| 104 |
-{
|
|
| 105 |
- font-size : 12px; |
|
| 106 |
- font-style : normal; |
|
| 107 |
- font-weight : normal; |
|
| 108 |
- color : #ffffff; |
|
| 109 |
- font-family : verdana, arial, helvetica, sans-serif; |
|
| 110 |
- text-decoration : none; |
|
| 111 |
- border-color: #000000; |
|
| 112 |
-} |
|
| 113 |
- |
|
| 114 |
-TD.rall |
|
| 115 |
-{
|
|
| 116 |
- border-left-width: 1pt; |
|
| 117 |
- border-left-style: solid; |
|
| 118 |
- border-top-width: 1pt; |
|
| 119 |
- border-top-style: solid; |
|
| 120 |
- border-right-width: 1pt; |
|
| 121 |
- border-right-style: solid; |
|
| 122 |
- border-bottom-width: 1pt; |
|
| 123 |
- border-bottom-style: solid; |
|
| 124 |
- border-color: #000000; |
|
| 125 |
-} |
|
| 126 |
- |
|
| 127 |
-TD.rl |
|
| 128 |
-{
|
|
| 129 |
- border-left-width: 1pt; |
|
| 130 |
- border-left-style: solid; |
|
| 131 |
- border-top-width: 0pt; |
|
| 132 |
- border-top-style: none; |
|
| 133 |
- border-right-width: 0pt; |
|
| 134 |
- border-right-style: none; |
|
| 135 |
- border-bottom-width: 0pt; |
|
| 136 |
- border-bottom-style: none; |
|
| 137 |
- border-color: #000000; |
|
| 138 |
-} |
|
| 139 |
- |
|
| 140 |
-TD.rt |
|
| 141 |
-{
|
|
| 142 |
- border-left-width: 0pt; |
|
| 143 |
- border-left-style: none; |
|
| 144 |
- border-top-width: 1pt; |
|
| 145 |
- border-top-style: solid; |
|
| 146 |
- border-right-width: 0pt; |
|
| 147 |
- border-right-style: none; |
|
| 148 |
- border-bottom-width: 0pt; |
|
| 149 |
- border-bottom-style: none; |
|
| 150 |
- border-color: #000000; |
|
| 151 |
-} |
|
| 152 |
- |
|
| 153 |
-TD.rt_dddddd |
|
| 154 |
-{
|
|
| 155 |
- border-left-width: 0pt; |
|
| 156 |
- border-left-style: none; |
|
| 157 |
- border-top-width: 1pt; |
|
| 158 |
- border-top-style: solid; |
|
| 159 |
- border-right-width: 0pt; |
|
| 160 |
- border-right-style: none; |
|
| 161 |
- border-bottom-width: 0pt; |
|
| 162 |
- border-bottom-style: none; |
|
| 163 |
- border-color: #dddddd;; |
|
| 164 |
-} |
|
| 165 |
- |
|
| 166 |
-TD.rlr |
|
| 167 |
-{
|
|
| 168 |
- border-left-width: 1pt; |
|
| 169 |
- border-left-style: solid; |
|
| 170 |
- border-right-width: 1pt; |
|
| 171 |
- border-right-style: solid; |
|
| 172 |
- border-color: #000000; |
|
| 173 |
-} |
|
| 174 |
- |
|
| 175 |
-TD.rlr_b |
|
| 176 |
-{
|
|
| 177 |
- border-left-width: 4pt; |
|
| 178 |
- border-left-style: solid; |
|
| 179 |
- border-right-width: 4pt; |
|
| 180 |
- border-right-style: solid; |
|
| 181 |
- border-color: #000000; |
|
| 182 |
-} |
|
| 183 |
- |
|
| 184 |
-TD.rlb |
|
| 185 |
-{
|
|
| 186 |
- border-left-width: 1pt; |
|
| 187 |
- border-left-style: solid; |
|
| 188 |
- border-top-width: 0pt; |
|
| 189 |
- border-top-style: none; |
|
| 190 |
- border-right-width: 0pt; |
|
| 191 |
- border-right-style: none; |
|
| 192 |
- border-bottom-width: 1pt; |
|
| 193 |
- border-bottom-style: solid; |
|
| 194 |
-} |
|
| 195 |
- |
|
| 196 |
-TD.rltr |
|
| 197 |
-{
|
|
| 198 |
- border-left-width: 1pt; |
|
| 199 |
- border-left-style: solid; |
|
| 200 |
- border-top-width: 1pt; |
|
| 201 |
- border-top-style: solid; |
|
| 202 |
- border-right-width: 1pt; |
|
| 203 |
- border-right-style: solid; |
|
| 204 |
- border-bottom-width: 0pt; |
|
| 205 |
- border-bottom-style: none; |
|
| 206 |
-} |
|
| 207 |
- |
|
| 208 |
-TD.rltr_b |
|
| 209 |
-{
|
|
| 210 |
- border-left-width: 4pt; |
|
| 211 |
- border-left-style: solid; |
|
| 212 |
- border-top-width: 1pt; |
|
| 213 |
- border-top-style: solid; |
|
| 214 |
- border-right-width: 4pt; |
|
| 215 |
- border-right-style: solid; |
|
| 216 |
- border-bottom-width: 0pt; |
|
| 217 |
- border-bottom-style: none; |
|
| 218 |
-} |
|
| 219 |
- |
|
| 220 |
-TD.rrb |
|
| 221 |
-{
|
|
| 222 |
- border-left-width: 0pt; |
|
| 223 |
- border-left-style: none; |
|
| 224 |
- border-top-width: 0pt; |
|
| 225 |
- border-top-style: none; |
|
| 226 |
- border-right-width: 1pt; |
|
| 227 |
- border-right-style: solid; |
|
| 228 |
- border-bottom-width: 1pt; |
|
| 229 |
- border-bottom-style: solid; |
|
| 230 |
-} |
|
| 231 |
- |
|
| 232 |
-TD.rr |
|
| 233 |
-{
|
|
| 234 |
- border-left-width: 0pt; |
|
| 235 |
- border-left-style: none; |
|
| 236 |
- border-top-width: 0pt; |
|
| 237 |
- border-top-style: none; |
|
| 238 |
- border-right-width: 1pt; |
|
| 239 |
- border-right-style: solid; |
|
| 240 |
- border-bottom-width: 0pt; |
|
| 241 |
- border-bottom-style: none; |
|
| 242 |
-} |
|
| 243 |
- |
|
| 244 |
-TD.rltb |
|
| 245 |
-{
|
|
| 246 |
- border-left-width: 1pt; |
|
| 247 |
- border-left-style: solid; |
|
| 248 |
- border-top-width: 1pt; |
|
| 249 |
- border-top-style: solid; |
|
| 250 |
- border-right-width: 0pt; |
|
| 251 |
- border-right-style: none; |
|
| 252 |
- border-bottom-width: 1pt; |
|
| 253 |
- border-bottom-style: solid; |
|
| 254 |
-} |
|
| 255 |
- |
|
| 256 |
-TD.rlt |
|
| 257 |
-{
|
|
| 258 |
- border-left-width: 1pt; |
|
| 259 |
- border-left-style: solid; |
|
| 260 |
- border-top-width: 1pt; |
|
| 261 |
- border-top-style: solid; |
|
| 262 |
- border-right-width: 0pt; |
|
| 263 |
- border-right-style: none; |
|
| 264 |
- border-bottom-width: 0pt; |
|
| 265 |
- border-bottom-style: none; |
|
| 266 |
-} |
|
| 267 |
- |
|
| 268 |
-TD.rtr |
|
| 269 |
-{
|
|
| 270 |
- border-left-width: 0pt; |
|
| 271 |
- border-left-style: none; |
|
| 272 |
- border-top-width: 1pt; |
|
| 273 |
- border-top-style: solid; |
|
| 274 |
- border-right-width: 1pt; |
|
| 275 |
- border-right-style: solid; |
|
| 276 |
- border-bottom-width: 0pt; |
|
| 277 |
- border-bottom-style: none; |
|
| 278 |
-} |
|
| 279 |
- |
|
| 280 |
-TD.rlrb |
|
| 281 |
-{
|
|
| 282 |
- border-left-width: 1pt; |
|
| 283 |
- border-left-style: solid; |
|
| 284 |
- border-top-width: 0pt; |
|
| 285 |
- border-top-style: none; |
|
| 286 |
- border-right-width: 1pt; |
|
| 287 |
- border-right-style: solid; |
|
| 288 |
- border-bottom-width: 1pt; |
|
| 289 |
- border-bottom-style: solid; |
|
| 290 |
-} |
|
| 291 |
- |
|
| 292 |
-TD.rlrb_b |
|
| 293 |
-{
|
|
| 294 |
- border-left-width: 4pt; |
|
| 295 |
- border-left-style: solid; |
|
| 296 |
- border-top-width: 0pt; |
|
| 297 |
- border-top-style: none; |
|
| 298 |
- border-right-width: 4pt; |
|
| 299 |
- border-right-style: solid; |
|
| 300 |
- border-bottom-width: 1pt; |
|
| 301 |
- border-bottom-style: solid; |
|
| 302 |
-} |
|
| 303 |
- |
|
| 304 |
-TD.rallwl |
|
| 305 |
-{
|
|
| 306 |
- border-top-width: 1pt; |
|
| 307 |
- border-top-style: solid; |
|
| 308 |
- border-bottom-width: 1pt; |
|
| 309 |
- border-bottom-style: solid; |
|
| 310 |
- border-right-width: 1pt; |
|
| 311 |
- border-right-style: solid; |
|
| 312 |
- border-left-width: 0pt; |
|
| 313 |
- border-left-style: none; |
|
| 314 |
-} |
|
| 315 |
- |
|
| 316 |
-TD.rbottom |
|
| 317 |
-{
|
|
| 318 |
- border-bottom-width: 1pt; |
|
| 319 |
- border-bottom-style: solid; |
|
| 320 |
- border-left-width: 1pt; |
|
| 321 |
- border-left-style: solid; |
|
| 322 |
- border-right-width: 1pt; |
|
| 323 |
- border-right-style: solid; |
|
| 324 |
-} |
|
| 325 |
- |
|
| 326 |
-TD.rlrbdotted |
|
| 327 |
-{
|
|
| 328 |
- border-left-width: 1pt; |
|
| 329 |
- border-left-style: dotted; |
|
| 330 |
- border-top-width: 0pt; |
|
| 331 |
- border-top-style: none; |
|
| 332 |
- border-right-width: 1pt; |
|
| 333 |
- border-right-style: dotted; |
|
| 334 |
- border-bottom-width: 1pt; |
|
| 335 |
- border-bottom-style: dotted; |
|
| 336 |
-} |
|
| 337 |
- |
|
| 338 |
-TD.rbdotted |
|
| 339 |
-{
|
|
| 340 |
- border-left-width: 0pt; |
|
| 341 |
- border-left-style: none; |
|
| 342 |
- border-top-width: 0pt; |
|
| 343 |
- border-top-style: none; |
|
| 344 |
- border-right-width: 0pt; |
|
| 345 |
- border-right-style: none; |
|
| 346 |
- border-bottom-width: 1pt; |
|
| 347 |
- border-bottom-style: dotted; |
|
| 348 |
-} |
|
| 349 |
- |
|
| 350 |
-TD.rn |
|
| 351 |
-{
|
|
| 352 |
- border-left-width: 0pt; |
|
| 353 |
- border-left-style: none; |
|
| 354 |
- border-top-width: 0pt; |
|
| 355 |
- border-top-style: none; |
|
| 356 |
- border-right-width: 0pt; |
|
| 357 |
- border-right-style: none; |
|
| 358 |
- border-bottom-width: 0pt; |
|
| 359 |
- border-bottom-style: none; |
|
| 360 |
- border-color: #dddddd; |
|
| 361 |
-} |
|
| 362 |
- |
|
| 363 |
-IMG |
|
| 364 |
-{
|
|
| 365 |
- padding: 0; |
|
| 366 |
- border: 0; |
|
| 367 |
- border-color: #000000; |
|
| 368 |
-} |
|
| 369 |
- |
|
| 370 |
-.rfoot |
|
| 371 |
-{
|
|
| 372 |
- border-left-width: 1pt; |
|
| 373 |
- border-left-style: solid; |
|
| 374 |
- border-top-width: 1pt; |
|
| 375 |
- border-top-style: solid; |
|
| 376 |
- border-right-width: 1pt; |
|
| 377 |
- border-right-style: solid; |
|
| 378 |
- border-bottom-width: 1pt; |
|
| 379 |
- border-bottom-style: solid; |
|
| 380 |
- border-color: #000000; |
|
| 381 |
-} |
|
| 382 |
- |
|
| 383 |
-.rfoot:link |
|
| 384 |
-{
|
|
| 385 |
- color: #000000; |
|
| 386 |
- text-decoration: none; |
|
| 387 |
- border-left-width: 1pt; |
|
| 388 |
- border-left-style: solid; |
|
| 389 |
- border-top-width: 1pt; |
|
| 390 |
- border-top-style: solid; |
|
| 391 |
- border-right-width: 1pt; |
|
| 392 |
- border-right-style: solid; |
|
| 393 |
- border-bottom-width: 1pt; |
|
| 394 |
- border-bottom-style: solid; |
|
| 395 |
- border-color: #000000; |
|
| 396 |
-} |
|
| 397 |
- |
|
| 398 |
-.rfoot:hover |
|
| 399 |
-{
|
|
| 400 |
- border: 1px solid #0A246A; |
|
| 401 |
- background-color: #B6BDD2; |
|
| 402 |
- color: #000000; |
|
| 403 |
- border-left-width: 1pt; |
|
| 404 |
- border-left-style: solid; |
|
| 405 |
- border-top-width: 1pt; |
|
| 406 |
- border-top-style: solid; |
|
| 407 |
- border-right-width: 1pt; |
|
| 408 |
- border-right-style: solid; |
|
| 409 |
- border-bottom-width: 1pt; |
|
| 410 |
- border-bottom-style: solid; |
|
| 411 |
- border-color: #000000; |
|
| 412 |
-} |
|
| 413 |
- |
|
| 414 |
-.rfoot:visited |
|
| 415 |
-{
|
|
| 416 |
- color: #000000; |
|
| 417 |
- text-decoration: none; |
|
| 418 |
- border-left-width: 1pt; |
|
| 419 |
- border-left-style: solid; |
|
| 420 |
- border-top-width: 1pt; |
|
| 421 |
- border-top-style: solid; |
|
| 422 |
- border-right-width: 1pt; |
|
| 423 |
- border-right-style: solid; |
|
| 424 |
- border-bottom-width: 1pt; |
|
| 425 |
- border-bottom-style: solid; |
|
| 426 |
- border-color: #000000; |
|
| 427 |
-} |
|
| 428 |
- </style> |
|
| 429 |
- |
|
| 430 |
-</head> |
|
| 431 |
- |
|
| 432 |
-<body bgcolor="#ffffff"> |
|
| 433 |
- <center> |
|
| 434 |
- <a name="#begin"> </a> |
|
| 435 |
- |
|
| 436 |
-<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"> |
|
| 437 |
- <tr> |
|
| 438 |
- <td bgcolor="#dddddd" width="100%" align="left" height="20" class="rn"></td> |
|
| 439 |
- </tr> |
|
| 440 |
-</table> |
|
| 441 |
- |
|
| 442 |
-<!-- LOGOTABLE --> |
|
| 443 |
-<table width="100%" align="center" cellpadding="10" cellspacing="0" border="0"> |
|
| 444 |
- <tr> |
|
| 445 |
- <td bgcolor="#dddddd" width="8%" align="left" height="100" class="rt_dddddd"></td> |
|
| 446 |
- <td bgcolor="#ffffff" width="24%" align="left" height="100" class="rlt"><img src="clam.png" alt="ClamAV Logo"></td> |
|
| 447 |
- <td bgcolor="#ffffff" width="60%" align="left" height="100" class="rtr"> |
|
| 448 | ||
| 449 |
- <b><font size="+1">Ochrona antywirusowa z wykorzystaniem ClamAV</font></b><br><br> |
|
| 450 | ||
| 451 |
- </td> |
|
| 452 |
- <td bgcolor="#dddddd" width="8%" align="left" height="100" class="rt_dddddd"></td> |
|
| 453 |
- </tr> |
|
| 454 |
-</table> |
|
| 455 |
-<!-- end LOGOTABLE --> |
|
| 456 |
- |
|
| 457 |
-<!-- TOPTABLE --> |
|
| 458 |
-<table width="100%" align="center" cellpadding="10" cellspacing="0" border="0"> |
|
| 459 |
- <tr> |
|
| 460 |
- <td bgcolor="#dddddd" colspan="1" valign="top" align="left" width="8%" height="200"> |
|
| 461 |
- |
|
| 462 |
- </td> |
|
| 463 |
- |
|
| 464 |
- <td colspan="1" valign="top" align="left" width="84%" height="200" class="rlrb"> |
|
| 465 | ||
| 466 | ||
| 467 | ||
| 468 |
- <br> |
|
| 469 |
- |
|
| 470 | ||
| 471 |
- <br><b>1.</b> <a href="sendmail_clamav.html#a1">Wprowadzenie</a> |
|
| 472 | ||
| 473 |
- <br><b>3.</b> <a href="sendmail_clamav.html#a3">Zapotrzebowanie na oprogramowanie</a> |
|
| 474 |
- <br><b>4.</b> <a href="sendmail_clamav.html#a4">Konfiguracja serwera Sendmail</a> |
|
| 475 |
- <br><b>5.</b> <a href="sendmail_clamav.html#a5">Kompilacja ClamAV</a> |
|
| 476 |
- <br><b>6.</b> <a href="sendmail_clamav.html#a6">Uruchamianie</a> |
|
| 477 | ||
| 478 |
- |
|
| 479 |
-<br><br><br> |
|
| 480 | ||
| 481 | ||
| 482 | ||
| 483 |
- |
|
| 484 |
-<a name="a1"> </a> |
|
| 485 |
-<br><br><br><b>1. Wprowadzenie</b> |
|
| 486 | ||
| 487 | ||
| 488 | ||
| 489 |
- |
|
| 490 |
-<a name="a2"> </a> |
|
| 491 | ||
| 492 | ||
| 493 | ||
| 494 | ||
| 495 | ||
| 496 |
- |
|
| 497 | ||
| 498 | ||
| 499 | ||
| 500 | ||
| 501 |
- |
|
| 502 | ||
| 503 |
- |
|
| 504 |
-<pre> |
|
| 505 | ||
| 506 | ||
| 507 | ||
| 508 | ||
| 509 |
-</pre> |
|
| 510 | ||
| 511 | ||
| 512 | ||
| 513 |
- |
|
| 514 | ||
| 515 |
- |
|
| 516 | ||
| 517 |
- |
|
| 518 |
-<a name="a3"> </a> |
|
| 519 |
-<br><br><br><b>3. Zapotrzebowanie na oprogramowanie</b> |
|
| 520 |
-<br><br> - ClamAV v0.65 - <a href="http://prdownloads.sourceforge.net/clamav/">http://prdownloads.sourceforge.net/clamav/</a> |
|
| 521 |
-<br> - Sendmail 8.12.10 - |
|
| 522 |
- <a href="ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.12.10.tar.gz">ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.12.10.tar.gz</a> |
|
| 523 |
- |
|
| 524 | ||
| 525 |
- |
|
| 526 |
-<br><br> <b>Skrypty startowe</b> |
|
| 527 | ||
| 528 |
-<br> <a href="http://clamav.skc.com.pl/howtos/files/rc.sendmail">rc.sendmail</a> |
|
| 529 |
-<br> <a href="http://clamav.skc.com.pl/howtos/files/rc.clamd">rc.clamd</a> |
|
| 530 |
-<br> <a href="http://clamav.skc.com.pl/howtos/files/rc.clamav-milter">rc.clamav-milter</a> |
|
| 531 | ||
| 532 | ||
| 533 |
- |
|
| 534 |
- |
|
| 535 |
-<!-- |
|
| 536 |
-<br><br><b>Uwaga Slackwareowcy i shtOSowcy :-)</b> |
|
| 537 | ||
| 538 |
-<br> - clamav-clamav-i686-1.tgz - <a href="http://insidiae.eu.org/clamav-clamav-i686-1.tgz">http://insidiae.eu.org/clamav.tgz</a> |
|
| 539 |
-<br> - rc.sendmail - <a href="http://insidiae.eu.org/rc.sendmail">http://insidiae.eu.org/rc.sendmail</a> |
|
| 540 |
-<br> - rc.clamd - <a href="http://insidiae.eu.org/rc.clamd">http://insidiae.eu.org/rc.clamd</a> |
|
| 541 |
-<br> - rc.clamav-milter - <a href="http://insidiae.eu.org/rc.clamav-milter">http://insidiae.eu.org/rc.clamav-milter</a> |
|
| 542 |
- |
|
| 543 |
-<a name="a4"> </a> |
|
| 544 |
-<br><br><br><b>4. Konfiguracja serwera Sendmail</b> |
|
| 545 | ||
| 546 | ||
| 547 |
- |
|
| 548 | ||
| 549 |
-<pre> |
|
| 550 | ||
| 551 |
-APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER') |
|
| 552 |
- |
|
| 553 | ||
| 554 | ||
| 555 |
- |
|
| 556 | ||
| 557 |
-INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=, T=S:4m;R:4m')dnl |
|
| 558 |
-define(`confINPUT_MAIL_FILTERS', `clmilter') |
|
| 559 |
-</pre> |
|
| 560 |
- |
|
| 561 | ||
| 562 | ||
| 563 | ||
| 564 |
-<pre> |
|
| 565 |
-define(`confAUTH_MECHANISMS',`LOGIN PLAIN')dnl |
|
| 566 |
-TRUST_AUTH_MECH(`LOGIN PLAIN')dnl |
|
| 567 |
-</pre> |
|
| 568 |
- |
|
| 569 |
-Teraz dokonujemy standardowej kompilacji Sendmaila: |
|
| 570 |
-<pre> |
|
| 571 |
-root@linux: cd sendmail_source/sendmail |
|
| 572 |
-root@linux: sh Build -c |
|
| 573 |
-root@linux: cd sendmail_source/cf/cf |
|
| 574 |
-root@linux: sh Build sendmail.cf |
|
| 575 |
-root@linux: cd sendmail_source/sendmail |
|
| 576 |
-root@linux: sh Build install |
|
| 577 |
-root@linux: cd sendmail_source/cf/cf |
|
| 578 |
-root@linux: sh Build install-cf |
|
| 579 |
-root@linux: cd sendmail_source |
|
| 580 |
-root@linux: sh Build install |
|
| 581 |
-</pre> |
|
| 582 | ||
| 583 |
- |
|
| 584 |
-<br><br> |
|
| 585 |
-Teraz zainstalujemy libmilter: |
|
| 586 |
-<pre> |
|
| 587 |
-root@linux: cd sendmail_source/libmilter |
|
| 588 |
-root@linux: sh Build install |
|
| 589 |
-</pre> |
|
| 590 | ||
| 591 |
-<br><br><b>UWAGA: Po instalacji libmiltera konieczna jest konfiguracja bibliotek dynamicznych, czyli:</b> |
|
| 592 |
-<pre> |
|
| 593 |
-root@linux: ldconfig |
|
| 594 |
-</pre> |
|
| 595 |
- |
|
| 596 | ||
| 597 | ||
| 598 |
- |
|
| 599 |
-<a name="a5"> </a> |
|
| 600 |
-<br><br><br><b>5. Kompilacja ClamAV</b> |
|
| 601 | ||
| 602 |
-<pre> |
|
| 603 |
-root@linux: groupadd clamav |
|
| 604 |
-root@linux: useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav |
|
| 605 |
-</pre> |
|
| 606 |
- |
|
| 607 | ||
| 608 |
-<pre> |
|
| 609 |
-user@linux: cd clamav_source |
|
| 610 |
-user@linux: make clean |
|
| 611 |
-user@linux: ./configure --prefix=/usr --sysconfdir=/etc/clamav --datadir=/etc/clamav \ |
|
| 612 |
- --with-dbdir=/etc/clamav --enable-milter |
|
| 613 |
-user@linux: make |
|
| 614 |
-user@linux: make check |
|
| 615 |
-user@linux: su |
|
| 616 |
-root@linux: make install |
|
| 617 |
-</pre> |
|
| 618 | ||
| 619 |
-<pre> |
|
| 620 |
-root@linux: ln -s /usr/sbin/sendmail /usr/lib/sendmail |
|
| 621 |
-</pre> |
|
| 622 |
- |
|
| 623 | ||
| 624 | ||
| 625 |
- |
|
| 626 | ||
| 627 |
-<pre> |
|
| 628 |
-LocalSocket /var/run/clamav/clamd.sock |
|
| 629 |
-ScanMail |
|
| 630 |
-SaveStreamToDisk |
|
| 631 |
-</pre> |
|
| 632 |
- |
|
| 633 |
-clamav-milter uruchamiamy poprzez wpisanie polecenia: |
|
| 634 |
-<pre> |
|
| 635 |
-root@linux: /usr/sbin/clamav-milter -c /etc/clamav/clamav.conf --max-children=15 -blo /var/run/clamav/clmilter.sock |
|
| 636 |
-</pre> |
|
| 637 |
- |
|
| 638 | ||
| 639 |
-uruchomienia automagicznie :></i> |
|
| 640 |
- |
|
| 641 | ||
| 642 |
-<pre> |
|
| 643 | ||
| 644 | ||
| 645 | ||
| 646 | ||
| 647 |
-</pre> |
|
| 648 | ||
| 649 | ||
| 650 | ||
| 651 | ||
| 652 | ||
| 653 |
- |
|
| 654 | ||
| 655 | ||
| 656 |
- |
|
| 657 |
-<br><br> |
|
| 658 | ||
| 659 |
- |
|
| 660 | ||
| 661 |
- |
|
| 662 |
-<br><br><b>Uprawnienia</b> |
|
| 663 | ||
| 664 |
- |
|
| 665 | ||
| 666 |
- |
|
| 667 |
-<a name="a6"> </a> |
|
| 668 |
-<br><br><br><b>6. Uruchamianie</b> |
|
| 669 | ||
| 670 |
-<pre> |
|
| 671 |
-root@linux: chown -R clamav:clamav /etc/clamav |
|
| 672 |
-root@linux: mkdir /var/run/clamav; chown -R clamav:clamav /var/run/clamav |
|
| 673 |
-root@linux: mkdir /var/log/clamav; chown -R clamav:clamav /var/log/clamav |
|
| 674 |
-</pre> |
|
| 675 |
- |
|
| 676 | ||
| 677 |
-<pre> |
|
| 678 |
-root@linux: mkdir /var/clamav/quarantine; chown -R clamav:clamav /var/clamav/quarantine |
|
| 679 |
- |
|
| 680 | ||
| 681 |
-root@linux: killall -9 sendmail |
|
| 682 |
-</pre> |
|
| 683 |
- |
|
| 684 | ||
| 685 | ||
| 686 | ||
| 687 | ||
| 688 |
- |
|
| 689 |
-<a name="a7"> </a> |
|
| 690 | ||
| 691 |
-<br><br> |
|
| 692 | ||
| 693 |
- |
|
| 694 | ||
| 695 |
-<br><br> |
|
| 696 | ||
| 697 |
-<pre> |
|
| 698 |
-root@linux: ps -A |
|
| 699 |
-</pre> |
|
| 700 | ||
| 701 | ||
| 702 |
- |
|
| 703 |
-<br><br> |
|
| 704 | ||
| 705 | ||
| 706 |
- |
|
| 707 |
-<pre> |
|
| 708 |
-clamav-milter[22068]: hit max-children limit (7 >= 3): waiting for some to exit |
|
| 709 |
-clamav-milter[26826]: hit max-children limit (8 >= 3): waiting for some to exit |
|
| 710 |
-clamav-milter[26515]: hit max-children limit (8 >= 3): waiting for some to exit |
|
| 711 |
-clamav-milter[4360]: hit max-children limit (9 >= 3): waiting for some to exit |
|
| 712 |
-</pre> |
|
| 713 |
- |
|
| 714 | ||
| 715 |
- |
|
| 716 |
-<br><br> |
|
| 717 | ||
| 718 | ||
| 719 |
- |
|
| 720 |
-<br><br> |
|
| 721 |
-<hr size="1" style="color: #aaa4a0;"> |
|
| 722 | ||
| 723 |
-e-mail: <b>doozer (at) skc (dot) com (dot) pl</b> |
|
| 724 |
- |
|
| 725 |
-<br><br> |
|
| 726 |
-Mon Sep 15 22:34:21 CEST 2003 <b>Pierwsza wersja HOWTO</b><br> |
|
| 727 |
-Mon Feb 9 16:58:50 CET 2004 <b>Wersja aktualna</b><br> |
|
| 728 |
-<font style="font-size: 12px; color: #aaaaaa"> |
|
| 729 |
- # sendmail_clamav.html v1.2; Last modified: Mon, 23 Feb, 2004 20:04:34 by doozer # |
|
| 730 |
-</font> |
|
| 731 |
- |
|
| 732 |
- |
|
| 733 |
- </td> |
|
| 734 |
- <td bgcolor="#dddddd" colspan="1" valign="top" align="left" width="8%" height="2000"> |
|
| 735 |
- |
|
| 736 |
- </td> |
|
| 737 |
-</tr> |
|
| 738 |
-</table> |
|
| 739 |
-<!-- end CONTENTTABLE --> |
|
| 740 |
- |
|
| 741 |
-<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"> |
|
| 742 |
- <tr> |
|
| 743 |
- <td bgcolor="#dddddd" width="100%" align="center" height="60" class="rn"> |
|
| 744 |
- |
|
| 745 |
- </td> |
|
| 746 |
- </tr> |
|
| 747 |
-</table> |
|
| 748 |
- |
|
| 749 |
-</center> |
|
| 750 |
-</body> |
|
| 751 |
-</html> |
| ... | ... |
@@ -1,11 +1,10 @@ |
| 1 | 1 |
## |
| 2 | 2 |
## Example config file for freshclam |
| 3 |
-## Please read the clamav.conf(5) manual before editing this file. |
|
| 4 |
-## This file may be optionally merged with clamav.conf. |
|
| 3 |
+## Please read the clamd.conf(5) manual before editing this file. |
|
| 4 |
+## This file may be optionally merged with clamd.conf. |
|
| 5 | 5 |
## |
| 6 | 6 |
|
| 7 |
-# It should match clamav.conf's directive ! (in most cases you shouldn't |
|
| 8 |
-# change it) |
|
| 7 |
+# It must match clamd.conf's directive! |
|
| 9 | 8 |
#DatabaseDirectory /var/lib/clamav |
| 10 | 9 |
|
| 11 | 10 |
# Path to the log file (make sure it has proper permissions) |
| ... | ... |
@@ -17,9 +16,6 @@ |
| 17 | 17 |
# Use system logger (can work together with UpdateLogFile). |
| 18 | 18 |
#LogSyslog |
| 19 | 19 |
|
| 20 |
-# This option allows you to save the process identifier of the freshclam daemon |
|
| 21 |
-#PidFile /var/run/freshclam.pid |
|
| 22 |
- |
|
| 23 | 20 |
# Specify the type of syslog messages - please refer to 'man syslog' |
| 24 | 21 |
# for facility names. Default is LOG_LOCAL6. |
| 25 | 22 |
#LogFacility LOG_MAIL |
| ... | ... |
@@ -46,7 +46,7 @@ |
| 46 | 46 |
#define IMAGE_NT_SIGNATURE 0x00004550 |
| 47 | 47 |
#define IMAGE_OPTIONAL_SIGNATURE 0x010b |
| 48 | 48 |
|
| 49 |
-#define DETECT_BROKEN (options & CL_SCAN_BROKEN) |
|
| 49 |
+#define DETECT_BROKEN (options & CL_SCAN_BLOCKBROKEN) |
|
| 50 | 50 |
|
| 51 | 51 |
#define UPX_NRV2B "\x11\xdb\x11\xc9\x01\xdb\x75\x07\x8b\x1e\x83\xee\xfc\x11\xdb\x11\xc9\x11\xc9\x75\x20\x41\x01\xdb" |
| 52 | 52 |
#define UPX_NRV2D "\x83\xf0\xff\x74\x78\xd1\xf8\x89\xc5\xeb\x0b\x01\xdb\x75\x07\x8b\x1e\x83\xee\xfc\x11\xdb\x11\xc9" |