🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Rajit Singh Sun, 06 Sep 1998 00:00
Different operation of NNRPD when connecting via localhost.
#31215
Author: Rajit Singh
Date: Sun, 06 Sep 1998 00:00
23 lines
1565 bytes
To anyone who might possibly help:

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.

I wonder if there is someone who can aid me in permitting full server
operation to local connections.  I'm guessing that this is an
intentional feature - though I don't yet understand the reasoning.  Of
course the files that INN uses will be accessible to local users so
perhaps for that reason using the server would be overkill.
Help would be appreciated nevertheless

BlueSky


Re: Different operation of NNRPD when connecting via localhost.
#31212
Author: 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/>

Re: Different operation of NNRPD when connecting via localhost.
#31223
Author: Rajit Singh
Date: Sun, 06 Sep 1998 00:00
31 lines
1835 bytes
On 05 Sep 1998 18:50:14 -0700, Russ Allbery <rra@stanford.edu> wrote:

>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/>

It all makes sense now.

Thanks a lot

BlueSky


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads