Re: [Clamav-users] Clamav-milter and freshsclam not playing nice

2005-06-14 Thread Alex S Moore
On Tue, 14 Jun 2005 10:31:58 -0400
Elizabeth Schwartz <[EMAIL PROTECTED]> wrote:

> Last Tuesday I updated from Clamav 0.83 to Clamav 0.85.1 (Blastwave
> package). My server runs Solaris 9 and sendmail 8.13.3 (also
> blastwave).  Clamav-milter runs with these flags:
> # cat /opt/csw/etc/clamav-milter
>  -q -lo /opt/csw/run/clmilter.sock 
> --sendmail-cf=/opt/csw/etc/mail/sendmail.cf
> (standalone milter, no clamd)
> I'm invoking freshclam from cron with no parameters. 

If you search through the archive, you will see problems relating to
running clamav-milter without clamd.  This is not just a Solaris
issue.  It looks like an upcoming clamav release should fix some of the
related problems.

I really, really recommend running clamd with clamav-milter.  I
think that I put this in /opt/csw/share/doc/clamav/README.CSW.  Please
change to use both processes. For you, that would be adding --external
to the line in /opt/csw/etc/clamav-milter and
`touch /opt/csw/etc/clamd`.  The clamd file can contain options or be
blank. Then stop clamav-milter. Start with '/etc/init.d/cswclamd start`
and then '/etc/init.d/cswclamav-milter start'.  Of course, stop in
reverse order if done manually.

Please let us know how things go.

Alex
___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Re: [Clamav-announce] announcing ClamAV 0.83

2005-02-14 Thread Alex S Moore
Bill Maidment wrote:
Alex S Moore wrote:
[EMAIL PROTECTED] wrote:
and where might one find this new ClamAV 0.83? there's no link to it 
that i can find on clamav.net, nor any mention of it at all. most 
recent news is for 0.82.

Dive into the 0.82 link to get to the page on sourceforge.  0.83 is 
there.

Alex
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Why didn't I get the announcement? I got all the replies!!!
It was on the announce mailing list.  I do not think, at that time, it 
was posted to the users mailing list.

Alex
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: [Clamav-announce] announcing ClamAV 0.83

2005-02-13 Thread Alex S Moore
[EMAIL PROTECTED] wrote:
and where might one find this new ClamAV 0.83? there's no link to it 
that i can find on clamav.net, nor any mention of it at all. most recent 
news is for 0.82.
Dive into the 0.82 link to get to the page on sourceforge.  0.83 is there.
Alex
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Any way to add a line to cleaned email?

2005-01-06 Thread Alex S Moore
On Fri, 7 Jan 2005 01:12:02 + (UTC)
"Thalador Du'Fosnee" <[EMAIL PROTECTED]> wrote:

> Ok, let me get this right. Clamav cannot clean? What good is it?

It sounds like you are implying that you want to receive mail that
contains a virus.  What good is that?  I want nothing to do with
infected mail.  Just chuck it, as it is trash.

Alex
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread Alex S Moore
On Wed, 2004-12-08 at 14:02 -0600, James wrote:
> Wow, that did the trick!  Taking out #include  and replacing it with
> the #define macro code below solved the problem.  I did this to the following
> files:
> 
> line.c
> text.c
> strrcpy.c

Just a quick response since I have to leave in a few minutes.  I built
clamav-devel from cvs on Solaris 8 x86.  The only problem, not really an
error, was libclamav/chmunpack.h.  It is still a dos file and running
dos2unix will fix that.  I will try sparc later, but expect no problems.

I have been intending to run a cvs build, so I will try to finish the
packages tomorrow and see how it runs.

Alex


___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread Alex S Moore
On Tue, 2004-12-07 at 23:03 -0600, James wrote:
> libgcc_s.so.1 is right where it should be - in /usr/local/lib.  I usually
> compile stuff with LDFLAGS="-R /usr/local/lib".  Changing to -L doesn't change
> anything.  Compile statement, you mean ./configure, make?
> 

Exactly where is the output that you posted coming from?  config.log?
Usually, and it depends on the package, you should export
LDFLAGS='-L/usr/local/lib' and LD_OPTIONS='-R/usr/local/lib'.  Note, no
space after the -x

Alex

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-08 Thread Alex S Moore
On Wed, 2004-12-08 at 07:08 -0600, Ken Jones wrote:

> It has more paths than you probably need, but should resolve the compiling
> problem ;)

I think that he said he was on Solaris 8 or 9.  If so, he could just use
Fajar's package or the www.blastwave.org clamav package and forget all
of these headaches :>

Alex

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Problem compiling clamav-0.80 - Solaris x86

2004-12-07 Thread Alex S Moore
On Tue, 2004-12-07 at 20:06 -0600, James wrote:
> Undefined   first referenced
>  symbol in file
> __eprintf   strrcpy.lo
> ld: fatal: Symbol referencing errors. No output written to
> .libs/libclamav.so.1.0.4

Cannot find libgcc_s.so.1.  Put whereever that file is located in
ldflags with the -L option.  What does the compile statement look like?

Alex

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] GMP must be in /usr and not /usr/local

2004-11-10 Thread Alex S Moore
On Wed, 2004-11-10 at 14:24 -0800, Sakshale eQuorian wrote:
> Hi;
> 
> Since I wanted to upgrade to 8.0, I decided to install
> GMP on my solaris box to get rid of the "SECURITY WARNING"
> that came with version 7.0.
> 
> Shouldn't /usr/local/include be included in the path?
> Especially given that I built clamav to run in /usr/local.

I would not put anything in /usr.  There are options that you should use
when building programs, such as CFLAGS, LDFLAGS, LD_OPTIONS, to point to
other locations, for things like -I, -L, -R respectively.

Alex

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] cl_retver: referenced symbol not found

2004-10-29 Thread Alex S Moore
On Thu, 2004-10-28 at 23:28 -0700, Alton Yu wrote:
> Anyone run into this on Solaris? Thanks!
> 
> bash-2.05# freshclam
> ClamAV update process started at Thu Oct 28 23:26:13 2004
> ld.so.1: freshclam: fatal: relocation error: file freshclam: symbol 
> cl_retver: referenced symbol not found
> Killed
> 

Did you build clamav or are you using the blastwave.org version?  If
blastwave, please update to the 2004-10-27 revision.

Alex


___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: Crontab & Freshclam

2004-10-16 Thread Alex S Moore
On Sat, 2004-10-16 at 20:57 +0800, Margo wrote:
> uh. How do I know where the database is? freshclam is in /usr/bin/freshclam
> I haven't seen a conf file yet. not sure where that would be either...
> feeling a little ignorant atm.
> 

I would not know where Suse packagers put the files.  clamav has had
freshclam.conf for a while, but if your version is old, you may not have
one.

If you have a locate database, try `locate main.cvd` and the same for
freshclam.conf.  Actually, if you find freshclam.conf, the
DatabaseDirectory entry is what you want.  Or if push comes to shove,
use find.

clamav web site is www.clamav.net

Alex


___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Crontab & Freshclam

2004-10-16 Thread Alex S Moore
On Sat, 2004-10-16 at 13:56 +0800, Margo wrote:
> ERROR: Can't open new file ./clamav-836a597f35e96568 to write
> open: Permission denied
> ERROR: Can't download daily.cvd from 218.44.253.75
> 
> What have I done wrong? I can run freshclam as root and it works fine.
> 
Change permissions on the directory and files that contain the database
to the DatabaseOwner in /freshclam.conf

Alex

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


RE: [Clamav-users] bug in clamav-milter PID file handling

2004-09-24 Thread Alex S Moore
On Fri, 2004-09-24 at 18:30, [EMAIL PROTECTED] wrote:
> Yes but I retract my opinion that this is a problem.  kill `cat clamav-milter.pid` 
> wasn't working, and I wrongly blamed this on the newline.
> It turned out after experiment that kill $PID wasn't working either.
> But killall clamav-milter worked so I'm going with that.

Why not  
kill `head -1 clamav-milter.pid`

Alex



---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Next Stable?

2004-09-12 Thread Alex S Moore
On Sun, 2004-09-12 at 14:58, Jeff Smelser wrote:
> On Sunday 12 September 2004 02:52 pm, Björn Ketelaars wrote:
> > Out of curiosity; when is a development version considered a stable one?
> > I’m asking this because the latest stable is from the 30th of July. Are
> > there plans to release a stable version any time soon?
> 
> I thought Tom just said not two hours ago early next week?

Hmm.  I read that message as 'a release candidate is expected in the
next week'.  Is that not different from stable?

Alex



---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] RE: clamav-devel matcher.c

2004-08-04 Thread Alex S Moore
Building the cvs source (Aug 3 20:20:11) on Solaris with Sun's compiler,
I get the following error.  I realize this is development code, but I do
not recall seeing this reported.  Hopefully this is not a duplicate.

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack
-I/opt/csw/include -I../clamscan -fast -xarch=v8 -c matcher.c  -KPIC
-DPIC -o .libs/matcher.lo
"matcher.c", line 180: warning: argument #1 is incompatible with
prototype:
prototype: pointer to const char : "matcher.c", line 60
argument : pointer to unsigned char
"matcher.c", line 245: void function cannot return value
cc: acomp failed for matcher.c

Thanks, Alex


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] RE: Not finding W32.Beagle virus

2004-07-20 Thread Alex S Moore
On Tue, 2004-07-20 at 14:13, Tomasz Papszun wrote:

> http://clamav.sourceforge.net/cgi-bin/sendvirus.cgi

Thanks for the response Tomasz.  I have some of these same messages as
well, but I use mimedefang which broke the message apart and quarantined
it.  I cannot seem to put this one back together.

I will see if the customer has the original message.

Thanks, Alex




---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] RE: Not finding W32.Beagle virus

2004-07-20 Thread Alex S Moore
On Solaris 9, a customer is getting mail with the W32.Beagle and clamav
is not catching the virus.  Norton is catching the virus on the desktop
and  identifies the virus name [EMAIL PROTECTED] 

Among other things, clamav.conf has StreamSaveToDisk, ScanOLE2,
ScanMail, ScanArchive enabled.

How can this be fixed so Norton can go away?

Thanks, Alex



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] UPDATE: clamav-milter and sendmail 8.13.0 problem.

2004-07-13 Thread Alex S Moore
On Tue, 13 Jul 2004 13:09:38 -0500
"James Nelson" <[EMAIL PROTECTED]> wrote:

> Jul 13 13:03:26 mail4 sm-mta[16326]: i6DI3E3a016326: Milter (clmilter):
> local socket name /var/run/clmilter.sock unsafe
> Jul 13 13:03:26 mail4 sm-mta[16326]: i6DI3E3a016326: Milter (clmilter): to
> error state

The times that I have seen this message, it was because directories are group or world 
writable.  See the sendmail Security document.  Check permissions with:
ls -ld /var and ls -ld /var/run

Alex


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Clamav 0.72 on Solaris 9: Bus Error on zip files?

2004-06-14 Thread Alex S Moore
On Fri, 11 Jun 2004 16:22:34 +0200
[EMAIL PROTECTED] (Christer "Mort" Boräng) wrote:

> I've installed clamav 0.72 on our new shiny SunFire 880 running
> Solaris 9, but for some reason it gives a Bus Error when trying to
> read zip files.
> 
> clamav is compiled using /opt/SUNWspro/bin/cc as a compiler, libz is
> the standard that Sun provides (1.1.4).

I do not know why you have this error.  What I do know is that my shiny new V210 (much 
smaller budget:>) with Solaris 9 4/04 and the recommended patches from last month 
works fine.  At least, it seems to.

I sent myself the test virus with the eicar virus for both password protected zip file 
and within a zip.  Clamav found both virus.  If you have a specific virus email that 
you can send me, I would be glad to let it run through and see what happens.

I also built clamav with Sun's compiler, Studio 8 to be exact.  However, I am using 
the libz and libbz2 libraries from blastwave.org.  I doubt that will matter, since I 
have used Sun's libraries in the past.  I build the clamav pkg for that group, so you 
are welcome to give that a try.

Alex


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Results from testvirus.org

2004-06-04 Thread Alex S Moore
On Fri, 04 Jun 2004 10:19:48 -0700
Brock Nanson <[EMAIL PROTECTED]> wrote:

> The ones that made it through were:
> 
> 12 - password protected zip
> 21 - zip file using Long MIME Boundary Vulnerability
> 23 - zip file using Empty MIME Boundary Vulnerability
> 24 - zip file using Partial (fragmented) Vulnerability
> 25 - Attachment with a CLSID extension

This is spoken of often on the mailing list, so see the list archive.

On 12 - did you enable the option to catch password protected zip?  It may be off by 
default.  The others are not really a virus.

Alex


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] OT: Question Re: possibly infected W2K Server

2004-06-01 Thread Alex S Moore
On Tue, 2004-06-01 at 09:07, Shaun T. Erickson wrote:
> Is there anything free that I can use to scan a possibly infected 
> Windows 2000 Server system. Norton's Internet Security says it's trying 
> to DoS my Windows clients, on port 1433. The server is sending 
> "MSSQL_Null_Packet_DoS" from port 445. I need to know the state of this 
> system, asap.

See the SQLServer pages on www.microsoft.com.  This sounds like an old
worm that was fixed a long time ago.  There is also a pgm on the web
site to verify if the SQLServer (or MSDE) patch is needed.

Alex



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] undefined reference to `messageAddLineAtTop'

2004-05-06 Thread Alex S Moore
On Thu, 06 May 2004 19:55:01 +0200
Andrzej Migdalski <[EMAIL PROTECTED]> wrote:

> when compiling 20040506 clamav-devel snapshot i've got:
> 
> gcc -g -O2 -o .libs/clamscan output.o getopt.o memory.o clamscan.o 
> options.o others.o manager.o treewalk.o -L/blabla/clamav-devel/libclamav 
> /blabla/clamav-devel/libclamav/.libs/libclamav.so -lz -lbz2 -lgmp -lpthread
> /blabla/clamav-devel/libclamav/.libs/libclamav.so: undefined reference 
> to `messageAddLineAtTop'
> collect2: ld returned 1 exit status
> 

I have the same problem with clamav builds when new functions are added to libraries.  
Try changing the line to move '-L/blabla/clamav-devel/libclamav' to be after ../.libs/
After that object builds, just run make again.  I usually have to do this seven times.

Another option is to uninstall the existing clamav.  If you can do this, it is the 
simpler option.

Alex


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] clamav 0.70 gmp-devel

2004-04-23 Thread Alex S Moore
On Fri, 2004-04-23 at 10:07, McWhirter,Julia wrote:

> Can you just verify gmp-devel is part of gmp?

I think that you are asking me.  I have no idea what 'gmp-devel' is.

I have a gmp (GNU Multiple Precision Arithmetic Library) package that
includes libraries and includes files.  The name that I use is libgmp,
but that is just the CSW way of identifying the library.  I use the
libgmp pkg when building clamav and libgmp is a dependency of the CSW
clamav package.

Alex




---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] clamav 0.70 gmp-devel

2004-04-23 Thread Alex S Moore
On Fri, 2004-04-23 at 07:35, McWhirter,Julia wrote:
> Running
> Solaris 8 
> SA 2.63
> Gmp 4.1.2
> 
> Trying to build clamav .70
> 
> Get the warning GNU MP 2 not found.  So I have compiled gmp and
> installed but apparently I also need gmp-devel where can I get it from
> or is it part of the gmp source?

Do you know that you can get all of these packages from
www.blastwave.org ?  We have well over 500 packages for Solaris 8 and 9.

Normally, you have to tell the compiler where to find libraries not in
/usr/lib.  This is usually an LDFLAGS option -L/xxx/lib.  You should
also do the same with the appropriate run time option for the build
tools that you are using.

Alex



---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] RE: Configure error - how to pack structures

2004-03-31 Thread Alex S Moore
On 31 Mar 2004 22:59:56 +0100
Trog <[EMAIL PROTECTED]> wrote:

> and the problem is not due to the #pragma packed test, but is due to
> configure trying to link tcpwrapper (-lwrap) in.
> 
> You could try:
> 
> ./configure --without-tcpwrappers

Yes, thanks Trog.  That worked.

Configure returned the error about 'Need to know how to pack structures with this 
compiler' and said nothing negative about a problem with tcpwrappers.  That is what 
sent me on the wrong path.  I have always known that configure could not find -lwrap.

Thanks, Alex


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] RE: Configure error - how to pack structures

2004-03-31 Thread Alex S Moore
On 31 Mar 2004 20:49:51 +0100
Trog <[EMAIL PROTECTED]> wrote:

> On Wed, 2004-03-31 at 18:25, Alex S Moore wrote:
> > 
> > It looks like it worked each time, assuming that I did this correctly. 
> > Here is the ouptut.
> 
> Ok, so it accepts the #pragma pack(1)
> 
> Could you try it with whatever compile options configure used, which
> should be in config.log
> 

Well, trog, don't I feel like the dummy.  I do not see what to try.  The tests look 
jumbled up to me and I wonder if the failure on the -lwrap test is causing the 
problem.  I think that all that is missing from my test compiles is the -I flags.

Please see attached relevant portion of config.log and advise.

Thanks, Alex


config.partial.log
Description: Binary data


Re: [Clamav-users] RE: Configure error - how to pack structures

2004-03-31 Thread Alex S Moore
On Wed, 2004-03-31 at 08:51, Trog wrote:
> Have you changed the compiler version? Which version is it? What
> architecture are you using (generic, v7, v8, v8a, v8plus, v8plusa, v9,
> v9a)
> 
We have been using this compiler for many months.  It is called Sun ONE
Studio 8.  Here is some output.
[EMAIL PROTECTED] build]$ cc -V  Could you try compiling the attachment, and running it, and noting the
> output. Then do it again with each of the following compiler flags
> added, one per re-compile:
> 
> -xmemalign=1s
> -xmemalign=8i
> -xmemalign=2i
> 

It looks like it worked each time, assuming that I did this correctly. 
Here is the ouptut.
--
[EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -c test.c
"test.c", line 5: warning: implicit function declaration: printf
[EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -o test test.o
[EMAIL PROTECTED] build]$ ./test
ok
[EMAIL PROTECTED] build]$ rm test test.o
[EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -xmemalign=1s -c test.c
"test.c", line 5: warning: implicit function declaration: printf
[EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -o test test.o
[EMAIL PROTECTED] build]$ ./test
ok
[EMAIL PROTECTED] build]$ rm test test.o
[EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -xmemalign=8i -c test.c
"test.c", line 5: warning: implicit function declaration: printf
[EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -o test test.o
[EMAIL PROTECTED] build]$ ./test
ok
[EMAIL PROTECTED] build]$ rm test test.o
[EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -xmemalign=2i -c test.c
"test.c", line 5: warning: implicit function declaration: printf
[EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -o test test.o
[EMAIL PROTECTED] build]$ ./test
ok
[EMAIL PROTECTED] build]$ [EMAIL PROTECTED] build]$ 
--

Cheers, Alex



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] RE: Configure error - how to pack structures

2004-03-31 Thread Alex S Moore
On Solaris with Sun's compilers and latest CVS source I get the
following error on configure.  I have not seen this error before and I
have been building clamav with Sun's compiler for many months from the
released source and occasionally from CVS source.

| int main(int argc, char **argv) {
| #pragma pack(1)   /* has to be in column 1 ! */
|   struct { char c; long l; } s;
|   return sizeof(s)==sizeof(s.c)+sizeof(s.l) ? 0:1;
}
configure:11667: result: no
configure:11677: error: Need to know how to pack structures with this
compiler

For sparc, there is a #pragma pack(n) directive and (n) has to be a
power of 2, so that may be cause of the error.  I am not sure about x86,
but I also need that architecture.

What info do I need to supply to get this sorted?  I have a section in
the compiler manual regarding '#pragma pack(n)', but it is over my head.

Thanks, Alex




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] RE: Nbr of signatures

2004-03-16 Thread Alex S Moore
On Tue, 2004-03-16 at 12:33, Antony Stone wrote:

> You have two copies of the database on your system - probably both old (*.db?) 
> and new (*.cvd) files in the same directory.

I thought that looked wrong.  Don't know how I managed to do that, but
it is fixed now and I have a count of 20,486.

Thanks, Alex



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] RE: Nbr of signatures

2004-03-16 Thread Alex S Moore
Has the number of virus signatures increased significantly lately?  I
thought there were around 21,000 but now I have this msg in clamd.log.

Tue Mar 16 11:45:22 2004 -> Protecting against 40969 viruses.

Thanks, Alex


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] ScanStream errors

2004-03-16 Thread Alex S Moore
On Tue, 16 Mar 2004 16:51:44 +0100 (CET)
Krzysztof Snopek <[EMAIL PROTECTED]> wrote:

>  The log above is complete, nothing has been cut. There were no mail
> except for those timeouts, and when after 3 h from database reloading
> new mail arrived, it went wrong way.

Are you using GNU compiler and make?  I found that my problems started with
clamav code changes somewhere this month.  I have been using Sun's compiler
and make tools for several months without a major problem.  A code change
this month appears to have stopped my ability to use Sun's devel tools.

I think the problem is fixed for me, but time will tell.  I switched to GNU
compiler and make.

Note that this still could be a problem with my server.

Alex


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] ScanStream errors

2004-03-16 Thread Alex S Moore
On Tue, 16 Mar 2004 09:29:57 +0100 (CET)
Krzysztof Snopek <[EMAIL PROTECTED]> wrote:

> After weeks of running clamd+clamav-milter without any problems
> (Solaris9 sparc, sendmail 8.12.10), today morning something wrong
> happened. Below are some lines from clamd.log :
> 
> Tue Mar 16 03:57:46 2004 -> ERROR: ScanStream: accept() failed.

After going back further in clamd.log, I am seeing exactly the same thing
on Solaris 9 sparc, sendmail 8.12.11 + milter.  It started yesterday
morning and I had to shut down clamav.

I ran a find for anything changed in the past 2 days, but found nothing of
significance.  Could a clam database change have caused this?  The database
was reloaded about 2 hours earlier.  My message volume is fairly low and it
could have taken 2 hours to start enough threads to reach the maximum. 
Once this problem starts, all sorts of bad things start occurring.

Thanks, Alex


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] RE: msg-Private data not null

2004-03-15 Thread Alex S Moore
On Tue, 16 Mar 2004 09:32:37 +0700
"Fajar A. Nugraha" <[EMAIL PROTECTED]> wrote:

> clamav FAQ still states *
> 
> A rogue mail locks up clamd when scanned and stops it from responding. 
> What can I do?*
> 
> Disable the ScanMail directive in clamav.conf. Our internal mail
> scanner is still in high development. You'd better rely upon the
> mime handling function of an external program (like qmail-scanner,
> exiscan, etc.) 
> 
> So my suggestion is use another unpacker (or "glue") like amavis or mail 
> scanner.

Yes, good point.  This is the first time that I have run into this.  I have
MIMEDefang on another box.  MIMEDefang should meet the requirements.

Thanks, Alex


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] RE: msg-Private data not null

2004-03-15 Thread Alex S Moore
On Mon, 15 Mar 2004 14:45:27 -0600
Alex S Moore <[EMAIL PROTECTED]> wrote:

> Been having problems lately.  Using clamav-milter on Solaris 9 with
> version 0.67-1 (whatever the latest release is).  It has been working
> brilliantly for months.  Recently, I started getting a mail.warning
> message: ClamAv: Private data not NULL.  After this starts, the thread
> count continues to grow and I start getting timeouts.

I have not seen anything like this.  Now I am getting messages like:
Mar 15 17:13:57 mcsun1 clamav-milter[22196]: [ID 801443 mail.notice] hit
max-children limit (118 >= 2): waiting for some to exit

The only times that I have had this message, it was legit and the numbers
were like (4 >= 2), not (118 >= 2) and it straightened out when the load
decreased.  My mail arrives from POP3 accounts using fetchmail every 10
minutes or so.  The volume is only 450 - 500 messages a day.

I know of no changes that I did that could have this affect.  In fact, this
server rarely changes.

Help! Alex


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] RE: msg-Private data not null

2004-03-15 Thread Alex S Moore
Been having problems lately.  Using clamav-milter on Solaris 9 with version
0.67-1 (whatever the latest release is).  It has been working brilliantly
for months.  Recently, I started getting a mail.warning message: ClamAv:
Private data not NULL.  After this starts, the thread count continues to
grow and I start getting timeouts.

I built the clamav pkg from CVS source a few minutes ago and the same thing
is still occurring.  clamd.log shows no sign of a problem.  Here is the log
from the last startup to see what options I am using:

Mon Mar 15 14:35:54 2004 -> +++ Started at Mon Mar 15 14:35:54 2004
Mon Mar 15 14:35:54 2004 -> Log file size limited to 1048576 bytes.
Mon Mar 15 14:35:54 2004 -> Running as user clamav (UID 111, GID 111)
Mon Mar 15 14:35:54 2004 -> Reading databases from /opt/csw/share/clamav
Mon Mar 15 14:35:56 2004 -> Protecting against 20482 viruses.
Mon Mar 15 14:35:56 2004 -> Unix socket file
/opt/csw/share/clamav/clamd.sock
Mon Mar 15 14:35:56 2004 -> Setting connection queue length to 15
Mon Mar 15 14:35:56 2004 -> Archive: Archived file size limit set to
10485760 bytes.
Mon Mar 15 14:35:56 2004 -> Archive: Recursion level limit set to 5.
Mon Mar 15 14:35:56 2004 -> Archive: Files limit set to 1000.
Mon Mar 15 14:35:56 2004 -> Archive: Compression ratio limit set to 200.
Mon Mar 15 14:35:56 2004 -> Archive support enabled.
Mon Mar 15 14:35:56 2004 -> RAR support disabled.
Mon Mar 15 14:35:56 2004 -> Mail files support enabled.
Mon Mar 15 14:35:56 2004 -> OLE2 support disabled.
Mon Mar 15 14:35:56 2004 -> Self checking every 3600 seconds.


Help?
Alex


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Re: Logfile

2004-03-12 Thread Alex S Moore
On Fri, 12 Mar 2004 09:33:41 -0500
Betsy Schwartz <[EMAIL PROTECTED]> wrote:

> Would try the CVS  version but I am still having trouble building the 
> libmilter piece of the distribution, posted the error here last week, so 
> I'm using the CSW precompiled packages.
> 

Using the same library packages to build 64-bit clamav for myself.  CSW has
the 32-bit clamav package and if you like, I can send you the url for my
64-bit version (assuming you are on a sparc platform).  I built it from CVS
this morning.  As far as I can tell, it works just fine.

If you insist on building it yourself and depending on your build tools,
you may try the following.

export LDFLAGS='-L/opt/csw/lib'
export CPPFLAGS='-I/opt/csw/include'
export LD_OPTIONS='-R/opt/csw/lib/$ISALIST'

You can add additional libraries with more '-L' on the first
2 and ':' to the third one, without the brackets.  But if you
have CSWlibgmp, CSWlibmilter and CSWzlib installed, then you should not
need anything else.  Some time ago, I put '-lresolv' on LDFLAGS and
'-I../clamscan' on CPPFLAGS, but they may not be required now.

Alex


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Error with clamav-milter

2004-03-04 Thread Alex S Moore
On Thu, 4 Mar 2004 12:19:16 -0500
"James Barber" <[EMAIL PROTECTED]> wrote:

> Hi there,
>  
> I'm trying to get the clamav-milter to work with sendmail.  I've made all
> the required changes to the sendmail.cf file, but when I try to restart
> sendmail, I get the error:
> "sendmail: WARNING: Xclmilter'': local socket name
> /var/clamav/clmilter.sock' missing".
>  
> I've verified, and the clmilter.sock file is indeed in the
> /var/clamav/clmilter.sock directory (srwxr-xr-x1 root root
> 0 Mar  3 16:51 clmilter.sock).

Did you intend to say 'and the clmilter.sock file is indeed in the
/var/clamav directory?  If so, the only time that I have run into this when
the uid for the clamav-milter process did not have authority to create the
socket.

Alex


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Freshclam Error messages

2004-03-04 Thread Alex S Moore
On Thu, 4 Mar 2004 10:56:22 -0500
"Steve Plemmons" <[EMAIL PROTECTED]> wrote:

> SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES
> What did I miss?
> 

The gmp library, which is available for Solaris 8 and 9 from CSW at
www.blastwave.org.

Alex Moore


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Problem Compiling clamav on Solaris 8

2004-03-03 Thread Alex S Moore
On Wed, 03 Mar 2004 09:12:45 -0500
Betsy Schwartz <[EMAIL PROTECTED]> wrote:

> [I received a message saying that my previous post was not acceptable, so
> I will try again.]
> 
> I've seen this error both on the latest build and on the stable .67
> version
> 
> >/usr/local/lib/libgmp.so -L/usr/lib/libmilter -lmilter -lpthread
> >-lsocket -lnsl -lresolv -R/usr/local/lib
> >Undefined   first referenced
> >  symbol in file
> >main 

I have not seen that error.  Have you considered the packages from CSW at
www.blastwave.org?  We have many packages for Solaris 8 and 9.  I am the
package maintainer for sendmail, libgmp, mimedefang and spamass-milter, to
name a few.  I was heavily involved in testing the SpamAssassin package and
another maintainer has the clamav package.

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=1356&alloc_id=3438&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Clamd problem Solaris 8

2004-03-02 Thread Alex S Moore
On Tue, 2 Mar 2004 14:50:43 +0100
"Clamav" <[EMAIL PROTECTED]> wrote:

> gcc -g -O2 -o .libs/clamd options.o cfgfile.o clamd.o tcpserver.o
> localserver.o session.o thrmgr.o Hi!
> I tried the latest snapshot with size > 1kB (20040301) and had a
> compilation problem on Solaris 8!!
> 
> 
> Is this also a known problem??
> Wolfgang

This morning I built the latest cvs snapshot on Solaris 8, both sparc and
x86 and had no problems.

Have you considered the clamav package from CSW at www.blastwave.org?  It
may not be the latest snapshot, but it should be very close and it should
work.  If you do load the CSW package and still want the latest cvs
snapshot, I have it available.  Actually, someone else in our group did the
package that is published.  I still have my own build available.

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=1356&alloc_id=3438&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] RE: GMP packages

2004-02-20 Thread Alex S Moore
A bit off topic, but GMP is a good thing to have with clamav.

GMP packages are now available at www.blastwave.org for Solaris 8 and 9.  I
hope to add clamav soon.

Alex Moore


---
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=1356&alloc_id=3438&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] 0.66

2004-02-14 Thread Alex S Moore
On Sat, 14 Feb 2004 14:30:28 +0100
Peter Bonivart <[EMAIL PROTECTED]> wrote:

> ...the developers listened and are going to change it to a truly 
> portable solution using sed.
> 

And that has happened.  I built my packages from the CVS source this
morning and there were no errors.  Thanks developers.

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=1356&alloc_id=3438&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] 0.66

2004-02-13 Thread Alex S Moore
On Fri, 13 Feb 2004 19:11:20 +0100
Peter Bonivart <[EMAIL PROTECTED]> wrote:

> It's the Makefiles in the database directory that contains the 
> problematic id commands. If I edit them to /usr/xpg4/bin/id I can run 
> make install with no errors.
> 

Developers- Could this be something that we can override with an
environment variable, like 'export CC=/opt/SUNWspro/bin/cc' works to use
Sun's compilers instead of gcc?

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=1356&alloc_id=3438&op=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=1356&alloc_id=3438&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Spam filter and clam-av

2004-02-09 Thread Alex S Moore
On Mon, 9 Feb 2004 13:39:23 -0300 (ART)
Claudio Alonso <[EMAIL PROTECTED]> wrote:

> I heard that, but I couldn't get SpamAssassin to compile on Digital
> (Digital UNIX doesn't seem to provide the snprintf function which is
> apparently needed by SpamAssassin).
> 

There is code for that function in the SpamAssassin distribution in
contrib/snp.tar.gz.  Have you tried to build that?

Alex


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


[Clamav-users] RE: Build problems on Solaris

2004-02-09 Thread Alex S Moore
Picked up the CVS source today and ran my build procedures.  I have the
following error.  Where did the '@' sign come from in front of
/opt/csw/bin/ginstall?  I checked the last successful build output and
there was nothing like that in the file.  /opt/csw/bin/ginstall does exist.

>>
Making install in database
/bin/bash ../mkinstalldirs
/export/home/csw/build/clamav-devel-20040209/cswstage/opt/csw/share/clamav
mkdir -p --
/export/home/csw/build/clamav-devel-20040209/cswstage/opt/csw/share/clamav
test -f
/export/home/csw/build/clamav-devel-20040209/cswstage/opt/csw/share/clamav
/main.cvd || @/opt/csw/bin/ginstall -c -m 644 main.cvd
/export/home/csw/buil\d/clamav-devel-20040209/cswstage/opt/csw/share/clamav
bash: @/opt/csw/bin/ginstall: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `install'
Current working directory
/export/home/csw/build/clamav-devel-20040209/database
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'
<<

Thanks, Alex


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


Re: [Clamav-users] RE: Build on Solaris problem

2004-02-03 Thread Alex S Moore
On Mon, 02 Feb 2004 09:57:15 + (GMT)
Trog <[EMAIL PROTECTED]> wrote:

> Yes, Tomasz only applied the patch to configure.in, not to the ole2 code, as I
> own that file. I'll get this sorted out today.
> 
> -trog

Picked up the cvs updates today and got my first package build in the past couple
of weeks.  All of my problems on the Solaris platform were not from your ole2
code.  The ole2 code is a great addition to the product and as a Clamav user,
thanks for your contribution.  My mail to Tomasz has been bouncing, so I am also
sending this to the mailing list.

I plan to talk with our head guy at blastwave.org and hopefully will provide
packages for Solaris 8 and 9 for SPARC and x86 soon.  Clamav is a great product
and I want to do whatever I can to help it grow in popularity.

Thanks, Alex


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


Re: [Clamav-users] RE: Build on Solaris problem

2004-02-01 Thread Alex S Moore
On Sat, 31 Jan 2004 13:13:32 + (GMT)
Trog <[EMAIL PROTECTED]> wrote:

> Quoting Trog <[EMAIL PROTECTED]>:
> 
> >
> > > "ole2_extract.c", line 111: identifier redefined: __attribute__
> > 
> > The problem is that SunC doesn't have the __attribute__((packed))
> > feature that
> > gcc has. SunC has #pragma pack(n) instead.
> > 
> 
> How's this patch look for a start?
> 

Hi, Trog.  I picked up the latest src in CVS with changes on 2004-01-31 that
includes, among other changes, this patch and one from Tomasz for my other
compile error.

I see that I now have a new defines from this fix.  However, the compile
failed.  Please see the attached output.

Thanks for your help, Alex


mybuilderr
Description: Binary data


Re: [Clamav-users] RE: Build on Solaris problem

2004-01-31 Thread Alex S Moore
On Sat, 31 Jan 2004 13:13:32 + (GMT)
Trog <[EMAIL PROTECTED]> wrote:

> Quoting Trog <[EMAIL PROTECTED]>:
> 
> >
> > > "ole2_extract.c", line 111: identifier redefined: __attribute__
> > 
> > The problem is that SunC doesn't have the __attribute__((packed))
> > feature that
> > gcc has. SunC has #pragma pack(n) instead.
> > 
> 
> How's this patch look for a start?
> 
> -trog
> 

Yes, thanks Trog.  I applied the patch and ole2_extract does compile.  Please
see the attached file mymake-ole2_extract.out for details.  There are a few
other warnings but the program does compile.

However, Tomasz, please see the attached file mymake-sigtool.out.  My last
successful package build was from the Jan 19 source.  That is what I have been
using on my mail server, and with great success, I might add.  Fine job on
catching the recent and continuing worm/virus attacks so quickly.  Could the
changes on Jan 21 to sigtool be what is causing this compiler error?

For the record, I am sending this to the mailing list.  Some of my recent
posts have not made it to the mailing list, so I will see what happens.

Thanks, Alex


mymake-ole2_extract.out
Description: Binary data


mymake-sigtool.out
Description: Binary data


[Clamav-users] RE: Build on Solaris problem

2004-01-30 Thread Alex S Moore
>From the recent CVS source, I am getting the following compile error.  Did I
miss something?  I saw the notes on the new code for checking OLE2 objects (or
some such).

Configure looks like this:
./configure --prefix=/opt/csw --sysconfdir=/opt/csw/etc --disable-clamav
--enable-milter --with-dbdir=/opt/csw/share/clamav

The relevant compiler output is this using Sun's compiler:
>>
cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"clamav\"
-DVERSION=\"devel-20040129\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DSCANBUFF=131072 -DFILEBUFF=8192 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_INT_TYPES_H=1 -DHAVE_DLFCN_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_SYS_INTTYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRINGS_H=1
-DHAVE_STRING_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_MALLOC_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4
-DSIZEOF_LONG=4 -DHAVE_ZLIB_H=1 -DHAVE_BZLIB_H=1 -DNOBZ2PREFIX=1
-DHAVE_SETSID=1 -DHAVE_MEMCPY=1 -DSETPGRP_VOID=1 -DHAVE_GMP=1
-DCLAMD_USE_SYSLOG=1 -DCLAMAVUSER=\"clamav\" -DCLAMAVGROUP=\"clamav\"
-DDB1NAME=\"main.cvd\" -DDB2NAME=\"daily.cvd\"
-DDATADIR=\"/opt/csw/share/clamav\" -DCONFDIR=\"/opt/csw/etc\" -DC_URANDOM=1
-DCL_THREAD_SAFE=1 -D_REENTRANT=1 -DC_SOLARIS=1 -DBUILD_CLAMD=1
-DWORDS_BIGENDIAN=1 -DWORDS_BIGENDIAN=1 -I. -I. -I.. -I./zziplib
-I/opt/csw/include -I../clamscan -fast -xarch=v8 -c ole2_extract.c  -KPIC
-DPIC -o .libs/ole2_extract.lo
"ole2_extract.c", line 48: #warning: Big Endian
"ole2_extract.c", line 89: syntax error before or at: __attribute__
"ole2_extract.c", line 89: warning: old-style declaration or incorrect type
for: __attribute__
"ole2_extract.c", line 89: warning: syntax error:  empty declaration
"ole2_extract.c", line 111: syntax error before or at: __attribute__
"ole2_extract.c", line 111: warning: old-style declaration or incorrect type
for: __attribute__
"ole2_extract.c", line 111: identifier redefined: __attribute__
current : function() returning int
previous: function() returning int : "ole2_extract.c", line 89
"ole2_extract.c", line 111: warning: syntax error:  empty declaration
"ole2_extract.c", line 113: warning: initializer does not fit or is out of
range: 208
"ole2_extract.c", line 113: warning: initializer does not fit or is out of
range: 207
"ole2_extract.c", line 113: warning: initializer does not fit or is out of
range: 224
"ole2_extract.c", line 113: warning: initializer does not fit or is out of
range: 161
"ole2_extract.c", line 113: warning: initializer does not fit or is out of
range: 177
"ole2_extract.c", line 113: warning: initializer does not fit or is out of
range: 225
"ole2_extract.c", line 137: warning: pointer to void or function used in
arithmetic
"ole2_extract.c", line 141: cannot recover from previous errors
cc: acomp failed for ole2_extract.c
*** Error code 1
make: Fatal error: Command failed for target `ole2_extract.lo'
Current working directory
/export/home/csw/build/clamav-devel-2004-01-29/libclamav
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
[EMAIL PROTECTED] clamav-devel-2004-01-29]# 
<<

Thanks, Alex


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


Re: [Clamav-users] Multiple stability problems on Solaris 9

2004-01-21 Thread Alex S Moore
Hi, Jon

On Wed, 21 Jan 2004 11:45:11 -0500
"Jon R. Kibler" <[EMAIL PROTECTED]> wrote:

> Hello:
> 
> In the past few days we have experienced multiple stability problems with
> clamav. Here is our environment:
> 
> Solaris 9 (sparc)
> mimedefang 2.36 w/ sendmail 8.12.10
> clamav 0.65
> 
> The problems appear to be two fold:
>   1) freshclam, run as a daemon, crashes without sending a notify. 
>  freshclam appears to die anytime it finds a problem with a database
>  update instead of just reporting the error and keep on running to try
>  again later.
>   2) "something" is causing clamd to die. this just started Monday.
>  the only indication of a problem is that mimedefang starts reporting
>  all sorts of strange errors. in mimedefang, we are using clamdscan
>  instead of clamd directly, as it appears to catch some problems that
>  are missed when running clamd directly under the control of mimedefang
>  (which I view as a mimedefang problem, not a clamav problem).

I am another clamav user with Solaris 9 SPARC and Sun's sendmail, so this is
not an official response to your bug report.

Why not run freshclam from a crontab entry?  I have freshclam running twice a
day and I always get a mail message, even when there is a problem such as the
MD5 checksum error, et. al. that have occurred recently.

Have you tried running clamav-milter?  I have no problems with that setup.  It
even picked up a message with the recent bagel worm just shortly after I read
about it on the net.

Alex


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


Re: [Clamav-users] RE: Compile error

2004-01-14 Thread Alex S Moore
On Wed, 14 Jan 2004 18:02:17 +
Nigel Horne <[EMAIL PROTECTED]> wrote:

> On Wednesday 14 Jan 2004 5:47 pm, Alex S Moore wrote:
> > While building from the last CVS source, I get the following error.  This
> > appears to be some new code with the binhex logic.  If it is not already
> > being done, would someone look into this?  The build is on Solaris SPARC
> > with Sun's compiler.  I have been running clamav for quite some time. 
> > Thanks to the development team for this fine product.
> 
> Whoops, forgot to check in the new message.h :-(
> 
> Will do so ASAP.
> 
> -Nigel
> 

Thanks for the quick response Nigel.

Alex


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


[Clamav-users] RE: Compile error

2004-01-14 Thread Alex S Moore
While building from the last CVS source, I get the following error.  This
appears to be some new code with the binhex logic.  If it is not already being
done, would someone look into this?  The build is on Solaris SPARC with Sun's
compiler.  I have been running clamav for quite some time.  Thanks to the
development team for this fine product.

>>>
cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"clamav\"
-DVERSION=\"devel-20040114\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DSCANBUFF=131072 -DFILEBUFF=8192 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_INT_TYPES_H=1 -DHAVE_DLFCN_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_SYS_INTTYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRINGS_H=1
-DHAVE_STRING_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_MALLOC_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4
-DSIZEOF_LONG=4 -DHAVE_ZLIB_H=1 -DHAVE_BZLIB_H=1 -DNOBZ2PREFIX=1 -DHAVE_SETSID=1
-DHAVE_MEMCPY=1 -DSETPGRP_VOID=1 -DHAVE_GMP=1 -DCLAMD_USE_SYSLOG=1
-DCLAMAVUSER=\"clamav\" -DCLAMAVGROUP=\"clamav\" -DDB1NAME=\"main.cvd\"
-DDB2NAME=\"daily.cvd\" -DDATADIR=\"/opt/csw/share/clamav\"
-DCONFDIR=\"/opt/csw/etc\" -DC_URANDOM=1 -DCL_THREAD_SAFE=1 -D_REENTRANT=1
-DC_SOLARIS=1 -DBUILD_CLAMD=1 -DWORDS_BIGENDIAN=1 -DWORDS_BIGENDIAN=1 -I. -I.
-I.. -I./zziplib -I/opt/csw/include -I../clamscan -fast -xarch=v8 -c message.c 
-KPIC -DPIC -o .libs/message.lo
"message.c", line 616: warning: implicit function declaration: binhexBegin
"message.c", line 616: warning: improper pointer/integer combination: op "="
"message.c", line 879: warning: improper pointer/integer combination: op "="
"message.c", line 957: identifier redeclared: binhexBegin
current : function(pointer to const struct message {enum  {MEXTENSION(8),
VIDEO(7), TEXT(6), MULTIPART(5), MESSAGE(4), IMAGE(3), AUDIO(2), APPLICATION(1),
NOMIME(0)} mimeType, enum  {EEXTENSION(6), UUENCODE(5), BINARY(4), EIGHTBIT(3),
BASE64(2), QUOTEDPRINTABLE(1), NOENCODING(0)} encodingType, pointer to char
mimeSubtype, int numberOfArguments, pointer to pointer to char mimeArguments,
pointer to char mimeDispositionType, pointer to struct text {..} body_first,
pointer to struct text {..} body_last}) returning pointer to const struct text
{pointer to char t_text, pointer to struct text {..} t_next}
previous: function() returning int : "message.c", line 616
cc: acomp failed for message.c
*** Error code 1
make: Fatal error: Command failed for target `message.lo'
Current working directory /export/home/csw/build/clamav-devel/libclamav
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
<<<

Thanks, Alex


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


Re: [Clamav-users] problem in updating virus db

2004-01-13 Thread Alex S Moore
On Tue, 13 Jan 2004 11:56:03 -0500 (EST)
"Christopher X. Candreva" <[EMAIL PROTECTED]> wrote:

> On Tue, 13 Jan 2004, Abyot Asalefew wrote:
> 
> > I have installed gmp-4.1.2 for 32 bit ABI support according to clamav
> > documentation.
> 
> FYI, for anyone else having trouble compiling GMP on Solaris 8 with
> gcc 3.3.2 on Ultrasparc hardware,  I needed these CFLAGS to make it work:
> 
> -m64 -Wa,-xarch=v9 -mcpu=v9
> 
> The gmp info file also wanted an -mptr=64 flag, but that no longer seems to
> be valid under gcc 3.3.2
> 

If you like I can send you my Solaris 8 libgmp package.  It is ready to install
and works fine on Solaris 8 and 9.  I currently have the SPARC package, but I
can also make a x86 package if someone needs it.  Let me know.

One small caveat, I am a package maintainer for blastwave.org and my package
depends on our common package.  If you are currently not setup for packages from
blastwave, it is very simple to do and I recommend it.  See
http://www.blastwave.org  If push comes to shove, I can easily remove the
dependency, but I do plan to make clamav available from blastwave, which will
take care of the dependency.

Alex Moore


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


Re: [Clamav-users] RE: More tests from www.testvirus.org

2004-01-07 Thread Alex S Moore
On Wed, 7 Jan 2004 12:28:33 -0500
"Hanford, Seth" <[EMAIL PROTECTED]> wrote:

> > Nbr 5) EICAR virus sent using BinHex encoding
> 
> This was also missed on my ClamAV 0.65 running as clamd, however it was
> picked up by Amavisd-new for its extension.
> (Running ClamAV 0.65, Postfix 2.0.13, Amavisd-new-20030616-p5)
> 

I am using the latest sendmail with clamd and clamav-milter.  So, in my case, it
may work properly if I use mimedefang to run clamd.  I have mimedefang
installed, but had turned off until I could do further testing.

Thanks, Alex


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


[Clamav-users] RE: More tests from www.testvirus.org

2004-01-07 Thread Alex S Moore
On my Solaris 9 SPARC mailhost with clamav installed and using my Solaris 9
SPARC workstation with SylpheedClaws, I tested with the top section of the html
page from www.testvirus.org.  The virus signature file is updated twice a day.

I used the released 0.65 version, which I built on 2003-12-04, and then built
and installed the devel-20040107 version.  Both programs had the same results. 
Most virus email was caught.  There were three that passed the check on both
versions.  They are:

Nbr 4) EICAR virus sent using uuencoding
Nbr 5) EICAR virus sent using BinHex encoding
Nbr 4) EICAR virus sent using BinHex encoding within a MIME segment.

Should I be concerned about the three tests that got through?

I do not care about the second section of the test virus web page, since I do
not run OE.  I do have OE clients, but they run their own Windows anti-virus
package.

Thanks, Alex


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] RE: freshclam not finding database mirror

2004-01-03 Thread Alex S Moore
On Sat, 3 Jan 2004 16:52:05 +0100
Tomasz Kojm <[EMAIL PROTECTED]> wrote:
> 
> You must configure /usr/local/etc/freshclam.conf - it should contain at
> least the following directives:
> 
> DatabaseMirror database.clamav.net
> MaxAttempts 3
> 
> You will find the template in /etc.
> 

Yes, that is what I found.  I missed that in the Dec 29 entry in ChangeLog.

Thanks, Alex


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] RE: freshclam not finding database mirror

2004-01-03 Thread Alex S Moore
On Sat, 3 Jan 2004 07:37:05 -0600
Alex S Moore <[EMAIL PROTECTED]> wrote:

> On Solaris 8 and 9 SPARC and x86, I have been building and using clamav for
> quite some time.  However, from the last CVS source, freshclam will not run
> and returns the following error.
> 
> ERROR: You must specify at least one database mirror.
> 

Sorry, my fault.  Problem fixed.

Thanks, Alex


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] RE: freshclam not finding database mirror

2004-01-03 Thread Alex S Moore
On Solaris 8 and 9 SPARC and x86, I have been building and using clamav for
quite some time.  However, from the last CVS source, freshclam will not run and
returns the following error.

ERROR: You must specify at least one database mirror.

Nothing has changed in my build scripts and I do not use quotas.  From the
entries in mirrors.txt, which are the supplied values, dig database.clamav.net
returns several A records.

The most recent entry in ChangeLog is:

Sat Jan  3 11:30:38 CET 2004 (tk)

Help!

Alex Moore


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users