🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25082

Re: Is there a way ??

#25082
From: 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)

Technical Details
Message-ID: <EMIFxp.7Gt@spcuna.spc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <34B4B456.3ED880E2@easynet.fr> <vxkbtxn0wni.fsf@pocari-sweat.jprc.com>

Show Full Headers
Complete Article Headers
Message-ID: <EMIFxp.7Gt@spcuna.spc.edu>
Subject: Re: Is there a way ??
Date: Fri, 09 Jan 1998 00:00:00 +0000
From: Terry Kennedy <terry@spcunb.spc.edu>
References: <34B4B456.3ED880E2@easynet.fr> <vxkbtxn0wni.fsf@pocari-sweat.jprc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 314265253
X-Complaints-To: Email abuse@spc.edu if this posting is inappropriate
X-Trace: spcuna.spc.edu 884338476 9666 terry [192.107.46.132]
Organization: St. Peter's College, US
Newsgroups: news.software.nntp