From owner-freebsd-questions@FreeBSD.ORG Thu Mar 6 09:58:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90B341065670 for ; Thu, 6 Mar 2008 09:58:47 +0000 (UTC) (envelope-from hamkanen@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 215AE8FC29 for ; Thu, 6 Mar 2008 09:58:46 +0000 (UTC) (envelope-from hamkanen@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so3842990uge.37 for ; Thu, 06 Mar 2008 01:58:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=XLt7y+IWSoSk0BDz0mAxmCQgs7W7CCYljPSFj19+OTs=; b=x8mEwyL8kUdYdj4roSy7+TTblBSuxa1ct/KMdwyFeqnGr30dEUpAKUm+4t74DI1JIeW7pXtOx+RVoxfCokTN1dZYgKzDRLMsNchphFyGsCqUmXYhPY4Ek3Hc2s4iXcGeu6vXTvJdRgZgewZPPz5nNZBibX40AeEiv4N0JyqD5jU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=qi15Bl1EULzGYNJsn6vhhw1OYVSoI/j7unly5tawODjHI5xsrQCyIzapXSTSm06NXMcDlEyxsWzPqY7Gin1Kf3vbolUNL3LWnYlit6THbX/NW+mnaopplpO+Em5RInVO4BzmxO+4FXb4vkByg77ZhyMNXSj9PBM6odbjex9MXyw= Received: by 10.78.149.15 with SMTP id w15mr7672850hud.45.1204795791906; Thu, 06 Mar 2008 01:29:51 -0800 (PST) Received: by 10.78.123.7 with HTTP; Thu, 6 Mar 2008 01:29:51 -0800 (PST) Message-ID: Date: Thu, 6 Mar 2008 16:29:51 +0700 From: "muhammad hamka" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: File Filter for Samba Server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2008 09:58:47 -0000 Hi all, I've run my samba server running on my FreeBSD box. My samba connect to several workstation (using Windows). I set the sharing for public (Everyone can read/write/delete files). The problem is some of my workstation is infected by virus. So everytime i open that folder, i got a tons of virus (usually consist of , autorun.inf , file with .vbs extension and several suspicious executable file). I tried to set samba-vscan with clamav, but this works only scan and moving those file to quarantine. But those file will appear again because of virus daemon running in infected workstation. i have an idea to set a file filter that uploaded to my storage server. So that, it can deny the file containing .vbs extension etc. to be written in my storage. is there any software provide this solution? or any configuration of samba i miss? thanx -- Muhammad Hamka #DZR 24# "DZR Corporation: When Friendship Being an Energy"