HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

In the browser can not see Virus Name
http://havp.hege.li/forum/viewtopic.php?f=3&t=488
Page 1 of 1

Author:  bir777 [ 02 Jan 2010 13:15 ]
Post subject:  In the browser can not see Virus Name

My enviroment: WS<---SRV1(SQUID)<---SRV2 (<--HAVP<--SQUID<--)<---INTERNET
Use HAVP with clam (over socket):

ENABLECLAMD true
CLAMDSERVER 127.0.0.1
CLAMDPORT 3310

Open test page: http://www.eicar.org/download/eicar_com.zip
In the my Browser see RED attantion about Virus, but without virus name...

In the SRV2 /var/log/clamd/clamd.log - i see info about this virus:
/var/tmp/havp/havp-QuhVRR: Eicar-Test-Signature FOUND

In the SRV2 /var/log/havp/access.log - i see about this virus too:
02/01/2010 12:05:21 192.168.252.17 GET 200 http://www.eicar.org/download/eicar_com.zip 474+184 VIRUS Clamd: Eicar-Test-Signature

Why in the Browser attantion without Virus Name ?

Serg

Author:  hege [ 02 Jan 2010 21:45 ]
Post subject:  Re: In the browser can not see Virus Name

Where did you get your HAVP? The official version works fine by default.

Have you (or someone) edited TEMPLATEPATH and/or virus.html? Screenshot please.

Author:  bir777 [ 04 Jan 2010 10:25 ]
Post subject:  Re: In the browser can not see Virus Name

if i use:
TEMPLATEPATH /usr/local/etc/havp/templates/ru
i have this problem.

If i use:
TEMPLATEPATH /usr/local/etc/havp/templates/en
all ok.

Serg

Author:  hege [ 04 Jan 2010 10:36 ]
Post subject:  Re: In the browser can not see Virus Name

I think the ru template was donated by someone. It seems with IE the text is hidden, FireFox and Opera work fine.

Try adding "background-color: white" to ru/virus.html, like this..

Code:
td.havp_scheme.msg_area p.danger {border-width: 1.5mm; margin-right: 20%; margin-left: 20%; width: 60%; border-style: ridge; border-color: red; color: #D80028; background-color: white}

Author:  bir777 [ 04 Jan 2010 10:59 ]
Post subject:  Re: In the browser can not see Virus Name

Thank you for suggestion.
I have made so:
1. copy virus.hml form .../en to the .../ru
2. manual insert this string:
<meta http-equiv="content-type" content="text/html; charset=windows-1251">
3. modify text with attantion from the English to the Russian.

After this - i have Russian Attantion and info about virus-file

Serg

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/