Possible minor bug in frox

Kristian Rask krask at ese-security.dk
Tue Dec 2 04:21:09 PST 2003


Hi

FreeBSD 5.0-R/i386
frox from ports (frox-0.7.7) w. antivirus support

We have frox running and working (together w. ipfw fwd) as a transparent ftp proxy
Kaspersky AV is also working.. however..

When a ftp session is cancelled for whatever reason, the /tmp/tmp files remains.
If the same session is NOT cancelled the /tm/tmp/* files disappears after completion.
This is apparently some sort of bug (that the file remains on aborted transfers).

Questions 
 
Would the addition of something like :
"rm /tmp/tmp/VS_*"
to :
/usr/local/etc/rc.d/frox.sh 
do the trick ? or is there other implikations ?

Would the addition of :
"rm /tmp/tmp/*"
to something like  : 
/usr/local/etc/rc.local
pose any kind of problem ?


Is there any plans to create a "handle" link.. like..
frox.conf
AVRetCode_0 : MSG 150 "No virus, transfer completing"
AVRetCode_1 : MSG 150 "Virus detected and cleaned"
AVRetCode_2 : Handle "echo virus.pattern out of date | sendmail admin at example.org"
etc... etc..


regards

Kristian




More information about the freebsd-ports mailing list