Article View: news.software.nntp
Article #82211Re: INN's readers.conf: CIDR with hostname?
From: Julien ÉLIE
Date: Thu, 26 Nov 2009 06:43
Date: Thu, 26 Nov 2009 06:43
41 lines
3154 bytes
3154 bytes
Hi D. Stussy,
> Is a CIDR expression allowed with a hostname (for hosts or localaddress in
> the auth group section of the file), or is it only for IP address literals?
I do not understand the point you want to make. Did you try and it didn't work?
Because the documentation of these parameters mentions that:
hosts:
A comma-separated list of remote hosts, wildmat patterns matching either
hostnames or IP addresses, or IP netblocks specified in CIDR notation.
If a user connects from a host that doesn't match this parameter, this auth
group will not match the connection and is ignored.
Note that if you have a large number of patterns that can't be merged into
broader patterns (such as a large number of individual systems scattered
around the net that should have access), the hosts: parameter may exceed
the maximum line length of 8,192 characters. In that case, you'll need
to break that auth group into multiple auth groups, each with a portion
of the hosts listed in its hosts: parameter, and each assigning the same
user identity.
All hosts match if this parameter is not given.
localaddress:
A comma-separated list of local host or address patterns with the same
syntax as the same as with the hosts: parameter. If this parameter is
specified, its auth group will only match connections made to a matching
local interface. (Obviously, this is only useful for servers with
multiple interfaces.)
All local addresses match if this parameter is not given.
--
Julien ÉLIE
« Dulce et decorum est pro patria mori. » (Horace)
Technical Details
Message-ID:
<hel838$p23$1@news.trigofacile.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feeder.erje.net!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!not-for-mailReferences:
<hekh0d$21q$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <hel838$p23$1@news.trigofacile.com> Subject: Re: INN's readers.conf: CIDR with hostname? Date: Thu, 26 Nov 2009 07:43:44 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <hekh0d$21q$1@snarked.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feeder.erje.net!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 41 NNTP-Posting-Host: aaubervilliers-151-1-48-186.w83-114.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1259217832 25667 83.114.132.186 (26 Nov 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Thu, 26 Nov 2009 06:43:52 +0000 (UTC) In-Reply-To: <hekh0d$21q$1@snarked.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049 X-Original-Bytes: 2890