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 enhance

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

2003-08-17 Thread Tomasz Kojm
On Sun, 17 Aug 2003 22:45:07 +0200 Arkadiusz Miskiewicz <[EMAIL PROTECTED]> wrote: > On Sunday 17 of August 2003 22:29, Tomasz Kojm wrote: > > > - 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 a

Re: [Clamav-users] Re: Forward del messaggio di Nikolaj Wicker riguardo a clamav-milter

2003-08-17 Thread Peter Bonivart
Haven't followed the thread but I assume he's talking about some Linux RPM package, many on these lists take for granted you run Linux. Milter should be in the distribution tarball from sendmail.org. Sun doesn't compile in TLS support either, not even in the more security oriented Solaris 9, so I'm

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

2003-08-17 Thread Arkadiusz Miskiewicz
On Sunday 17 of August 2003 22:29, Tomasz Kojm wrote: > > - 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

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

2003-08-17 Thread Tomasz Kojm
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

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

2003-08-17 Thread Arkadiusz Miskiewicz
Hi, STREAM support is long awaited feature by me. Unfortunately it seems badly designed. 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 connect

[Clamav-users] Re: Forward del messaggio di Nikolaj Wicker riguardo a clamav-milter

2003-08-17 Thread Nigel Horne
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 17 Aug 2003 1:56 pm, Nikolaj Wicker wrote: > dear nigel, > > i tried the settings you mentioned (-Dstrerror_r=strerror (DEFS) and > -lresolv (LIBS)). you can see the results below. Unfortunately I can't convince clamav to attempt to compile

[Clamav-users] Re: Forward del messaggio di Nikolaj Wicker riguardo a clamav-milter

2003-08-17 Thread Nikolaj Wicker
dear nigel, i tried the settings you mentioned (-Dstrerror_r=strerror (DEFS) and -lresolv (LIBS)). you can see the results below. it seems that the solaris strerror-function (string.h) uses only one argument, the error-number. any ideas? kind regards nikolaj wicker

Re: [Clamav-users] Compilation and cli_malloc missing

2003-08-17 Thread Nigel Horne
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've seen this as well. In clamd/others.c, change line 260 (the line with cli_malloc) to: buffer = (char *) mcalloc(strlen(cmd) + strlen(filename) + strlen(virname) + 10, sizeof(char)); - -Nigel - -- Nigel Horne. Arranger, Composer, Typesette

[Clamav-users] Compilation and cli_malloc missing

2003-08-17 Thread Krištof Petr
Hi, version 20030720 is OK. From version 20030808+ compilation fails. gcc -O2 -march=i386 -mcpu=i686 -o clamav-milter clamav-milter.o ../clamd/cfgfile.o ../clamd/others.o -L/usr/src/redhat/BUILD/clamav-20030806/libclamav -L/usr/lib/libmilter -lmilter -lpthread ../clamd/others.o: In function `vi

Re: [Clamav-users] Forward del messaggio di Nikolaj Wicker riguardo a clamav-milter

2003-08-17 Thread Nigel Horne
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 15 Aug 2003 5:27 pm, Luca Gibelli wrote: > use of -Dstrerror_r=strerror option didn' t work and i've got no idea > how to fix the getopt_long problem. When you say it "didn't work", what did you do? Did you change the makefile and type mak

Re: [Clamav-users] Problems compiling clamav-milter

2003-08-17 Thread Ludek Finstrle
> i am trying to compile clamav 0.60 and clamav-20030806 on a sun solaris > SPARC box. the make-process went fine with one exeption. trying to > compile clamav-milter produces some errors which prevent > code-generation. > > configure options were: > > ./configure --prefix=/usr/local --sysconfdir