Article View: news.software.nntp
Article #72341Re: Authentication advice
From: John F. Morse
Date: Wed, 28 Sep 2005 22:48
Date: Wed, 28 Sep 2005 22:48
206 lines
9707 bytes
9707 bytes
Bill Davidsen wrote: > John F. Morse wrote: > >> 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. I do, but they are slaves, and users have no access, therefore authentication is not required. I'll keep this useful information in mind though, just in case there is growth someday. Thanks for the info. >> 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). Good idea. I hadn't thought of it yet, even though this idea was used for years by one of the users on their own Website. I have part of that old site already running on one of my Fedora Core 3 boxes, so it would be a very simple edit to modify the index.html page. This link would be for the NNTP server portion that was not requiring authentication of course. For any new users wishing to join the current users, behind password authentication, I could add some information and an e-mail link for authorization. http://brisbee.us > I can just see your M$ users using Stunnel. How large is your support > group? It is a group of one. ;-) I have some documents from the AT&T Worldnet WURD site, which show how to set up Stunnel for Windows, Mac and Linux. Looks simple to me, although I have some different, modified methods for the Mac and Linux. http://www.wurd.com/index.php >> 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. As usual, I'm open to suggestions. >>> 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. >> >> So the file needs to be readable by the news user, and not > > > It needs to be readable by the authentication program. So, my idea of putting it into /var/spool/news where news is the owner, is OK? >> 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. Understood. Looking over my question again, I see I was tuned to encryption in the middle of discussing htpassword. I haven't jumped into Perl yet, but Jeff's script seems simple enough. > 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 ;-) I am very thankful for Jeff, and you can take credit too. Without you guys I would be down to the trial-and-error stage for everything I read -- and understood. This might even go so far as to having to try several distros with INN, which would take enormous amounts of time. Most distro reviews seem to be more eye-candy oriented for desktop clients. You know, Internet browsers, multi-media, games, .... It's hard to find reviews on server apps, so I've had to use the trial-and-error process for myself. Most anywhere is "easy" for me, but I try and follow whatever "standards" are being thought up, knowing there are disagreements. Also remembering to watch file permissions so "news" can access what he needs, and others cannot hack and su to root. Back in 2000 I had plans on running Breeze, which is related to the other Highwinds stuff (Typhoon, Cyclone, etc.). I downloaded a copy, then went to Branson for a week. When I returned, I discovered they no longer supplied the free key to run it. So I went to the RumorMill app for the Mac. I read a little about INN over a couple of years, but couldn't find my "round-tuit" and since RumorMill was performing flawlessly, what's the hurry? Again, thanks for taking the time to help. If there's ever anything I can assist with, please holler. -- John
Technical Details
Message-ID:
<L4F_e.333879$5N3.42955@bgtnsc05-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!border2.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!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> <YOWZe.135$Vk.119@newssvr24.news.prodigy.net>Show Full Headers
Complete Article Headers
Message-ID: <L4F_e.333879$5N3.42955@bgtnsc05-news.ops.worldnet.att.net> Subject: Re: Authentication advice Date: Wed, 28 Sep 2005 22:48:11 GMT From: "John F. Morse" <xanadu.bbs@invalid.net> 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> <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!border2.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail Reply-To: xanadu.bbs@invalid.net Organization: Xanadu BBS User-Agent: Debian Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <YOWZe.135$Vk.119@newssvr24.news.prodigy.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 206 NNTP-Posting-Host: 6142426cbf13b36ba9d0dc9bc97b95d7 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1127947691 NNTP-Posting-Date: Wed, 28 Sep 2005 22:48:11 GMT