Re: [Clamav-users] Wait for next stable version or use CVS

2004-02-03 Thread Stefan Kaltenbrunner
Nigel Horne wrote:
	4) Yes I am working on a solution and yes I am aware of it!

I have just disabled binhex decoding in CVS while I further investigate this.
I had success with the patch produced by Thomas Lamy at least for the 2 
message that I have - are there some issues with that one ?

Stefan

---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Re: Clamav-devel massive memory leaks

2004-02-03 Thread Stefan Kaltenbrunner
Ola Thoresen wrote:
I have captured several messages, and sent them to Thomas and Nigel.
This seems to be an issue with some messages with attachments of
"Content-type: application/mac-binhex40;"
I can confirm this and I can confirm too that thomas' patch fixes the 
problem here.

Stefan

---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Re: Clamav-devel massive memory leaks

2004-02-02 Thread Stefan Kaltenbrunner
Franco Gasperino wrote:
On Monday 02 February 2004 02:21 am, Stefan Kaltenbrunner wrote:

ok after setting up a complicated testbed I managed to capture a message
which results in a 2GB(!) memoryallocation of the latest snapshot
02012004 in less then 3 seconds ...
unfortunatly I'm unable to forward the offending message (confidental
information of a costumer) - but I can provide debugging output and any
assistence necessary to fix this to any developer requesting it in private!
Stefan


Run the clam daemon through valgrind, trigger the leak, then shut it down 
normally. This should tell you exactly where it went wrong.
I'm currently in private contact with Nigel to resolve this issue - and 
yes valgrind reports something like 1209160(!) errors on this simple 
220k message.
The whole debugging is getting quite difficult though because I'm still 
unable to forward the offending message due to privacy issues(work on 
getting permission to do so is ongoing).



Stefan

---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Re: Clamav-devel massive memory leaks

2004-02-02 Thread Stefan Kaltenbrunner
Ola Thoresen wrote:


typically our mailrelays do run out of memory(1GB physical and 2Gb swap)
after a few (maybe 10 to 15) minutes with the snapshots 20040113 and
20040119 under load


We see this problem as well.
On a couple of servers (Fedora Core 1, kernel 2.4.22-1.2149.nptl) with
reasonably high load - 10 - 50 mails/second, clamd will run happily,
using about 12 MB RAM, before it jumps to eat all available memory,
before we encounter an oom-situation.
We do not see this as often as you do - last few times has been 5
minutes, 3 hours, 4 hours and 17 hours apart.
There is nothing in the logs or anywhere to suggest what is happening.

Latest version we have tried is clamav-devel-20040129.
ok after setting up a complicated testbed I managed to capture a message 
which results in a 2GB(!) memoryallocation of the latest snapshot 
02012004 in less then 3 seconds ...
unfortunatly I'm unable to forward the offending message (confidental 
information of a costumer) - but I can provide debugging output and any 
assistence necessary to fix this to any developer requesting it in private!

Stefan

---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] Clamav-devel massive memory leaks

2004-01-21 Thread Stefan Kaltenbrunner
Hi All!

Since clamd in 0.65 is much too unstable here (stops responding within 
minutes), we have been running several development snapshots here. all 
the snapshots from the last 14 days or so seem to massivily leak memory. 
typically our mailrelays do run out of memory(1GB physical and 2Gb swap) 
after a few (maybe 10 to 15) minutes with the snapshots 20040113 and 
20040119 under load . 20040104 behaves much better allthough it does 
seem to leak ~100MB/hour too. We do have some significant load here at 
times and we have ScanMail-Support enabled but in this state 
clamav/clamd is clearly quite unusable :-((

since there are quite a few of these problems popping up in the last 
days - any idea what can be done to fix or at least improve this situation?

In case it's important we are on Debian Woody 3.0r2 and Kernel 2.4.24 here.

thanks

Stefan

---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] is the virus db screwed up ?

2004-01-08 Thread Stefan Kaltenbrunner
Tomasz Papszun wrote:
On Thu, 08 Jan 2004 at 19:25:36 +, Antony Stone wrote:

Clamscan's working fine for me here (Linux 2.4.23, ClamAV 0.60, with the big 
database update just released, therefore 27645 signatures).


27645? How come? The database at the moment contains 19799 signatures.

I think this happens everytime somebody updates an old installation that 
used the *.db file to the new *.cvd format without deleting the old 
files. clamd then somehow reports the sum of the signatures in these 
files(!).

Stefan

---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] segmentation fault with TCPAddr

2003-10-14 Thread Stefan Kaltenbrunner
There seems to be a problem with the new TCPAddr support in the latest 
snapshots  - setting TCPSocket without setting TCPAddr (happens for 
example when upgrading from an older version) "reliably" segfaults upon 
startup on my system (Debian Testing/x86).



Stefan



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamd lock ups?

2003-10-13 Thread Stefan Kaltenbrunner
Kelsey Cummings wrote:

The clamav-devel-20031009 version seems to be segfault free which is a
great improvement over some of the previous versions.  However, I've had it
deadlock a couple of times over the past few days.  Has anyone else seen
this behavior?
Symptoms are pretty straight forward.  It's running and still listening to
the socket but isn't doing anything with the connections. 
I can confirm this behaviour here - and it's in 20031005 and 20031001 
misbehaving too!

I suspect it has something to do with the glibc-version (OS is Linux 
here) out of two maschines it's working quite ok on the glibc6 2.2.5 
based box but behaves very badly on the glibc 2.3.2 one.

Stefan



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamd dies forever!

2003-10-05 Thread Stefan Kaltenbrunner
Odhiambo Washington wrote:
Okay, I know this is not good at all, that I run the CVS version of clamav
on a production box. It's suicide. I've run the daily snapshots for some
time without disappointment when it comes to supervising the service with
daemontools. However, something in CVS seems to completely defy daemontools!
For two days now, this has happened, but unfortunately I have not captured
any data. Not core dump at all.
for the record: we are seeing the same here - the latest snapshots 
sometimes just hang(especially under load - disabling pthread-support 
seems to help).

Stefan



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamd proposal and question

2003-09-03 Thread Stefan Kaltenbrunner
Marc Balmer wrote:
Hi

I have been running clamd 0.60 for quite some time now on our mail
gateway in a milter setup (not the ClamAV milter, but our own one that
"speaks" the clamd protocol).
clamd in this version is not stable and I wonder if it is the server
part or libclamav thats causing the trouble.
hmm - we use it together with exiscan, and we have only seen it break 
under extremly high loads/unusual situations (i.e. enormous connection 
backlog due to the LDAP-loadbalancer going down). I suspect this 
problems occour when the maximum thread/backlog limits inside the 
clamd-daemon are reached.
During light/normal load (we only have some 250k mails/day) the more 
recent snapshots do work reliable for us.

I have worked a lot with Symantec AntiVirus Scan Engine and I think that
their protocol is superior to the clamd protocol.  SAVSE "speaks" ICAP
plus an elaborate native protocol.  I would like to see clamd support
ICAP as well.  The clamd native protocol is very problematic when
connecting the server through a firewall, it has the same defects as FTP
(the server choosing an arbitrary port number and handing it out to the
client).
while ICAP would be a really nice addition, the problematic behaviour of 
the STREAM-extension has already been discussed (on clamav-devel) and 
tomasz promised a solution for this :-)

Stefan



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] feature request for clam (STREAM mode)

2003-08-17 Thread Stefan Kaltenbrunner
Tomasz Kojm wrote:

On Sun, 17 Aug 2003 19:38:10 +0200
Arkadiusz Miskiewicz <[EMAIL PROTECTED]> wrote:
 

Hi,

STREAM support is long awaited feature by me. Unfortunately it seems
badly designed.
   

The idea of the protocol is based on OpenAntiVirus ScannerDaemon's POST
command, with some enhancements.
 

Current protocol is:
- connect with default clamav port (command connection)
- send STREAM uppercase
- clamd returns port number
- we connect with that number and send data to be scanned there (data 
connection)
   

That's it.

 

Problems are:
- if we want to scan few files we need to connect to reconnect to
command connection every time, too - why? Why no multiple STREAM
commands allowed?
   

Do you mean STREAM should support an optional argument for a number of
sockets clamd should start waiting on ? No problem.
 

- data port is random so I need to open all ports on my firewall which
is very 
   

This problem has been already reported a few days ago. The port number
range will be configurable in clamav.conf.
 

sad. Instead of this it would be great if I could send data over
,,command connection'' and don't use ,,data connection'' at all.
   

Oh, I don't think this is a good idea - it will make the command socket
a bottleneck because a scan process for may be long and we can't depend
on the backlog argument of the listen() function due to portability
reasons. 

I really, really dislike this solution which reminds me in some way to 
the (br0ken) ftp-protocol. A solution like this make any kind of 
loadbalancing(using a standard TCP balancing solution) nearly 
impossible. Any chance that this design could be changed to using a 
single TCP-Port. This would allow use to loadbalance/failover clamd 
easily between a large number of hosts (just like it's possible with 
spamd from the spamassassin package today).

Stefan



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [clamav-users] How effective is clamav?

2002-11-13 Thread Stefan Kaltenbrunner
Chris Hastie wrote:

>
> It looks like you've answered your own question. If ClamAV can find them
> at this point then the fault does not seem to lie with ClamAV. Whatever
> automated process you are using to scan incoming mail, it is either not
> presenting the mail to ClamAV, not doing so in a format that ClamAV can
> cope with, not correctly interpreting ClamAV's response, not acting on
> that response as you would like or exhibiting some other problem that
> I've missed (don't you just love caveats?!).
>
> I'm not familiar with Exim or Exiscan so I can't really be more help
> than that. I use Postfix and Amavisd with Clamd and seem to trap pretty
> much all the malware that comes my way. But I rely on Amavisd to
> deconstruct MIME messages, decode UUEncode and uncompress archives, not
> Clamd.

Yes this is the problem we also observe on our testmachines - exiscan relies on 
the ripmime-library for mimedecoding and imho this library still has some 
problems with malformed messages(sadly viruses tend to generate such messages :- 
) ).
There has just been a new maintenance release of exiscan(4.10-17) with should 
help with some of these issues (by incorporating an updated ripmime-library)


Stefan


-- 
Stefan Kaltenbrunner
mastermind at madness dot at


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Re: [clamav-users] clamav as a command line scanner?

2002-10-18 Thread Stefan Kaltenbrunner (Mailinglist account)
Odhiambo Washington wrote:
> Is anyone using clamav with Exiscan in Exim 4.10?

well yes, I already hacked up a small patch against exiscan 4.10-16 for 
clamd support (via tcp and heavily based on the OpenAV-code).
I am currently testing it on FreeBSD 4.7-STABLE and Solaris 9 using exim 
4.10 and exim 4.10.8.
While those two servers are not really in "production use",we have - so 
far - not encountered any serious problems.
> 
> I am lost as to what I need to use. Whether clamscan or clamd ;-)

well i don't think clamd is really production ready, but as i said 
before - I have not yet discovered any serious showstopper (apart from 
the annoying behaviour of binding to all available interfaces when using 
in TCP-mode - with is easily fixed with a oneliner) during the last days.


regards

Stefan Kaltenbrunner


-- 
Stefan Kaltenbrunner
mastermind at madness dot at


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]