Article View: news.software.nntp
Article #73693Re: ctlinnd cancel INN 2.4.3 (20050407 prerelease)
From: John F. Morse
Date: Fri, 09 Jun 2006 20:06
Date: Fri, 09 Jun 2006 20:06
114 lines
5061 bytes
5061 bytes
Russ Allbery wrote: >John F Morse <xanadu.bbs@invalid.net> writes: > > > >>I had an 80s-something-year-old Windows user post six messages with an >>embedded/attached Hotbar spamware which he claimed he downloaded from >>SBC/Yahoo. (Google "hotbar" for more info.) >> >> > > > >>I was able to cancel five of the messages using ctlinnd cancel '<the >>Message-ID string>' but one message will not cancel. >> >> > > > >>I use tradspool, so I can ls the spool directory for this newsgroup. The >>message is still there but the other five are gone (using the message's >>Xref: entries to obtain the message number within this newsgroup). >> >> > > > >>Any ideas why this lone message will not delete? >> >> > > > >>Can I simply rm the message without wrecking some indexing database? >> >> > >You can just delete the message and overview will catch up after the next >nightly expire. > > Even with "groupbaseexpiry: true" and then "*:A:never:never:never" in expire.ctl ? IOW, I save everything (low volume, local postings only), so nothing is expired nightly. If there is no nightly expiry, will overview be rebuilt by actually reading the message numbers from the spool? In the mean time, if the message is missing from the /var/spool/news/articles/newsgroup will access by users return an error message? I certainly could test this Russ, but I'm a very careful person around something that is working online. I thought it would be better to ask first instead of a headache later. ;-) One thing about INN, it is so maintenance free that there is very little time spent learning from exposure to experiences. Just those rare oddities that pop up from time to time, usually caused by user actions. Which brings up a side question: I had to quarantine this user until he could remove his spyware. I simply "commented out ( # )" his username:password entry in my ckpasswd password file. I do see news.notice entries stating a failure to authenticate.: Jun 9 14:42:00 localhost nnrpd[17481]: adsl-154-167-xx.mco.bellsouth.net auth_err ckpasswd: user soandso unknown Jun 9 14:42:00 localhost nnrpd[17481]: adsl-154-167-xx.mco.bellsouth.net bad_auth My question: Will this actually comment-out this user's authentication, or could a user prepend the number sign in front of their usual username and still gain access? Never mind; I see man ckpasswd(8) under -f filename "Lines starting with a number sign (`#') are ignored." This is probably the best method of removing authentication for a unknown length of time. I could even add the date and reason after their password for future reference. >>Finally, is there any way to use telnet to the NNTP port to cancel a >>message remotely? >> >> > >You can write a cancel control message yourself, but if ctlinnd cancel >doesn't work, that isn't going to work either. Ah, but I see that's not >the primary concern. Hm. > >Well, yes, you can, but the user has to post a properly formed cancel >control message per RFC 1036. > > I'll do some reading here. I've tried creating a NNTP account in a GUI newsrearder, using the identical username, password and other header info of the real user, but the cancel always fails. Perhaps the news reader is examining the "sent" file to see if that message actually exists from a previous post. Testing with plain telnet should eliminate this type of checking. Having the ability to use a properly-formatted cancel would allow the control message to propagate to my other peering server, which I use for backup at present. Otherwise it is two ssh sessions with ctlinnd cancel. -- John
Technical Details
Message-ID:
<Pwkig.157069$Fs1.76193@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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mailReferences:
<HYiig.10360$mF2.1870@bgtnsc04-news.ops.worldnet.att.net> <87k67q895z.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <Pwkig.157069$Fs1.76193@bgtnsc05-news.ops.worldnet.att.net> Subject: Re: ctlinnd cancel INN 2.4.3 (20050407 prerelease) Date: Fri, 09 Jun 2006 20:06:07 GMT From: "John F. Morse" <xanadu.bbs@invalid.net> References: <HYiig.10360$mF2.1870@bgtnsc04-news.ops.worldnet.att.net> <87k67q895z.fsf@windlord.stanford.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail Reply-To: xanadu.bbs@invalid.net Organization: Xanadu BBS User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <87k67q895z.fsf@windlord.stanford.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 114 NNTP-Posting-Host: 6e88016e8353bfd7188db0f6865e9c3f X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1149883567 NNTP-Posting-Date: Fri, 09 Jun 2006 20:06:07 GMT