From clamav-devel-bounces@lists.clamav.net  Wed Jan 26 10:42:31 2005
Return-Path: <clamav-devel-bounces@lists.clamav.net>
X-Original-To: list@krisma.oltrelinux.com
Delivered-To: list@krisma.oltrelinux.com
Received: from localhost (krisma [127.0.0.1])
	by mail.oltrelinux.com (Postfix) with ESMTP id D5E1B11AE56
	for <list@krisma.oltrelinux.com>; Wed, 26 Jan 2005 10:42:30 +0100 (CET)
Received: from mail.oltrelinux.com ([127.0.0.1])
	by localhost (krisma.oltrelinux.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 16549-08 for <list@krisma.oltrelinux.com>;
	Wed, 26 Jan 2005 10:42:27 +0100 (CET)
Received: from aj.catt.com (aj.catt.com [64.18.103.6])
	by mail.oltrelinux.com (Postfix) with ESMTP id EEBD511AE6E
	for <list@krisma.oltrelinux.com>; Wed, 26 Jan 2005 10:42:26 +0100 (CET)
Received: from aj.catt.com (localhost [127.0.0.1])
	by aj.catt.com (Postfix) with ESMTP id E5D121561D9;
	Wed, 26 Jan 2005 04:42:22 -0500 (EST)
Received: from cantillo.uniqmail.ch (mail.uniqmail.ch [212.55.198.173])
	by aj.catt.com (Postfix) with ESMTP id 3B517156019
	for <clamav-devel@lists.clamav.net>;
	Wed, 26 Jan 2005 04:42:17 -0500 (EST)
Received: (qmail 7692 invoked from network); 26 Jan 2005 09:42:15 -0000
Received: from zhenge-fw1.cyberlink.ch (HELO uniqmail.ch) (193.246.253.9)
	by cantillo.uniqmail.ch with AES256-SHA encrypted SMTP;
	26 Jan 2005 09:42:15 -0000
Message-ID: <41F76489.6080805@uniqmail.ch>
Date: Wed, 26 Jan 2005 10:36:09 +0100
From: Ramon Amat <amat@uniqmail.ch>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
	rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ClamAV Development <clamav-devel@lists.clamav.net>
Subject: Re: [Clamav-devel] Sending SCAN command multiple times on the same
	socket fails.
References: <41F6B723.70706@uniqmail.ch>
	<1106692572.5014.1.camel@mac.bandsman.co.uk>
In-Reply-To: <1106692572.5014.1.camel@mac.bandsman.co.uk>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: clamav-devel@lists.clamav.net
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: ClamAV Development <clamav-devel@lists.clamav.net>
List-Id: ClamAV Development <clamav-devel.lists.clamav.net>
List-Unsubscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel>,
	<mailto:clamav-devel-request@lists.clamav.net?subject=unsubscribe>
List-Post: <mailto:clamav-devel@lists.clamav.net>
List-Help: <mailto:clamav-devel-request@lists.clamav.net?subject=help>
List-Subscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel>,
	<mailto:clamav-devel-request@lists.clamav.net?subject=subscribe>
Sender: clamav-devel-bounces@lists.clamav.net
Errors-To: clamav-devel-bounces@lists.clamav.net

Nigel Horne wrote:

>On Tue, 2005-01-25 at 21:16, Ramon Amat wrote:
>  
>
>>I am using clamd and sending over a socket multiple times the SCAN 
>>command, as shown below.
>>    
>>
>Add a SESSION command as indicated below. *WARNING*: as recently
>discussed on clamav-users,
>SESSION can hang freshclam/clamd on BSD.
>
I have gone through the manual and tried to get more information about 
the session command. There i found ... multiple commands per TCP 
session. Trying this command with a UNIX (local) socket did not work for 
me. ???

>>open socket
>>    
>>
>SESSION
>  
>
>>SCAN filepath-1
>>SCAN filepath-2
>>SCAN filepath-3
>>close socket (I do that and not clamd!!!)
>>    
>>
>
>
>_______________________________________________
>http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel
>
>
>
>  
>


_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel

