HTTP Anti-Virus Proxy

Official HAVP Support Forum
Registration disabled, I'm tired of spambots. E-mail havp@hege.li if you have questions.
HAVP project is pretty much frozen/abandoned at this time anyway.
It is currently 22 Jun 2014 09:53

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: too many lock files
PostPosted: 26 Jun 2006 10:41 
Offline

Joined: 26 Jun 2006 10:15
Posts: 8
Hi, I'm using HAVP 0.81 with clamav 0.88.2.
I noticed that scan temp files are not deleted after used, so there is a
leak into the directory owning them.
Is it a configuration problem or a known bug?

Thanks,
Ernesto Del Prete


Top
 Profile  
 
 Post subject:
PostPosted: 26 Jun 2006 12:38 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
How do you mean, after used?

While HAVP is running, the same tempfiles are always reused.

When HAVP is closed, they should disappear. If not, then there is something wrong.

Cheers,
Henrik


Top
 Profile  
 
 Post subject:
PostPosted: 26 Jun 2006 12:51 
Offline

Joined: 26 Jun 2006 10:15
Posts: 8
Hi,
I executed a fuser on the temp files and only some of the thousands I have are currently used by a process. I mean "used" as not ownded by a havp process serving a connection.
I post my conf file. The problem arised when I switched to the 0.80 version (now I have the 0.81 and the problem is not solved) and only for the transparent proxy.

USER havp
GROUP havp
PIDFILE /var/run/havp/havp_transparent.pid
SERVERNUMBER 10
MAXSERVERS 150
ACCESSLOG /var/log/havp_transparent/access.log
ERRORLOG /var/log/havp_transparent/havp.log
SCANTEMPFILE /var/tmp/havp/transparent/havp-XXXXXX
DBRELOAD 60
DAEMON true
TRANSPARENT true
PARENTPROXY localhost
PARENTPORT 3128
LOG_OKS true
FORWARDED_IP false
PORT 8081
SOURCE_ADDRESS 127.0.0.1
DISPLAYINITIALMESSAGES true
TEMPLATEPATH /opt/havp_transparent/etc/havp/templates/it
WHITELIST /opt/havp_transparent/etc/havp/whitelist
BLACKLIST /opt/havp_transparent/etc/havp/blacklist
MAXSCANSIZE 0
KEEPBACKBUFFER 25000
TRICKLING 0
ENABLECLAMLIB true
ENABLECLAMD false
ENABLEFPROT false
ENABLEAVG false
ENABLEAVESERVER false
ENABLESOPHIE false
ENABLETROPHIE false
ENABLENOD32 false
ENABLEAVAST false


Top
 Profile  
 
 Post subject:
PostPosted: 26 Jun 2006 12:53 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
What OS/distribution/gcc version do you have?

Cheers,
Henrik


Top
 Profile  
 
 Post subject:
PostPosted: 26 Jun 2006 12:55 
Offline

Joined: 26 Jun 2006 10:15
Posts: 8
Fedora core 3

Linux server4 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 2004 i686 i686 i386 GNU/Linux

I noticed that the daemons die.

Bye,
Ernesto


Top
 Profile  
 
 Post subject:
PostPosted: 26 Jun 2006 12:59 
Offline

Joined: 26 Jun 2006 10:15
Posts: 8
in addition:
the same configuration but without transparent proxy is ok.


Top
 Profile  
 
 Post subject:
PostPosted: 26 Jun 2006 13:07 
Offline

Joined: 26 Jun 2006 10:15
Posts: 8
I forgot the gcc version:

gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)


Top
 Profile  
 
 Post subject:
PostPosted: 26 Jun 2006 13:19 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
Nothing in error logs?

Check some PID of "middle" process with "ps -fe --forest". And let "strace -p PID" run until it crashes. Probably won't take long if you have that many dead files around.. maybe this will give some clues.

Cheers,
Henrik


Top
 Profile  
 
 Post subject:
PostPosted: 26 Jun 2006 14:25 
Offline

Joined: 26 Jun 2006 10:15
Posts: 8
gotcha! the problem was the log file too big.
Is it possibile to send logs to syslog?

Bye,
Ernesto


Top
 Profile  
 
 Post subject:
PostPosted: 26 Jun 2006 14:27 
Offline

Joined: 26 Jun 2006 10:15
Posts: 8
if you want I can contribute to modify code to insert some issues.
HAVP is very useful for us.

Bye,
Ernesto del Prete


Top
 Profile  
 
 Post subject:
PostPosted: 26 Jun 2006 14:56 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
Gotta fix logging to be a bit more robust it seems.

We'll see if syslog can be added too. :)

Cheers,
Henrik


Top
 Profile  
 
 Post subject:
PostPosted: 26 Jun 2006 20:19 
Offline
HAVP Maintainer

Joined: 27 Feb 2006 19:08
Posts: 62
Yes, syslog logging would be usefull. It should be simple to do this.


Top
 Profile  
 
 Post subject:
PostPosted: 26 Jun 2006 20:31 
Offline

Joined: 26 Jun 2006 10:15
Posts: 8
I'm coding...

Bye,
Ernesto


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group