Article View: news.software.nntp
Article #66308Re: readers.conf vs subnets
From: Gina Bull
Date: Thu, 24 Jul 2003 18:40
Date: Thu, 24 Jul 2003 18:40
54 lines
3390 bytes
3390 bytes
Jeffrey M. Vinocur wrote:
> In article <3F1FE758.1050802@virginia.edu>,
> Gina Bull <ginabull@virginia.edu> wrote:
>
>>The piece is something like 199.111.162 - 199.111.255.255.
>>
>>I experimented with CIDR notation when I was setting up this server and
>>either it didn't do what I thought it should, or it didn't work
>
>
> Well, that's probably what you want to use. The IP range you
> give above is missing a byte, so it's hard to help you exactly,
> but if you can try CIDR and tell us what exactly the problem
> is...
>
Here's what I put into readers.conf:
auth "local" {
hosts: "*.virginia.edu, 128.143.*, 137.54.*, 199.111.160/19,
199.111.192/18"
default: "<LOCAL>"
default-domain: local
}
This is the stanza that recognizes the local networks. I just added the
CIDR-style addresses to the same line. I then did a "make install
readers.conf" and checked to be sure the working copy in /usr/news/etc
was updated.
When I tried to access the news server from a PC at address
199.111.165.141 (just using telnet) I got a response that authentication
was required, as though the address was not local. Here are the log
entries from the server (and yes, I did mistype my auth password...)
Jul 24 14:20:11 murdoch.acc.Virginia.EDU nnrpd[8744]: [ID 515199
news.warning] ? cant gethostbyaddr 199.111.165.141 Unknown host -- using
IP address for access
Jul 24 14:20:11 murdoch.acc.Virginia.EDU nnrpd[8744]: [ID 998472
news.warning] 199.111.165.141 connect
Jul 24 14:20:57 murdoch.acc.Virginia.EDU nnrpd[8744]: [ID 265954
news.warning] 199.111.165.141 auth_err ckpasswd: user rlb0p password
doesn't match.
Jul 24 14:20:57 murdoch.acc.Virginia.EDU nnrpd[8744]: [ID 561221
news.warning] 199.111.165.141 bad_auth
Jul 24 14:20:57 murdoch.acc.Virginia.EDU nnrpd[8744]: [ID 452021
news.warning] 199.111.165.141 times user 0.160 system 0.090 elapsed 45.965
This is unfortunately what I had experienced when I was setting up the
server.
I'm hoping fresh eyes (or more eperienced ones) can point me toward what
I'm
doing wrong.
Technical Details
Message-ID:
<3F20281B.7020504@virginia.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.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed2.news.rcn.net!rcn!dca1-feed2.news.algx.net!allegiance!newspeer.monmouth.com!guardian.oit.duke.edu!newsfeed.cv.nrao.edu!hearst.acc.Virginia.EDU!news.Virginia.EDU!not-for-mailReferences:
<3F1FE758.1050802@virginia.edu> <bfotb4$eea$2@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <3F20281B.7020504@virginia.edu> Subject: Re: readers.conf vs subnets Date: Thu, 24 Jul 2003 14:40:27 -0400 From: Gina Bull <ginabull@virginia.edu> References: <3F1FE758.1050802@virginia.edu> <bfotb4$eea$2@puck.litech.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.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed2.news.rcn.net!rcn!dca1-feed2.news.algx.net!allegiance!newspeer.monmouth.com!guardian.oit.duke.edu!newsfeed.cv.nrao.edu!hearst.acc.Virginia.EDU!news.Virginia.EDU!not-for-mail Newsgroups: news.software.nntp Organization: University of Virginia Lines: 54 NNTP-Posting-Host: d-128-13-129.bootp.virginia.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: murdoch.acc.Virginia.EDU 1059072027 9208 128.143.13.129 (24 Jul 2003 X-Complaints-To: abuse@Virginia.EDU NNTP-Posting-Date: Thu, 24 Jul 2003 18:40:27 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; X-Accept-Language: en-us, en