Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Mar 1998 00:31:00 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Duncan Barclay <dmlb@ragnet.demon.co.uk>
Cc:        Brian Somers <brian@Awfulhak.org>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Detecting state of PPP 
Message-ID:  <199803080031.AAA18531@awfulhak.org>
In-Reply-To: Your message of "Sat, 07 Mar 1998 15:15:30 GMT." <XFMail.980307151530.dmlb@computer.my.domain> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > I plan to facilitate ``status'' connections soon.  This ``status'' 
> > socket will be like a read-only diagnostic socket that pumps out 
> > information about the state of ppp periodically.  It will allow a 
> > configurable number of connections.  I'll probably do a little 
> > tcl program to show how it works too (but my tcl's not too good).
> 
> I'll help here if you want.
> 
> Could the status be done a bit like a
> "daytime" service; just connect and it pumps out a string on demand and then
> closes its end. Or, are you expecting to support a persistant connection
> and the consumer just does blocking reads?

I really want to allow heartbeat / throughput type monitors where the 
refresh rate is controlled by the server.  Once the connection is 
established, it'll write information to the socket 'till the socket 
is closed.  Pppctl will be smart enough to answer `one-off' type 
questions, or you can use something like `sed' to find a labeled 
piece of information then exit.

> Also, can this be made none password protected for simple info? Ahh buts as it
> read only this must be true.

It'll be the same as the diagnostic socket in this respect - you can 
specify an empty password if you wish.

> Duncan
> 
> ---
> ________________________________________________________________________
> Duncan Barclay          | God smiles upon the little children,
> dmlb@ragnet.demon.co.uk | the alcoholics, and the permanently stoned.
> ________________________________________________________________________

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803080031.AAA18531>