[Clamav-devel] clamav-0.81 build error on AIX

2005-01-27 Thread Mike Loewen
Clamav-0.81 did not build on my AIX 4.3.3 system, because CMSG_SPACE and CMSG_LEN are not defined in . I cribbed a patch out of OpenLDAP and used it to fix clamd/others.c and clamdscan/client.c: *** clamd/others.c.0.81 Tue Jan 18 18:42:50 2005 --- clamd/others.c Thu Jan 27 14:41:08 2005

[Clamav-devel] Re: freshclam-protocol-bug with buggy proxy-servers

2005-01-27 Thread Sven Strickroth
"Tomasz Kojm" <[EMAIL PROTECTED]> wrote: > > DNS method is not possible in my special case (on my > Sorry for being nosy but why not? Only a personal reason: I want to log all web-requests, don't want any direct connection to the internet and don't want to set up an extra DNS-server (only for thi

Re: [Clamav-devel] Worm.Mydoom.Gen-unp not detected by clamav 0.81

2005-01-27 Thread Jan ONDREJ (SAL)
On Thu, Jan 27, 2005 at 07:38:59PM +, Trog wrote: > On Thu, 2005-01-27 at 20:37 +0100, Jan ONDREJ (SAL) wrote: > > Hello, > > > > I have now an sample of Worm.Mydoom.Gen-unp, which is not detected > > by latest clamav 0.81 and is detected by older version (0.80). > > > > Please submit it t

Re: [Clamav-devel] Worm.Mydoom.Gen-unp not detected by clamav 0.81

2005-01-27 Thread Tomasz Kojm
On Thu, 27 Jan 2005 20:37:16 +0100 "Jan ONDREJ (SAL)" <[EMAIL PROTECTED]> wrote: > Hello, > > I have now an sample of Worm.Mydoom.Gen-unp, which is not detected > by latest clamav 0.81 and is detected by older version (0.80). Please submit the file on our website. -- oo. T

Re: [Clamav-devel] Worm.Mydoom.Gen-unp not detected by clamav 0.81

2005-01-27 Thread Trog
On Thu, 2005-01-27 at 20:37 +0100, Jan ONDREJ (SAL) wrote: > Hello, > > I have now an sample of Worm.Mydoom.Gen-unp, which is not detected > by latest clamav 0.81 and is detected by older version (0.80). > Please submit it to the submissions interface (and cut in the text of your previous emai

[Clamav-devel] Worm.Mydoom.Gen-unp not detected by clamav 0.81

2005-01-27 Thread Jan ONDREJ (SAL)
Hello, I have now an sample of Worm.Mydoom.Gen-unp, which is not detected by latest clamav 0.81 and is detected by older version (0.80). See this: [EMAIL PROTECTED] ondrejj]# freshclam ClamAV update process started at Thu Jan 27 20:28:09 2005 main.cvd is up to date (version: 29, sigs: 29086, f

Re: [Clamav-devel] Sending SCAN command multiple times on the same socket fails.

2005-01-27 Thread Trog
On Thu, 2005-01-27 at 17:56 +0100, Ramon Amat wrote: > You will find attached what the app prints out on stdout and an strace > output. > The SESSION still get's blocked > > Add a delay between this write.. > 15199 write(3, "SESSION", 7)= 7 and this write... > 15199 write(3, "SCA

Re: [Clamav-devel] libclamav output functions

2005-01-27 Thread Tomasz Kojm
On Thu, 27 Jan 2005 12:04:20 -0500 Stephen Gran <[EMAIL PROTECTED]> wrote: > Hello all, > > In libclamav/others.c, I see that the output functions (cli_warnmsg, > cli_errmsg, and cli_dbgmsg) don't use the mprintf function in > shared/output.c, so they bypass things like the --stdout switch. A >

[Clamav-devel] libclamav output functions

2005-01-27 Thread Stephen Gran
Hello all, In libclamav/others.c, I see that the output functions (cli_warnmsg, cli_errmsg, and cli_dbgmsg) don't use the mprintf function in shared/output.c, so they bypass things like the --stdout switch. A user noticed that messages on stderr about his functionality level was causing amavis to

Re: [Clamav-devel] Sending SCAN command multiple times on the same socket fails.

2005-01-27 Thread Ramon Amat
You will find attached what the app prints out on stdout and an strace output. The SESSION still get's blocked [EMAIL PROTECTED]:~/dev/uniqmail-engine/apevs/test/clamav$ sudo strace -fF -o strace.log make run = Virus Scanner Test: = --

Re: [Clamav-devel] Sending SCAN command multiple times on the same socket fails.

2005-01-27 Thread Ramon Amat
What makes you think, that this will fix the problem ? I am using 0.8. Because I did some last minute fixes to SESSION mode. -trog I followed your advice and downloaded the latest clamav version Released at Wed, 26 Jan 2005 19:58:37 GMT by nervoso Afterwards I have uncommented to make the soc

Re: [Clamav-devel] freshclam-protocol-bug with buggy proxy-servers

2005-01-27 Thread Reini Urban
Sven Strickroth schrieb: freshclam 0.81 prints: "ClamAV update process started at Wed Jan 26 22:24:32 2005 Connecting via 192.168.0.1 Reading CVD header (main.cvd): ERROR: Malformed CVD header detected. ERROR: Can't read main.cvd header from db.de.clamav.net (IP: 192.168.0.1) Trying again in 5 secs

Re: [Clamav-devel] Sending SCAN command multiple times on the same socket fails.

2005-01-27 Thread Trog
On Thu, 2005-01-27 at 12:38 +0100, Ramon Amat wrote: > >Well that hasn't fixed your problem, just hidden it. > > > > > Possibly you may be right. Looking into the log I see the following > which might be of interest. > > ape: panic : pid 11360: socket 3: failed to read from socket > [99/Socke

Re: [Clamav-devel] Sending SCAN command multiple times on the same socket fails.

2005-01-27 Thread Ramon Amat
Well that hasn't fixed your problem, just hidden it. Possibly you may be right. Looking into the log I see the following which might be of interest. ape: panic : pid 11360: socket 3: failed to read from socket [99/Socket.cpp] ape: warning: pid 11360: exception ape::SocketException: throwed

Re: [Clamav-devel] Sending SCAN command multiple times on the same socket fails.

2005-01-27 Thread Trog
On Thu, 2005-01-27 at 12:18 +0100, Ramon Amat wrote: > > I have managed to fix the problem and my client application does not > hang/block anymore. I realised that it blocked when reading answer of > CMD1. Since the socket is specifally modified to 0_NDELAY | > O_NONBLOCKING i do not experienc

Re: [Clamav-devel] Sending SCAN command multiple times on the same socket fails.

2005-01-27 Thread Ramon Amat
I have managed to fix the problem and my client application does not hang/block anymore. I realised that it blocked when reading answer of CMD1. Since the socket is specifally modified to 0_NDELAY | O_NONBLOCKING i do not experience this blocking anymore, which does not happen so often but ..