pcp
[Top] [All Lists]

Re: pcp updates - yippee secure socket connections work

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: pcp updates - yippee secure socket connections work
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Fri, 19 Apr 2013 10:16:47 -0400
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <5170B8D3.9000305@xxxxxxxxxxxxxxxx>
References: <516F8AB8.6000807@xxxxxxxxxxxxxxxx> <y0md2trfkab.fsf@xxxxxxxx> <5170B8D3.9000305@xxxxxxxxxxxxxxxx>
User-agent: Mutt/1.4.2.2i
Hi -

> Thanks for the feedback Frank.  Apologies in advance for a long response.

No problem, Nathan also helped clear up most of my worries on IRC.


> [...] the vast majority of these pass in the associated prevailing
> timeout or TIMEOUT_DEFAULT (e.g. between a client and pmcd, or pmcd
> and a pmda, or pmlogger and pmlc, ...) which are all safe I
> believe. [...]

Note that even the TIMEOUT_DEFAULT is a problem in that allows a
naughty client to send one byte on channel, and lets pmcd sit there
for a few seconds waiting for more, not servicing anyone else.  This
is what a further rework inspired by the "continuation passing style"
comment in pduread() could correct.


- FChE

<Prev in Thread] Current Thread [Next in Thread>