Gary Buckmaster wrote:
Looks a lot better! The settings are staying and appear to be
functioning as advertised.
Nice to hear that!
The only weirdness now, which I think is a
HAVP thing and not your work, is that HAVP seems to split the difference
between SERVERNUMBER and MAXSERVERS. Right now, my network is woefully
underutilized and with SERVERNUMBER 200 and MAXSERVER 500 and there are
400 havp instances running right now. It's obviously not a big deal,
but its something that I'm sure will lead to questions.
This is in fact the prerelease of havp for freebsd. They are infact looking for people to
test havp under freebsd, in particular they want some one with access to AMD64 box for
testing. The forum is at http://havp.hege.li/forum/viewtopic.php?t=31
Also, I was complaining about the rc script that came with the HAVP
package so I've attached one that I hacked up. Feel free to use it,
anyone.
Added the start up script to the package. Now the start stop is also working well. Thanks
to you!
Next is to get transparent proxy working.
raj
-Gary
Rajkumar S wrote:
Hi,
I think I have fixed the gui update problem. I have not yet updated
the fix to main pfsense repository. In the mean time you can test this
by:
0. Remove all existing packages.
1. change the xmlrpcbaseurl in /etc/inc/globals.inc to agni.linuxense.com
2. remove /tmp/config.cache
3. remove all entries inside <havp> in /conf/config.xml
4. Update the Available Packages by clicking System -> Packages
5. Install HAVP package.
I hope I have not made any new bugs with this fix :)
let me know how it goes.
raj
------------------------------------------------------------------------
#!/bin/sh
# HAVP Init script
# 6/23/06 - Gary Buckmaster
pidfile=/var/run/havp/havp.pid
required_dirs=/var/tmp/havp
required_files=/usr/local/etc/havp/havp.config
rc_start()
{
if [ ! -f $required_files ]
then
echo "FATAL: Missing HAVP config file: $required_files"
return
fi
if [ ! -d $required_dirs ]
then
echo "FATAL: Missing HAVP working director: $required_dirs"
return
fi
if [ -f $pidfile ]
then
pid=$(sed 's/ //g' $pidfile)
echo "FATAL: HAVP already running? pid: $pid"
return
else
echo "Starting HAVP Antivirus HTTP Proxy"
/usr/local/sbin/havp &
sleep 4
if [ -f $pidfile ]
then
pid=$(sed 's/ //g' $pidfile)
echo "Started pid: $pid"
else
echo "An error occurred starting HAVP"
return
fi
fi
}
rc_stop()
{
pid=$(sed 's/ //g' $pidfile)
if [ ! -f $pidfile ]
then
echo "FATAL: HAVP already running pid: $pid"
return
else
echo "Stopping HAVP pid: $pid"
kill $pid
fi
}
case $1 in
start)
rc_start
;;
stop)
rc_stop
;;
restart)
rc_stop
sleep 5
rc_start
;;
esac
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]