🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44496

Re: [NNTP Draft] 7. The GREETING Step (and MODE READER)

#44496
From: Russ Allbery
Date: Sat, 26 Feb 2000 00:00
27 lines
1952 bytes
Curt Welch <curt@kcwc.com> writes:
> "J. Moreno" <planb@newsreaders.com> wrote:

>> (And for logical completion there should be a way to switch back, even
>> if the server isn't going to accept commands in that mode from this,
>> uhm, user).

> There is no way to go home Dorthy.  Not only is it unimplemented in INN,
> it's imposible to implement (well impossible is too strong - lets just
> say it might be easier to rewrite INN from the ground up than it is to
> fix that).

Hardly.  In the presence of file descriptor passing, it's not even
particularly hard.  It would take someone experienced with Unix IPC all of
a couple of days to write, at a guess, for a proof of concept.  Dealing
with some of the authentication issues would be a little tricky, but
doable.

nnrpd already has a local domain socket connection to innd; all you have
to do is add a new command to that protocol that passes a client file
descriptor back to the INN process to put into its main processing loop
after associating authentication information to it.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <yln1onyu5w.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <87putjd35j.fsf@erlenstar.demon.co.uk> <87ln47bm3q.fsf@erlenstar.demon.co.uk> <260220001933187019%planb@newsreaders.com> <20000227021746.049$b4@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <yln1onyu5w.fsf@windlord.stanford.edu>
Subject: Re: [NNTP Draft] 7. The GREETING Step (and MODE READER)
Date: Sat, 26 Feb 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <87putjd35j.fsf@erlenstar.demon.co.uk> <87ln47bm3q.fsf@erlenstar.demon.co.uk> <260220001933187019%planb@newsreaders.com> <20000227021746.049$b4@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 590529691
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne)
Newsgroups: news.software.nntp