Article View: news.software.nntp
Article #74173Re: Multiple access authentication
From: John F. Morse
Date: Sat, 02 Sep 2006 23:00
Date: Sat, 02 Sep 2006 23:00
206 lines
8360 bytes
8360 bytes
Jeffrey M. Vinocur wrote: >In article <c_6Kg.27458$5i3.18707@bgtnsc04-news.ops.worldnet.att.net>, >John F. Morse <xanadu.bbs@invalid.net> wrote: > > >>Jeffrey M. Vinocur wrote: >> >> >> >>>Okay, I see what you want. >>> >>> >>It was an attempt to show I need anonymous people to be able to read a >>new "local.info" group so they can obtain information on how to obtain >>authentication via e-mail. >> >> > >It would've been better if you'd just said what you wanted in the >first place, btw. > > It took me a little more thinking to solidify my actual needs into an understandable idea. ;-) My mind was disassembling other programs which use bit flags, masks, etc. Sorry. >>Then I wanted the current authenticated users to have total access >>(except control and control.*, plus read-only for the local.info and the >>current local.announce groups). >> >> > >Okay, about how many users is this? > > 40. >>I would be the only person able to post in the l.info and l.announce >>groups, >> >> > >I think the best way to do this is to make them moderated, rather >than trying to force it into readers.conf. > > I already did this, at least for l.announce. I just now did a ctlinnd newgroup local.info m. creating the l.info group In the active file I now have: ... local.announce 0000000014 0000000011 m local.info 0000000000 0000000001 m local.test 0000000120 0000000110 y ... In the moderators file I added the local.info group, and now have: ... ## Added by JFM 200609021650 local.announce:newsmaster@my.net local.info:newsmaster@my.net ## Public hierarchies with exceptions. ... The "newsmaster" address does not really have an account on my local mail server. However it is routed to an existing mail account by the server's router. Many "throwaway" accounts are routed to only a few real accounts, so I don't need to check but a few mailboxes. >>I have this figured out (I think) with innflags: -C in the >>inn.conf file. If the -C also stops me [...] >> >> > >Yes, no cancel messages will be processed when you use -C, no >matter who they're from. It's fine to do it that way, but >instead of just deleting the articles from the spool, I'd >recommend using `ctlinnd cancel` (since it will update the >history file, and also just requires the Message-ID rather than >locating the actual file). > >The other thing you could do is configure Cleanfeed to drop >cancel messages from anyone besides you. > > I'll need to examine this and see if I can figure it out and make the changes. I was working on Cleanfeed but got sidetracked with Suck. I couldn't understand how to compile/install it, so I wound up throwing the duty onto the RumorMill server on a PowerMac 7600, and streaming the news into INN. Then I had to install and configure BIND so I could shut down QuickDNS Pro on a PowerMac 8500. I had to move ntpd and Fetchmail from one Debian box to another. And I had to take care of my sick wife for a couple of weeks. Now whatever I did learn has evaporated. <sigh> At nearly 62, I am beginning to wonder if I can still learn like I did 30 years ago, when I taught myself assembly, BASIC, Pascal, Fortran, etc. My eyesight is outta sight, and I think my brain has stiffened due to age, but I know if I don't keep trying, it will slowly harden up and be useless. I have notes everywhere, but finding them sometimes is a challenge. Getting Suck going is a priority, so I can kill RumorMill and the PowerMac 7600. Fine-tuning Cleanfeed is also on my list. Then I'll move on to Sendmail, so I can kill the remaining server, SIMS (MTA), on the PowerMac 8500. These Macs are over ten years old and have been running 24/7 for nearly ten years. I can't afford to replace them with new Macs, when I can run Linux applications on garage sale boxes. ;-) >>> 1. If you don't mind keeping the user list in one place and >>> the grouping information separate, and you have a >>> relatively small number of users, you can just do one >>> password file, one auth block, and then a bunch of access >>> blocks each one with a users: line listing all of the users >>> that should match that access block. >>> >>> >>This might work, but could end up a lot of work. >> >>A growing password file of inactive people is not as important as a >>growing readers.conf file's access block(s), with their 8191 (8180) >>character limitation on one line only. >> >> > >Right. That's why the "small number of users" caveat above. > >You can't use multiple users: lines per block or duplicate the >block entirely, as far as I know. The conf parser does support >the use of \ but taking a quick glance at the source, I don't >being able to backslash-escape newlines helps you in this >situation. > >If you're a small amount over, you could certainly change the >appropriate part of options.h and recompile, but that doesn't >help if your list is going to keep going. > >Anyway, to get back to what I was alluding to above, if your >(already defined and unchanging) list of -original- users is >small enough to fit in readers.conf, you can do a variation of >what I was describing where you list them, and list yourself, and >then everybody else falls into a wildcard group. Would that >work? > > I think it would work. If all 40 won't fit, I could probably drop a few of them, like the lurkers who have never posted. Or better, move them into the new users classification. Then the list of still-active old-timers would be around half the size, and would be manageable, if ever needed to be. There should never be a need for any additions. >>> 2. If your needs are simple enough that you can encode the >>> grouping information in the username somehow, and don't >>> mind exposing that to your users, you can just do one auth >>> block and multiple access blocks with wildcards. Like, >>> your users would be bob@all, jimmy@state, mary@state, >>> sam@county, and so on. >>> >>> >>This doesn't sound like something I'd care to mess with, and it isn't >>secure since users can see the usernames. >> >> > >It is secure, actually. The entire username, including the part >at the end, is in the password file, and so the user can only >authenticate using the entire thing. Simply changing the suffix >and using the same password would result in Access denied. > I see what you mean. I had thought someone would only need to see the name in the From: field to forge access, but I forgot about the password would still be required. I don't want to change the user's names though. They are their real names, or they chose them and probably have reasons for those handles. Thanks for the ideas, Jeff. I do appreciate your help very much. -- John
Technical Details
Message-ID:
<j2oKg.11946$mY1.3564@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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mailReferences:
<UEZJg.6067$mY1.3609@bgtnsc05-news.ops.worldnet.att.net> <eda9ah$gkj$1@puck.litech.org> <c_6Kg.27458$5i3.18707@bgtnsc04-news.ops.worldnet.att.net> <edcplt$i89$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <j2oKg.11946$mY1.3564@bgtnsc05-news.ops.worldnet.att.net> Subject: Re: Multiple access authentication Date: Sat, 02 Sep 2006 23:00:31 GMT From: "John F. Morse" <xanadu.bbs@invalid.net> References: <UEZJg.6067$mY1.3609@bgtnsc05-news.ops.worldnet.att.net> <eda9ah$gkj$1@puck.litech.org> <c_6Kg.27458$5i3.18707@bgtnsc04-news.ops.worldnet.att.net> <edcplt$i89$1@puck.litech.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.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: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <edcplt$i89$1@puck.litech.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 206 NNTP-Posting-Host: cf9bba1fd95e4a09c3cbd049078bfc14 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1157238031 NNTP-Posting-Date: Sat, 02 Sep 2006 23:00:31 GMT