LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-08-2013, 09:18 AM   #1
grzeslaw
Member
 
Registered: Nov 2008
Posts: 111

Rep: Reputation: 24
Arrow Clamav and vsftpd integration


Hello folks,

I would like to integrate CLAMAV with VSFTPD.. After some research I found only some patch from untrusted source..

Did any of you know if there is a way to integrate clamav, to scan every incomming file?

Regards,
 
Old 10-10-2013, 01:10 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Why not use inotifywatch on close_write?
 
Old 10-11-2013, 09:17 AM   #3
grzeslaw
Member
 
Registered: Nov 2008
Posts: 111

Original Poster
Rep: Reputation: 24
I dont understand.. What I need to monitor with inotifywatch? What files?
I was asking, about scanning incoming files via ftp with clamav.. and looking for solution..
 
Old 10-16-2013, 01:34 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Since you never disclosed which "patch from untrusted source" should integrate ClamAV with Vsftpd only a few common methods remain:
- a cron job, which may make you miss files to scan if they're for example moved right after uploading,
- Dazuko (or equivalent on-access scanning LKM) which may (or more likely: may not) patch cleanly against your current kernel version (and having to compile it for any new kernel),
- on-access scanning triggered by an Inotify event like the closing of a file written to.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mimedefang clamav vs clamav-milter digitolx Linux - Server 0 10-20-2010 03:45 PM
file-scan-clamav-1.8 or clamav-0.93.1 invader44 Linux - Newbie 1 12-29-2009 08:49 AM
LXer: Citadel 7.5 Groupware Provides ClamAV Integration LXer Syndicated Linux News 0 04-15-2009 01:11 AM
Clamav Integration to Email Server carlosinfl Linux - Server 8 08-13-2008 08:42 AM
spammassissins and clamav integration MSKumaran Linux - Networking 2 11-14-2006 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration