[RC5-PROXYPER] rc5desproxyper build 275 (linux) ignores flush request

Friedemann Baitinger baiti at herrenberg.netsurf.de
Fri Jan 23 23:34:11 EST 1998


On Thu, 22 Jan 1998, Mitchell Patenaude wrote:

> On Thu, Jan 22, 1998 at 10:33:26PM +0100, Friedemann Baitinger wrote:
> > 
> > I sent a couple of HUP signals and always got a reponse like:
> > 
> [ timestamps removed for readability ]
> > [...] Bovine RC5 Personal Proxy for UNIX (Build 275)
> > [...] For details, see http://rc5.distributed.net/
> > [...] 32 max connections
> > [...] ready=2060/2000, done=0 for rc5
> > [...] ready=388/1000, done=657 for desII
> > [...] Listener added to ip 0.0.0.0 port 2064
> > [...] rc564 r=2060/2000, d=0/1900, des r=388/1000, d=657/900
>                                                        ^^^^^^^
> > [...] 0d 0:00:00, 0.0 rc5 Mkeys/sec 0.0 des Mkeys/sec
> > [...] Status: Slot 0 LISTENING
> > [...] Main proxy serving loop has begun
> > [...] Configuration file (./rc5desproxyper.ini) reloaded!
> > [...] *Flush*  Ignoring flush/fetch request.  select: Interrupted system call
> > [...] rc564 r=2060/2000, d=0/1900, des r=388/1000, d=657/900
> > [...] 0d 0:00:31, 0.0 rc5 Mkeys/sec 0.0 des Mkeys/sec
> > [...] Status: Slot 0 LISTENING
> > 
> > ist appears to me that the reason is because i do not have any rc5 keys
> > in the output buffer. apparantly the proxy doesn't want to just flush
> > the DES keys. to verify this, i am just submitting some rc5 blocks
> > to my proxy and then i will HUP it again:
> 
> I think the reason is that it doesn't think it needs to flush because
> the "maxkeysdone" value hasn't been reached, and neither has it reached the
> "minkeysready" value.  Try changing those to something like 100 and 500 
> respectively, and I think that will help.

Nope, you missed the point. Of course it doesn't think it needs to flush
but _I_ wanted it to flush by sending it a kill -HUP <pid>. If you
look at my posted log carefully you will see that as soon as I had
a few keyblocks in the rc5 bucket it reacted to the HUP signal as
expected.

Well, never mind, I can live with this by just making sure that there
is at least one rc5 block in the output buffer when I actually want
to flush the DES buffer.


-- 
Friedemann Baitinger           baiti at herrenberg.netsurf.de


--
To unsubcribe, send 'unsubscribe rc5-proxyper' to majordomo at llamas.net



More information about the proxyper mailing list