Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Dec 2014, 05:41
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
clamav-0.97.3-i386.pet - 528
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
yorkiesnorkie


Joined: 04 Jun 2007
Posts: 505
Location: George's Island

PostPosted: Wed 28 Jul 2010, 10:25    Post_subject:  

chrismt wrote:
This is what I see when I type freshclam in the console

ERROR: Please edit the example config file /etc/freshclam.conf
ERROR: Can't open/parse the config file /etc/freshclam.conf

Hope you can help me


Hi chrismt,

This is a common error message I've seen myself. Ok, all it is really saying is that the clam.conf file is an example and not configured. I had an issue with my usb jumpdrive (it had a nervous breakdown and I lost some files) and I must have uploaded the pet to rapidshare with the default conf files rather than the one's I edited later on. Sorry about that! However, this is an easy fix and this is what you need to do:

Go to the directory "/etc" and look for the file "freshclam.conf ", basically click on the little house top left if you like from the desktop, and go up directories via the window controls until you are at / and can't go any further. You should see a folder called "etc". Click on it to enter it and then left click on the eyeball at the top of the rox window so you can see all the files. Scroll down to find freshclam.conf

Click once on freshclam.conf to open it with Geany (the text editor).

In that file if you scroll down a little bit you'll find a pair of lines like this:

Code:
# Comment or remove the line below.
Example


What you need to do is put a "#" sign in front of the line "Example" like so to comment it out, and make ClamAV actually use the file:

Code:
# Comment or remove the line below.
#Example


Then continue to scroll down in the file until you find the following lines:

Code:
# 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


Put a "#" in front of DatabaseOwner, and type "DatabaseOwner root" on a new line after it like so:
Code:
# 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


The DatabaseOwner must be changed to root. Puppy does not really have "users" and it runs as root. Therefore, in order for ClamAV to have the necessary permissions to alter the database it needs root privaleges. Once you've made the edits save the file and close it.

(by the way if you open Geany again it will open this file by default, which is handy if you make a boo boo.)

Go to the console again, and type "freshclam" at the prompt, that should take care of it and you should see freshclam update. It may make a couple of failed attempts before it finally gets going. As long as your connected to the internet it should work.

Again, sorry about the conf files, I'll have to get back into it and repackage it, and/or provide those conf files here. If your not using clamd you won't need to bother with clamd.conf.

Let me know how it goes.

Y.

_________________
www.busygamemaster.com
Back to top
View user's profile Send_private_message 
chrismt


Joined: 21 Apr 2010
Posts: 255

PostPosted: Wed 28 Jul 2010, 15:27    Post_subject:  

Thanks man! Now it is working!

I wish there was a GUI

Thanks!
Back to top
View user's profile Send_private_message 
yorkiesnorkie


Joined: 04 Jun 2007
Posts: 505
Location: George's Island

PostPosted: Fri 30 Jul 2010, 06:58    Post_subject:  

Hi chrismt,

Well, that's great! Actually, there is a gui kicking around somewhere. The ClamAV web site has a third party one if I recall correctly, I'm not sure if it is up to date. However, to be honest, once you get used to the command line, its so easy to use the gui just gets in the way. Remember
Code:
clamscan -h
gives you the help.

If you have rox open, and your looking at the files in a directory, you can right click and open a terminal there, and run clamscan without having to t ype a path. Usually, I'm only running scans on downloaded files.

Y.[/code]

_________________
www.busygamemaster.com
Back to top
View user's profile Send_private_message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Sat 07 Aug 2010, 10:47    Post_subject:  

Arr! The link is dead! Please, this time upload to My Free File Hosting. This is what I have been using for my PETs.
_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send_private_message Visit_website 
JackED42

Joined: 29 Jul 2010
Posts: 38

PostPosted: Sat 07 Aug 2010, 20:04    Post_subject:  

Could someone please re-upload this
Back to top
View user's profile Send_private_message 
yorkiesnorkie


Joined: 04 Jun 2007
Posts: 505
Location: George's Island

PostPosted: Thu 19 Aug 2010, 19:32    Post_subject: New Upload Link  

*******
UPDATE
******

MARCH 19, 2011

The link to upload the pet has been moved to the first post.

Y.

_________________
www.busygamemaster.com

Edited_time_total
Back to top
View user's profile Send_private_message 
yorkiesnorkie


Joined: 04 Jun 2007
Posts: 505
Location: George's Island

PostPosted: Fri 03 Sep 2010, 11:32    Post_subject: Docs  

*******
UPDATE
*******

MARCH 19, 2011

The doc man pages are built into the pet.

_________________
www.busygamemaster.com

Edited_time_total
Back to top
View user's profile Send_private_message 
dalebednell


Joined: 12 Feb 2010
Posts: 119
Location: portugal

PostPosted: Mon 28 Feb 2011, 15:47    Post_subject: clamav  

Hi yorkiesnorkie
Thanks for the pet of clamav i tried to update with freshclam but i get a message outdated clamav i tried one more time and got this message
# freshclam
ClamAV update process started at Mon Feb 28 19:32:04 2011
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.96.1 Recommended version: 0.97
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cld is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven)
daily.cld is up to date (version: 12792, sigs: 60705, f-level: 60, builder: neo)
bytecode.cvd is up to date (version: 140, sigs: 40, f-level: 58, builder: edwin
What can i do to update this version. I did go to the site and read but unsure how to upgrade can you help plz Thanks!



Dale
Back to top
View user's profile Send_private_message Visit_website MSNM 
yorkiesnorkie


Joined: 04 Jun 2007
Posts: 505
Location: George's Island

PostPosted: Sat 05 Mar 2011, 18:21    Post_subject: ClamAV  

Hi Dalebednell,

It looks like they upgraded the version! I'll have to download the tar.gz file and re-compile the new version. There's some work involved so I'll post a new version when it's ready. Stay tuned!

Yorkiesnorkie
Smile

_________________
www.busygamemaster.com
Back to top
View user's profile Send_private_message 
dalebednell


Joined: 12 Feb 2010
Posts: 119
Location: portugal

PostPosted: Tue 08 Mar 2011, 09:02    Post_subject: clamav  

Hi yorkiesnorkie
Thanks for the this clam it works well great job look forward to the update.
Thanks again




Dale
Back to top
View user's profile Send_private_message Visit_website MSNM 
yorkiesnorkie


Joined: 04 Jun 2007
Posts: 505
Location: George's Island

PostPosted: Mon 14 Mar 2011, 09:03    Post_subject: Re: clamav  

dalebednell wrote:
Hi yorkiesnorkie
Thanks for the this clam it works well great job look forward to the update.
Thanks again




Dale


Hi Dale,

I compiled the new version on the weekend, after jumping through a couple of hoops. Smile I forgot what I did the last time but the good news is that it is done. I just need to run a couple of tests before I upload it.

I use Puppy 431 so the application is compiled for i386 against that release. I don't use Puppy 5.20.

The new Pet package will be 31 mb and it will have everything in it, including the documentation. I'm pre-configuring the freshclam.conf file, so that will work from the start, but I'm leaving most of the conf file customizations to the end users.

I'm also documenting the process in Abiword and I'll upload that file too so anyone can figure out how to compile it.

I'll probably upload in the next day or so after I've completed my tests, and I'll post the link here.

Yorkiesnorkie
Smile

_________________
www.busygamemaster.com
Back to top
View user's profile Send_private_message 
yorkiesnorkie


Joined: 04 Jun 2007
Posts: 505
Location: George's Island

PostPosted: Thu 17 Mar 2011, 07:56    Post_subject: Testing Completed  

Hi,

Just a little update. I've completed my testing on ClamAV 0.97, got my document on compiling ready, run freshclam, and a scan.

Based on that I'm going to pre-configure the freshclam.conf file but not the clamd.conf file.

I don't use the daemon feature myself, which makes me wonder if anyone here is using the server tool either. At the moment I've made a complete package but I could trim the fat so to speak. I might make a second smaller package.

Report on Testing:

During my tests, a clamscan of my Puppy Frugal install it picked up the eicar test file related to the fprot installation. As you may or may not know Puppy 43x comes with fprot and xfprot as an installable option from the menu. I've never been able to get the xfprot interface to work. However fprot will work from the command line. Finding this supposedly infected file gave me pause for a moment until I remembered what it was. so if you do a clamscan of your Puppy installation don't be surprised when ClamAV picks it up.

I also scanned a windows partition and picked up a trojan in "super.exe" that I didn't know about which I'll be sending in to the ClamAV folks later. Super is a windows application that converts video file formats.

Intentions:

I should have the 0.97 version of ClamAV uploaded sometime this weekend, and I'll post the link here. I'll be removing the link to 0.96 after that, and deleting it from where it was stored.

I'll also separately post my instructions on compiling, and a pre-configured freshclam.conf file for those of you who may want them.

I'm going to take a look at compiling the Klamav GUI tool after that. I run ClamAV from the command line but it might be nice to have a GUI tool.

Yorkie
Smile

_________________
www.busygamemaster.com
Back to top
View user's profile Send_private_message 
yorkiesnorkie


Joined: 04 Jun 2007
Posts: 505
Location: George's Island

PostPosted: Sat 19 Mar 2011, 10:53    Post_subject: New Pet for ClamAV 0.97 Available  

Hi!

Note that I've moved all the links to the new files in the first post. It's easier to maintain all the links in one spot!

The new clamav 0.97 pet is a full build. The freshclam.conf file is pre-configured so you can open rxvt and update it with "freshclam".

The freshclam.conf file is included in the pet but I'm enclosing it also as a separate link for reference.

Note that I did not configure clamd.conf. I do not start and run the daemon myself so I figure configuring it is best left to experts. I left it in the build in case some of you are using servers.

Lastly, I've included my tutorial which describes how to compile clamav and has an examples on how to update freshclam and use clamscan.

Suggestions welcomed.

Enjoy,

Yorkiesnorkie

_________________
www.busygamemaster.com
Back to top
View user's profile Send_private_message 
dalebednell


Joined: 12 Feb 2010
Posts: 119
Location: portugal

PostPosted: Sat 19 Mar 2011, 13:15    Post_subject: clamav-0.97-i386.pet - For Puppy Linux 4.3.1  

Hi
well what can i say works a treat it's scanning now i notice you have for puppy linux 4.31 i use 5.1.1 and all is fine so far thanks again



Dale
Back to top
View user's profile Send_private_message Visit_website MSNM 
yorkiesnorkie


Joined: 04 Jun 2007
Posts: 505
Location: George's Island

PostPosted: Mon 21 Mar 2011, 07:38    Post_subject:  

Hi Dale,

That's great, yes I'm running puppy 431 so that is what I compiled it in, but it's good to know that it works with the Puppy 5xx series.

Yorkie
Smile

_________________
www.busygamemaster.com
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 3 Posts_count   Goto page: Previous 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0946s ][ Queries: 13 (0.0093s) ][ GZIP on ]