WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: On Access Virus Protection ?  (Read 39005 times)

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
On Access Virus Protection ?
« on: November 30, 2011, 10:12:29 PM »
I'm in the process of building a remastered tinycore CD that works as a Samba file server for windows clients.

I'd like to give the server some kind of resident anti virus protection, so that if a windows user tries to copy an infected file to the server, the server will detect the infection and block the file copy process.

I know there is a clam av extension, that seems to be a on demand scanner. Anyone know if Clam av can do this or if there is an extension that does the job ?
« Last Edit: December 24, 2011, 09:14:50 AM by remus »
Live long and prosper.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: On Access Virus Protection ?
« Reply #1 on: December 01, 2011, 02:24:15 AM »
Hi remus
Samba-Vscan looks like what you are looking for. Not sure if it's actively being supported.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: On Access Virus Protection ?
« Reply #2 on: December 01, 2011, 07:45:19 AM »
Searching on internet i found this 4 prog: clamfs, avfs, dazuko and samba-vscan

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: On Access Virus Protection ?
« Reply #3 on: December 01, 2011, 07:53:41 PM »
Thx Rich, I found those as well.

I could not find them as extensions, so I've started reading the wiki about how to create an extension. The process looks doable.
Live long and prosper.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: On Access Virus Protection ?
« Reply #4 on: December 02, 2011, 02:37:12 AM »
Hi remus
This link provides a little more information about the interfaces mentioned by vinnie.
http://www.clamav.net/lang/en/download/third-party-tools/3rdparty-fs/

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: On Access Virus Protection ?
« Reply #5 on: December 04, 2011, 10:27:48 PM »
Thx Rich,

Avfs looks like a good solution, I'm currently trying to find the install files.
Live long and prosper.

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: On Access Virus Protection ?
« Reply #6 on: December 05, 2011, 12:45:13 AM »
Having trouble finding an active Avfs website. I did find something that seemed to be related to virtual file systems, not anti virus file systems.

Sooo I'm on to looking into clamfs.

I've just had a quick read through "make your own extension" wiki, and I think I have to learn a bit about "compiling from source" and getting dependencies.

I can start googling the subject in general, I would appreciate any suggestions that might be tinycore specific :)
Live long and prosper.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: On Access Virus Protection ?
« Reply #7 on: December 07, 2011, 06:29:21 PM »
clamav is already available as an extension :)

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: On Access Virus Protection ?
« Reply #8 on: December 08, 2011, 12:34:41 AM »
Thx for input coreplayer2, clamav is on demand scanning, and does not provide on access real time anti virus protection.

clamfs configuration file does not appear to be included with clamav. I've run
Code: [Select]
sudo find / -name clamfs which gets no results.
Live long and prosper.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: On Access Virus Protection ?
« Reply #9 on: December 08, 2011, 12:53:50 AM »
Hi remus
clamfs is not part of clamav. It is a separate file system interface. Go to:
http://clamfs.sourceforge.net/
and scroll down. You will find links for source code and a Debian package if you wish to try to
adapt that, as well as an Ubuntu link.

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: On Access Virus Protection ?
« Reply #10 on: December 08, 2011, 01:12:22 AM »
Hi Rich,

Yep, I've been following the compile instructions at http://clamfs.sourceforge.net/

Problem 1: required me to install compiletc - which I read about here: http://wiki.tinycorelinux.net/wiki:creating_extensions

Problem 2: is about boost.
Quote
checking for boostlib >= 1.33... configure: error: We could not detect the boost libraries (version 1.33 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option.  If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
I'm not sure what to do about this, I've tried installing boost, and rebooted. However no cigar
Live long and prosper.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: On Access Virus Protection ?
« Reply #11 on: December 08, 2011, 01:20:26 AM »
Hi remus
You probably also need boost-dev.tcz

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: On Access Virus Protection ?
« Reply #12 on: December 08, 2011, 01:38:30 AM »
problem 2 solved by installing boost-dev
problem 3 : fuse.h missing - solved with fuse extension
problem 4 : rlog.h : searching extensions for rlog does not get any 100% hits, but references to other software
Live long and prosper.

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: On Access Virus Protection ?
« Reply #13 on: December 08, 2011, 01:54:48 AM »
problem 4 : solved : manually downloaded and installed from source package rlog-1.4.tar.gz from http://code.google.com/p/rlog/
problem 5 :  Poco/ExpireLRUCache.h : wish me luck :)
Live long and prosper.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: On Access Virus Protection ?
« Reply #14 on: December 08, 2011, 01:58:16 AM »
Hi remus
Good luck.