Article View: news.software.nntp
Article #2430Re: Need reader to block "certain" groups from kids
From: Ken Hornstein
Date: Tue, 22 Feb 1994 16:11
Date: Tue, 22 Feb 1994 16:11
73 lines
4376 bytes
4376 bytes
In article <2kcded$pnn@brasil.moneng.mei.com>, Joe Greco <jgreco@brasil.moneng.mei.com> wrote: >In news.software.readers article <CLKC1J.LCu@dvorak.amd.com>, aad@dvorak.amd.com (Anthony Datri) wrote: >:One way is to remove the other-execute bit from the spool directory of such >:a newsgroup, make it owned by a special group, and only put "adults" in that >:group. > >For those archaic sites that don't access news via NNTP. ;-) > >I've just finished hashing around with this (although I have yet to actually >hack the newsreaders). I've grouped my users into "adult" and "minor" >groups. I've configured our INN news server to offer all non-"sex" (etc) >groups all the time. However, if you do an "authinfo user adult" (...etc) >then the server allows all groups. This relies on a little extra code being >compiled into every client that talks to the news server, so that an >"authinfo" exchange occurs after the "mode reader" for anybody in the adult >group. It is not difficult but could be annoying to maintain in the long >run. > >It also relies on the binaries being unreadable so the "magic cookies" >aren't easily discovered. My NNTP server is secure so I don't have to worry >about spool directories. > >Anybody else got a brilliant idea of how to implement this over NNTP? I came up with a rough scheme a while ago using identd; the basic idea was that the nnrp daemon would query the userid of the connecting nntp reader, and use that information to allow or dis-allow certain groups. You could use something like the following in your nnrp.access file: something@wrl.epi.com:Read Post:::* wrl.epi.com:Read Post:::*,!a.bad.group (You get the idea) "something" in the above lines could be a file with a list of userids, a netgroup file, etc ... no good ideas on that one. Before anyone says anything ... I realize that identd can easily be spoofed, one shouldn't trust the information you get from it, it shouldn't be used as an authentication protocol, etc etc. I present this is as a solution because: - This would probably be only used internally within a site, where you would be more likely to trust the output from identd. - In general, I don't consider news to be that secure. Obviously this isn't the case for all sites. - Identd servers already exist, and so do client libraries; wouldn't take as much work to integrate. - Probably about as secure as the authinfo NNTP stuff. One obvious advantage is that it wouldn't require any changes to news readers; this would be completely transparent. One obvious disadvantage (security issues aside) is that newsreaders coming in from non-UNIX hosts (IBM PCs running MS-DOS networking software) will have delays in connecting as the nnrpd daemon tries to connect to the idend daemon. You could work around this by having nnrpd only query the ident daemon if there's an "@" in the hostname field. For example - something@wrl.epi.com:Read Post:::* would cause the ident daemon on that machine to be queried, whereas msdos.epi.com:Read Post:::* would not. I'm not now in a position where I would need this sort of thing, so I never actually implemented it. I think that IN SOME LIMITED CASES this sort of thing would be useful; obviously usind identd isn't an ideal solution. Anyone who can come up with a better authentication scheme, I'd love to hear your ideas. --Ken
Technical Details
Message-ID:
<2kdarq$rqq@sbus.entropic.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!netnews.upenn.edu!dsinc!ub!news.kei.com!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!pipex!uunet!epiwrl.entropic.com!usenetReferences:
<2k82ft$ge6@sundog.tiac.net> <CLKC1J.LCu@dvorak.amd.com> <2kcded$pnn@brasil.moneng.mei.com>Show Full Headers
Complete Article Headers
Message-ID: <2kdarq$rqq@sbus.entropic.com> Subject: Re: Need reader to block "certain" groups from kids Date: Tue, 22 Feb 1994 16:11:38 +0000 From: kenh@wrl.epi.com (Ken Hornstein) References: <2k82ft$ge6@sundog.tiac.net> <CLKC1J.LCu@dvorak.amd.com> <2kcded$pnn@brasil.moneng.mei.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!netnews.upenn.edu!dsinc!ub!news.kei.com!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!pipex!uunet!epiwrl.entropic.com!usenet Newsgroups: news.software.readers,news.software.nntp Organization: Entropic Research Laboratory, Washington DC Lines: 73 Distribution: inet Reply-To: kenh@wrl.epi.com NNTP-Posting-Host: sbus.entropic.com