Article View: news.software.nntp
Article #50305Re: Linux7.0 innd/leafnode config
From: miasmal
Date: Tue, 30 Jan 2001 03:16
Date: Tue, 30 Jan 2001 03:16
37 lines
2153 bytes
2153 bytes
In article <3li459.i3p.ln@technopagan.org>,
David E. Smith <dave@technopagan.org> wrote:
>
>This, I'll pass on. I'm only used to "old-school" inetd, where you just
>put everything on one line in /etc/inetd.conf, like this:
>
>nntp stream tcp nowait news /usr/sbin/tcpd /usr/local/sbin/leafnode
>
>(The above snipped from my working configuration.)
I think I got it working.. I am posting now..
# description: leafnode
service nntp
{
socket_type = stream
wait = no
user = news
protocol = tcp
server = /usr/local/sbin/leafnode
}
Now, my next challenge is to restrict access..
Readme file says I should be using tcpd.. I think so, looking at above
configuration file, right?
I need to edit hosts.deny, the leafnode readme file says to use
leafnode: ALL EXCEPT LOCAL
This didn't work, so I tried:
leafnode: ALL EXCEPT localhost, which doesn't work either.
The /var/log/messages complain about being unable to resolve
localhost.localdomain.. hmm let dig deeper into hosts files..
Technical Details
Message-ID:
<955bli$141$1@dsl-64-192-239-157.telocity.com>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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!telocity-west!TELOCITY!newsrump.sjc.telocity.net!dsl-64-192-239-157.telocity.com!not-for-mailReferences:
<952pjg$mfu$1@nic.com> <G7wtEy.MGn@presby.edu> <953sbb$oka$1@nic.com> <3li459.i3p.ln@technopagan.org>Show Full Headers
Complete Article Headers
Message-ID: <955bli$141$1@dsl-64-192-239-157.telocity.com> Subject: Re: Linux7.0 innd/leafnode config Date: Tue, 30 Jan 2001 03:16:02 +0000 From: miasmal@dsl-64-192-239-157.telocity.com (miasmal) References: <952pjg$mfu$1@nic.com> <G7wtEy.MGn@presby.edu> <953sbb$oka$1@nic.com> <3li459.i3p.ln@technopagan.org> 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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!telocity-west!TELOCITY!newsrump.sjc.telocity.net!dsl-64-192-239-157.telocity.com!not-for-mail Newsgroups: news.software.nntp Organization: Almost...still organizing Lines: 36 X-Trace: MyogTm9ddXRoSXNlciBUWUxPQ0lUWS1ORUFEWVJTIDY0LjElMi4yMzkyMTU3ICBNb24sIDI5IEph!biAyMDAxIDE5JjQwOjA3IFBTSA== X-Abuse-Info: Please forward ALL headers when reporting abuse. X-Complaints-To: abuse@telocity.net NNTP-Posting-Date: Mon, 29 Jan 2001 19:40:07 PST