なんだこれは

はてなダイアリーから移転しました。

clamav 0.90.1 リリースされたらしい

フリーのアンチウィルスソフト clamavの0.90.1がリリースされてました。Macの方は、clamav-update.plのおかげで完全に何もせずに事後知ることになりました。さてVineLinux 4.1なMikaはどうかというと、

面倒そう、とりあえず、clamconfして設定確認wwwこれ便利じゃね?

/etc/clamd.conf: clamd directives

LogFile = "/var/log/clamd.log"

LogFileUnlock = no

LogFileMaxSize = 1048576

LogTime = no

LogClean = no

LogVerbose = no

LogSyslog = no

LogFacility = "LOG_LOCAL6"

PidFile = "/var/run/clamd.pid"

TemporaryDirectory not set

ScanPE = yes

ScanELF = yes

DetectBrokenExecutables = no

ScanMail = yes

MailFollowURLs = no

MailMaxRecursion = 64

PhishingSignatures = yes

AlgorithmicDetection = yes

ScanHTML = yes

ScanOLE2 = yes

ScanPDF = no

ScanArchive = yes

ArchiveMaxFileSize = 10485760

ArchiveMaxRecursion = 8

ArchiveMaxFiles = 1000

ArchiveMaxCompressionRatio = 250

ArchiveLimitMemoryUsage = no

ArchiveBlockEncrypted = no

ArchiveBlockMax = no

DatabaseDirectory = "/usr/share/clamav"

TCPAddr not set

TCPSocket not set

LocalSocket = "/tmp/clamd"

MaxConnectionQueueLength = 15

StreamMaxLength = 10485760

StreamMinPort = 1024

StreamMaxPort = 2048

MaxThreads = 10

ReadTimeout = 120

IdleTimeout = 30

MaxDirectoryRecursion = 15

FollowDirectorySymlinks = no

FollowFileSymlinks = no

ExitOnOOM = no

Foreground = no

Debug = no

LeaveTemporaryFiles = no

FixStaleSocket = yes

User not set

AllowSupplementaryGroups = no

SelfCheck = 1800

VirusEvent not set

NodalCoreAcceleration = no

ClamukoScanOnAccess not set

ClamukoScanOnOpen not set

ClamukoScanOnClose not set

ClamukoScanOnExec not set

ClamukoIncludePath not set

ClamukoExcludePath not set

ClamukoMaxFileSize = 5242880

/etc/rc.d/init.d/clamd stop

編集

/etc/rc.d/init.d/clamd start

LogVerbose = no

LogSyslog = no

LogFacility = "LOG_LOCAL6"

PidFile = "/var/run/clamd.pid"

DatabaseDirectory = "/usr/share/clamav"

Foreground = no

Debug = no

AllowSupplementaryGroups = no

DatabaseOwner = "clamav"

Checks = 12

UpdateLogFile not set

DNSDatabaseInfo = "current.cvd.clamav.net"

DatabaseMirror not set

MaxAttempts = 3

ScriptedUpdates = yes

HTTPProxyServer not set

HTTPProxyPort not set

HTTPProxyUsername not set

HTTPProxyPassword not set

HTTPUserAgent not set

NotifyClamd not set

OnUpdateExecute not set

OnErrorExecute not set

OnOutdatedExecute not set

LocalIPAddress not set

ConnectTimeout = 30

ReceiveTimeout = 30

あれ?clamd.confにHTTPProxyってディレクティブないのに?これどうなってるんだろう?そもそも、httpプロトコルどこで使うんだ?

Mac OS Xではでてこないよ!

追加

clamd.confを開いていてるのに二回目のがfreshclam directiveっぽい。なぞだがしばらく経って実行すると、clamd directivesになってる。設定の反映に時間がかかるのか?

LogFile = "/var/log/clamd.log"

LogFileUnlock = no

LogFileMaxSize = 1048576

LogTime = no

LogClean = no

LogVerbose = no

LogSyslog = no

LogFacility = "LOG_LOCAL6"

PidFile = "/var/run/clamd.pid"

TemporaryDirectory = "/tmp"

ScanPE = yes

ScanELF = yes

DetectBrokenExecutables = no

ScanMail = yes

MailFollowURLs = no

MailMaxRecursion = 64

PhishingSignatures = yes

AlgorithmicDetection = yes

ScanHTML = yes

ScanOLE2 = yes

ScanPDF = no

ScanArchive = yes

ArchiveMaxFileSize = 10485760

ArchiveMaxRecursion = 8

ArchiveMaxFiles = 1000

ArchiveMaxCompressionRatio = 250

ArchiveLimitMemoryUsage = no

ArchiveBlockEncrypted = no

ArchiveBlockMax = no

DatabaseDirectory = "/usr/share/clamav"

TCPAddr not set

TCPSocket not set

LocalSocket = "/tmp/clamd"

MaxConnectionQueueLength = 15

StreamMaxLength = 10485760

StreamMinPort = 1024

StreamMaxPort = 2048

MaxThreads = 10

ReadTimeout = 120

IdleTimeout = 30

MaxDirectoryRecursion = 15

FollowDirectorySymlinks = no

FollowFileSymlinks = no

ExitOnOOM = no

Foreground = no

Debug = no

LeaveTemporaryFiles = no

FixStaleSocket = yes

User not set

AllowSupplementaryGroups = no

SelfCheck = 1800

VirusEvent not set

NodalCoreAcceleration = no

ClamukoScanOnAccess not set

ClamukoScanOnOpen not set

ClamukoScanOnClose not set

ClamukoScanOnExec not set

ClamukoIncludePath not set

ClamukoExcludePath not set

ClamukoMaxFileSize = 5242880