Article View: news.software.nn
Article #2193Re: Separating read-server from post-server
From: Peter Andersen
Date: Thu, 24 Oct 1991 08:03
Date: Thu, 24 Oct 1991 08:03
38 lines
2731 bytes
2731 bytes
In <1991Oct23.165233.14538@spool.cs.wisc.edu> elliott@veronica.cs.wisc.edu (James Elliott) writes: >At our site it would be very nice if we could have nn collect and >display all of its news using a different nntp server than the one >used for posting. >nn presently makes the assumption that the server being used to read >is the same server that should be used for posting. Is there any good >reason why this assumption should hold? If not, how difficult would it >be to change nn to use two different servers? Clearly, the global >can_post flag would need to be based on the posting server, not the >reading server. >Does nn use the open socket to the nntp server when implementing the >:post command? If so, it will be necessary to keep a separate socket >open for posting. If not, it seems that a patch to the mini-inews is >all that would be needed, except for fooling nn into realizing that >posting is possible despite the fact that news is coming from a >read-only server. We did something of the kind at a time. The way we did this, was by changing the mini-inews that comes with nntp: nn uses inews when posting, so (almost) no changes in nn are required. In inews.c we changed SERVER_FILE to SEC_SERVER_FILE, and then defined SEC_SERVER_FILE in conf.h. This contained the name of the server inews should connect to for *posting* . The server used for *reading* was still named in SERVER_FILE. When nn connects to a NNTP server, it checks to see if posting is OK and says so in the message line. With the above solution, posting for the server nn connects to does not have to have permission for posting, since the server that does the actual posting is another one. This means that the message (Posting OK) or (No posting) that nn comes with, when connecting to the nntp- server for reading, may be a bit confusing. For this reason, we removed this from nn. Peter Andersen
Technical Details
Message-ID:
<1991Oct24.080310.15605@daimi.aau.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!zeus.ieee.org!europa.asd.contel.com!darwin.sura.net!gatech!bloom-beacon!eru!hagbard!sunic!dkuug!daimi!datpeteReferences:
<1991Oct23.165233.14538@spool.cs.wisc.edu>Show Full Headers
Complete Article Headers
Message-ID: <1991Oct24.080310.15605@daimi.aau.dk> Subject: Re: Separating read-server from post-server Date: Thu, 24 Oct 1991 08:03:10 +0000 From: datpete@daimi.aau.dk (Peter Andersen) References: <1991Oct23.165233.14538@spool.cs.wisc.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!zeus.ieee.org!europa.asd.contel.com!darwin.sura.net!gatech!bloom-beacon!eru!hagbard!sunic!dkuug!daimi!datpete Newsgroups: news.software.nn Sender: datpete@daimi.aau.dk (Peter Andersen) Reply-To: datpete@daimi.aau.dk (Peter Andersen) Organization: DAIMI: Computer Science Department, Aarhus University, Denmark Lines: 38