🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #45461

Re: How to limit access from range of ip addresses ?

#45461
From: Russ Allbery
Date: Sat, 01 Apr 2000 00:00
28 lines
1667 bytes
awarmanf <awarmanf@hotmail.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> If you really mean to give access to the whole /27, you can use:

>> 212.1.2.192/27:Read Post:::*

> But the ip 212.1.2.192 is a network itself with netmask /27.  I wonder
> is it possible that a computer which has the ip address same as the ip
> network can open connection with the news server ?

To INN, I'm pretty sure 212.1.2.192/27 is exactly equivalent to listing
all IP addresses betwen 212.1.2.192 and 212.1.2.223 inclusive (although I
admit I haven't looked at the source to be sure).

> And I just see now that the rule is a simple perl pattern substituting.

Well, wildmat actually, which is similar but not the same.  See the man
page for wildmat.

> Any docs in innd which can explain more rules ?

man nnrp.access.

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

Technical Details
Message-ID: <yl1z4pdsfg.fsf@windlord.stanford.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: <8c3o7u$8ui$1@nnrp1.deja.com> <yln1ne7a38.fsf@windlord.stanford.edu> <8c6bmf$uos$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
Message-ID: <yl1z4pdsfg.fsf@windlord.stanford.edu>
Subject: Re: How to limit access from range of ip addresses ?
Date: Sat, 01 Apr 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <8c3o7u$8ui$1@nnrp1.deja.com> <yln1ne7a38.fsf@windlord.stanford.edu> <8c6bmf$uos$1@nnrp1.deja.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!not-for-mail
X-Deja-AN: 605528747
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne)
Newsgroups: news.software.nntp