Clamav 0.96 PET

Antivirus, forensics, intrusion detection, cryptography, etc.
Post Reply
Message
Author
User avatar
yorkiesnorkie
Posts: 504
Joined: Mon 04 Jun 2007, 13:11
Location: George's Island

Clamav 0.96 PET

#1 Post by yorkiesnorkie »

Hi,

I'm taking my first run at compiling. I probably bit off more than I can chew. :D However, you can follow my progress thus far in this topic http://www.murga-linux.com/puppy/viewto ... 921#413921

Any thoughts on the subject are welcome. I've been doing a bunch of reading on compiling etc., but it's still a work in progress. I'll let you know when I've got a working pet.

y.
Last edited by yorkiesnorkie on Wed 12 May 2010, 11:41, edited 1 time in total.
[url]http://www.busygamemaster.com[/url]

User avatar
yorkiesnorkie
Posts: 504
Joined: Mon 04 Jun 2007, 13:11
Location: George's Island

Clamav 0.96 PET file for testing

#2 Post by yorkiesnorkie »

Hi,

I've created a PET file of the latest Clamav for Puppy LInux 4.3.x. It comes out at approximately 28mb, so it is not small, probably the size is due to the base definitions. included within it.

The application was compiled from within Puppy Linux 4.3.0. it was compiled against mtune="generic". So it should run on most pcs. I also checked for missing dependencies and didn't find anything missing.

I'm also going to post my clamd.conf file and freshclam.conf file from "/etc". I modified these, commenting out the example line and changing the user to root. The PET contains the standard conf files which you can edit as you like. If you choose to copy my conf files into "/etc" freshclam will work.

Note - running Clamav as root may be objectionable for various reasons. I also opened up a terminal and added a user, "adduser clamav" but I haven't found that this enables freshclam to update. So, this requres some looking into. In the meantime, my conf files do work.

You can obtain the PET and conf files from:

[edit - I'm having problems with mediafire, patience...]

User Notes:

I usually just open the terminal and run "freshclam". I also use clamscan on files and directories "clamscan filename". Clamscan seems to be running quite slowly at the moment. This may be due my low ram on my old PC.

In any event, please regard this as a test version as it is the first application I have compiled. I welcome comments and advice.

Yorkiesnorkie
:D
[url]http://www.busygamemaster.com[/url]

User avatar
yorkiesnorkie
Posts: 504
Joined: Mon 04 Jun 2007, 13:11
Location: George's Island

#3 Post by yorkiesnorkie »

I'm still having problems with uploading the pet to mediafire. Bear with me...
[url]http://www.busygamemaster.com[/url]

aarf

#4 Post by aarf »


User avatar
yorkiesnorkie
Posts: 504
Joined: Mon 04 Jun 2007, 13:11
Location: George's Island

Clamav 0.96 PET for download

#5 Post by yorkiesnorkie »

This PET is on rapidshare and can be downloaded 9 more times. Please leave one available for ttuuxxx as there are plans to place it for download with Puppy files elsewhere. Consider this a test version as it's my first compile!

http://rapidshare.com/files/383984462/c ... 6.pet.html
MD5: F04DBDB32A471C229ACF7F30A804117E

Give it a try and let me know how it goes. It's 28mb

y.
[url]http://www.busygamemaster.com[/url]

User avatar
yorkiesnorkie
Posts: 504
Joined: Mon 04 Jun 2007, 13:11
Location: George's Island

#6 Post by yorkiesnorkie »

aarf wrote:crosslink clamav
Thank you for putting that link here! :D I meant to do that but I've been so busy lately. Our wireless went down here at home and I have been troubleshooting it. I solved our connection problems by adding a couple of home made parabolic reflectors to increase the signal, the result is in our front room I went from 0 to 50% signal as reported in Pwireless. Awesome!

y.
[url]http://www.busygamemaster.com[/url]

User avatar
yorkiesnorkie
Posts: 504
Joined: Mon 04 Jun 2007, 13:11
Location: George's Island

Clamav 0.96 PET now available at puppylinux.ca

#7 Post by yorkiesnorkie »

ttuuxx has kindly uploaded the pet to pupplinux.ca http://puppylinux.ca/tpp/ttuuxxx/other/ ... 6-i486.pet

thanks ttuuxxx!

ttuuxxx has reported that this PET does not work in 2.14x, So, I'll take a run at making a compatible version for the updated 2.14x - bear with me!

y.
[url]http://www.busygamemaster.com[/url]

User avatar
yorkiesnorkie
Posts: 504
Joined: Mon 04 Jun 2007, 13:11
Location: George's Island

PET functional

#8 Post by yorkiesnorkie »

The pet I created works. I found it slow to run. That may be due to the low ram I have, and that I created it as mtune=generic rather than for my pentium-mmx. I found it does work though. I checked a directory:

Code: Select all

clamscan /root/my-documents/downloaded
Probably with more ram it will run faster. Feedback anyone, I'd like though to make it run more quickly in a low ram situation.

I probably need to tune my conf files. That may make it run faster as well.

I've modified /etc/clamd.conf as follows:

Code: Select all

# Comment or remove the line below.
#Example
I've modified /etc/freshclam.conf as follows:

Code: Select all

# Comment or remove the line below.
#Example
also,

Code: Select all

# By default when started freshclam drops privileges and switches to the
# "clamav" user. This directive allows you to change the database owner.
# Default: clamav (may depend on installation options)
#DatabaseOwner clamav
DatabaseOwner root
I've found that in order to get freshclam to work I had to change the database owner to root.

y.
[url]http://www.busygamemaster.com[/url]

User avatar
yorkiesnorkie
Posts: 504
Joined: Mon 04 Jun 2007, 13:11
Location: George's Island

#9 Post by yorkiesnorkie »

By the way, this PET only includes clamscan and freshclam... There is no clamdscan
[url]http://www.busygamemaster.com[/url]

User avatar
yorkiesnorkie
Posts: 504
Joined: Mon 04 Jun 2007, 13:11
Location: George's Island

Plans

#10 Post by yorkiesnorkie »

I plan to compile a version for 2.14xrc5 and re-compile this in 4.3.1 for my particular pc. My intention is to create two variants of PET files. One with everything, and a smaller file with just the essentials. Well, stay tuned...

Interestingly, the deb files which are currently available break Clamav down into subcomponents and libs. I'm not sure exactly how that was done.

y.
[url]http://www.busygamemaster.com[/url]

Post Reply