[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dazuko-devel] Re: problem of DAZUKO

From: John Ogness
Subject: [Dazuko-devel] Re: problem of DAZUKO
Date: Thu, 09 Dec 2004 12:13:34 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

akshay wrote:
I am using Dazuko in my application.
When i get accese to file ,i passed that file name to scan engine over a socket
but it get hangs while reading socket.

whats reason ?
I hv to mannually kill the application..


Only registered processes are allowed to open/close files. Since your scanner is not registered with Dazuko, its access is also being acknowledged by Dazuko.

Here is the sequence of events that are occuring:

1. registered process receives access event
2. registered process sends event over socket to non-registered process
3. non-registered process opens file for scanning
4. Dazuko detects file access from non-registered process
5. Dazuko sends access event to registered process
6. goto step 1

Summary: The non-registered scanner process never is allowed to open the file and an infinite "chicken/egg" loop is created.

Currently the only solution is for your scanning processes to register with Dazuko. If they register, they also have to be prepared to get/return access events. Using groups, you can have multiple registered processes working together.

I am working on a idea to allow non-registered processes to be specified as trusted. This would allow your scenario to work. I haven't quite worked out all the details for my proposal yet. Hopefully something like this will be available for the 2.1.0 release (planned for February).

John Ogness

Dazuko Maintainer

reply via email to

[Prev in Thread] Current Thread [Next in Thread]