🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by David Ramahefason Thu, 08 Jan 1998 00:00
Is there a way ??
#24999
Author: David Ramahefason
Date: Thu, 08 Jan 1998 00:00
16 lines
838 bytes
Hi,

Is there a way to forbid only 1 user from posting ???

Thanks

--
/David Ramahefason      Administrateur Systeme/Reseau/
/rama@easynet.fr        Easynet France SA            /
/0144547031                                          /




Re: Is there a way ??
#24988
Author: Ian Stirling
Date: Thu, 08 Jan 1998 00:00
40 lines
2332 bytes
David Ramahefason <rama@easynet.fr> wrote:
: Hi,

A) shoot them.
B) remove account
C) Hmm.

This presupposes that the news-server knows which user is accessing
it.
So, if you can't add passwords for all users, you could try locking
up all newsreaders, in some way, to disable posting for your user.
If they are clueless, this should work, if not, they can download/compile
another.

: Is there a way to forbid only 1 user from posting ???

Maybe the most efficiant way to do it is to simply say "if you post, you
lose your account" and mean it?

: Thanks

: --
: /David Ramahefason      Administrateur Systeme/Reseau/
: /rama@easynet.fr        Easynet France SA            /
: /0144547031                                          /




-- 
Ian Stirling.   Designing a linux PDA, see  http://www.mauve.demon.co.uk/
----- ******* If replying by email, check notices in header ******* -----
'Terror is the most effective political instrument.... I shall spread terror by
the surprise employment of all my measures.
The important thing is the sudden shock of an overwhelming fear of death.'
Adolf Hitler.


Re: Is there a way ??
#25020
Author: Forrest J. Cavalier III
Date: Thu, 08 Jan 1998 00:00
28 lines
1462 bytes
In article <34B4B456.3ED880E2@easynet.fr>, rama@easynet.fr wrote...
>
>Hi,
>
>Is there a way to forbid only 1 user from posting ???
>

If a site is running INN, this might be done in several ways.

Two examples:
  1. If the user always connects from the same IP address, you can
     disallow posting in nnrp.access.

  The man page for nnrp.access can be viewed at:
     http://www.mibsoftware.com/userkt/inn/doc/nnrp.access.5.htm

  2. If you have some way of identifying the connection as being
     from that user, you can modify nnrpd.c to disallow posting when
     that user connects.

Forrest J. Cavalier III, Mib Software, INN customization and consulting 
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages: 
    http://www.mibsoftware.com/userkt/forprov.htm 
Commercial support for INN: http://www.mibsoftware.com/innsup.htm 


Re: Is there a way ??
#25032
Author: Dougal Campbell
Date: Thu, 08 Jan 1998 00:00
36 lines
1941 bytes
David Ramahefason <rama@easynet.fr> wrote:
> Hi,

> Is there a way to forbid only 1 user from posting ???

Cancel his account?

Okay, I assume you want something less draconian. I'll guess that
you're talking about a dialup PPP user. You could try giving him a
static IP number, then deny access to that address in your nnrp.access
file.

But, if he has access to a shell account on a machine that other
legitimate users also post from, and you don't use some sort of
authentication, then you're back to my first suggestion. Threaten the
user with termination of service. Sometimes you just have to use the
big stick.

Hmm....actually, a thought just struck me. If you use INN with perl
filters installed (or any other server that can filter posts in a
similar fashion), you could write a quick hack to the nnrp filters to
just drop that users' posts. Assuming he's consistent about what he
puts in his headers, so that you can identify his posts reliably.

-- 
Dougal Campbell, Systems Manager, ADViCOM        dougal@advicom.net
http://www.advicom.net/                 http://advicom.net/~dougal/
           See my homepage for anti-spam information!
QUOTE OF THE MOMENT:
  With great power comes great responsibility.
                -- Stan Lee
  With great power comes great opportunities for abusing it.
                -- Me

Re: Is there a way ??
#25043
Author: Karl Kleinpaste
Date: Thu, 08 Jan 1998 00:00
9 lines
965 bytes
David Ramahefason <rama@easynet.fr> writes:
> Is there a way to forbid only 1 user from posting ???

If he either [a] accesses with AUTHINFO or [b] is the only user coming
from a certain client host, then nnrp.access can close him out.  See
the man page.

Re: Is there a way ??
#25082
Author: Terry Kennedy
Date: Fri, 09 Jan 1998 00:00
55 lines
3136 bytes
Karl Kleinpaste <karl@jprc.com> writes:
> If he either [a] accesses with AUTHINFO or [b] is the only user coming
> from a certain client host, then nnrp.access can close him out.  See
> the man page.

  It's also possible (assuming that the securely-administered multiuser host
he's posting from supports IDENT) to add IDENT support. I did this for Ref-
erence NNTP, and the changelog looks like this (and the actual coding was
a lot smaller than this documentation):

	V1.00-18  5-Dec-97
		o Allow usernames in nntp_access file via user@host format.
		  Since the first match controls access, any user@host forms
		  must appear before matching host forms. The special username
		  "nobody" refers to connections without any IDENT data. So,
		  to allow reading and posting to users of foo.com who provide
		  IDENT data, while only allowing reading when they don't pro-
		  vide ident data, use:
			nobody@foo.com		read nopost
			foo.com			read post
		  Likewise, this allows denying access to a single user (for
		  example, if they're caught spamming) as long as their host
		  provides IDENT data:
			badboy@foo.com		read nopost # or noread nopost
			foo.com			read post
		  As usual, wildcards work in both user and hostname portions,
		  but something like:
			badboy@foo.com		read nopost
		  will *ONLY* prevent him from posting if he connects from the
		  foo.com host, while:
			foo.com			read nopost
		  affects all users of foo.com. If you want to disallow bad-
		  boy's posts from any foo.com host, you need to use:
			badboy@foo.com		read nopost
			badboy@*.foo.com	read nopost
		  Note the use of *.foo.com, since *foo.com would erroneously
		  grant read access to badboy@barfoo.com, an unrelated host.
		  Similarly, this can be used to grant access to a single user
		  at a remote system which is not normally granted access:
			user@foo.com		read post
			nobody@foo.com		noread nopost
		  Which can be used to sell or give NNTP server access to a
		  single user.
		o Rearrange code to do IDENT before looking up user in nntp_
		  access file (to make the above possible).

  You can get this modified copy of Reference NNTP (along with some other
stuff) from ftp.new-york.net.

	Terry Kennedy		  Operations Manager, Academic Computing
	terry@spcvxa.spc.edu	  St. Peter's College, Jersey City, NJ USA
        +1 201 915 9381 (voice)   +1 201 435-3662 (FAX)

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