LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Samba antivirus and logging (https://www.linuxquestions.org/questions/linux-security-4/samba-antivirus-and-logging-383743/)

apepost 11-16-2005 01:59 PM

Samba antivirus and logging
 
Here is my problem:

I currently run a FC4 samba server, And it works just fine. Although I have two slightly related problems.

1) What would be the best way to scan all files that is stored on the samba server as they are stored? I have been looking a bit around, but I have jet to find an useful how-to telling me how to do this with open source products.

2) What would be the best way to log access to the mentioned samba server, especially I want to be easily able to know who last edited a file. This log might be made by samba itself, or if it is more convenient, by the av solution I will hopefully be implementing.

fouldsy 11-17-2005 07:00 AM

Although based around Gentoo installs, this is what I went through to look at configuring AV filtering through Samba shares - http://www.gentoo.org/doc/en/quick-samba-howto.xml . Explains configuring only certain shares to be scanned, scanning limits, actions to carry out on infected files, etc.

apepost 11-18-2005 02:28 PM

I'm sorry, but this howto was so gentoo specific that I weren't able to use, does anyone know of another. Or if no such hing exists, does anyone know how to do this.

fouldsy 11-18-2005 02:44 PM

Sorry you didn't find it useful, but it's only gentoo-specific to it's installation instructions of the components. The configuration files + how the systems work with each other are generic. I used it to setup a Debian system. Otherwise, do a quick search on the Google or similar yourself to find Fedora-based instructions.

apepost 11-18-2005 04:36 PM

Quote:

Sorry you didn't find it useful, but it's only gentoo-specific to it's installation instructions of the components. The configuration files + how the systems work with each other are generic.
I know, but i am having problem with the installation, more specifically, i can't find any good binaries. It seems like a big hassle to compile some of the things from source.

Quote:

I used it to setup a Debian system.
How did you do the installation?

Quote:

Otherwise, do a quick search on the Google or similar yourself to find Fedora-based instructions.
I have spent many hours on that already, but i can't seem to find any.

Brian1 11-18-2005 04:51 PM

For rpms check out http://www.pbone.net.
Depending on your system it may be easier to compile from source so as not having to find missing dependiences. If dependiences become and issue look for src.rpm and use the rpmbuild tool.

Brian1

fouldsy 11-18-2005 05:36 PM

Debian has pre-compiled packages for the the majority of samba components and their dependencies with only a few av components installed from source, one of the joys of apt. As Brian1 suggested though, if you're having trouble getting rpms, you always have the option to install from source too which is not as daunting as it sounds, and dependencies are usually fairly easy to resolve - most components outline what libraries they require.


All times are GMT -5. The time now is 07:32 PM.