🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63984

inn 2.3.4, nnrpd_auth hook bypassed when newsgroup is moderated?

#63984
From: Daniel
Date: Mon, 10 Feb 2003 19:37
14 lines
1370 bytes
inn 2.3.4, using nnrpd_auth.py hooks for a standalone news server. 
Read and Write permissions vary among users/newsgroups.

In nnrpd/post.c, it looks like the python authorize hook (called for
read or post) is not called for moderated newsgroups
(NF_FLAG_MODERATED), only when NF_FLAG_OK.  The post is mailed
directly to the moderator without any chance of it first being denied
by PY_authorize.  Was this intended?  Any plans to make this
configurable?


Thanks for letting me know,
~ Daniel
Technical Details
Message-ID: <1d4cf4c3.0302101137.14293da4@posting.google.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!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <1d4cf4c3.0302101137.14293da4@posting.google.com>
Subject: inn 2.3.4, nnrpd_auth hook bypassed when newsgroup is moderated?
Date: Mon, 10 Feb 2003 19:37:05 +0000
From: backwardthinker@juno.com (Daniel)
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!archiver1.google.com!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com/
Lines: 13
NNTP-Posting-Host: 64.236.226.116
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1044905825 27608 127.0.0.1 (10 Feb 2003 19:37:05 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 10 Feb 2003 19:37:05 GMT