🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8072

Re: HELP: Can tcpwrapper be used to control access to INN?

#8072
From: Dave Barr
Date: Wed, 29 May 1996 00:00
35 lines
1773 bytes
[trimming newsgroups again, since this has nothing to do with most all
of those newsgroups]

In article <4oi3mi$861@cwis-20.wayne.edu>,
Thomas R. Stevenson <tom@tom.cc.wayne.edu> wrote:
>Dave Barr (barr@math.psu.edu) wrote:
>> If you don't care about innd, then I don't see why you care about
>> in.nnrpd.
>
>It has nothing to do with caring about innd or not. innd isn't the
>daemon that does the client/server connection to the user. in.nnrpd is
>that daemon, and if we can control that daemon, we can do what we
>want.

No, actually it's innd which decides if it should start in.nnrpd
or handle the connection itself.  That's what I mean about "don't
care about innd".  In your case it sounds like you don't care about
connections innd handles itself (feeds).

If this is true, to answer your question it's trivial.  cd to where
in.nnrpd is.

mkdir real
mv in.nnrpd real/in.nnrpd

Make a wrapper like this and put it in in.nnrpd's place:

#!/bin/sh
exec /path/to/tcpd /path/to/real/in.nnrpd $*


--Dave

Technical Details
Message-ID: <4oid9r$7md@augusta.math.psu.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: <4oforl$ghq@cwis-20.wayne.edu> <Pine.LNX.3.91.960529101428.853B-100000@tom.cc.wayne.edu> <4ohujl$6vj@augusta.math.psu.edu> <4oi3mi$861@cwis-20.wayne.edu>

Show Full Headers
Complete Article Headers
Message-ID: <4oid9r$7md@augusta.math.psu.edu>
Subject: Re: HELP: Can tcpwrapper be used to control access to INN?
Date: Wed, 29 May 1996 00:00:00 +0000
From: barr@math.psu.edu (Dave Barr)
References: <4oforl$ghq@cwis-20.wayne.edu> <Pine.LNX.3.91.960529101428.853B-100000@tom.cc.wayne.edu> <4ohujl$6vj@augusta.math.psu.edu> <4oi3mi$861@cwis-20.wayne.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
X-Deja-AN: 157411531
Distribution: inet
Organization: Penn State University, Department of Mathematics
Newsgroups: news.software.nntp