You are not logged in.

#1 2014-04-03 17:21:34

freyr
Member
From: Hungary
Registered: 2010-02-04
Posts: 131

[Request] Comodo Antivirus for Linux

Hi!

If it's possible, could someone make and maintain a package from the Comodo Antivirus for Linux program?
It supports Debian, Ubuntu, Linux Mint, ReadHat, Fedora, CentOS, SUSE and openSUSE, but it only has binaries, no source code. I tried to install it from the .deb packages, but failed completely with several unresolvable dependencies. As for making an installable package I don't even know where to start, I don't recognize the file structure inside the packages which is made with deb2targz, also the dependency problem would not solve itself.

I'm not a programmer, so I can't go further.

As far as I know, this is the only antivirus for desktop Linux distros with actual real-time protection.


What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?

Offline

#2 2014-04-03 17:33:45

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [Request] Comodo Antivirus for Linux

I'm pretty sure we've had this requested before.

My first thoughts were that it'd be possible if we had actual source files/binaries to work with (either a .tar.gz or .sh or .run or [you get my drift]).

Actually, it's probably possible based on what's there, but the problem is that those are pre-built for other distributions.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2014-04-03 20:08:40

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

Re: [Request] Comodo Antivirus for Linux

the problem there is they not probide a generic linux download.
maybe think is download the respective to the distro more closed to Arch and test in /opt throw manual extract and location.... if something need and onler version you are doomed..... else you can create a PKGBUILD for the package

Last edited by Jristz (2014-04-03 20:09:11)


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

#4 2014-04-03 22:37:17

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [Request] Comodo Antivirus for Linux

It appears that WorMzy has whipped up this in the AUR: https://aur.archlinux.org/packages/comodo/


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#5 2014-04-03 22:50:03

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,653
Website

Re: [Request] Comodo Antivirus for Linux

Yeah, I uploaded a little prematurely, I was still making some last minute changes. Didn't think anyone'd notice. tongue

Turns out the debs are just alien-converted rpms, so I've used the rpms as sources. Once you install it, you need to run /opt/COMODO/post_setup.sh as root (this was something I forgot to add to the .install file, so if you already downloaded, makepkg'd and installed, you'll probably not know this).

I'm not sure about the license, all I've been able to find is the website T&Cs which states that Comodo products are subject to "Subscriber Agreements", which I can't find any information on. I haven't run the post_setup.sh script myself (I'm still looking through it), so perhaps the agreement is presented to you there.

If anyone can shed some light on the subject, that'd be helpful.

EDIT: Ah, I was looking at the wrong file. The agreement is in the post_setup.sh, at the top.

I think I'll need to knock up a service file too, there's only an sysvinit script..

EDIT EDIT: The license doesn't allow me to modify the post_setup.sh script to replace the initscript calls with the systemd equivalent, it probably doesn't let me remove the superfluous libraries either, so those lines will be commented out for the time being while I liaise with their legal department. The realtime protection kernel modules also don't build on Arch's default kernel (not sure about the -lts kernel), so that won't work without modifying files (which again, is not permitted by the license).

The .desktop files may not show up in any menus either, not sure if I made a mistake there or not.

You can still run on-demand scans for the time being (once you've updated the database). You should enable sgdagent.service cmdagent.service after running post_setup.sh, and sdgdaemon.service cmgdaemon.service after updating your virus database. Start the application with /opt/COMODO/cav if you don't have a menu icon for it in your menu.

Last edited by WorMzy (2014-04-04 13:24:42)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#6 2014-04-04 04:34:54

freyr
Member
From: Hungary
Registered: 2010-02-04
Posts: 131

Re: [Request] Comodo Antivirus for Linux

Thanks, WorMzy, much appreciated your work! But I get an error when I try to enable or start both sgdagent.service and sdgdaemon.service saying No such file or directory.
I could enable and start cmdagent, though, and it works. At least no errors yet.

Can I run this as root (gksu) at this point to be able to scan the whole filesystem?

Last edited by freyr (2014-04-04 04:37:51)


What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?

Offline

#7 2014-04-04 13:22:55

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,653
Website

Re: [Request] Comodo Antivirus for Linux

I'm not sure why I put sgdagent or sdgdaemon in my last post, tiredness probably. You should start cmdagent, and cmgdaemon as you've found out.

You only need to start the agent as root, run the client (cav) as a normal user. You don't need cmgdaemon unless you want the mail gateway scanner, but in order to start it, you need to have a set of virus definitions first.

So the order you should start them for the first time is:

cmdagent.service -> /opt/COMODO/cav (update definitions) -> cmgdaemon.service (if you want the email scanner)

I've added this to the install file.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#8 2014-04-04 13:55:18

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [Request] Comodo Antivirus for Linux

WorMzy wrote:

EDIT EDIT: The license doesn't allow me to modify the post_setup.sh script to replace the initscript calls with the systemd equivalent, it probably doesn't let me remove the superfluous libraries either, so those lines will be commented out for the time being while I liaise with their legal department. The realtime protection kernel modules also don't build on Arch's default kernel (not sure about the -lts kernel), so that won't work without modifying files (which again, is not permitted by the license).

The drivers in driver.tar all are GPL licensed. (read drivers/*/COPYING) You should be able to bundle this updated driver.tar or extract, patch and repack.
http://forums.comodo.com/comodo-antivir … #msg679723


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#9 2014-04-04 14:32:02

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,653
Website

Re: [Request] Comodo Antivirus for Linux

Cheers for pointing that out. I feel a little uneasy replacing the shipped archive with this third party one though -- post_setup.sh has to be run as root, which means the module building is done as root. Worse still, the module building is done automatically, without any user prompting, so long as it finds the headers for the running kernel. I don't know if the tarball is trustworthy or not.

I might knock up a second PKGBUILD to build these modules separately. At least then you can build them as a normal user. Plus it'd be easier to put in kernel dependencies on the modules that way too, and have them tracked by pacman.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#10 2014-04-04 14:44:16

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [Request] Comodo Antivirus for Linux

WorMzy wrote:

I might knock up a second PKGBUILD to build these modules separately. At least then you can build them as a normal user. Plus it'd be easier to put in kernel dependencies on the modules that way too, and have them tracked by pacman.

Maybe create a dkms package per module?
Edit: If you want trusted sources, start with the original source for redirfs and avflt or with comodos version and put the rest in as patches.
http://www.redirfs.org/

Last edited by progandy (2014-04-04 14:50:58)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#11 2014-04-04 21:05:57

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,653
Website

Re: [Request] Comodo Antivirus for Linux

Ehh, someone else can make dkms packages or a nvidia-all style package if they want. I'll only support Arch's stock kernel, and possibly the -lts too. It's not a great solution, I'll admit. I think it's better than comodo's method, at least.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#12 2014-04-05 02:47:48

freyr
Member
From: Hungary
Registered: 2010-02-04
Posts: 131

Re: [Request] Comodo Antivirus for Linux

I've just updated the package and installed the comodo-modules as well, but I noticed that whatever settings change I made, they are not saved. Scan profiles, Scanner settings, Schedules, everything resets to default as soon as I close the settings window.

By the way, the file size limit is 20 MB default. Why's that and what are the recommended and the maximum values?

Last edited by freyr (2014-04-05 02:49:33)


What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?

Offline

#13 2014-04-05 14:06:31

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,653
Website

Re: [Request] Comodo Antivirus for Linux

You'll have to ask Comodo about the defaults, they're nothing to do with me.

It seems that you need to open the client (cav) as root to change the permissions, since it saves the configuration to /opt/COMODO/etc/COMODO.xml. I'm guessing this is a design choice, since it prevents regular users disabling it.

If you have the client open as a regular user, close it and then use a privilege elevator (sux, gksudo, kdesu, etc) to re-open the client as root.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#14 2014-04-05 18:59:30

freyr
Member
From: Hungary
Registered: 2010-02-04
Posts: 131

Re: [Request] Comodo Antivirus for Linux

Okay, Thanks!


What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?

Offline

Board footer

Powered by FluxBB