clamscanを試してみる。
> clamscan –infected –remove –recursive .
./clamav/clamav-0.97.1/test/clam.mail: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.mail: Removed.
./clamav/clamav-0.97.1/test/clam.d64.zip: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.d64.zip: Removed.
LibClamAV Warning: cli_scanbzip: bzip2 support not compiled in
./clamav/clamav-0.97.1/test/.split/split.clam_IScab_ext.exeaa: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/.split/split.clam_IScab_ext.exeaa: Removed.
./clamav/clamav-0.97.1/test/.split/split.clam_IScab_int.exeaa: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/.split/split.clam_IScab_int.exeaa: Removed.
./clamav/clamav-0.97.1/test/clam-mew.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam-mew.exe: Removed.
./clamav/clamav-0.97.1/test/clam_IScab_ext.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam_IScab_ext.exe: Removed.
./clamav/clamav-0.97.1/test/clam.exe.szdd: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.exe.szdd: Removed.
./clamav/clamav-0.97.1/test/clam_IScab_int.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam_IScab_int.exe: Removed.
./clamav/clamav-0.97.1/test/clam.odc.cpio: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.odc.cpio: Removed.
LibClamAV Warning: cli_scanbzip: bzip2 support not compiled in
./clamav/clamav-0.97.1/test/clam.exe.html: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.exe.html: Removed.
./clamav/clamav-0.97.1/test/clam-v2.rar: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam-v2.rar: Removed.
./clamav/clamav-0.97.1/test/clam-nsis.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam-nsis.exe: Removed.
./clamav/clamav-0.97.1/test/clam_cache_emax.tgz: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam_cache_emax.tgz: Removed.
./clamav/clamav-0.97.1/test/clam-wwpack.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam-wwpack.exe: Removed.
./clamav/clamav-0.97.1/test/clam.impl.zip: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.impl.zip: Removed.
./clamav/clamav-0.97.1/test/clam.tnef: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.tnef: Removed.
./clamav/clamav-0.97.1/test/clam.newc.cpio: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.newc.cpio: Removed.
./clamav/clamav-0.97.1/test/clam.chm: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.chm: Removed.
./clamav/clamav-0.97.1/test/clam.bin-be.cpio: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.bin-be.cpio: Removed.
./clamav/clamav-0.97.1/test/clam.sis: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.sis: Removed.
./clamav/clamav-0.97.1/test/clam.arj: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.arj: Removed.
./clamav/clamav-0.97.1/test/clam.cab: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.cab: Removed.
./clamav/clamav-0.97.1/test/clam.ea06.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.ea06.exe: Removed.
./clamav/clamav-0.97.1/test/clam_ISmsi_ext.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam_ISmsi_ext.exe: Removed.
./clamav/clamav-0.97.1/test/clam-fsg.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam-fsg.exe: Removed.
./clamav/clamav-0.97.1/test/clam-v3.rar: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam-v3.rar: Removed.
./clamav/clamav-0.97.1/test/clam.exe.binhex: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.exe.binhex: Removed.
./clamav/clamav-0.97.1/test/clam.pdf: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.pdf: Removed.
./clamav/clamav-0.97.1/test/clam.exe.mbox.uu: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.exe.mbox.uu: Removed.
./clamav/clamav-0.97.1/test/clam.exe.rtf: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.exe.rtf: Removed.
./clamav/clamav-0.97.1/test/clam-pespin.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam-pespin.exe: Removed.
./clamav/clamav-0.97.1/test/clam.bin-le.cpio: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.bin-le.cpio: Removed.
./clamav/clamav-0.97.1/test/clam-upx.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam-upx.exe: Removed.
./clamav/clamav-0.97.1/test/clam_ISmsi_int.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam_ISmsi_int.exe: Removed.
./clamav/clamav-0.97.1/test/clam.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.exe: Removed.
./clamav/clamav-0.97.1/test/clam.exe.mbox.base64: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.exe.mbox.base64: Removed.
./clamav/clamav-0.97.1/test/clam-aspack.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam-aspack.exe: Removed.
./clamav/clamav-0.97.1/test/clam-petite.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam-petite.exe: Removed.
./clamav/clamav-0.97.1/test/clam.7z: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.7z: Removed.
./clamav/clamav-0.97.1/test/clam.ppt: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.ppt: Removed.
./clamav/clamav-0.97.1/test/clam-upack.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam-upack.exe: Removed.
./clamav/clamav-0.97.1/test/clam.zip: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.zip: Removed.
./clamav/clamav-0.97.1/test/clam-yc.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam-yc.exe: Removed.
./clamav/clamav-0.97.1/test/clam.ole.doc: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.ole.doc: Removed.
./clamav/clamav-0.97.1/test/clam.ea05.exe: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.ea05.exe: Removed.
./clamav/clamav-0.97.1/test/clam.tar.gz: ClamAV-Test-File FOUND
./clamav/clamav-0.97.1/test/clam.tar.gz: Removed.
LibClamAV Warning: cli_scanbzip: bzip2 support not compiled in
LibClamAV Warning: cli_scanbzip: bzip2 support not compiled in
LibClamAV Warning: cli_scanbzip: bzip2 support not compiled in
———– SCAN SUMMARY ———–
Known viruses: 1005932
Engine version: 0.97.1
Scanned directories: 230
Scanned files: 4587
Infected files: 46
Data scanned: 168.62 MB
Data read: 192.86 MB (ratio 0.87:1)
Time: 23.823 sec (0 m 23 s)
bzip2をインストしたほうがいいのかな?
> yum list bzip2 –disablerepo=* –enablerepo=local
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Installed Packages
bzip2.i686 1.0.5-6.1.el6 @anaconda-centos-201106051823.i386/6.0
あるみたいだ。
> yum -y install bzip2 –disablerepo=* –enablerepo=local
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Package bzip2-1.0.5-6.1.el6.i686 already installed and latest version
Nothing to do
インスト済みらしい。
IP-TABLESの設定は、ココ。
> chmod +x /etc/cron.daily/iplist_check
> sh iptables.sh
iptables: ファイアウォールルールを消去中: [ OK ]
iptables: チェインをポリシー ACCEPT へ設定中filter [ OK ]
iptables: モジュールを取り外し中: [ OK ]
iptables: ファイアウォールのルールを /etc/sysconfig/iptable[ OK ]中:
iptables: ファイアウォールルールを適用中: [ OK ]
> chkconfig iptables on