🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Joe Greco Tue, 22 Feb 1994 07:49
Re: Need reader to block "certain" groups from kids
#2429
Author: Joe Greco
Date: Tue, 22 Feb 1994 07:49
28 lines
2226 bytes
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?

.. Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/342-4847
Re: Need reader to block "certain" groups from kids
#2430
Author: Ken Hornstein
Date: Tue, 22 Feb 1994 16:11
73 lines
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
Re: Need reader to block "certain" groups from kids
#2431
Author: Bob Kusumoto
Date: Tue, 22 Feb 1994 21:12
54 lines
3771 bytes
In <2kdarq$rqq@sbus.entropic.com> kenh@wrl.epi.com (Ken Hornstein) writes:
>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 -
[deleted]
>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.

Actually, we're in the process of modifying NNTP to do exactly this although
in a slighly different fashion.  The nntp.access file has a parameter to
pick or restrict groups from particular sites.  We're working on adding a
file with a list of users and restricted groups similar to the newsgroups
parameter in nntp.access so we can do more with it.  Of course, we use
identd to find out what the username is, but essentially, for local news
reading, it should do the trick.

Bob
--
   Bob Kusumoto                           | The truth is not an obstacle for
Internet:  quzi@ripco.com                 | someone such as me...because...we
                                          | create our own reality.  -MC 900'
                                          | Jesus,  "Truth is out of style"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads