🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64819

Re: Leafnode in a Sub network

#64819
From: Rene
Date: Thu, 10 Apr 2003 16:36
36 lines
2179 bytes
"Posch Hannes" <hannes.posch@aon.at> wrote:
> I has a problem I has two networks 172,16,0,0 and 192,168,99,0
> in the 192,168,99,0 net is funkioniert a Leafnode NNTP Daemon, version
> 1.9.24.rel server of these also for 192,168,99,0 the net.
> But if I get to access attempt with a computer from that 172,16,0,0 net ,
> I always get this error "Denying ACCESS from ADDRESS outside the local
> networks".
>
> this are my configuration files
> etc/hosts.allow
> leafnode:  172.16.0.0/255.255.0.0 192,168,120,3 127,0,0,1

I truely hope you don't have commas (,) but dots (.) between the numbers,
otherwise leafnode as well as any other programm cannot parse the ip-range.

> /etc/hosts.deny
> leafnode:  ALL EXCEPT LOCAL

The shortcut LOCAL means:
" LOCAL  Matches any host whose name does not contain a dot character."

So unless you have either set up a working DNS system or coresponding
entries in your hosts or nis file, this will block anyone else off.

Try something like:
leafnode: ALL EXCEPT LOCAL, 172.16.0.0/16
though if hosts.allow is set up correctly, that shouldn't really be
necessary.

If this all fails, you can also open up leafnode for everyone but block
access via firewall.

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Technical Details
Message-ID: <20030410123619.771$8F@newsreader.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <3e9594cf$0$25326$91cee783@newsreader01.highway.telekom.at>

Show Full Headers
Complete Article Headers
Message-ID: <20030410123619.771$8F@newsreader.com>
Subject: Re: Leafnode in a Sub network
Date: Thu, 10 Apr 2003 16:36:19 +0000
From: Rene <invalid@email.addr>
References: <3e9594cf$0$25326$91cee783@newsreader01.highway.telekom.at>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com Subscriber
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com +qsIBdsgV3=x-fwp_EOLWA1h8JX7CemE48c0RLiF_@e=YqGMo
Lines: 35