🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82257

Re: Determining which Cycbuff has an article

#82257
From: Szymon Sokół
Date: Mon, 30 Nov 2009 16:17
28 lines
2708 bytes
On Mon, 30 Nov 2009 13:26:18 +0000 (UTC), Hauke Lampe wrote:

> John F. Morse schrieb:
> 
>> I can't find the command to determine which Cycbuff contains a specific
>> article.
> 
> The cycbuff name is encoded in the message token:
> 
> vindalf:~# grephistory "<37bea827-72e4-4f30-b2de-6b1e12b27342@u20g2000vbq.googlegroups.com>"
> @03054F544845523133000004A58100000001@
>      ^^^^^^^^^^^^^^
>      O T H E R 1 3 
> 
> I don't know any tools shipped with INN that would decode this easily, though.

This oneliner should do the trick (there are three regexp substitutions -
the first one cuts the relevant part of the token, the second one converts
it from hex to ASCII, and the third one removes trailing NULs):

grephistory "<37bea827-72e4-4f30-b2de-6b1e12b27342@u20g2000vbq.googlegroups.com>" |
perl -ple 's/^\@.{4}(.{16}).{16}\@$/$1/ && s/(..)/chr hex $1/eg && s/\0*$//'

-- 
Szymon Sokół (SS316-RIPE) -- Network Manager                                 B
Computer Center, AGH - University of Science and Technology, Cracow, Poland  O
http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982  F
Free speech includes the right not to listen, if not interested -- Heinlein  H
Technical Details
Message-ID: <1s0lchgni4odh.dlg@falcon.sloth.hell.pl>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!t-online.de!news.nask.pl!news.nask.org.pl!news.cyf-kr.edu.pl!agh.edu.pl!news.agh.edu.pl!dustpuppy.sloth.hell.pl!not-for-mail
References: <hf03er$3pu$1@optima5.xanadu-bbs.net> <hf0h5q$dcp$1@einschein.formularfetischisten.de>

Show Full Headers
Complete Article Headers
Message-ID: <1s0lchgni4odh.dlg@falcon.sloth.hell.pl>
Subject: Re: Determining which Cycbuff has an article
Date: Mon, 30 Nov 2009 17:17:36 +0100
From: Szymon Sokół <szymon@bastard.operator.from.hell.pl>
References: <hf03er$3pu$1@optima5.xanadu-bbs.net> <hf0h5q$dcp$1@einschein.formularfetischisten.de>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!t-online.de!news.nask.pl!news.nask.org.pl!news.cyf-kr.edu.pl!agh.edu.pl!news.agh.edu.pl!dustpuppy.sloth.hell.pl!not-for-mail
Newsgroups: news.software.nntp
Organization: Guy Fawkes Society
Lines: 28
Sender: szymon@news.agh.edu.pl
NNTP-Posting-Host: chello089079214187.chello.pl
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Trace: news.agh.edu.pl 1259598122 3753 89.79.214.187 (30 Nov 2009 16:22:02
 GMT)
X-Complaints-To: abuse@agh.edu.pl
NNTP-Posting-Date: Mon, 30 Nov 2009 16:22:02 +0000 (UTC)
User-Agent: 40tude_Dialog/2.0.15.1 Hamster/2.1.0.11
X-Face: xic?6f"rD)k-tM.]L]A6l4W7_aGt({}&{D,hiRI.8cPtf,1F.w@Qkl!vr23o1UY-BfXO$p<
 hk5>ijB?eBy)?!C<@)+%U\&`1X)MJ>.i.qgkY]4mvL62j<|xJRG/5:7:l8q]x;
 v!)Bz^r/!yG8DxoD -@fnC,g]BAXj