ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Firefox 3.0: Virus scan feature
Jason


Joined: 23 May 2008
Posts: 5
Reply with quote
I don't know whether you've noticed already, that Fx 3.0 offers a new feature to initiate a virus scan automatically after a download is finished (with the default download manager).

Is ClamWin be able to interpret that signal or does it only matters for realtime scanners?

Could a function be implemented into a future version to react and scan a downloaded file?
View user's profileSend private message
Jason


Joined: 23 May 2008
Posts: 5
Reply with quote
Anyone?
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4799
Location: USA
Reply with quote
I don't use Firefox, but the new feature to autocheck a file after downloadprobably doesn't require a realtime scanner unless they furnish a list of antivirus programs that can be used. WinZip has had a similar feature for some time now.

Regards,
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 1755
Reply with quote
I can't find this option in FF 3 RC1. Could you provide a screenshot?
View user's profileSend private message
Jason


Joined: 23 May 2008
Posts: 5
Reply with quote
http://blogs.computerworld.com/sites/default/themes/cw_blogs/cache/files/u98/download_manager.jpg

You can see this directly after a download is finished in the download manager.

An option in the configurations menu doesn't exist for that feature.
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 1755
Reply with quote
well, if you can't configure it then it is likely to work with preconfigured command line scanners that are detected at runtime
View user's profileSend private message
Jason


Joined: 23 May 2008
Posts: 5
Reply with quote
I've downloaded a testvirus and found out the following:

I got a warning about an infection by Windows Defender, not by ClamWin.

Because of that, I think that Fx only uses virus scanners, which are detected by the Windows Security Center.

Btw: I did a request at Mozillas Bug tracker for this issue. Maybe they will implement a possibility to support ClamWin too.

Edit: Man, this guys are really fast, this was the answer:

"We use a system api call - if virus scanners want to participate they can hook
into the system to do so. We will not be providing UI to manually select a
virus scanner at this time."

Do you think you could implement this, so that ClamWin can be detected by Fx 3.0?
View user's profileSend private message
b0ne


Joined: 26 Oct 2006
Posts: 174
Reply with quote
Jason wrote:
Do you think you could implement this, so that ClamWin can be detected by Fx 3.0?


Technically this idea already exists as a ClamWin addon (http://clamwin.svn.sourceforge.net/viewvc/clamwin/trunk/addons/Office_ClamWin/Readme.txt?view=markup http://clamwin.svn.sourceforge.net/viewvc/clamwin/trunk/addons/Office_ClamWin/Readme.txt?view=markup), but it doesn't look like it has received any attention in a while. It works independently of Security Center registration, as far as I know.

If you got a compiled version of this Dll and registered it, Firefox 3.0 would make use of it.

But, before you reply, I have already used my psychic powers to determine your next thought. "How can I get this DLL?!?!" Well, for one, someone would need to compile it. Before you ask someone to do that, it should be heavily noted that the addon will launch ClamWin, which has to launch clamscan, which has to load the database, which scans the file, which reports the results to ClamWin, then ClamWin displays the results to the user.

To give you an idea of this performance implication, you could download a file in firefox and right as it finishes, right click on it, and use the clamwin shell extension to scan the file, it will have similar performance and delays.
View user's profileSend private message
Jason


Joined: 23 May 2008
Posts: 5
Reply with quote
Thanks b0ne.

But I think I will wait until the ClamWin team implements an official solution for this into a future version.
Maybe I have to wait until 1.0. Smile
View user's profileSend private message
Sturmeh


Joined: 11 Apr 2008
Posts: 23
Location: Australia
Reply with quote
I was going to raise this issue myself.
I am glad FF3 is putting safety first for the web users, and the auto-scan feature in FF3 would greatly compliment an non-resident Anti-Virus like clam-win.

How ever, the scan should be completely transparent and only raise windows when suspect files are detected.
View user's profileSend private message
Automatically Scan Files After Download
SSVegito888


Joined: 07 Jun 2008
Posts: 4
Reply with quote
Jason, If you want to automatically scan files after download, try Download Statusbar which is a download manager extension for firefox which can be set up to scan files after each download. All you need to do is go to the addons page in firefox --->
Click Options on the extension ---> go to last tab "Virus Scan" ---> enter the path to the correct ClamWin Executable and for arguments type %1



I have never tried this with Clamwin. But it works with AVG 7.5 Free and Avast Free.


The trick is to find out which executable in the antivirus path to use.


You can Download extension here: https://addons.mozilla.org/en-US/firefox/addon/26 https://addons.mozilla.org/en-US/firefox/addon/26


There are also some other extensions that will scan the files automatically.


You can search for them here: https://addons.mozilla.org https://addons.mozilla.org
View user's profileSend private message
Glob


Joined: 15 Jun 2008
Posts: 3
Reply with quote
The extension is a nice temporary solution!

But anyway, is there something planned alread in that way, that Firefox is able to call up the ClamScan program?
View user's profileSend private message
Re: Automatically Scan Files After Download
BinaryFragger


Joined: 29 Dec 2006
Posts: 9
Location: Ottawa, Canada
Reply with quote
SSVegito888 wrote:
Jason, If you want to automatically scan files after download, try Download Statusbar which is a download manager extension for firefox which can be set up to scan files after each download. All you need to do is go to the addons page in firefox --->
Click Options on the extension ---> go to last tab "Virus Scan" ---> enter the path to the correct ClamWin Executable and for arguments type %1



I have never tried this with Clamwin. But it works with AVG 7.5 Free and Avast Free.


The trick is to find out which executable in the antivirus path to use.


You can Download extension here: https://addons.mozilla.org/en-US/firefox/addon/26 https://addons.mozilla.org/en-US/firefox/addon/26


There are also some other extensions that will scan the files automatically.


You can search for them here: https://addons.mozilla.org https://addons.mozilla.org



The '%1' argument didn't work for me (it only opened the ClamWin without initiating any scan), however this did:

Code:
--mode=scanner --path=%1 --close


Works fine with ClamWin 0.93.1 and Firefox 3.0.
The executable I point the extension to is C:\Program Files\ClamWin\bin\ClamWin.exe
View user's profileSend private message
Dev-kb


Joined: 21 Jul 2008
Posts: 2
Reply with quote
Does there also exist a command line option to hide the scanning window while the scanning process?
View user's profileSend private message
ClamWin Glue Extension
ares139


Joined: 23 Jun 2006
Posts: 7
Reply with quote
Ever hear of https://addons.mozilla.org/en-US/firefox/addon/771 ClamWin Glue?

EDIT1: To get it to work with FF3, try http://lifehacker.com/355973/make-your-extensions-work-with-the-firefox-3-beta this Lifehacker guide:

EDIT2: Blah, scratch that, it doesn't seem to work... anyone know of an alternative? (Besides Download Statusbar?)

EDIT3: Found one - http://downloadstatusbar.mozdev.org/downscan/index.html DownScan

Use these configurations with DownScan:
    Location: "C:\Program Files\ClamWin\bin\ClamWin.exe"
    Arguments: "--mode=scanner --close --path=%1"

I sure talk to myself enough, don't I? Laughing
View user's profileSend private message
Firefox 3.0: Virus scan feature
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 2  

  
  
 Reply to topic