🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Steve Thu, 19 May 2005 22:09
INN - NNTPS on startup
#71661
Author: Steve
Date: Thu, 19 May 2005 22:09
19 lines
1617 bytes
I've running inn-2.4.2 compiled with ssl support.  It works fine when I
start nnrpd (as root) with this command:
nnrpd -S -D -p 563

According the the nnrpd man page I should be able to automate it by
putting an entry in inetd.conf:
nntps stream tcp nowait news /usr/local/news/bin/nnrpd -S

This works to the extent that I can telnet to port 563 and something is
listening.  However when an nntps client tries to connect, the
connection is instantly dropped.  Whilst I get a log entry in
news.notice for the incoming connection, there's nothing to suggest why
it drops (even when using news.debug).  Any suggestions why this might
not work?


As a side-note, the actual example in the nnrpd manpage is:
nntps stream tcp nowait news /usr/lib/news/bin/nnrpd nnrpd -S
I assume the double nnrpd is a typo?
Re: INN - NNTPS on startup
#71662
Author: Russ Allbery
Date: Thu, 19 May 2005 22:13
22 lines
1990 bytes
Steve <fleegle@bananasplit.info> writes:

> According the the nnrpd man page I should be able to automate it by
> putting an entry in inetd.conf:
> nntps stream tcp nowait news /usr/local/news/bin/nnrpd -S

This runs nnrpd, telling it its name is "-S", and not passing any flags to
it.  It will then expect unencrypted connections and strange things will
happen if you try to do SSL negotiation with it.

> As a side-note, the actual example in the nnrpd manpage is:
> nntps stream tcp nowait news /usr/lib/news/bin/nnrpd nnrpd -S
> I assume the double nnrpd is a typo?

Nope, it's not.  The first argument is argv[0] for the program,
traditionally the name of the binary being executed.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN - NNTPS on startup
#71665
Author: Steve
Date: Fri, 20 May 2005 09:32
9 lines
1341 bytes
On Thu, 19 May 2005 15:13:40 -0700, Russ Allbery wrote in
Message-Id: <87u0kyzwx7.fsf@windlord.stanford.edu>:

> Nope, it's not.  The first argument is argv[0] for the program,
> traditionally the name of the binary being executed.

Thanks Russ.
Bad assumption on my part based on the other entries in inetd.conf.
I'll try and squeeze in a reboot in the near future and see if it works.
Re: INN - NNTPS on startup
#71666
Author: Szymon Sokół
Date: Fri, 20 May 2005 10:01
12 lines
1886 bytes
Steve <fleegle@bananasplit.info> wrote:

> Thanks Russ.
> Bad assumption on my part based on the other entries in inetd.conf.

Interesting. You mean that *all* of your inetd.conf entries are incorrect
and still your system works?
-- 
Szymon Sokół (SS316-RIPE) -- Network Manager                                B
Computer Center, AGH - University of Science and Technology, Cracow, Poland O
http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982 F 
Free speech includes the right not to listen, if not interested -- Heinlein H
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