Article View: news.software.nntp
Article #72346Re: Authentication advice
From: John F. Morse
Date: Thu, 29 Sep 2005 06:43
Date: Thu, 29 Sep 2005 06:43
275 lines
10466 bytes
10466 bytes
Jeffrey M. Vinocur wrote: >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. > > Since it has been running for five years, there's no hurry. I'll file this message for future reference though. I have the maximumarticlesize set to 350kB on the RumorMill server, so someone would really need to work a long time to fill the hard drive. INN is set at the default 1MB, and I probably will decrease it. Posters need to be trained to convert BMP files to JPGs. The only peers are downstream, to my other servers. The first one is for backup, the second one is a beta test on a newer RumorMill, and the new INN streams with it. No other peers are available. Except I do pull/suck a group or two from Worldnet, and one from USENET on my ISP's news provider. There is no full spool possible when pulling (unless I don't have an eye on the free space!). I could POST back, but never do. I use their normal server for posting. BTW, the Worldnet suck does use Stunnel on a Linux box for access. >>>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. > > Which OS do you use? >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. > > #1 belongs to root. #2 belongs to news. >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. > > With that in mind, /var/lib/news might be the best place for a grab to take everything. There are no single files in /var/lib (everything is a directory). >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 :-) > > I know the feeling. That's one reason I read a lot, then ask opinions. Then ask "why?" Often I find myself thinking "out loud" even in a newsgroup message. Throwing out ideas; finding out why some are bad and if some may work. Some people take exception to this though. They probably think I'm questioning their intelligence. But I'm really only running my ideas across, to see what their experience thinks. >>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!) > > I'll help wherever I can. Besides Debian, other distros I have online (on the LAN) are: Fedora Core 1 Fedora Core 3 Lindows (now Linspire) 4.5.316 (a Debian) Linspire 5.0 Mandrake 8.0 Mandrake 10.1 Slackware 10.1 Mac OS-X 10.3.8 (FreeBSD "Darwin") and live CDs of: FreeSBIE 1.1 Knoppix 3.7 Ubuntu 5.04 RedHat 5.2 is also installed in something around here, but not presently online. I probably have INN installed but, not configured, on some of the LAN clients. If you need me to check something, just holler. Here ya go (grep ^path inn.conf): pathnews: /usr/lib/news patharchive: /var/spool/news/archive patharticles: /var/spool/news/articles pathbin: /usr/lib/news/bin pathcontrol: /usr/lib/news/bin/control pathdb: /var/lib/news pathetc: /etc/news pathfilter: /etc/news/filter pathhttp: /var/log/news pathincoming: /var/spool/news/incoming pathlog: /var/log/news pathoutgoing: /var/spool/news/outgoing pathoverview: /var/spool/news/overview pathrun: /var/run/news pathspool: /var/spool/news pathtmp: /var/spool/news/incoming/tmp >>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. > > Speaking of the overview database.... I just looked it over, and I find an additional entry for the local.general group (one created at INN's install time). I have the following: /var/spool/news/overview/l/g/local.general.DAT (and local.general.IDX) and a new one: /var/spool/news/overview/g/general.DAT (and general.IDX) I don't think this one belongs (may have been a typo during the tdx-util or makehistory). This group does not exist in /var/lib/news/active or in /var/lib/news/newsgroups as the plain "general" group. The "local.general" group does exist in these two files. There is no "general" directory in /var/spool/news/articles/local but probably because nothing has ever been posted to it. Only local.general appears in a news reader when refreshing the list of groups. This $pathoverview/g directory has not been accessed in the last three days, since Monday afternoon, 20050926 when I was rebuilding the database. All other overview directories show modifications yesterday, 20050928. How can I safely delete it? There is one file $pathoverview/group.index that hasn't been updated since 20050925. It is 128kB. I looked it over with KHexEdit and could see nothing other than hex (no understandable ASCII). I'm curious why this file hasn't been updated in nearly four days (no activity with ctlinnd newgroup perhaps?). >>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. > I'm glad I waited. The time spent with RumorMill is not wasted. I learned a lot about NNTP, USENET, etc., which helps me immensely in configuring INN -- once I stumble around and find the parts. ;-) -- John
Technical Details
Message-ID:
<d2M_e.90352$qY1.58251@bgtnsc04-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!border2.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!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> <dhffeq$3bd$2@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <d2M_e.90352$qY1.58251@bgtnsc04-news.ops.worldnet.att.net> Subject: Re: Authentication advice Date: Thu, 29 Sep 2005 06:43:21 GMT From: "John F. Morse" <xanadu.bbs@invalid.net> 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> <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!border2.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail Reply-To: xanadu.bbs@invalid.net Organization: Xanadu BBS User-Agent: Debian Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <dhffeq$3bd$2@puck.litech.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 275 NNTP-Posting-Host: bef11b2973d832e50554260a13c6327b X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1127976201 NNTP-Posting-Date: Thu, 29 Sep 2005 06:43:21 GMT