Article View: news.software.nntp
Article #72343Re: Authentication advice
From: Jeffrey M. Vinocur
Date: Thu, 29 Sep 2005 01:19
Date: Thu, 29 Sep 2005 01:19
110 lines
5471 bytes
5471 bytes
In article <L4F_e.333879$5N3.42955@bgtnsc05-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>Bill Davidsen wrote:
>
>> Thus the need for a good posting filter.
>
>As usual, I'm open to suggestions.
Well, the most commonly used posting filter is Cleanfeed (which
comes installed as filter_innd.pl in some linux distributions,
even though it's not part of INN). It's not very easy to
configure, though.
If you're really keeping this a standalone server, with no open
posting access and no peers, I'm not sure that you need a filter.
It will catch people trying to post binaries, and it will stop
most attempts at spam. But there will probably be some false
positives, where it keeps someone from posting something
legitimate.
So you have to balance that against the chances of binaries or
spam being a problem with the users you have in mind, and the
amount of difficulty it would cause if your server were briefly
out of commission because someone managed to fill up the entire
spool.
You could go either way here. But I wouldn't hold off deploying
your new server for very long while you puzzle out the Cleanfeed
documentation -- you can always add it later.
>> It needs to be readable by the authentication program.
>
>So, my idea of putting it into /var/spool/news where news is the owner,
>is OK?
I don't know where exactly to tell you because of Debian's
fiddlings.
Personally, I wouldn't put it in the news spool itself (that is,
in the same place there are subdirectories called "articles" and
"overview"). So if that's what's in /var/spool/news, I might try
somewhere different -- although it would work, even there.
I would put it in one of three places:
1. in $pathetc, where "incoming.conf" and "readers.conf" are
2. in $pathdb, where "history" and "active" are
3. in the parent directory of one or the other of those
Probably I would go with #3, unless the parent directory/ies of
$pathetc and $pathdb are not owned by news. After that #1, and
finally #2.
My reasoning is mainly that you don't want to get this mixed up
with INN files. For example, if some future person comes along
and is trying to migrate your INN to a new server, he might try
to bring the configuration but not the whole spool, and so might
accidentally leave the user database behind. So I'd like to have
it in a separate obvious place, or at least mixed in with files
that are most similar to it in nature.
This kind of discussion goes on in my head a lot. It's part of
why it always takes me a little while to install new software :-)
>Most anywhere is "easy" for me, but I try and follow whatever
>"standards" are being thought up, knowing there are disagreements.
It's tough with INN, because there are a lot of files in a lot of
different places, and the distributions put them in unexpected
locations (for us, and the documentation).
I guess we -could- investigate this enough to have a quick
reference for converting default locations to and from
platform-specific locations, though. Wouldn't be that much work,
we'd just have to find some people who actually use the packages
to ask for help...for example, yourself...
Will you run `grep ^path inn.conf` and post the output? (You can
delete the "pathhost:" line, that's not a filesystem path!)
>remembering to watch file permissions so "news" can access what he
>needs, and others cannot hack and su to root.
Right. This is something that will rarely get you in trouble
with INN, luckily, because it's almost always editing files that
are already there. Or you accidentally have config files owned
by root, but INN doesn't mind as long as it can still read them.
The only real trouble I've ever had is when I run makehistory and
end up with the whole overview database being owned by root. INN
doesn't like that.
>So I went to the RumorMill app for the Mac. I read a little about INN
>over a couple of years, but couldn't find my "round-tuit" and since
>RumorMill was performing flawlessly, what's the hurry?
No problem -- INN has actually gotten quite a bit nicer in the
interim, so you kinda lucked out.
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<dhffeq$3bd$2@puck.litech.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!news.glorb.com!news.litech.org!not-for-mailReferences:
<2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <CqTZe.81538$qY1.40661@bgtnsc04-news.ops.worldnet.att.net> <YOWZe.135$Vk.119@newssvr24.news.prodigy.net> <L4F_e.333879$5N3.42955@bgtnsc05-news.ops.worldnet.att.net>Show Full Headers
Complete Article Headers
Message-ID: <dhffeq$3bd$2@puck.litech.org> Subject: Re: Authentication advice Date: Thu, 29 Sep 2005 01:19:22 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <CqTZe.81538$qY1.40661@bgtnsc04-news.ops.worldnet.att.net> <YOWZe.135$Vk.119@newssvr24.news.prodigy.net> <L4F_e.333879$5N3.42955@bgtnsc05-news.ops.worldnet.att.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!news.glorb.com!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 110 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1127956762 3437 66.218.0.75 (29 Sep 2005 01:19:22 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Thu, 29 Sep 2005 01:19:22 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)