🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63077

Re: INN readers.conf

#63077
From: ciradrak
Date: Tue, 14 Jan 2003 00:18
67 lines
4022 bytes
Russ Allbery wrote:
  > ciradrak <sam_george@attbi.com> writes:
  >
  >
  >>I'm having a problem setting up access and hope that someone can give me
  >>advice. I set INN up and can post messages to it.  I'm trying to get it
  >>to authenticate using a username and password.  The problem as I see it
  >>is that when I connect using netscape 4.78 under Win95B it rejects my
  >>name/password, even though typing:
  >
  >
  > I thikn you're running into an annoying problem with the current
  > readers.conf.  Here:
  >
  >
  >>auth "all" {
  >>         hosts: "192.168.0.0/16"
  >>         auth: "/usr/bin/auth/passwd/ckpasswd -f /etc/news/newsusers"
  >>         default: <FAIL>
  >>}
  >
  >
  > try using just "ckpasswd -f /etc/news/newsusers".  I'm not sure that
  > absolute paths work.

Indeed that did help!  My windows test client now works.  But frighteningly, the
MacOSX client is still allowed in with both read and post access without
providing a password.

Perhaps some log data would be helpful?  Here is the windows box connecting.

Jan 13 16:49:15 thon nnrpd[1452]: SERVER perl filtering enabled
Jan 13 16:49:15 thon nnrpd[1452]: ? cant gethostbyaddr 192.168.100.196 Unknown 
host -- using IP address for access
Jan 13 16:49:15 thon nnrpd[1452]: 192.168.100.196 connect
Jan 13 16:49:23 thon nnrpd[1452]: 192.168.100.196 user cira
Jan 13 16:49:58 thon nnrpd[1452]: 192.168.100.196 group test.newsgroup 0
Jan 13 16:50:03 thon nnrpd[1452]: 192.168.100.196 group test.newsgroup 0
Jan 13 16:50:03 thon nnrpd[1452]: 192.168.100.196 times user 0.020 system 0.020 
elapsed 48.416

And now the MacOSX client which seems to get a free ride (look ma no password!)

Jan 13 16:51:41 thon nnrpd[1463]: SERVER perl filtering enabled
Jan 13 16:51:41 thon nnrpd[1463]: ? cant gethostbyaddr 192.168.100.193 Unknown 
host -- using IP address for access
Jan 13 16:51:41 thon nnrpd[1463]: 192.168.100.193 connect
Jan 13 16:51:43 thon nnrpd[1463]: 192.168.100.193 group test.newsgroup 0
Jan 13 16:52:07 thon innd: localhost connected 16
Jan 13 16:52:07 thon innd: localhost:16 closed seconds 0 accepted 1 refused 0 
rejected 0 duplicate 0 accepted
size 848 duplicate size 0
Jan 13 16:52:07 thon nnrpd[1463]: 192.168.100.193 post ok 
<3E2354F3.5020103@attbi.com>
Jan 13 16:52:13 thon nnrpd[1463]: 192.168.100.193 group test.newsgroup 1
Jan 13 16:52:13 thon nnrpd[1463]: 192.168.100.193 exit articles 1 groups 2
Jan 13 16:52:13 thon nnrpd[1463]: 192.168.100.193 posts received 1 rejected 0
Jan 13 16:52:13 thon nnrpd[1463]: 192.168.100.193 times user 0.020 system 0.010 
elapsed 32.636
Jan 13 16:52:13 thon nnrpd[1463]: 192.168.100.193 artstats get 1 time 0 size 682

I'll do whatever you need me to to debug this.  Should I try for a tcpdump? 
Would that be helpful?

-Cira

Technical Details
Message-ID: <3E235740.2000200@attbi.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!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail
References: <3E23113B.2010209@attbi.com> <ylznq4zw8e.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3E235740.2000200@attbi.com>
Subject: Re: INN readers.conf
Date: Tue, 14 Jan 2003 00:18:08 GMT
From: ciradrak <sam_george@attbi.com>
References: <3E23113B.2010209@attbi.com> <ylznq4zw8e.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 66
NNTP-Posting-Host: 12.255.11.89
X-Complaints-To: abuse@attbi.com
X-Trace: rwcrnsc52.ops.asp.att.net 1042503488 12.255.11.89 (Tue, 14 Jan 2003 00:18:08 GMT)
NNTP-Posting-Date: Tue, 14 Jan 2003 00:18:08 GMT
Organization: AT&T Broadband