Article View: news.software.nntp
Article #54438Re: Best way to force authentication in 2.3.2
From: Jeremy
Date: Sat, 29 Sep 2001 08:10
Date: Sat, 29 Sep 2001 08:10
40 lines
2712 bytes
2712 bytes
Gary L. Burnore <dontreply@not.to.me.anyway> wrote: >> Or how are you defining "don't authenticate at all"? > > Rtin on the same server, for example, won't even TRY to authenticate > unless you give it the -A flag. It sounds like you are letting clients which don't send authinfo succeed in authenticating. If you do that, they will never try to authenticate at all, unless the client has an option to always authenticate even if not asked to, and the user enables that option. > Users not authenticating at all don't get any newsgroups and can't > post, but I'd really prefer they'd get a connection refused message. I > decided to make one newsgroup set to no posting (ctlinnd newgroup > groupname n) the only group non-authenticating clients can access. The > only article available is a message explaining how they got there and > what to do about it. (authenticate) That will *not* work -- some clients cannot be set to send authentication even if not asked. Users of those clients will have no way to authenticate to your server. They can set a username and password in the newsreader, but it will simply never be sent because the client will never be challenged for it. You have to make it so clients connecting *must* authenticate in order to do anything. At a protocol level, the server should send a 480 in response to any command, with the exception of "quit", the possible exceptions of "mode" and "help", and the obvious exception of "authinfo". If you make a newsgroup available with no authentication, that will be all some users will ever be able to access. This is an unfortunate deficiency in the NNTP protocol. Basically, I think there was something wrong with your readers.conf which resulted in non-authenticating clients being able to send commands without getting challenged for authentication. -- Jeremy | jeremy@exit109.com
Technical Details
Message-ID:
<1001751050.232034@ok-corral.gunslinger.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!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!saloon!newsbastardReferences:
<9ogsht$6ui$1@snarf.databasix.com> <9oi6k5$sip$2@shpxurnq.databasix.com> <1001229421.29751@ok-corral.gunslinger.net> <3bb54f48.274433083@news1.alterdial.uu.net>Show Full Headers
Complete Article Headers
Message-ID: <1001751050.232034@ok-corral.gunslinger.net> Subject: Re: Best way to force authentication in 2.3.2 Date: Sat, 29 Sep 2001 08:10:50 +0000 From: Jeremy <jeremy@exit109.com> References: <9ogsht$6ui$1@snarf.databasix.com> <9oi6k5$sip$2@shpxurnq.databasix.com> <1001229421.29751@ok-corral.gunslinger.net> <3bb54f48.274433083@news1.alterdial.uu.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!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!saloon!newsbastard Newsgroups: news.software.nntp Organization: There Is No Organization Lines: 39 X-Newsreader: trn 4.0-test76 (Apr 2, 2001) X-Meow: Meow