Re: [Clamav-users] Trouble with ClamAV-0.66

2004-02-12 Thread Kristof Hardy
I have tracked down the segfault to libclamav/str.c cli_strtok which is 
running off the end when called from cl_cvdparse looking for the digital 
signature. I am not a C programmer, but it looks like one or more of the 
servers has a malformed main.cvd which is breaking the 513 bytes allocated.
Ok, here's more info. freshclam is segfaulting. This is on a Celeron 
1200 running RedHat 9.
I have it working fine on an Athlon  600 RedHat 9 and on a Pentium III 
1200 RedHat 7.2
Bill, here it works fine on RH 9 (P3-1000), with all latest updates.
The only difference between 0.65 and 0.66 is that freshclam 0.66 doesn't 
complain about digital signatures anymore.

In 0.65 freshclam always told me SECURITY WARNING: NO SUPPORT FOR 
DIGITAL SIGNATURES. Now since upgrading to 0.66 this has gone away.

--

Best regards,
Kristof
---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] making clamav under solaris {Scanned}

2004-02-12 Thread Nikolaj Wicker
trying to compile the latest cvs-code under solaris 9 SPARC with these 
options:

./configure --sysconfdir=/etc --disable-clamuko --disable-milter
make
throws this error in libclamav (mbox.c)

===SNIP===
rm -f .libs/zzip-zip.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -g -O2 -c 
zziplib/zzip-zip.c -MT zzip-zip.lo -MD -MP -MF .deps/zzip-zip.TPlo  
-fPIC -DPIC -o .libs/zzip-zip.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -g -O2 -c 
zziplib/zzip-zip.c -MT zzip-zip.lo -MD -MP -MF .deps/zzip-zip.TPlo -o 
zzip-zip.o /dev/null 21
mv -f .libs/zzip-zip.lo zzip-zip.lo
source='mbox.c' object='mbox.lo' libtool=yes \
depfile='.deps/mbox.Plo' tmpdepfile='.deps/mbox.TPlo' \
depmode=gcc3 /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..  
-I.. -I./zziplib-g -O2 -c -o mbox.lo `test -f 'mbox.c' || echo 
'./'`mbox.c
rm -f .libs/mbox.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -g -O2 -c mbox.c -MT 
mbox.lo -MD -MP -MF .deps/mbox.TPlo  -fPIC -DPIC -o .libs/mbox.lo
mbox.c: In function `saveFile':
mbox.c:1653: error: `O_BINARY' undeclared (first use in this function)
mbox.c:1653: error: (Each undeclared identifier is reported only once
mbox.c:1653: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `mbox.lo'
Current working directory /usr/local/src/clamav-devel/libclamav
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/clamav-devel
*** Error code 1
make: Fatal error: Command failed for target `all'
===SNIP===

any ideas ?
tia
--
Nikolaj Wicker
---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] zip file problem

2004-02-12 Thread Balzi Andrea
Title: zip file problem





Hi


tommorow I've upgrade my clamav from 0.65 to 0.66, after the killall -HUP clamd I've chack the log of mine exim.
I've found the following error newly:


2004-02-12 10:31:22 1ArDBk-0007VF-W1 malware acl condition: clamd: ClamAV returned /var/spool/exim/scan/1ArDBk-0007VF-W1/1ArDBk-0007VF-W1-0.zip: File size limit exceeded. ERROR

In the doubt I've stopped clamav and exim and after I've restart them, without solve the problem.


Andrea Balzi



Il primo agosto u.s ha preso ufficialmente avvio Arthis S.p.A. (Accenture e Rinascente Together In Services) a seguito del trasferimento da parte di Rinascente S.p.A. del già operante Centro Servizi interno. Arthis S.p.A. si sostituisce al precedentemente operante Centro Servizi nell'erogazione di tutte quelle attività prima a quest'ultimo afferenti. 





Re: [Clamav-users] zip file problem

2004-02-12 Thread Tomasz Kojm
On Thu, 12 Feb 2004 10:35:41 +0100
Balzi Andrea [EMAIL PROTECTED] wrote:

 Hi
 
 tommorow I've upgrade my clamav from 0.65 to 0.66, after the killall
 -HUP clamd I've chack the log of mine exim.
 I've found the following error newly:
 
 2004-02-12 10:31:22 1ArDBk-0007VF-W1 malware acl condition: clamd:
 ClamAV returned
 /var/spool/exim/scan/1ArDBk-0007VF-W1/1ArDBk-0007VF-W1-0.zip: File
 size limit exceeded. ERROR

That's really strange, because these messages have been disabled in
0.66.

Best regards,
Tomasz Kojm
-- 
  oo.   [EMAIL PROTECTED] www.ClamAV.net
 (\/)\. http://www.clamav.net/gpg/tkojm.gpg
\..._   0DCA5A08407D5288279DB43454822DC8985A444B
  //\   /\  Thu Feb 12 12:43:19 CET 2004


pgp0.pgp
Description: PGP signature


Re: [Clamav-users] Trouble with ClamAV-0.66

2004-02-12 Thread Tomasz Kojm
On Thu, 12 Feb 2004 12:55:00 +1100
Bill Maidment [EMAIL PROTECTED] wrote:

 More news.
 I have tracked down the segfault to libclamav/str.c cli_strtok which

It _shouldn't_ crash. I think for some reason it may be using an old
libclamav version - please remove all *clamav* files from /usr/local/lib
and reinstall 0.66.

Best regards,
Tomasz Kojm
-- 
  oo.   [EMAIL PROTECTED] www.ClamAV.net
 (\/)\. http://www.clamav.net/gpg/tkojm.gpg
\..._   0DCA5A08407D5288279DB43454822DC8985A444B
  //\   /\  Thu Feb 12 12:48:04 CET 2004


pgp0.pgp
Description: PGP signature


Re: [Clamav-users] Problem building 0.66 on OpenBSD 3.4

2004-02-12 Thread Dave Holland
On Wed, Feb 11, 2004 at 12:31:43PM -0500, Vic Metcalfe wrote:
 I recently was able to build the 0.65 release under OpenBSD, but I'm now
 getting an error building freshclam:
[snip]
 `cfgopt'
 freshclam.o:/home/vic/src/clamav-0.66/freshclam/freshclam.c:168: more
 undefined references to `cfgopt' follow
 collect2: ld returned 1 exit status
 *** Error code 1
[snip]

I had a similar error while building 0.66 on Tru64.

I found that freshclam/Makefile contained these two lines:

#freshclam_LDADD = ../clamscan/getopt.o ../clamscan/others.o ../clamd/cfgfile.o
freshclam_LDADD = ../clamscan/getopt.o ../clamscan/others.o

Uncommenting the first and commenting the second made the build work
again. It's not clear why this change was necessary -- what's the
reasoning for not linking in cfgfile.o?

thanks,
Dave
-- 
** Dave Holland ** Systems Support  -  Special Projects Team **
** 01223 834244 ** Sanger Institute, Hinxton, Cambridge, UK  **
The fact that something should have worked does not change the fact
that it didn't.


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Building RPMS from tarball

2004-02-12 Thread Tarjei Knapstad
On Wed, 2004-02-11 at 20:49, Andrew Mills wrote:
 Hello Michael,
 
 [snip]
 
  I would like to second that request.  Does anyone on the list have a .spec
  file that they would like to contribute?
 
 One can be found on the Fedora.us web site under
 http://www.fedora.us/tempspecs/ as well as .spec files for a few other
 things.
 

There's also one in the Binary packages page, if you follow the link
to Fedora packages. It has binaries, an SRPM and the .spec file for
0.66:

http://crash.fce.vutbr.cz/crash-hat/1/clamav/

(I've installed these binary packages on our RH 8.0 server without
probs.)

Cheers,
--
Tarjei



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


R: [Clamav-users] zip file problem

2004-02-12 Thread Balzi Andrea
Title: R: [Clamav-users] zip file problem





I've make this comand to install in to source directory:


./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-clamav --with-dbdir=/var/lib/clamav/ --sysconfdir=/etc/clamav --enable-milter

make


make install


killall -HUP clamd



I've try this after installation


srv-internet01:/usr/src# /usr/sbin/clamd --v
clamd / ClamAV version 0.66


I've make a cat of mine init script for clamav-daemon and I saw this


PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/clamd
NAME=clamd
DESC=clamav daemon
CLAMAVCONF=/etc/clamav/clamav.conf


 /var/spool/exim/scan/1ArDBk-0007VF-W1/1ArDBk-0007VF-W1-0.zip: File
  size limit exceeded. ERROR
 
 That's really strange, because these messages have been disabled in
 0.66.
 


Why I see this message?
I've mistaken some step?


Andrea Balzi




Il primo agosto u.s ha preso ufficialmente avvio Arthis S.p.A. (Accenture e Rinascente Together In Services) a seguito del trasferimento da parte di Rinascente S.p.A. del già operante Centro Servizi interno. Arthis S.p.A. si sostituisce al precedentemente operante Centro Servizi nell'erogazione di tutte quelle attività prima a quest'ultimo afferenti. 





[Clamav-users] Re: Problem building 0.66 on OpenBSD 3.4

2004-02-12 Thread Vic Metcalfe
Dave:  Good to know, I was thinking I must have really done something stupid
to generate that error since I can't reproduce it now.  There must be
something odd going on for that commented line to be there, but I didn't run
into the problem again.

Flinn:  Yes, but to be honest I did fudge a couple of symlinks for
libgmp.so.6.2 and gpm.h from /usr/local/lib and /usr/local/include to just
/usr/lib and /usr/include.  I could have actually used the real /usr/local
paths but an earlier wonky build of libclamav.so.1.3 was running well enough
in production (for 0.65), but was confused enough to throw off the re-build.
I figured the easiest way to leave the 0.65 working while I worked on the
0.66 upgrade was to eliminate /usr/local from this build process and then
symlink the one library I needed from there to /usr.  In any case, what I've
ended up with does support the digital signatures.

Loyet:  Forgive me for replying to your private email publicly but I don't
think there was really anything private in it, and other people dealing with
the same kinds or problems might appreciate the information archived...  You
mentioned that clamscan was blocking on you under OpenBSD.  I hadn't
noticed, but mine is too!  Fortunately I'm only using clamdscan on my
system, and it works fine.  Odd that clamscan would block while clamdscan
would run fine.

If any of the clamav developers need access to an OpenBSD box for
development my offer of a shell account stands.

--

Dave Holland [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 On Wed, Feb 11, 2004 at 12:31:43PM -0500, Vic Metcalfe wrote:
  I recently was able to build the 0.65 release under OpenBSD, but I'm now
  getting an error building freshclam:
 [snip]
  `cfgopt'
  freshclam.o:/home/vic/src/clamav-0.66/freshclam/freshclam.c:168: more
  undefined references to `cfgopt' follow
  collect2: ld returned 1 exit status
  *** Error code 1
 [snip]

 I had a similar error while building 0.66 on Tru64.

 I found that freshclam/Makefile contained these two lines:

 #freshclam_LDADD = ../clamscan/getopt.o ../clamscan/others.o
../clamd/cfgfile.o
 freshclam_LDADD = ../clamscan/getopt.o ../clamscan/others.o

 Uncommenting the first and commenting the second made the build work
 again. It's not clear why this change was necessary -- what's the
 reasoning for not linking in cfgfile.o?

 thanks,
 Dave
 --
 ** Dave Holland ** Systems Support  -  Special Projects Team **
 ** 01223 834244 ** Sanger Institute, Hinxton, Cambridge, UK  **
 The fact that something should have worked does not change the fact
 that it didn't.


 ---
 SF.Net is sponsored by: Speed Start Your Linux Apps Now.
 Build and deploy apps  Web services for Linux with
 a free DVD software kit from IBM. Click Now!
 http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
 ___
 Clamav-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/clamav-users






---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] libclamav problem on obsd 3.4

2004-02-12 Thread LOYET Jerome
Hello,

I've compiled clamav (w/o milter) and the libclamav is blocking. I've just
compiled libclamav and the ex1.c in the exemple folder. The ex1 stops in the
function that read le database. I don't know why for now. Any idees ?

Thanks, Here is my ./configure output (config.log):

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --enable-shared --disable-clamav
--enable-dependency-tracking --disable-clamuko --enable-bigstack
--with-user=_clamd --with-group=_clamd --disable-cr
--with-dbdir=/usr/local/share/clamav --prefix=/usr/local --sysconfdir=/etc

## - ##
## Platform. ##
## - ##

hostname = puffy.fatbsd.com
uname -m = i386
uname -r = 3.4
uname -s = OpenBSD
uname -v = GENERIC#18

/usr/bin/uname -p = AMD Duron Model 3 (Spitfire) (AuthenticAMD 686-class)
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = OpenBSD.i386
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /goinfre/goinfre1/Server/clamav/clamav/w-clamav-0.66/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin


## --- ##
## Core tests. ##
## --- ##

configure:1411: checking build system type
configure:1429: result: i386-unknown-openbsd3.4
configure:1437: checking host system type
configure:1451: result: i386-unknown-openbsd3.4
configure:1459: checking target system type
configure:1473: result: i386-unknown-openbsd3.4
configure:1544: result: creating target.h - canonical system defines
configure:1687: checking for a BSD-compatible install
configure:1741: result: /usr/bin/install -c -o root -g bin
configure:1752: checking whether build environment is sane
configure:1795: result: yes
configure:1828: checking for gawk
configure:1857: result: no
configure:1828: checking for mawk
configure:1857: result: no
configure:1828: checking for nawk
configure:1844: found /usr/bin/nawk
configure:1854: result: nawk
configure:1864: checking whether make sets ${MAKE}
configure:1884: result: yes
configure:2046: checking for gawk
configure:2072: result: nawk
configure:2128: checking for gcc
configure:2154: result: cc
configure:2398: checking for C compiler version
configure:2401: cc --version /dev/null 5
2.95.3
configure:2404: $? = 0
configure:2406: cc -v /dev/null 5
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.4/2.95.3/specs
gcc version 2.95.3 20010125 (prerelease, propolice)
configure:2409: $? = 0
configure:2411: cc -V /dev/null 5
cc: argument to `-V' is missing
configure:2414: $? = 1
configure:2440: checking for C compiler default output
configure:2443: cc -O2   -I/usr/local/include  -pthread -L/usr/local/lib
conftest.c  5
configure:2446: $? = 0
configure:2479: result: a.out
configure:2484: checking whether the C compiler works
configure:2490: ./a.out
configure:2493: $? = 0
configure:2508: result: yes
configure:2515: checking whether we are cross compiling
configure:2517: result: no
configure:2520: checking for suffix of executables
configure:2522: cc -o conftest -O2   -I/usr/local/include  -pthread
-L/usr/local/lib conftest.c  5
configure:2525: $? = 0
configure:2547: result: 
configure:2553: checking for suffix of object files
configure:2577: cc -c -O2   -I/usr/local/include conftest.c 5
configure:2580: $? = 0
configure:2599: result: o
configure:2603: checking whether we are using the GNU C compiler
configure:2630: cc -c -O2   -I/usr/local/include conftest.c 5
configure:2633: $? = 0
configure:2636: test -s conftest.o
configure:2639: $? = 0
configure:2651: result: yes
configure:2657: checking whether cc accepts -g
configure:2681: cc -c -g -I/usr/local/include conftest.c 5
configure:2684: $? = 0
configure:2687: test -s conftest.o
configure:2690: $? = 0
configure:2700: result: yes
configure:2727: cc -c -O2   -I/usr/local/include conftest.c 5
conftest.c:2: syntax error before `me'
configure:2730: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2859: checking for style of include used by make
configure:2887: result: GNU
configure:2915: checking dependency style of cc
configure:2977: result: gcc
configure:2994: checking for a BSD-compatible install
configure:3048: result: /usr/bin/install -c -o root -g bin
configure:3059: checking whether ln -s works
configure:3063: result: yes
configure:3070: checking whether make sets ${MAKE}
configure:3090: result: yes
configure:3187: checking for ld used by GCC
configure:3250: result: /usr/bin/ld
configure:3259: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.11.2 (with BFD 2.11.2)
configure:3271: result: yes
configure:3276: checking for /usr/bin/ld option to reload object files
configure:3283: result: -r
configure:3288: checking for 

Re: [Clamav-users] Proper milter settings?

2004-02-12 Thread Nigel Horne
On Wednesday 11 Feb 2004 11:45 pm, james nelson wrote:

 Clamav-milter included with clamd .65
 RH9
 Scanning both incomming and outgoing
 The primary smtp has niether the milter or clamd.  It uses the milter and
 clamd installed on server2.  Connecting via tcp sockets.
 The server running clamd and clamav-milter never breaks a sweat cpu stress
 wise.  However, for some reason the connection for user send mail to the
 main server takes a longer than normal time.  Is there not a setting to
 have the mail server accept the message and close the client connection,
 then scan it, then if necessary send the bounce back?  As it sits it is
 leaving the connection open while it waits to do the scan... This is not
 good from a users point of view.

At it stands this is the way clamd works. There is a way round that, but it
involves moving from TCP sockets to UNIX domain sockets, and enabling the 
--quarantine-dir
option.

-Nigel

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Access permissions [was .065 depracated]

2004-02-12 Thread Nigel Horne
On Wednesday 11 Feb 2004 11:02 pm, Michael St. Laurent wrote:
 Tomasz Papszun mailto:[EMAIL PROTECTED] wrote:
  When using clamdscan (which is just an interface to clamd), one can
  scan only these files which clamd has access to.
 
  So if clamd is run as unpriviliged user and mail files are owned by
  someone else, clamdscam / clamd can't scan them.

 Nigel,

 Is it possible that this could be the cause of the problem I'm having with
 sendmail not appearing to contact clamav-milter or would it be logging an
 error message in that case?

It doesn't sound like it.

Have you enabled LogSysLog in clamav.conf? If so look in /var/log/mesages and
/var/log/maillog, they may give you a clue.

-Nige

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Building RPMS from tarball

2004-02-12 Thread Kritof Petr
Mailing Lists wrote:

Not sure if this has been addressed before but I was wondering if it 
is/would be possible to build rpms directly from the tarball. I can do 
this currently with SpamAssassin by doing rpmbuild -ta tarball and 
it builds rpms for my system. Is this possible to do with clamav. I am 
not sure but I think a spec file would need to be included in the 
source. I think this would make things much, much easier for those of 
us who use rpm based systems to keep up with current builds etc 
instead of either finding or building rpms from scratch every time. 
Anyway, just a thought. If this has been addressed before I apologize.


Hello Richard,

it is not so simply, IMHO.

Clamav development is very quick and syncing with sources is not easy,
especially when there is not release plan or release cycle defined HINT.
On another side, the package maintainers (rpm, deb, solaris, bsd) 
provides valuable QA.
Sometimes clamav versions didnt compile on some systems (aka milter.8),
additional post-release patches was needed to correct run.
You get tested packages with additional features like starting scripts, 
logwatch
config and more for the same price :-)

There are usualy stable packages and development packages following
each important cvs changes with a little delay and you are free to test it.
Petr



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] libclamav problem on obsd 3.4

2004-02-12 Thread LOYET Jerome
In fact clamscan is working but it took about 2minutes to scan an eicar test
infected file. A problem ... 

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de LOYET Jerome
Envoyé : jeudi 12 février 2004 14:17
À : [EMAIL PROTECTED]
Objet : [Clamav-users] libclamav problem on obsd 3.4

Hello,

I've compiled clamav (w/o milter) and the libclamav is blocking. I've just
compiled libclamav and the ex1.c in the exemple folder. The ex1 stops in the
function that read le database. I don't know why for now. Any idees ?

Thanks, Here is my ./configure output (config.log):

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --enable-shared --disable-clamav
--enable-dependency-tracking --disable-clamuko --enable-bigstack
--with-user=_clamd --with-group=_clamd --disable-cr
--with-dbdir=/usr/local/share/clamav --prefix=/usr/local --sysconfdir=/etc

## - ##
## Platform. ##
## - ##

hostname = puffy.fatbsd.com
uname -m = i386
uname -r = 3.4
uname -s = OpenBSD
uname -v = GENERIC#18

/usr/bin/uname -p = AMD Duron Model 3 (Spitfire) (AuthenticAMD 686-class)
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = OpenBSD.i386
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /goinfre/goinfre1/Server/clamav/clamav/w-clamav-0.66/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin


## --- ##
## Core tests. ##
## --- ##

configure:1411: checking build system type
configure:1429: result: i386-unknown-openbsd3.4
configure:1437: checking host system type
configure:1451: result: i386-unknown-openbsd3.4
configure:1459: checking target system type
configure:1473: result: i386-unknown-openbsd3.4
configure:1544: result: creating target.h - canonical system defines
configure:1687: checking for a BSD-compatible install
configure:1741: result: /usr/bin/install -c -o root -g bin
configure:1752: checking whether build environment is sane
configure:1795: result: yes
configure:1828: checking for gawk
configure:1857: result: no
configure:1828: checking for mawk
configure:1857: result: no
configure:1828: checking for nawk
configure:1844: found /usr/bin/nawk
configure:1854: result: nawk
configure:1864: checking whether make sets ${MAKE}
configure:1884: result: yes
configure:2046: checking for gawk
configure:2072: result: nawk
configure:2128: checking for gcc
configure:2154: result: cc
configure:2398: checking for C compiler version
configure:2401: cc --version /dev/null 5
2.95.3
configure:2404: $? = 0
configure:2406: cc -v /dev/null 5
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.4/2.95.3/specs
gcc version 2.95.3 20010125 (prerelease, propolice)
configure:2409: $? = 0
configure:2411: cc -V /dev/null 5
cc: argument to `-V' is missing
configure:2414: $? = 1
configure:2440: checking for C compiler default output
configure:2443: cc -O2   -I/usr/local/include  -pthread -L/usr/local/lib
conftest.c  5
configure:2446: $? = 0
configure:2479: result: a.out
configure:2484: checking whether the C compiler works
configure:2490: ./a.out
configure:2493: $? = 0
configure:2508: result: yes
configure:2515: checking whether we are cross compiling
configure:2517: result: no
configure:2520: checking for suffix of executables
configure:2522: cc -o conftest -O2   -I/usr/local/include  -pthread
-L/usr/local/lib conftest.c  5
configure:2525: $? = 0
configure:2547: result: 
configure:2553: checking for suffix of object files
configure:2577: cc -c -O2   -I/usr/local/include conftest.c 5
configure:2580: $? = 0
configure:2599: result: o
configure:2603: checking whether we are using the GNU C compiler
configure:2630: cc -c -O2   -I/usr/local/include conftest.c 5
configure:2633: $? = 0
configure:2636: test -s conftest.o
configure:2639: $? = 0
configure:2651: result: yes
configure:2657: checking whether cc accepts -g
configure:2681: cc -c -g -I/usr/local/include conftest.c 5
configure:2684: $? = 0
configure:2687: test -s conftest.o
configure:2690: $? = 0
configure:2700: result: yes
configure:2727: cc -c -O2   -I/usr/local/include conftest.c 5
conftest.c:2: syntax error before `me'
configure:2730: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2859: checking for style of include used by make
configure:2887: result: GNU
configure:2915: checking dependency style of cc
configure:2977: result: gcc
configure:2994: checking for a BSD-compatible install
configure:3048: result: /usr/bin/install -c -o root -g bin
configure:3059: checking whether ln -s works
configure:3063: result: yes
configure:3070: checking whether make sets ${MAKE}
configure:3090: result: yes
configure:3187: 

R: [Clamav-users] zip file problem

2004-02-12 Thread Balzi Andrea
Title: R: [Clamav-users] zip file problem





This problem can depend to libclamav?


-


I've make this comand to install in to source directory: 
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-clamav --with-dbdir=/var/lib/clamav/ --sysconfdir=/etc/clamav --enable-milter

make 
make install 
killall -HUP clamd 



I've try this after installation 
srv-internet01:/usr/src# /usr/sbin/clamd --v 
clamd / ClamAV version 0.66 
I've make a cat of mine init script for clamav-daemon and I saw this 
PATH=/sbin:/bin:/usr/sbin:/usr/bin 
DAEMON=/usr/sbin/clamd 
NAME=clamd 
DESC=clamav daemon 
CLAMAVCONF=/etc/clamav/clamav.conf 
 /var/spool/exim/scan/1ArDBk-0007VF-W1/1ArDBk-0007VF-W1-0.zip: File 
  size limit exceeded. ERROR 
 
 That's really strange, because these messages have been disabled in 
 0.66. 
 
Why I see this message? 
I've mistaken some step? 
Andrea Balzi 




Il primo agosto u.s ha preso ufficialmente avvio Arthis S.p.A. (Accenture e Rinascente Together In Services) a seguito del trasferimento da parte di Rinascente S.p.A. del già operante Centro Servizi interno. Arthis S.p.A. si sostituisce al precedentemente operante Centro Servizi nell'erogazione di tutte quelle attività prima a quest'ultimo afferenti. 





RE: [Clamav-users] Proper milter settings?

2004-02-12 Thread james nelson
At it stands this is the way clamd works. There is a way round that, but it
involves moving from TCP sockets to UNIX domain sockets, and enabling the
--quarantine-dir option.

-Nigel

So I could connect to the milter via TCP, then from the milter connect to
clamd via sockets?  Can you explain a little more so I can do some testing
to see if that would work for me?

james 



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] libunrar.so support?

2004-02-12 Thread Tomasz Kojm
On Tue, 10 Feb 2004 10:56:37 -0500
Joshua Megerman [EMAIL PROTECTED] wrote:

 It appears that someone has adapted the UnRAR 3.0 code to be a
 linux/unix shared library similar to the uRarLib currently used to

What is the license of that code ? I downloaded it and it compiles and
works OK, but it's Released under rarlab licence (see
http://www.rarlab.com and I can't find any license information for
the code there.

Best regards,
Tomasz Kojm
-- 
  oo.   [EMAIL PROTECTED] www.ClamAV.net
 (\/)\. http://www.clamav.net/gpg/tkojm.gpg
\..._   0DCA5A08407D5288279DB43454822DC8985A444B
  //\   /\  Thu Feb 12 15:58:57 CET 2004


pgp0.pgp
Description: PGP signature


[Clamav-users] Base64/Zip problem

2004-02-12 Thread Peter McCreath
Hallo All, 
Thanks for an excellent product, but i have a slight
problem and am in need of some pointers. 

I am using 
Clamav-0.66
Mimedefang-2.39 

I'm still getting viruses pass the scanner. I *think*
this is due to either a problem with my zip or due to
Base64 encoding.

Any ideas as to where to start looking, would be
greatly appreciated. 

Many thanks in Advance, 

regards 
Peter



Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Proper milter settings?

2004-02-12 Thread Nigel Horne
On Thursday 12 Feb 2004 2:38 pm, james nelson wrote:

 So I could connect to the milter via TCP, then from the milter connect to
 clamd via sockets?  Can you explain a little more so I can do some testing
 to see if that would work for me?

Yes, if by 'via sockets' you meant 'via sockets in the UNIX domain'.

The connection from sendmail to clamav-milter is configured in sendmail.mc.
The connection from clamav-milter to clamd is configured in clamav.conf.

 james

-Nigel

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: R: [Clamav-users] zip file problem

2004-02-12 Thread Tomasz Kojm
On Thu, 12 Feb 2004 15:25:25 +0100
Balzi Andrea [EMAIL PROTECTED] wrote:

 This problem can depend to libclamav?

Yes, the error comes from libclamav.

Best regards,
Tomasz Kojm
-- 
  oo.   [EMAIL PROTECTED] www.ClamAV.net
 (\/)\. http://www.clamav.net/gpg/tkojm.gpg
\..._   0DCA5A08407D5288279DB43454822DC8985A444B
  //\   /\  Thu Feb 12 16:20:35 CET 2004


pgp0.pgp
Description: PGP signature


Re: [Clamav-users] libunrar.so support?

2004-02-12 Thread Antony Stone
On Thursday 12 February 2004 3:01 pm, Tomasz Kojm wrote:

 On Tue, 10 Feb 2004 10:56:37 -0500

 Joshua Megerman [EMAIL PROTECTED] wrote:
  It appears that someone has adapted the UnRAR 3.0 code to be a
  linux/unix shared library similar to the uRarLib currently used to

 What is the license of that code ? I downloaded it and it compiles and
 works OK, but it's Released under rarlab licence (see
 http://www.rarlab.com and I can't find any license information for
 the code there.

Go to http://www.rarlab.com, click on Extras under RAR and inside the 
UnRaR source at http://www.rarlab.com/rar/unrarsrc-3.3.6.tar.gz you'll find a 
file license.txt

Part of what is says there is:

  The unRAR sources may be used in any software to handle RAR
  archives without limitations free of charge, but cannot be used
  to re-create the RAR compression algorithm, which is proprietary.
  Distribution of modified unRAR sources in separate form or as a
  part of other software is permitted, provided that it is clearly
  stated in the documentation and source comments that the code may
  not be used to develop a RAR (WinRAR) compatible archiver.

The rest is worth checking too, of course, but in general it looks quite 
simple - you can use it for decompression free of charge.

Antony.

-- 
If you want to be happy for an hour, get drunk.
If you want to be happy for a year, get married.
If you want to be happy for a lifetime, get a garden.

 Please reply to the list;
   please don't CC me.



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] Oversized Zip FOUND ???

2004-02-12 Thread Valdas iraitis
Hi,
I try to scan file (see --debug output below), and i have oversized ZIP
Found eror.
Can anyone comment this?
Where is my mistake?

My config debian stable + clamav 0.65 (from deb
http://clamav.catt.com/debian stable main)

cat /etc/clamav/clamav.conf
#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
LocalSocket /var/run/clamd.ctl
ScanArchive
StreamSaveToDisk
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000
ArchiveMaxFileSize 10M
ThreadTimeout 180
MaxThreads 5
MaxConnectionQueueLength 15
PidFile /var/run/clamd.pid
DataDirectory /var/lib/clamav/
SelfCheck 3600




--- SCAN SUMMARY ---
Known viruses: 20675
Scanned directories: 0
Scanned files: 1
Infected files: 1
Data scanned: 0.00 MB
I/O buffer size: 131072 bytes
Time: 1.948 sec (0 m 1 s)
kin:/tmp# clamscan /tmp/att-402b9ae4-CQL-komunkaunas.zip --debug
LibClamAV debug: Loading databases from /var/lib/clamav/
LibClamAV debug: Loading /var/lib/clamav//main.cvd
LibClamAV debug: /var/lib/clamav//main.cvd: CVD file detected
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = 46b4b24055925f69a6d5d7802dbd1479
LibClamAV debug: Decoded signature: 46b4b24055925f69a6d5d7802dbd1479
LibClamAV debug: Digital signature is correct.
LibClamAV debug: in cli_untgz()
LibClamAV debug: Unpacking /tmp/304e0bcf6b4686d1/COPYING
LibClamAV debug: Unpacking /tmp/304e0bcf6b4686d1/viruses.db
LibClamAV debug: Loading databases from /tmp/304e0bcf6b4686d1
LibClamAV debug: Loading /tmp/304e0bcf6b4686d1/viruses.db
LibClamAV debug: Initializing trie.
LibClamAV debug: Loading /var/lib/clamav//daily.cvd
LibClamAV debug: /var/lib/clamav//daily.cvd: CVD file detected
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = 005bfd46ade752d83cf3179a2c711d8b
LibClamAV debug: Decoded signature: 005bfd46ade752d83cf3179a2c711d8b
LibClamAV debug: Digital signature is correct.
LibClamAV debug: in cli_untgz()
LibClamAV debug: Unpacking /tmp/cc692b531988a527/COPYING
LibClamAV debug: Unpacking /tmp/cc692b531988a527/viruses.db2
LibClamAV debug: Loading databases from /tmp/cc692b531988a527
LibClamAV debug: Loading /tmp/cc692b531988a527/viruses.db2
LibClamAV debug: Starting scanzip()
LibClamAV debug: Zip - My Documents/komunkaunas.rtf, compressed: 56686,
normal: 3458004.
/tmp/att-402b9ae4-CQL-komunkaunas.zip: Oversized Zip FOUND

--- SCAN SUMMARY ---
Known viruses: 20675
Scanned directories: 0
Scanned files: 1
Infected files: 1
Data scanned: 0.00 MB
I/O buffer size: 131072 bytes
Time: 1.749 sec (0 m 1 s)



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] zip file problem

2004-02-12 Thread Jason Englander
On Thu, 12 Feb 2004, Balzi Andrea wrote:

 tommorow I've upgrade my clamav from 0.65 to 0.66, after the killall -HUP
 clamd I've chack the log of mine exim.

Maybe I'm missing something, but killall -HUP clamd won't stop 0.65 and
start 0.66  You need to kill it completely so it's not running any more,
then start it.

  Jason

-- 
Jason Englander [EMAIL PROTECTED]
394F 7E02 C105 7268 777A  3F5A 0AC0 C618 0675 80CA



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] Proper milter settings?

2004-02-12 Thread james nelson


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nigel Horne
Sent: Thursday, February 12, 2004 8:59 AM
To: [EMAIL PROTECTED]
Subject: Re: [Clamav-users] Proper milter settings?

On Thursday 12 Feb 2004 2:38 pm, james nelson wrote:

 So I could connect to the milter via TCP, then from the milter connect 
 to clamd via sockets?  Can you explain a little more so I can do some 
 testing to see if that would work for me?

Yes, if by 'via sockets' you meant 'via sockets in the UNIX domain'.

The connection from sendmail to clamav-milter is configured in sendmail.mc.
The connection from clamav-milter to clamd is configured in clamav.conf.

 james

-Nigel


I know.  I meant could you give me more info on the process of qaching the
email rather than processing it while the smtp connection remains open.

james



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


R: R: [Clamav-users] zip file problem [solved]

2004-02-12 Thread Balzi Andrea
Title: R: R: [Clamav-users] zip file problem [solved]





Thanks!


I've follow the documentation of 0.65, I've try with make all and now work.
Please insert in to documentation.


Andrea



Il primo agosto u.s ha preso ufficialmente avvio Arthis S.p.A. (Accenture e Rinascente Together In Services) a seguito del trasferimento da parte di Rinascente S.p.A. del già operante Centro Servizi interno. Arthis S.p.A. si sostituisce al precedentemente operante Centro Servizi nell'erogazione di tutte quelle attività prima a quest'ultimo afferenti. 





[Clamav-users] New freshclam config file DatabaseMIrror...

2004-02-12 Thread Carl Holtje
All-

With the new config file format for freshclam, are multiple 
DatabaseMirror keys allowed...

(Why would you want this? To enforce a preference of some servers over 
others...)

Thanks!

Carl
--
There are 10 types of people in the world: Those who understand binary
and those that don't.
$whoami: Carl Holtje
$mail holtje: [EMAIL PROTECTED]
$cu: http://www.cs.rit.edu/~cwh0803
$whois holtje:
  System Administrator Group
  Computer Science Department
  Rochester Institute of Technology
$

---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Oversized Zip FOUND ???

2004-02-12 Thread Tomasz Kojm
On Thu, 12 Feb 2004 17:55:15 +0200
Valdas Þiûraitis [EMAIL PROTECTED] wrote:

 Hi,
 I try to scan file (see --debug output below), and i have oversized
 ZIP Found eror.
 Can anyone comment this?
 Where is my mistake?

You should use the latest stable version - 0.66.

Best regards,
Tomasz Kojm
-- 
  oo.   [EMAIL PROTECTED] www.ClamAV.net
 (\/)\. http://www.clamav.net/gpg/tkojm.gpg
\..._   0DCA5A08407D5288279DB43454822DC8985A444B
  //\   /\  Thu Feb 12 17:56:13 CET 2004


pgp0.pgp
Description: PGP signature


RE: [Clamav-users] libunrar.so support?

2004-02-12 Thread Randal, Phil
http://www.win-rar.com/index.php?lang=aid=knowlkb_category_id=kb_article_
id=67kb=

And the license.txt reads:

 ***   **   unRAR - free utility for RAR archives
 **   **  **   **  **   **  ~
 **   ***  **License for use and distribution of
 **   **  **   **  **   **   ~~~
 **   **  **   **  **   ** FREE portable version
   ~

  The source code of unRAR utility is freeware. This means:

   1. All copyrights to RAR and the utility unRAR are exclusively
  owned by the author - Eugene Roshal.

   2. The unRAR sources may be used in any software to handle RAR
  archives without limitations free of charge, but cannot be used
  to re-create the RAR compression algorithm, which is proprietary.
  Distribution of modified unRAR sources in separate form or as a
  part of other software is permitted, provided that it is clearly
  stated in the documentation and source comments that the code may
  not be used to develop a RAR (WinRAR) compatible archiver.

   3. The unRAR utility may be freely distributed. No person or company 
  may charge a fee for the distribution of unRAR without written
  permission from the copyright holder.

   4. THE RAR ARCHIVER AND THE UNRAR UTILITY ARE DISTRIBUTED AS IS.
  NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED.  YOU USE AT 
  YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS, 
  DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING
  OR MISUSING THIS SOFTWARE.

   5. Installing and using the unRAR utility signifies acceptance of
  these terms and conditions of the license.

   6. If you don't agree with terms of the license you must remove
  unRAR files from your storage devices and cease to use the
  utility.

  Thank you for your interest in RAR and unRAR.


Eugene Roshal

-
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK 

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Tomasz
 Kojm
 Sent: 12 February 2004 15:01
 To: [EMAIL PROTECTED]
 Subject: Re: [Clamav-users] libunrar.so support?
 
 
 On Tue, 10 Feb 2004 10:56:37 -0500
 Joshua Megerman [EMAIL PROTECTED] wrote:
 
  It appears that someone has adapted the UnRAR 3.0 code to be a
  linux/unix shared library similar to the uRarLib currently used to
 
 What is the license of that code ? I downloaded it and it compiles and
 works OK, but it's Released under rarlab licence (see
 http://www.rarlab.com and I can't find any license information for
 the code there.
 
 Best regards,
 Tomasz Kojm
 -- 
   oo. [EMAIL PROTECTED] www.ClamAV.net
  (\/)\.   http://www.clamav.net/gpg/tkojm.gpg
 \..._ 0DCA5A08407D5288279DB43454822DC8985A444B
   //\   /\Thu Feb 12 15:58:57 CET 2004
 


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] Building RPMS from tarball

2004-02-12 Thread Michael St. Laurent
Tarjei Knapstad mailto:[EMAIL PROTECTED] wrote:
 There's also one in the Binary packages page, if you follow the link
 to Fedora packages. It has binaries, an SRPM and the .spec file for
 0.66:
 
 http://crash.fce.vutbr.cz/crash-hat/1/clamav/
 
 (I've installed these binary packages on our RH 8.0 server without
 probs.)

Were there any dependency issues to be solved?  The .spec file looks like it
requires the fedora user and group management packages to be installed.

-- 
Michael St. Laurent
Hartwell Corporation


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] Proper milter settings?

2004-02-12 Thread Nigel Horne
 I know.  I meant could you give me more info on the process of qaching the
 email rather than processing it while the smtp connection remains open.

man clamav-milter, look at the section on --quarantine-dir

 james

-Nigel 


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] Building RPMS from tarball

2004-02-12 Thread Jim Maul


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Michael
 St. Laurent
 Sent: Thursday, February 12, 2004 12:25 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: [Clamav-users] Building RPMS from tarball


 Tarjei Knapstad mailto:[EMAIL PROTECTED] wrote:
  There's also one in the Binary packages page, if you follow the link
  to Fedora packages. It has binaries, an SRPM and the .spec file for
  0.66:
 
  http://crash.fce.vutbr.cz/crash-hat/1/clamav/
 
  (I've installed these binary packages on our RH 8.0 server without
  probs.)

 Were there any dependency issues to be solved?  The .spec file
 looks like it
 requires the fedora user and group management packages to be installed.



Dont know about building from the srpms, but using the rpms worked just fine
to upgrade my 0.65 to 0.66.

Jim



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] $http_proxy/$no_proxy support removed in 0.66?

2004-02-12 Thread Enrico Scholz
Hello,

what are the reasons that the support for the $http_proxy and
$no_proxy environment variables is removed in recent freshclam? I
know about the freshclam.conf and CLI options, but it is bad when
every program has its own method to specify system-wide settings.

The $*_proxy environment variables are a widely used method and
it would be nice when it would be supported by freshclam again.

Although probably not relevant for most people, readding the
$no_proxy support would be nice too.



Enrico


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] libunrar.so support?

2004-02-12 Thread Kevin Spicer
On Thu, 2004-02-12 at 17:02, Randal, Phil wrote:

 And the license.txt reads:

snip!
IANAL but I believe points 2, 3, and maybe 6 would make this license GPL
incompatible. 

2. The unRAR sources may be used in any software to handle RAR
   archives without limitations free of charge, but cannot be used
   to re-create the RAR compression algorithm, which is proprietary.
   Distribution of modified unRAR sources in separate form or as a
   part of other software is permitted, provided that it is clearly
   stated in the documentation and source comments that the code may
   not be used to develop a RAR (WinRAR) compatible archiver.
 
3. The unRAR utility may be freely distributed. No person or company 
   may charge a fee for the distribution of unRAR without written
   permission from the copyright holder.
 

6. If you don't agree with terms of the license you must remove
   unRAR files from your storage devices and cease to use the
   utility.
 





BMRB International 
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_
This message (and any attachment) is intended only for the 
recipient and may contain confidential and/or privileged 
material.  If you have received this in error, please contact the 
sender and delete this message immediately.  Disclosure, copying 
or other action taken in respect of this email or in 
reliance on it is prohibited.  BMRB International Limited 
accepts no liability in relation to any personal emails, or 
content of any email which does not directly relate to our 
business.




---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] new virus definition library

2004-02-12 Thread Nigel Kukard
How can i add my own virus definition to the clamav library?

I've tried to fiddle with CVD def files to no avail, it always wants a
signing server.

Could someone please let me know in a step by step manner how to create
my own little virus def file so I can block viruses and send the sigs to
you guys.


-Nigel Kukard



pgp0.pgp
Description: PGP signature


Re: [Clamav-users] new virus definition library

2004-02-12 Thread Tomasz Papszun
On Thu, 12 Feb 2004 at 20:13:02 +0200, Nigel Kukard wrote:
 How can i add my own virus definition to the clamav library?
 
 I've tried to fiddle with CVD def files to no avail, it always wants a
 signing server.

Don't fight with creating CVD. Signing server is only for developers,
that's why it's called signing.

 Could someone please let me know in a step by step manner how to create

Just create ordinary old format .db file and put it into database
directory. It was discussed yesterday on the list!
And read signatures.pdf.

 my own little virus def file so I can block viruses and send the sigs to
 you guys.

You are welcome. But please submit also original samples.

-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 [EMAIL PROTECTED]   http://www.lodz.tpsa.pl/   | ones and zeros.
 [EMAIL PROTECTED]   http://www.ClamAV.net/   A GPL virus scanner


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] Unknown option ClamukoScanOnLine

2004-02-12 Thread Claudio Alonso
Hi, I recently upgraded to 0.66 but when I start clamd I get the following message:

Starting Clam AV daemon:ERROR: Parse error at line 178: Unknown option 
ClamukoScanOnLine.
Error: Can't open/parse the config file /etc/clamav.conf

Naturally, if I disable the ClamukoScanOnLine line in /etc/clamav.conf the message 
disappears and
the service starts (but without real-time protection).
What is wrong?

--Claudio


Los mejores usados y las más tentadoras 
ofertas de 0km están en Yahoo! Autos.
Comprá o vendé tu auto en
http://autos.yahoo.com.ar


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] Error during make install of 0.66

2004-02-12 Thread Peter Bonivart
I upgraded to 0.66 yesterday and during make install I noticed a problem 
regarding the id command, it complained about not supporting the -u 
option. I have had no problems though, so I'm not really sure what it 
was used for. Clamscan and freshclam, which is what I use, works just fine.

But could you on Solaris use /usr/xpg4/bin/id instead? That one supports -u.

--
/Peter Bonivart
--Unix lovers do it in the Sun

Sun Fire V210, Solaris 9, Sendmail 8.12.10, MailScanner 4.25-14,
SpamAssassin 2.63 + DCC 1.2.30, ClamAV 0.66 + GMP 4.1.2
---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] 0.66

2004-02-12 Thread Nigel Horne
On Wednesday 11 Feb 2004 9:32 pm, Kiryl Hakhovich wrote:
 Hello all,

 i have installed version 0.66, works great however clamav-milter from
 this release giving problems.

 it keeps complaining about /var/run/clamav.sock Don't have permissions
 and crashes.

I doesn't crash, it gives that message and quits.

Do you start the program as root?
Have you set FixStaleSocket in clamav.con?

 Kiryl

-Nigel

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] clamd startup script

2004-02-12 Thread isot_clamav
I just download and install daemontools. Anybody know how can I start
supervise?

lrwxr-xr-x  1 root  wheel33 Feb 12 13:05 clamd -
/usr/local/clamav/supervise/clamd
drwxr-xr-x  2 root  wheel   512 Feb 12 13:14 log
-rwxr-xr-x  1 root  wheel  2288 Feb 12 13:16 run

I want to install MIMEDefang with Clamav. Clamav works, but when I run

./configure --with-user=defang

MIMEDefang can't find clamd.

Thanks



Email sent using webmail gateway by ISOT
.http://www.isot.com
Register your_domain_name.com...
..http://www.pcshare.org


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Trouble with ClamAV-0.66

2004-02-12 Thread Bill Maidment
OK removed everything in /usr/local/lib and reinstalled. Still 
segfaults. Here is /usr/local/lib contents.

drwxr-xr-x2 root root 4096 Feb 13 08:19 .
drwxr-xr-x   13 root root 4096 Aug 12  2003 ..
-rw-r--r--1 root root   667906 Feb 13 08:19 libclamav.a
-rwxr-xr-x1 root root  740 Feb 13 08:19 libclamav.la
lrwxrwxrwx1 root root   18 Feb 13 08:19 libclamav.so - 
libclamav.so.1.0.3
lrwxrwxrwx1 root root   18 Feb 13 08:19 libclamav.so.1 
- libclamav.so.1.0.3
-rwxr-xr-x1 root root   356830 Feb 13 08:19 libclamav.so.1.0.3

It's actually crashing on this instruction at the bottom of str.c
   buffer = malloc(j-i+1);
where j=250 and i=79
The strange thing is that this is the second time it has gone through 
this routine with exactly the same input!
Oh well, I'm learning something about C in the process. I'm getting 
another programmer to check it out.

Also this machine had RedHat 9 installed as an upgrade from a partial 
RedHat 8, so something may be missing!

Cheers
Bill
Tomasz Kojm wrote:



It _shouldn't_ crash. I think for some reason it may be using an old
libclamav version - please remove all *clamav* files from /usr/local/lib
and reinstall 0.66.
Best regards,
Tomasz Kojm
 



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] clamd 0.66 reports: Unknown option ClamukoScanOnLine

2004-02-12 Thread Steve King
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello

Just installed 0.66. When I try to start clamd, I get this message:

ERROR: Parse error at line 168: Unknown option ClamukoScanOnLine.
ERROR: Can't open/parse the config file /usr/local/etc/clamav.conf
startproc:  exit status of parent of /usr/local/sbin/clamd: 1

I have tried deleting everything *clam* before reinstalling 0.66, but I get 
the same message.

Commenting out the ClamukoScanOnLine line allows clamd to start.

So my PC is running a little faster, but I do like to have clamuko running to 
prevent my children from running anything they shouldn't...

Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAK+/f94mqX5AIfgARAn+KAJ4u7VpkQ7McNpjLpgASjcnzLBsDPQCfQ94c
MS+jHI+paaqcWHA+N7mf/N0=
=eGK/
-END PGP SIGNATURE-



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56alloc_id438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] Problems with Clamav-milter

2004-02-12 Thread Carlos Chavez
 I compiled Clamav 0.65 on a Fedora Core 1 server and by itself it works
fine.  The problem is when I try to run clamav-milter in order to scan mail. 
This is what happens:

# /usr/local/sbin/clamav-milter -blo /var/run/clmilter.sock
/usr/local/sbin/clamav-milter: StreamSavetoDisk not enabled in
/usr/local/etc/clamav.conf
# nano /usr/local/etc/clamav.conf
# /usr/local/sbin/clamav-milter -blo /var/run/clmilter.sock
ERROR: Parse error at line 52: Unknown option StreamSavetoDisk.
/usr/local/sbin/clamav-milter: Can't parse the config file
/usr/local/etc/clamav.conf

 I seem to have a catch 22 here.  If the option StremSavetoDisk is not in
the config file then I get the first error.  After I edit it and run
clamav-milter again I get the second error.  What am I doing wrong?

--
Carlos Chavez
Computer Engineer, CCNA
Corporativo Lacer S.A. de C.V.



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamd 0.66 reports: Unknown option ClamukoScanOnLine

2004-02-12 Thread Thomas Lamy
Steve King wrote:
Hello

Just installed 0.66. When I try to start clamd, I get this message:

ERROR: Parse error at line 168: Unknown option ClamukoScanOnLine.
ERROR: Can't open/parse the config file /usr/local/etc/clamav.conf
startproc:  exit status of parent of /usr/local/sbin/clamd: 1
I have tried deleting everything *clam* before reinstalling 0.66, but I get 
the same message.

Commenting out the ClamukoScanOnLine line allows clamd to start.

So my PC is running a little faster, but I do like to have clamuko running to 
prevent my children from running anything they shouldn't...

From the 0.66 announcement:
Untested code 
has been disabled also the Dazuko support is temporarily not available (if 
you really need it please use a CVS version or wait for a next stable 
release). Have a look at README for other important changes.
Sorry - RTM.

Regards,
 Thomas
---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamd startup script

2004-02-12 Thread Jason Englander
On Thu, 12 Feb 2004 [EMAIL PROTECTED] wrote:

 I want to install MIMEDefang with Clamav. Clamav works, but when I run

 ./configure --with-user=defang

 MIMEDefang can't find clamd.

If it's in some weird location that's not in your path, you can
either add that directory to your PATH before you run configure or
you can finish the installation then define $Features{Virus:CLAMD} =
/path/to/clamd; in your filter.

configure will only look for it in your $PATH, /usr/local/sbin, /usr/sbin,
and /sbin (and other virus scanner specific paths like /usr/local/uvscan).

  Jason

-- 
Jason Englander [EMAIL PROTECTED]
394F 7E02 C105 7268 777A  3F5A 0AC0 C618 0675 80CA



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] freshclam as non-privileged user?

2004-02-12 Thread Daniel J McDonald
Prior to upgrading to clamav 0.66, I have been running freshclam with
the same unprivileged user that runs clamd.  However, it has stopped
working:
[EMAIL PROTECTED] clamav]$ freshclam
ERROR: LOGGER: Can't open file /var/log/clamav/freshclam.log to write.
ERROR: Problem with internal logger.
[EMAIL PROTECTED] log]$ exit
[EMAIL PROTECTED] clamav]# freshclam
ClamAV update process started at Thu Feb 12 17:07:24 2004
Reading CVD header (main.cvd): OK
main.cvd is up to date (version: 19, sigs: 19987, f-level: 1, builder:
ddm)
Reading CVD header (daily.cvd): OK
Downloading daily.cvd [*]
daily.cvd updated (version: 127, sigs: 688, f-level: 1, builder: tkojm)
Database updated (20675 signatures) from database.clamav.net
(152.66.249.132).
Clamd successfully notified about the update.
[EMAIL PROTECTED] clamav]#

Root has no problem.  Is that limitation by design or accident?
-- 
Daniel J McDonald, CCIE 2495, CNX
Austin Energy




---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Error during make install of 0.66

2004-02-12 Thread Alex S Moore
On Thu, 12 Feb 2004 20:57:29 +0100
Peter Bonivart [EMAIL PROTECTED] wrote:

 
 But could you on Solaris use /usr/xpg4/bin/id instead? That one supports
 -u.

I am not a clamav developer, but I also ran into the same thing with
Solaris.  Solaris may be alone with the /usr/xpg4 version.  I have been
editing Makefile in directory database, but that is probably not necessary.

Alex


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


FW: [Clamav-users] Can't seem to get clamav-milter to scan mail

2004-02-12 Thread Michael St. Laurent
Michael St. Laurent mailto:[EMAIL PROTECTED] wrote:
 Yep, I have sendmail-cf installed and the sendmail.cf file *seems* to
 be correct.  I have the following in the /etc/mail/sendmail.cf file:
 
 # Input mail filters
 O InputMailFilters=clamav-milter
 
 and
 
 Xclamav-milter,
 S=local:/var/run/clamav/clamav-milter.sock,F=,T=S:4m;R:4m;E:10m
 
 That's what should be in there, yes?
 
 Any other things I should check?

OK, I found the source of the problem (though not a solution for it) and so
I'm passing the knowledge on to the list for safe keeping.  ;-)

The one piece of information that I failed to mention and that would
probably have helped with diagnosis was the fact that I am using a proxy to
receive SMTP mail before it is passed on to sendmail.  Once the proxy is
satisfied that the mail is legit it invokes sendmail and feeds the message
to it on STDIN using a command such as:
 
/usr/sbin/sendmail -L sm-mta -Am [EMAIL PROTECTED]
 
Because Sendmail is not getting the message through SMTP, the milters are
not being used.  I have confirmed that this is true from several sources.
Sendmail only runs milters against emails that are received through SMTP on
port 25.  Thus, even though everything seems to be configured correctly, it
*does* *not* *work*.

-- 
Michael St. Laurent
Hartwell Corporation


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] 0.66

2004-02-12 Thread Kiryl Hakhovich
On Wed, 2004-02-11 at 17:39, Nigel Horne wrote:
 On Wednesday 11 Feb 2004 9:32 pm, Kiryl Hakhovich wrote:
  Hello all,
 
  i have installed version 0.66, works great however clamav-milter from
  this release giving problems.
 
  it keeps complaining about /var/run/clamav.sock Don't have permissions
  and crashes.
 
 I doesn't crash, it gives that message and quits.
 
 Do you start the program as root?
 Have you set FixStaleSocket in clamav.con?
 
  Kiryl
 
 -Nigel

Thanks Nigel,

yes you are correct it is exits.
i will try this setting and will post results.

Kiryl.




---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] [clamav-milter] problem stdin, stderr

2004-02-12 Thread LOYET Jerome
Hi,

I have a little question:
Im using clamav 0.66 with milter and sendmail 8.12.9,

I lauch clamav-milter with -loN options and when a virus is intercepted,
clamav user send a mail to postmaster and sendmail give me an error on
syslog:
File descriptors missing on startup: stdout, stderr; Bad file descriptor
I've seen on the net that it's not important and I don’t care, But I'd like
it to disapeer due to have clear log,

Is anyone has an idée ?

Thanks, ++ Jerome



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56alloc_id438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] freshclam as non-privileged user?

2004-02-12 Thread Jim Maul
 Prior to upgrading to clamav 0.66, I have been running freshclam with
 the same unprivileged user that runs clamd.  However, it has stopped
 working:
 [EMAIL PROTECTED] clamav]$ freshclam
 ERROR: LOGGER: Can't open file /var/log/clamav/freshclam.log to write.
 ERROR: Problem with internal logger.


does the unprivileged user have access to write to /var/log/clamav/ ??

Jim


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Trouble with ClamAV-0.66

2004-02-12 Thread Bill Maidment
More news. freshclam has segfaulted on one of my other machines. It 
seems to depend on which source of data is selected. At least one of the 
servers is sending the data undelimited (i.e. no \0 on the end) and so 
we get the data padded to 512 bytes with what looks like spaces. We 
still can't work out why it is failing, but it is.

Cheers
Bill
Bill Maidment wrote:

OK removed everything in /usr/local/lib and reinstalled. Still 
segfaults. Here is /usr/local/lib contents.

drwxr-xr-x2 root root 4096 Feb 13 08:19 .
drwxr-xr-x   13 root root 4096 Aug 12  2003 ..
-rw-r--r--1 root root   667906 Feb 13 08:19 libclamav.a
-rwxr-xr-x1 root root  740 Feb 13 08:19 libclamav.la
lrwxrwxrwx1 root root   18 Feb 13 08:19 libclamav.so 
- libclamav.so.1.0.3
lrwxrwxrwx1 root root   18 Feb 13 08:19 libclamav.so.1 
- libclamav.so.1.0.3
-rwxr-xr-x1 root root   356830 Feb 13 08:19 
libclamav.so.1.0.3

It's actually crashing on this instruction at the bottom of str.c
   buffer = malloc(j-i+1);
where j=250 and i=79
The strange thing is that this is the second time it has gone through 
this routine with exactly the same input!
Oh well, I'm learning something about C in the process. I'm getting 
another programmer to check it out.

Also this machine had RedHat 9 installed as an upgrade from a partial 
RedHat 8, so something may be missing!

Cheers
Bill



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


O_BINARY breaks nono-linux build (WAS Re: [Clamav-users] making clamav under solaris {Scanned})

2004-02-12 Thread Fajar A. Nugraha
Nikolaj Wicker wrote:

trying to compile the latest cvs-code under solaris 9 SPARC with these 
options:

throws this error in libclamav (mbox.c)

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -g -O2 -c mbox.c -MT 
mbox.lo -MD -MP -MF .deps/mbox.TPlo  -fPIC -DPIC -o .libs/mbox.lo
mbox.c: In function `saveFile':
mbox.c:1653: error: `O_BINARY' undeclared (first use in this function)
mbox.c:1653: error: (Each undeclared identifier is reported only once
mbox.c:1653: error: for each function it appears in.)


Hi,

Just want to add something.
From ChangeLog, it seems that Nigel adds O_BINARY to fix cygwin problem 
on Feb-11, but in turn it breaks non-linux build (namely AIX, Solaris, 
and DEC OSF). Same error as above.

Wed Feb 11 08:19:54 GMT 2004 (njh)
--
 * libclamav: Use O_BINARY when saving attachments which is required for
   Cygwin. Thanks to Andrey Cherezov [EMAIL PROTECTED]
My last successful build was ClamAV version devel-20040211

Regards,

Fajar A. Nugraha

---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Trouble with ClamAV-0.66

2004-02-12 Thread Bill Maidment
Found the problem. We are using HTTPProxy parameters and the user was 
being corrupted.

In freshclam/manager.c line 362
changed
   char* buf = mmalloc(strlen(user)*2+4);
to
   char* buf = mmalloc(strlen(user)*2+5);
to allow for the \0 to be added.
Cheers
Bill


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] 0.66

2004-02-12 Thread Kiryl Hakhovich
Hey Nigel,

ok changing the settings in clamav.conf did not solve the problem.
and i do trying to run it as root.

Here is some more info:

the previous development version with current settings - was worknig
just fine (and creating socket in /var/run) also the stable version
before 0.66 was working great too!

this is where i'm getting stuck ;-)

may be it's a bug?

if i change the socket of milter to /tmp/ it is working good.
but i need it to be in /var/run/


thanks a lot guys!



On Wed, 2004-02-11 at 17:39, Nigel Horne wrote:
 On Wednesday 11 Feb 2004 9:32 pm, Kiryl Hakhovich wrote:
  Hello all,
 
  i have installed version 0.66, works great however clamav-milter from
  this release giving problems.
 
  it keeps complaining about /var/run/clamav.sock Don't have permissions
  and crashes.
 
 I doesn't crash, it gives that message and quits.
 
 Do you start the program as root?
 Have you set FixStaleSocket in clamav.con?
 
  Kiryl
 
 -Nigel
-- 
Administrator,

Kiryl Hakhovich
718-777-6457



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: FW: [Clamav-users] Can't seem to get clamav-milter to scan mail

2004-02-12 Thread Nigel Horne
On Thursday 12 Feb 2004 11:40 pm, Michael St. Laurent wrote:

 /usr/sbin/sendmail -L sm-mta -Am [EMAIL PROTECTED]

Can the proxy send the mail through clamdscan first to do the scanning for you?

-Nigel

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] [clamav-milter] problem stdin, stderr

2004-02-12 Thread Nigel Horne
On Friday 13 Feb 2004 12:14 am, LOYET Jerome wrote:
 Hi,

 I have a little question:
 Im using clamav 0.66 with milter and sendmail 8.12.9,

 File descriptors missing on startup: stdout, stderr; Bad file descriptor
 I've seen on the net that it's not important and I don’t care, But I'd like
 it to disapeer due to have clear log,

If Foreground is not set in clamav.conf, clamav-milter closes these filedescriptors and
re-opens /dev/null as stdin and /dev/console as stdout and stderr. Do these special 
files
exist (you don't mention your operating system) and if so are they writeable?

 Thanks, ++ Jerome

-Nigel

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56alloc_id438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] 0.66

2004-02-12 Thread Nigel Horne
On Friday 13 Feb 2004 4:32 am, Kiryl Hakhovich wrote:

 if i change the socket of milter to /tmp/ it is working good.
 but i need it to be in /var/run/

There in lies the issue. It must be something to do with permissions.
Do ls -ld /var/run and post here, that may give a clue why the socket can't be 
created.

-Nigel


-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] make errors for clamav-milter

2004-02-12 Thread Doc Schneider
I'm getting the following errors when trying to build clamav-milter.

This happens on 2 of my servers. Both running Linux 2.4.18 GCC version 
os 2.95.4 I believe.

The rest of clamav builds ok.

source='clamav-milter.c' object='clamav-milter.o' libtool=no \
depfile='.deps/clamav-milter.Po' tmpdepfile='.deps/clamav-milter.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -DSENDMAIL_BIN=\/usr/sbin/sendmail\ -I. -I. -I.. 
-I../clamd -I../libclamav -I../clamscan-g -O2 -c `test -f 
'clamav-milter.c' || echo './'`clamav-milter.c
clamav-milter.c:548: parse error before `tcpSocket'
clamav-milter.c:548: warning: data definition has no type or storage 
class make:
*** [clamav-milter.o] Error 1

--

-Doc

---
MomNDoc Online Consultants
http://www.maddoc.net/
[EMAIL PROTECTED]
---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] make errors for clamav-milter

2004-02-12 Thread Stevens, John
clamav-milter.c:548: parse error before `tcpSocket'
clamav-milter.c:548: warning: data definition has no type or storage
class make:
*** [clamav-milter.o] Error 1


I have had this one before.  Make sure that you have a copy of or a symbolic link to 
the sendmail libmilter headers.  I did an ln -s /sendmailsrcdir/include/libmilter 
/usr/include/libmilter and that solved the problem for me.
Hope this helps.  BTW, clamav is working well for me.  Thanks to the devs and those 
helpful people on the list.


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56alloc_id438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] make errors for clamav-milter

2004-02-12 Thread Doc Schneider


Stevens, John wrote:
clamav-milter.c:548: parse error before `tcpSocket'
clamav-milter.c:548: warning: data definition has no type or storage
class make:
*** [clamav-milter.o] Error 1


I have had this one before.  Make sure that you have a copy of or a symbolic link 
to the sendmail libmilter headers.  I did an ln -s /sendmailsrcdir/include/libmilter 
/usr/include/libmilter and that solved the problem for me.
Hope this helps.  BTW, clamav is working well for me.  Thanks to the devs and those 
helpful people on the list.
I have all the header files in /usr/include/libmilter so in theory it 
should compile. Funny thing is it does compile fine on one of my other 
servers. Sendmail build fine on them all. configure with --enable-milter 
finds all the headers and I even copied the libmilter.a to /usr/lib very 
strange.

And I have to totally agree. ClamAV is the best!

-Doc

---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] make errors for clamav-milter

2004-02-12 Thread Nigel Horne
On Friday 13 Feb 2004 5:01 am, Doc Schneider wrote:
 I'm getting the following errors when trying to build clamav-milter.

 clamav-milter.c:548: parse error before `tcpSocket'
 clamav-milter.c:548: warning: data definition has no type or storage
 class make:
 *** [clamav-milter.o] Error 1

Looks like you don't have in_port_t defined. You don't say the distro of Linux that
you're using, but ensure that it has an up to date /usr/include/netinet/in.h.

If all else fails, change the in_port_t to unsigned short in clamav-milter.c.

--Nigel

-- 
Nigel Horne. Arranger, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] [openbsd 3.4 - clam 0.66] (u) random

2004-02-12 Thread LOYET Jerome
Hi,

After analyzing the problem with gdb, I found that the problems comes from
unsigned int cl_rndnum(unsigned int max) function and #ifndef C_URANDOM
decides if the cl_rndnum is made with rand() function or with /dev/urandom
device. 
With /dev/urandom -- long time for scanning eicar
With rand() -- no problems

??? any idees ?



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users