
| ・ |
ドキュメントセンターを初めてご利用する方や運営方針についての基本的な姿勢をご覧になりたい方へ。
|
| ご利用の皆様から多く寄せられる質問にお答えしています。 |
|
| ・ |
ディーエーオフィスなどが利用する用語に関する解説を行います。
|
|
|
 |
 |  |
ClamAntiVirus(clamav) |
本文書では、Postfix、amavisd-newと組み合わせて使うことを前提としている。詳しくは、「[[docs link 6951]]」を参照のこと。
! インストール
cd /usr/ports/security/clamav
make install
! オプションの選択
Options for clamav 0.88.2_4
[ ] MILTER Compile the milter interface
[X] CURL Support URL downloading
[X] LIBUNRAR Support for external Unrar library
[ ] STDERR Print logs to stderr instead of stdout
---
MILTER - sendmail利用時に必要とされる仕組み。
CURL - curl言語
LIBUNRAR - 拡張圧縮ライブラリを使う。
STDERR - ログを標準出力の代わりに標準エラー出力へ排出する。
! 自動起動
2つのスクリプトに分かれているが、ウイルス検知を行うclamav-clamd.shと、検知用ファイルを更新するclamav-freshclam.shになっている。
/usr/local/etc/rc.d/clamav-clamd.sh
/usr/local/etc/rc.d/clamav-freshclam.sh
立ち上がった時に上述の起動スクリプトを読み込み、clamavが起動するように設定をrc.confへ追記する。
ee /etc/rc.conf
clamav_clamd_enable="YES"
clamav_freshclam_enable="YES"
! 起動
/usr/local/etc/rc.d/clamav-clamd.sh start
/usr/local/etc/rc.d/clamav-freshclam.sh start
初めての起動では、clamav-freshclam.shによる警告が表示される。古いファイルであることを警告する旨なのだが、一番最初はウイルス検知用ファイルが更新されていないためだ。しばらく放置しておけば更新が終わり、警告は表示されなくなる。
! 導入後に表示されるメッセージ
===> Installing rc.d startup script(s)
===> Compressing manual pages for clamav-0.88.2_4
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for clamav-0.88.2_4
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/sbin/clamd
This port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/clamav-freshclam.sh
/usr/local/etc/rc.d/clamav-clamd.sh
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://www.clamav.net/
===> Cleaning for libtool-1.5.22_2
===> Cleaning for libgmp-4.2.1_1
===> Cleaning for curl-7.15.3
===> Cleaning for libunrar-3.60.b4
===> Cleaning for lha-1.14i_6
===> Cleaning for arj-3.10.22
===> Cleaning for unzoo-4.4
===> Cleaning for arc-5.21o
===> Cleaning for unzip-5.52_2
===> Cleaning for rc_subr-1.31_1
===> Cleaning for openssl-0.9.8b_1
===> Cleaning for gmake-3.80_2
===> Cleaning for autoconf-2.59_2
===> Cleaning for perl-5.6.2_2
===> Cleaning for gettext-0.14.5_2
===> Cleaning for m4-1.4.4
===> Cleaning for help2man-1.36.4_1
===> Cleaning for expat-2.0.0_1
===> Cleaning for libiconv-1.9.2_2
===> Cleaning for p5-gettext-1.05_1
===> Cleaning for clamav-0.88.2_4
! 参考
Clam Antivirusに関するメモ
http://clamav-jp.sourceforge.jp/jdoc/clamav.html
|
| 文書番号 |
06957 |
| 日付 |
2006.06.11 |
| 参照数 |
510 |
|