Oh! I by mistake "added" a bug when i sent that file(viralator.cgi), change
the following to get it working again-
Find the line
($before,$url1) = split /viralator.cgi?url=/ , $requesturl;
Change it to
($before,$url1) = split /url=/ , $requesturl;
That'll fix it.
My apologies.
-Anks
On Thursday 18 October 2001 12:31 am, you wrote:
> ------- Start of forwarded message -------
> From: "Scott McGee" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: Re: squidGuard and virus protection
> Date: 10/17/2001 9:50:41 PM
>
> Has anyone gotten Viralator working succesfully? I tried it out
> briefly, but the status window in the browser seemed to respawn every 5
> seconds instead of refreshing. It did this in IE, Netscape and Opera
> web browsers. I don't know javascript well enough to tell what the
> problem is:
>
> (From Viralator)
>
> # OK now we kow the file the user wants to get ($url1) and the page
> ($requestpage) they found it on.
> # We now need to actually do something.
> # Lets start by returning the user to the page they found the file on
> and launching a pop up window!
> # The pop up windows should have some usefull info in it about whats
> going on.
> &PrintHeader;
> print "<body bgcolor=white onload=WinOpen\(\)\>\n";
> print "<META HTTP-EQUIV=\"refresh\" CONTENT=\"5
> \;URL\=$requestpage\">\n";
> print "<p>\n";
> print "downloading $url1 \n";
> print "
> \<SCRIPT LANGUAGE\=\"JAVASCRIPT\"\>
> \<\!\-\-
> function WinOpen\(\) \{
> open(\"http://$servername/$scriptname?action=popup&fileurl=$url1\"\,\"$u
> glydate\"\,\"width=600\,height=150,scrollbars=1,resize=yes\")\;
> \}
> \/\/\-\-\>
> \<\/SCRIPT\>
>
>
> Scott
>
> ----- Original Message -----
> From: "Aerik Clinton Watson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, October 17, 2001 7:45 AM
> Subject: RE: squidGuard and virus protection
>
>
> You can try using Viralator, or something of the like. It's a perl
> script
> that virus scans http downloads on a linux server after passing through
> the
> squid proxy server. It works in conjunction with virus scanners like
> AntiVir, McAfee etc.
>
> http://viralator.loddington.com/
>
> Aerik Clinton Watson
> e-Security Systems Engineer - DOLFIN.COM
>
> "It used to be that no matter where you went, there you were. Now, with
> cyberspace, no matter where you go, you can still be some place else."
>
>
> -----Original Message-----
> From: Julian Tzonev [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 17, 2001 11:10 AM
> To: [EMAIL PROTECTED]
> Subject: squidGuard and virus protection
>
>
> Hi there,
> Is it possible to use squidGuard (or squid) for virus protection when
> users serve WEB or download files.
>
> Julian Tzonev
>
>
> -------- End of forwarded message --------