🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #31212

Re: Different operation of NNRPD when connecting via localhost.

#31212
From: Russ Allbery
Date: Sat, 05 Sep 1998 00:00
22 lines
1649 bytes
Rajit Singh <rajit@webcommerce.idesk.net> writes:

> I've noticed that if I telnet to my news server (INN 1.5) remotely it
> provides me with standard access to the news server.  But if I telnet to
> port 119 locally (i.e. logon and type telnet localhost 119 - on a
> Solaris 2.6 box by the way) I get access to a limited system it seems.
> The 'GROUP' command doesn't work - 'HELP' produces a much shorter list
> than usual.  The problem is I wanted to write a perl script to product
> web pages based on newsgroups on the local server (also operating as a
> web server).  I'm using NNTPClient for perl but the commands don't get
> recognised.

You have your localhost address in hosts.nntp, which is the standard
setup, so your news server is treating you like a remote server rather
than as a reading client and is giving you the transfer commands.  Type
"mode reader" to go into reader mode.  NNTPClient should have a method to
do that.

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

Technical Details
Message-ID: <ylsoi6f1rd.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: <35f1e743.55071752@news.dircon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <ylsoi6f1rd.fsf@windlord.stanford.edu>
Subject: Re: Different operation of NNRPD when connecting via localhost.
Date: Sat, 05 Sep 1998 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <35f1e743.55071752@news.dircon.co.uk>
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: 388300846
Sender: eagle@windlord.stanford.edu
Organization: The Eyrie
Newsgroups: news.software.nntp