Article View: news.software.nntp
Article #72327Re: Authentication advice
From: Bill Davidsen
Date: Mon, 26 Sep 2005 18:08
Date: Mon, 26 Sep 2005 18:08
169 lines
9348 bytes
9348 bytes
John F. Morse wrote: rstand the IP and FQDN access, and as you correctly noted, I could > not use it due to the users spread. Many use a DHCP ISP assignment, and > those on DSL and cable are also dynamic, although a cable IP can live > for years. > > I saw the radius method, and thought it might work. The Debian Synaptic > package manager shows several radius servers are available (freeradius, > radiusd-cistron, radiusd-livingston, xradius, yardradius). > > Did you recommend ckpasswd over radius for any particular reason > (simplicity, speed, familiarity, etc.)? radius uses another server application, which means at the very least you need to install, configure, and maintain a radius server. Since the benefit of radius is the ability to have the auth data in one place and the service in another, if you have everything in one place it adds complexity without adding flexibility. If you have multiple servers in many places (I do) and don't want to have the master user database on each (I don't), then radius allows the auth data to be in a different set of locations than the user services. It also adds additional points of failure, the radius servers and the network connection, and where everything is in one place is just more stuff to maintain. > > >> For you, it sounds like your users are too spread out to be able >> to use IP address or ident information useful, so usernames and >> passwords are appropraite. The option that most closely >> approximates your previous software is to use ckpasswd to look >> them up in a separately-maintained file. >> >> None of this impacts #2, although I don't quite understand who >> you want to give "open access" to. >> >> > > > My current RumorMill NNTP server has five groups (plus test, local.test > and the control groups). The users were formerly using the Ft. Worth > Star-Telegram NNTP server, which closed down in early 2001. Prior to > this, the newsmaster who created the FW S-T news server moved to the > Dallas Morning News. He was asked and then added one FW S-T group, > Brisbee, a virtual city. > > The DMN ran an HTTP-based forum, and everyone hated it. So I fired up > the RumorMill NNTP server, and created four of the old FW S-T groups, > plus one from a defunct Kansas City Star NNTP server. The FW S-T and the > KC Star are both Knight-Ridder rags, and I think they realized there is > no income in NNTP, only expenses in maintaining it. > > As I previously mentioned, I had to lock down the server a couple of > months ago due to abuse (username and password is now required). > > I have desired for several years to also have a server for the general > public to use. It will be based on a ministry that a friend operates. > Naturally we don't want to force people to jump through hoops to access > whatever religious groups are created. > > This "open access" area could also be used to announce (in a read-only > group) the instructions for accessing the "closed access" portion. Such > as who to e-mail with a username and password choice. > > I ran a multi-node dial-up BBS for about ten years before the Internet > took away all the users. <g> In 2001 I closed it down after I had the > NNTP server running for a few months. It provided an ANSI graphics > "welcome screen" that anyone could read. This gave information on how to > obtain an account for access, etc. > > Since NNTP provides no such welcome (well, you can use telnet and > sometimes get some info), I thought a non-authentication, read-only > group could be used to supply access instructions. I would prefer one > computer, running INN, take care of all NNTP, instead of running > multiple computers. > > If you have a better idea, I'm all ears. <g> Have a web site, put the intro there, have a link to the newsgroups so people don't even have to know htey're using nntp. ex: <a href="news:news.mydomain.net"><b>enter discussions</b></a><p> (I typed that by hand, but you get the idea). > > >>> This looks very simple, but who should own this file, what access >>> permissions (note ckpasswd(5) -s setgid security warning), and in >>> what directory should it reside (where should "user-database" be)? >>> >> >> >> You aren't using -s, so those warnings don't apply. (That's only >> if you want to use the regular system database to store your >> users, e.g. to have people using the same passwords for ssh and >> news access, which isn't anything you seem interested in.) >> >> > > > I take this to mean user accounts? No, I don't want to create hundreds > of users. <g> > > However I do want to use SSL to protect the user's passwords from > possible sniffers. They should have no trouble with SSL if they use a > modern news client. Those which do not support SSL can be passed through > Stunnel. I can just see your M$ users using Stunnel. How large is your support group? > > Another thought I've had is the possibility of a user being hacked (most > run M$ Windoze, so this is not unlikely). A hacker could steal account > information, then create problems while impersonating a real user. I'll > just need to keep an eye (a "feel") on messages, and if I suspect > something, I can change the user's password. That would be far easier > than trying to configure a FQDN or IP range in readers.conf for a > specific user who has a dynamic ISP IP assignment. Thus the need for a good posting filter. > > >> So the file needs to be readable by the news user, and not >> readable by other people. You can store it anywhere you like -- >> the only thing INN cares about is that you specify the path in >> the ckpasswd command in readers.conf. So if you want to put it >> in ~news/etc/, that's reasonable, but you can put it anywhere >> your local system configuration dictates. It needs to be readable by the authentication program. >> >> > > > I'll stick in /var/spool/news where Debian created news' home directory. > > I have the file set up as "username:password:Real Name" now, but I don't > understand how to encrypt it with htpasswd -- as a single batch. I sure > wouldn't want to retype all of the entries. The man htpasswd does not > explain how to do the encryption on a textfile, nor can I figure out how > it would know to only encrypt the data after the first colon, and stop > at the second colon. > > Maybe I'm not understanding it? Does it encrypt everything, or just the > password? Just the password, the file isn't world readable, the directory is (should be) protected, and the important stuff is encrypted. > > >> Yes, unfortunately some distributions repackage INN with files in >> atypical locations and then do not update the documentation. I >> have no good advice to offer for this case, except to say that >> you're free to ditch the package and compile from source. >> >> > > > Each problem's solution seems to create two new questions -- at least. I > think I'll fix the issues, one by one, instead of starting from scratch, > or I may never get it working. <g> Be glad Jeff is a nice guy, I would have suggested you start by building from source and putting things where it's most convenient for you. I would personally have it all in one filesystem I could easily backup. Every distribution has their own idea where things should go, ignoring the application defaults (which aren't always what I want, either ;-) -- bill davidsen SBC/Prodigy Yorktown Heights NY data center http://newsgroups.news.prodigy.com
Technical Details
Message-ID:
<YOWZe.135$Vk.119@newssvr24.news.prodigy.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr24.news.prodigy.net.POSTED!1055e9ad!not-for-mailReferences:
<2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <dh4dmf$d5u$1@puck.litech.org> <e90d4$4335d25a$4097152a$3064@EVERESTKC.NET> <dh71qj$q1b$3@puck.litech.org> <CqTZe.81538$qY1.40661@bgtnsc04-news.ops.worldnet.att.net>Show Full Headers
Complete Article Headers
Message-ID: <YOWZe.135$Vk.119@newssvr24.news.prodigy.net> Subject: Re: Authentication advice Date: Mon, 26 Sep 2005 18:08:56 GMT From: Bill Davidsen <davidsen@deathstar.prodigy.com> References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <dh4dmf$d5u$1@puck.litech.org> <e90d4$4335d25a$4097152a$3064@EVERESTKC.NET> <dh71qj$q1b$3@puck.litech.org> <CqTZe.81538$qY1.40661@bgtnsc04-news.ops.worldnet.att.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr24.news.prodigy.net.POSTED!1055e9ad!not-for-mail User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050729 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <CqTZe.81538$qY1.40661@bgtnsc04-news.ops.worldnet.att.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 169 NNTP-Posting-Host: 207.115.54.37 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr24.news.prodigy.net 1127758136 ST000 207.115.54.37 (Mon, NNTP-Posting-Date: Mon, 26 Sep 2005 14:08:56 EDT Organization: SBC http://yahoo.sbc.com X-UserInfo1: F[OUST[EZRVOF_\Y]JNDM^\BZJ]T@FLNLBWLOOAFMAVNDQUBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL