Hi
Been using HAVP and am well impressed with it.
What im trying to do is log any virus to a MySQL database. What ive done is changed virus.html in the templates directory to
<html>
<head>
<meta http-equiv="refresh" content="0;URL=http://server/cgi-bin/virus.cgi?virus<!--message-->">
</head>
This redirects when a virus is found and my virus.cgi script logs the info to the MySql db, what I dont have is the original source IP as I run with Squid in front. Can you add a variable e.g. <!--sourceip--> so I can use in the redirection?
Or does anyone have a better way of doing this?
Thanks
Paul
|