bug-hurd
[Top][All Lists]
Advanced

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

Re: A proxy of the proc server for translators


From: olafBuddenhagen
Subject: Re: A proxy of the proc server for translators
Date: Wed, 2 Jul 2008 07:23:47 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi,

On Mon, Jun 30, 2008 at 03:10:13PM +0200, zhengda wrote:
> olafBuddenhagen@gmx.net wrote:

>> AIUI every process has it's own port for proc, right?
>>
>> So I think all you need to do is for every client that contacts the
>> proc proxy, to create a distinct port to the real proc server, and
>> forward all requests from this client on that port.
>>   
> As my understanding, the proxy of proc server creates many different
> names for the port to the proc server and each name is used for each
> process.

No, I don't mean many names for the same port. (I don't think that is
even possible...)

What I mean is that the proc server, AIUI, has a distinct port for each
process. The proxy would need send rights for the ports of all processes
it proxies; and whenever a process sends a request to the proxy, the
proxy needs to forward it to the real proc on the right port.

Of course that means that the proxy somehow needs to obtain the
per-process ports from the proc server. I don't know enough about proc,
so I can't tell how this needs to be done exactly. It's probably not
trivial, and certainly requires a full understanding of the proc
protocol...

-antrik-




reply via email to

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