Re: [Clamav-users] Automating freshclam

2010-04-08 Thread Freddie Cash
On Thu, Apr 8, 2010 at 10:40 PM, Alex wrote: > I'm a bit confused on the "Checks" variable in freshclam.conf. In > various places on the website and elsewhere, it seems to indicate that > freshclam should be run manually (periodically in cron) to update the > virus databases. However, the "Checks

[Clamav-users] Automating freshclam

2010-04-08 Thread Alex
Hi, I'm a bit confused on the "Checks" variable in freshclam.conf. In various places on the website and elsewhere, it seems to indicate that freshclam should be run manually (periodically in cron) to update the virus databases. However, the "Checks" variable implies that it is perhaps being automa

Re: [Clamav-users] 0.96 compile warnings on FreeBSD 7.1

2010-04-08 Thread jef moskot
On Thu, 8 Apr 2010, Jerry wrote: Is there any specific reason that you are not using the version supplied in the ports system? If you're somewhat careless with updating, it can be very inconvenient to roll back to a previous version of the port if there's a problem. Also, many years ago, the

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Royce Williams
2010/4/8 Török Edwin : > On 2010-04-08 23:21, Royce Williams wrote: >> >> 2010/4/8 Török Edwin: I do have strace. I am having trouble recreating the problem.  I first uploaded the file to the server, but it scanned clean.  I then configured MIMEDefang to leave its files behind a

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Török Edwin
On 2010-04-08 23:21, Royce Williams wrote: 2010/4/8 Török Edwin: I do have strace. I am having trouble recreating the problem. I first uploaded the file to the server, but it scanned clean. I then configured MIMEDefang to leave its files behind after processing, sent myself a PDF that triggere

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Royce Williams
2010/4/8 Török Edwin : >> I do have strace. I am having trouble recreating the problem.  I first >> uploaded the file to the server, but it scanned clean.  I then >> configured MIMEDefang to leave its files behind after processing, sent >> myself a PDF that triggered the error, and then manually sc

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Chuck Swiger
Hi-- On Apr 8, 2010, at 12:26 PM, Royce Williams wrote: > Heh - sorry for the extraneous 'T' at the end of your name. No worries, I've been called worse. :-) >> If you're running FreeBSD 7.x, you should already have gcc-4.2.1 or >> thereabouts with the base OS. Anyway, even the gcc-3.4.6 vers

Re: [Clamav-users] Compiler Version Configure Error

2010-04-08 Thread Török Edwin
On 04/08/2010 10:32 PM, Clayton Keller wrote: > On 4/7/2010 3:55 PM, Török Edwin wrote: >> On 04/07/2010 11:26 PM, Clayton Keller wrote: >>> What could possibly occur if I installed with the current zlib version >>> as-is? >> >> Some bytecodes will fail to extract compressed data, such as javascrip

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Royce Williams
On Thu, Apr 8, 2010 at 11:15 AM, Chuck Swiger wrote: > Hi-- > > On Apr 8, 2010, at 12:02 PM, Royce Williams wrote: >>> On 04/08/2010 08:04 PM, Royce Williams wrote: First time poster, in a bind.  We're running ClamAV 0.95.3 on FreeBSD 7.3. >>> >>> Does this still occur with 0.96? >> >> N

Re: [Clamav-users] Compiler Version Configure Error

2010-04-08 Thread Clayton Keller
On 4/7/2010 3:55 PM, Török Edwin wrote: On 04/07/2010 11:26 PM, Clayton Keller wrote: What could possibly occur if I installed with the current zlib version as-is? Some bytecodes will fail to extract compressed data, such as javascripts in PDFs. Best regards, --Edwin Well, I've upgraded to

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Chuck Swiger
Hi-- On Apr 8, 2010, at 12:02 PM, Royce Williams wrote: >> On 04/08/2010 08:04 PM, Royce Williams wrote: >>> First time poster, in a bind. We're running ClamAV 0.95.3 on FreeBSD >>> 7.3. >> >> Does this still occur with 0.96? > > Not yet known. I'm unable to test it because I can't upgrade to

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Török Edwin
On 04/08/2010 10:02 PM, Royce Williams wrote: > 2010/4/8 Török Edwin : >> On 04/08/2010 08:04 PM, Royce Williams wrote: >>> First time poster, in a bind. We're running ClamAV 0.95.3 on FreeBSD >>> 7.3. >> Does this still occur with 0.96? > > Not yet known. I'm unable to test it because I can't u

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Royce Williams
2010/4/8 Török Edwin : > On 04/08/2010 08:04 PM, Royce Williams wrote: >> First time poster, in a bind.  We're running ClamAV 0.95.3 on FreeBSD >> 7.3. > > Does this still occur with 0.96? Not yet known. I'm unable to test it because I can't upgrade to 0.96. I think that this is because of the L

Re: [Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Török Edwin
On 04/08/2010 08:04 PM, Royce Williams wrote: > First time poster, in a bind. We're running ClamAV 0.95.3 on FreeBSD > 7.3. Does this still occur with 0.96? > We're getting this error in our sendmail logs: > > /var/spool/MIMEDefang/mdefang-o38GNjZv088151/Work/msg-81178-1234.pdf: > Can't map fi

[Clamav-users] Can't map file into memory - mostly PDFs

2010-04-08 Thread Royce Williams
First time poster, in a bind. We're running ClamAV 0.95.3 on FreeBSD 7.3. We're getting this error in our sendmail logs: /var/spool/MIMEDefang/mdefang-o38GNjZv088151/Work/msg-81178-1234.pdf: Can't map file into memory ERROR A random sampling of the messages indicates that they are not of unusu

Re: [Clamav-users] DNS Warning also showing up now on 0.95.3

2010-04-08 Thread George R . Kasica
>On Thu, 8 Apr 2010 08:49:48 +0200, you wrote: > >Hello, > >> > This is not an acceptable solution here for us...we have over 50 >> > machines and several scripts on each that will need updating...what >> > exactly is broken here...I'm seeing this error in the 0.95.3 version >> > as well so it ha

Re: [Clamav-users] 0.96 compile warnings on FreeBSD 7.1

2010-04-08 Thread Jerry
On Thu, 8 Apr 2010 05:02:20 -0400 (EDT), jef moskot articulated: > On Thu, 8 Apr 2010, Török Edwin wrote: > > Which compiler version are you using? > > If we can trust this query and response... > > # which gcc > /usr/bin/gcc > # gcc --version > gcc (GCC) 4.2.1 20070719 [FreeBSD] Is there any

Re: [Clamav-users] clamav 0.96 -> huge /usr/lib/libclamav.so.6.1.2 (T?r?k Edwin)

2010-04-08 Thread Andre Hübner
Hello, Remove -g from CXXFLAGS, or run strip on the resulting libclamav.so. i removed the -g and size of resulting /usr/lib/libclamav.so.6.1.2 is ~13MB Perhaps I should add something to the upgrade notes about this. hmm, yes the whole part "-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-len

Re: [Clamav-users] 0.96 compile warnings on FreeBSD 7.1

2010-04-08 Thread jef moskot
On Thu, 8 Apr 2010, Török Edwin wrote: Which compiler version are you using? If we can trust this query and response... # which gcc /usr/bin/gcc # gcc --version gcc (GCC) 4.2.1 20070719 [FreeBSD] Jeffrey Moskot System Administrator j...@math.miami.edu_

Re: [Clamav-users] clamav 0.96 -> huge /usr/lib/libclamav.so.6.1.2

2010-04-08 Thread Török Edwin
On 04/08/2010 10:44 AM, Andre Hübner wrote: > Hello, > > try to package the new clamav 0.96. compiling works but my > /usr/lib/libclamav.so.6.1.2 gets really huge, size is 73MB A default build of libclamav.so is 14 MB here, 9 MB if stripped. > /usr/lib/libclamav.so.6.0.5 of version 0.95.3 just w

Re: [Clamav-users] 0.96 compile warnings on FreeBSD 7.1

2010-04-08 Thread Török Edwin
On 04/08/2010 02:28 AM, jef moskot wrote: > This is on a FreeBSD 7.1/amd64 machine. > > I'll spare you the whole output of make, but there's a lot of this: > > ... > CXXBasicBlock.lo > CXXConstantFold.lo > CXXConstants.lo > llvm/lib/VMCore/Constants.cpp: In static member functio

[Clamav-users] clamav 0.96 -> huge /usr/lib/libclamav.so.6.1.2

2010-04-08 Thread Andre Hübner
Hello, try to package the new clamav 0.96. compiling works but my /usr/lib/libclamav.so.6.1.2 gets really huge, size is 73MB /usr/lib/libclamav.so.6.0.5 of version 0.95.3 just was 2MB This is my configure-line: ./configure --sysconfdir=/etc --prefix=/usr --libdir=%_libdir --with-user=nobody -