Comodo AV for Linux

Antivirus, forensics, intrusion detection, cryptography, etc.
Message
Author
User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#41 Post by Mike Walsh »

Hi, bigpup.

Thanks for doing that little bit of research for us. I'm on that many different forums these days, I can't always find as much time to investigate stuff like this as I'd like.

It explains why my personal Menu Entry .pet I put together for starting Comodo wasn't allowing the database to update. The /root/my-applications/bin entry I'd made for CAV looked like this:-

Code: Select all

#!/bin/sh
#
# Start COMODO Anti-virus for Linux : Mike Walsh 2017
#
/opt/COMODO/cmdagent
/opt/COMODO/cav
As you can see, I was starting the 'cmdagent' before CAV itself. I've swapped the last two lines around, and added a sleep statement (to give it time to get started; it takes a few seconds to 'settle down', seemingly):-

Code: Select all

#!/bin/sh
#
# Start COMODO Anti-virus for Linux : Mike Walsh 2017
#
/opt/COMODO/cav
sleep 10
/opt/COMODO/cmdagent
.....re-made the .pet, and just tried it, and.....yup; it works nicely now. I can start Comodo, go to 'Update Database', and the updater initializes and begins downloading straight away.

So for anybody who wants it, here's a MenuEntry pet for Comodo's AV for Linux, which will start the GUI properly, and permit the database to update as it should.


Mike. :wink:
Attachments
Comodo_AV-MenuEntry.pet
Comodo Menu Entry
(616 Bytes) Downloaded 126 times
Last edited by Mike Walsh on Tue 25 Jul 2017, 00:32, edited 1 time in total.

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#42 Post by Mike Walsh »

The SFS package has been modified to include the above Menu entry 'fix', re-packed, and re-uploaded.

Link as in post #1. There is now just a single Menu Entry, as everything should now run correctly from the GUI.


Mike. :wink:
Last edited by Mike Walsh on Tue 25 Jul 2017, 00:34, edited 1 time in total.

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#43 Post by Sylvander »

The pet works for me, so I've save the changes.
It says I need to reboot.
I wonder if I also need to save the session changes at reboot?
I'll do that.
Rebooted, and it still works; reports it as up-to-date.

What happens if I were to now use the new SFS?

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#44 Post by Mike Walsh »

Hi, Sylvander.

I've just been checking through everything this last few minutes, and so far, all appears to work now as it should. I added the 'sleep' statement into the /root/my-applications/bin 'CAV' file because I noticed that the GUI was taking a few seconds to settle down after initialization.

You can safely ignore the statement in the left-side panel that says 'Filesystem filter driver is not loaded!' As bigpup says, certain of the binaries in the /opt/COMODO directory don't appear to work as they should. It's my belief that the reason for this is quite simple.

This was originally a .deb package, before extraction, re-working for Puppy, and re-packing. I think that it's been specifically written, and set-up for the way the file manager in Debian/Ubuntu is integrated into the file-system.

Since Puppy's ROX works so very differently to the 'standard' file-managers in those mainstream distros, and, moreover, most operations in Puppy tend to be far more 'manual' and 'hands-on', I think, going along with bigpup's summary, that we can safely ignore said binaries. For Pup, they're not really applicable.

In my view, so long as the GUI starts, the database will download, and the scans work as they're supposed to (bearing in mind that most of us will be using this in 'standalone' mode, i.e., as and when we consider it necessary, rather than setting up regularly scheduled scans), I feel this is now a viable package as it stands. I also think that the 'Critical Areas' scan profile will probably be the one that gets the most use.

As always, however, YMMV.....


Mike. :wink:

Gordie
Posts: 153
Joined: Tue 23 Aug 2016, 15:26
Location: Nolalu, Ontario, Canada

#45 Post by Gordie »

Sylvander wrote:
bigpup wrote:Just do this:
Start Comodo
In Rox navigate to /opt/COMODO
left click on the cmdagent file
Go back to Comodo
Click on Update virus database
This looked like it was going to work for me, EXCEPT...

when it began downloading the update...
The progress remained at ZERO.
I gave up on it = Closed all windows.
This is what is happening with me on my Slackware64 14.2 system. Not sure I want to fight with COMODO on Puppy until I get it working on Slackware.

Mike Walsh - You little trick works and now am locked on a 0% download indicator.

Code: Select all

/opt/COMODO/cav 
sleep 10 
/opt/COMODO/cmdagent

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#46 Post by bigpup »

This is what is happening with me on my Slackware64 14.2 system.
So, why do you think what we do to get it to work in Puppy, is going to work in Slackware?

Got working Internet connection?
Comodo web site not blocked?

Maybe a Comodo preferences setting not correct :idea:

Check Comodo preferences and see if it shows this:
Attachments
capture27894.png
(16.77 KiB) Downloaded 290 times
Last edited by bigpup on Tue 25 Jul 2017, 02:59, edited 1 time in total.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#47 Post by bigpup »

Comodo_AV-MenuEntry.pet works for me too!!
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Gordie
Posts: 153
Joined: Tue 23 Aug 2016, 15:26
Location: Nolalu, Ontario, Canada

#48 Post by Gordie »

Will try and upload a screenshot to show I have the same thing in preferences.
Bigpup - I am a member of this forum and saw a thread about COMODO and made a comment and that is why I am here discussing this with you. Because of the problems I have getting it to update I assumed it is that way for all. I was wrong. Anyway, there is scant little help for COMODO on linux anywhere unless you run Debian or RedHat and I thought perhaps, if there is hope for Puppy then I might be able to use what I learn here to get it to work on Slackware,
So far, so good. I am almost there. It just sits at 0% when trying to download the database.
My allowed attachments are 0 bytes. Oh well

EDIT - Use a browser to go to http://download.comodo.com and get 404 not found

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#49 Post by Mike Walsh »

Morning, Gordie.

As far as posting screenshots'n'stuff goes, I find that rather than try to work with the Forum's 256k attachment limit, it works much better if you open an account with Imgur. There are plenty of file-hosting/sharing sites out there, but I've always found Imgur to be the most consistently easy to work with.

http://imgur.com/

Use the 'New Post' button at the top to upload your pictures. Click on your a/c name, top right corner. You'll get a display of your pictures come up. Click on the picture you want to use. In the panel on the right-hand side, click on 'Copy' for the 'Direct Link' entry.

Then, to put it into your post, simply paste the entry in, highlight it, and click on the 'Img' button above the post edit window, top right. This will wrap it with the 'img' BBCode tags, and it will be directly displayed, from your Imgur a/c.

Like this:-

Image

I've always believed in using screenshots, wherever possible, to illustrate a point. 'A picture is worth a thousand words...' :)

Any queries, just ask.


Mike. :wink:
Last edited by Mike Walsh on Tue 25 Jul 2017, 10:04, edited 2 times in total.

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#50 Post by Mike Walsh »

bigpup wrote:Comodo_AV-MenuEntry.pet works for me too!!
^^^ +1. Nice one! Image


Mike. :wink:

Gordie
Posts: 153
Joined: Tue 23 Aug 2016, 15:26
Location: Nolalu, Ontario, Canada

#51 Post by Gordie »

Thank you Mike Walsh. I signed up

Gordie
Posts: 153
Joined: Tue 23 Aug 2016, 15:26
Location: Nolalu, Ontario, Canada

#52 Post by Gordie »

Mike Walsh wrote:Morning, Gordie.
Gordie wrote:I am able to use my browser to get new sigs and then update my database by hand and can use COMODO to scan so all is not lost but this is disappointing to me.
Now, then; if you can do that, it might be possible to write a script to automate that process instead.....if the built-in one is refusing to behave itself.

Can you expand on how you do that, please?

Cheers.

Mike. :wink:
https://www.comodo.com/home/internet-se ... tabase.php
Of the two choices, pick the older database

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#53 Post by Mike Walsh »

Hi, Gordie.

Thanks for that. All useful info to have.

Cheers.


Mike. :wink:

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#54 Post by Mike Walsh »

Well, I can't quite figure this out yet.

Although the MenuEntry .pet I made up does work, it doesn't work in every Pup, for some strange reason.

So, I've come up with a slightly 'odd' workaround. (I used to do stuff like this in XP, all the time.)

I've created a directory in my 'Puppy-Stuff' partition, which contains two things. A sym-link to the Comodo AV for Linux .desktop file (to start the GUI).....and a sym-link to/opt/COMODO/cmdagent. I've then dragged this to the desktop, and tarted it up with a suitable icon.

To start, I click the icon, and move the ROX window to the bottom of the screen. I start CAV, and set it ready to scan (usually 'Critical Areas'); just before hitting 'Scan', I click on cmdagent.....since this seems to be the 'culprit' that prevents the scans and updates from functioning correctly. Hey Presto...

...it works as it should.

I've made a little video to demonstrate the process. It's a wee bit 'messy', but it does the job.

https://youtu.be/iLWPdB2jAwg

As regards the updating of the databases, it all seems to work fine in the 32-bit Pups. It's the 64-bit Pups where it refuses to function.....as Gordie's found out.

Odd.


Mike. :wink:

Gordie
Posts: 153
Joined: Tue 23 Aug 2016, 15:26
Location: Nolalu, Ontario, Canada

#55 Post by Gordie »

Don't know what to make of this but now, today COMODO is downloading updates to the signature database like it is supposed to and I have no idea why or what I did to fix things

Thanks for all your help Mike Walsh. Now to try it on Puppy

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#56 Post by Mike Walsh »

Interestingly, I've noticed that it's the Slackware-based Pups that are giving problems with the database update. The MenuEntry .pet, with the 'workaround', seems to work correctly a couple of times.....then after that, it misbehaves.

In the 'buntu-based Pups, it's all 'plain sailing'.....even old 'uns, like Precise 571.


Mike. :wink:

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#57 Post by bigpup »

As regards the updating of the databases, it all seems to work fine in the 32-bit Pups. It's the 64-bit Pups where it refuses to function.....as Gordie's found out.
It is working for me in 64bit Xenialpup 7.0.8.5.

I am not using the SFS package.
I installed a 64bit .deb of Comodo. (cav-linux_X64.deb)
I am using the menu.pet to start Comodo.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#58 Post by bigpup »

Use a browser to go to http://download.comodo.com and get 404 not found
The same for me.
That seems strange.
Put a web site address in the preferences, as default, and it gives this result. :shock: :roll:

Maybe Comodo has something blocking access to it, from something other than a comodo program :idea:


About Slackware issues.

Comodo seems to be setup to expect to be running under a user status, not as root or administrator.

How are you running Slackware?

Maybe something to look at :idea:

In Comodo->More tab->Check for Updates
It pops up a message run opt/COMODO/cavupdater using root commands sudo or su.
So, it thinks it is not running under root already.
In Puppy, just click on cavupdater.
Puppy is already running as root.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Gordie
Posts: 153
Joined: Tue 23 Aug 2016, 15:26
Location: Nolalu, Ontario, Canada

#59 Post by Gordie »

Bigpup - My Slackware is set up as root and users. If I need administrator access it tells me and provides a form for me to enter the password.

There are downloads on the COMODO site for Ubuntu, Debian, Mint, Redhat Enterprise Linux Server, Fedora, CentOS, SUSE Linux Enterprise Server and OpenSUSE. None of these are used as root like Puppy is. That is one thing I like about Puppy.

It is not surprising to me that Debian and its spawn run COMODO well since it was compiled by them to do so. Should be nice to have the source code so I could compile it myself

Gordie
Posts: 153
Joined: Tue 23 Aug 2016, 15:26
Location: Nolalu, Ontario, Canada

#60 Post by Gordie »

Almost there. Just now have this msg at the left above the "Run Diagnostics" button.

Image

EDIT - HA! That didn't go off well did it?

Post Reply