USING VIRGE WITH AVPDAEMON

First of all, you need to get AVPDaemon ( http://www.avp.ch ).

Next, you need to install it (which is covered in AVP documentation),
refer to it for installation details.

By default, AVPDaemon creates a socket in /var/run:

[root@x x]# ll /var/run/AvpCtl 
srwxrwxrwx    1 root     root            0 Jul 29 17:25 /var/run/AvpCtl
[root@x x]#

Socket is world-writable by all.

I suggest that you start AVPDaemon with '-Y' switch, and define the
path which can be accessed for scanning. For example:

./AvpDaemon -A -K -Y /virge/temp/

This means that even if some other local user can write to AVPdaemon
socket, only files in /virge/temp can be scanned - user can not try
to scan /virge/isolated or any other dir. It's not really a risk even
if user can scan other directories, but I prefer not to let them do it.

Virge has hardcoded path to "/var/run/AvpCtl" socket for AVP scanning.
If you really need to change it, edit the "scan_avp.c" file and change
the path.

Don't forget to turn on 'scan_avp' in configuration file:

scan_avp: 1
