Репозитории ALT
S: | 0.103.8-alt1 |
5.1: | 0.98.1-alt0.M51.1 |
4.1: | 0.97.8-alt0.M41.1 |
+updates: | 0.94.1-alt0.M41.1 |
4.0: | 0.97.8-alt0.M40.1 |
+updates: | 0.91.2-alt1 |
3.0: | 0.86.2-alt1 |
+updates: | 0.91.1-alt0.M30.1 |
+backports: | 0.93.3-alt0.M30.1 |
Другие репозитории
Upstream: | 0.93rc1 |
Группа :: Работа с файлами
Пакет: clamav
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: clamav-0.91-config.patch
Скачать
Скачать
--- clamav-0.91/etc/clamd.conf.orig 2007-07-06 00:52:20 +0300
+++ clamav-0.91/etc/clamd.conf 2007-07-13 13:00:17 +0300
@@ -1,17 +1,13 @@
##
-## Example config file for the Clam AV daemon
+## Config file for the Clam AV daemon
## Please read the clamd.conf(5) manual before editing this file.
##
-
-# Comment or remove the line below.
-Example
-
# Uncomment this option to enable logging.
# LogFile must be writable for the user running daemon.
# A full path is required.
# Default: disabled
-#LogFile /tmp/clamd.log
+LogFile /var/log/clamav/clamd.log
# By default the log file is locked for writing - the lock protects against
# running clamd multiple times (if want to run another clamd, please
@@ -27,11 +23,11 @@
# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes). To specify the size
# in bytes just don't use modifiers.
# Default: 1M
-#LogFileMaxSize 2M
+LogFileMaxSize 0
# Log time with each message.
# Default: no
-#LogTime yes
+LogTime yes
# Also log clean files. Useful in debugging but drastically increases the
# log size.
@@ -40,21 +36,21 @@
# Use system logger (can work together with LogFile).
# Default: no
-#LogSyslog yes
+LogSyslog yes
# Specify the type of syslog messages - please refer to 'man syslog'
# for facility names.
# Default: LOG_LOCAL6
-#LogFacility LOG_MAIL
+LogFacility LOG_MAIL
# Enable verbose logging.
# Default: no
-#LogVerbose yes
+LogVerbose yes
# This option allows you to save a process identifier of the listening
# daemon (main thread).
# Default: disabled
-#PidFile /var/run/clamd.pid
+PidFile /var/run/clamav/clamd.pid
# Optional path to the global temporary directory.
# Default: system specific (usually /tmp or /var/tmp).
@@ -62,18 +58,18 @@
# Path to the database directory.
# Default: hardcoded (depends on installation options)
-#DatabaseDirectory /var/lib/clamav
+DatabaseDirectory /var/lib/clamav
# The daemon works in a local OR a network mode. Due to security reasons we
# recommend the local mode.
# Path to a local socket file the daemon will listen on.
# Default: disabled (must be specified by a user)
-LocalSocket /tmp/clamd.socket
+LocalSocket /var/lib/clamav/clamd.socket
# Remove stale socket after unclean shutdown.
# Default: no
-#FixStaleSocket yes
+FixStaleSocket yes
# TCP port address.
# Default: no
@@ -107,7 +103,7 @@
# Maximum number of threads running at the same time.
# Default: 10
-#MaxThreads 20
+MaxThreads 50
# Waiting for data from a client socket will timeout after this time (seconds).
# Value of 0 disables the timeout.
@@ -142,11 +138,11 @@
# Run as another user (clamd must be started by root to make this option
# working).
# Default: don't drop privileges
-#User clamav
+User mail
# Initialize supplementary group access (clamd must be started by root).
# Default: no
-#AllowSupplementaryGroups no
+AllowSupplementaryGroups yes
# Stop daemon when libclamav reports out of memory condition.
#ExitOnOOM yes
@@ -167,7 +163,7 @@
# ClamAV uses special algorithms to provide accurate detection. This option
# controls the algorithmic detection.
# Default: yes
-#AlgorithmicDetection yes
+AlgorithmicDetection yes
##
@@ -180,12 +176,12 @@
# required for decompression of popular executable packers such as UPX, FSG,
# and Petite.
# Default: yes
-#ScanPE yes
+ScanPE yes
# Executable and Linking Format is a standard format for UN*X executables.
# This option allows you to control the scanning of ELF files.
# Default: yes
-#ScanELF yes
+ScanELF yes
# With this option clamav will try to detect broken executables (both PE and
# ELF) and mark them as Broken.Executable.
@@ -200,7 +196,7 @@
# This option enables scanning of OLE2 files, such as Microsoft Office
# documents and .msi files.
# Default: yes
-#ScanOLE2 yes
+ScanOLE2 yes
# This option enables scanning within PDF files.
# Default: no
@@ -213,7 +209,7 @@
# Enable internal e-mail scanner.
# Default: yes
-#ScanMail yes
+ScanMail yes
# If an email contains URLs ClamAV can download and scan them.
# WARNING: This option may open your system to a DoS attack.
@@ -228,29 +224,29 @@
# With this option enabled ClamAV will try to detect phishing attempts by using
# signatures.
# Default: yes
-#PhishingSignatures yes
+PhishingSignatures yes
# Scan URLs found in mails for phishing attempts using heuristics.
# Default: yes
-#PhishingScanURLs yes
+PhishingScanURLs yes
# Use phishing detection only for domains listed in the .pdb database. It is
# not recommended to have this option turned off, because scanning of all
# domains may lead to many false positives!
# Default: yes
-#PhishingRestrictedScan yes
+PhishingRestrictedScan yes
# Always block SSL mismatches in URLs, even if the URL isn't in the database.
# This can lead to false positives.
#
# Default: no
-#PhishingAlwaysBlockSSLMismatch no
+PhishingAlwaysBlockSSLMismatch no
# Always block cloaked URLs, even if URL isn't in database.
# This can lead to false positives.
#
# Default: no
-#PhishingAlwaysBlockCloak no
+PhishingAlwaysBlockCloak no
##
@@ -259,7 +255,7 @@
# Perform HTML normalisation and decryption of MS Script Encoder code.
# Default: yes
-#ScanHTML yes
+ScanHTML yes
##
@@ -268,7 +264,7 @@
# ClamAV can scan within archives and compressed files.
# Default: yes
-#ScanArchive yes
+ScanArchive yes
# The options below protect your system against Denial of Service attacks
# using archive bombs.