🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #43341

Re: Diablo problems and questions

#43341
From: Russell Vincent
Date: Fri, 14 Jan 2000 00:00
24 lines
1893 bytes
Nickolai Zeldovich <kolya@mit.edu> wrote:
> Looking at DnsTest() in dreaderd/dns.c, it seems like it just copies
> the username and password upon the first match for the ip/host, and
> sets DF_AUTHREQUIRED. Subsequently when authinfo is sent, it simply
> compares them against the previously copied values rather than reading
> dreader.hosts again.

Hmmm ... I read that it does re-read dreader.hosts for authinfo, but
also does break out of the loop on the first IP/host match. A little
shifting of logic might make my original idea work (if needauth, then
don't break and if user/pass match, then reset needauth and DF_AUTHREQUIRED).
It will make scans of the file take longer if authinfo is required,
although the worst case is similar to an unauthorised IP anyway.

Some kind of external file check would probably be a neater solution,
though.  :-)

Thanks for the correction on the '-a' option for dexpireover. I really
must take a closer look at it.  :-)

 -Russell


Technical Details
Message-ID: <85nuom$868$1@wave.pipex.net>
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: <BBsf4.4521$v31.417082@ptah.visi.com> <387ea64f$0$1405@news.execpc.com> <gyJf4.4704$v31.444548@ptah.visi.com> <85nqf2$4a9$1@wave.pipex.net> <slrn87ut7l.5v8.kolya@hal-2000.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <85nuom$868$1@wave.pipex.net>
Subject: Re: Diablo problems and questions
Date: Fri, 14 Jan 2000 00:00:00 +0000
From: Russell Vincent <russellv-n@uk.uu.net>
References: <BBsf4.4521$v31.417082@ptah.visi.com> <387ea64f$0$1405@news.execpc.com> <gyJf4.4704$v31.444548@ptah.visi.com> <85nqf2$4a9$1@wave.pipex.net> <slrn87ut7l.5v8.kolya@hal-2000.mit.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
X-Deja-AN: 572698688
X-Complaints-To: abuse@uk.uu.net
X-Trace: wave.pipex.net 947879510 8392 172.31.3.105 (14 Jan 2000 19:51:50 GMT)
Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom
NNTP-Posting-Date: 14 Jan 2000 19:51:50 GMT
Newsgroups: news.software.nntp