Article View: news.software.nntp
Article #50214Re: Guaranteed-unique path element?
From: Rich Lafferty
Date: Sun, 28 Jan 2001 02:46
Date: Sun, 28 Jan 2001 02:46
47 lines
2801 bytes
2801 bytes
In news.software.nntp, Russ Allbery <rra@stanford.edu> wrote: > Rich Lafferty <rich@bofh.concordia.ca> writes: > > > I'm writing a little program which traverses a tradspool, grabs the > > Path: header from all of the messages therein, and generates some > > statistics on from where articles are arriving. I need to normalize the > > local-part of the path such that I can identify it as a local part > > without any context. Son-of-1036 seems to imply that "not-for-mail" is > > reserved for the local-part, but I'm not certain that's the case. Is > > there a value that > > This got cut off, but the answer is probably no. Wow, it'd be good if I wrote the entire post before posting, I suppose. :-) What I *meant*: Is there a value that I can replace *all* local-parts with in the program, without risking it appearing somewhere along a path? (Phrased for a specific case, "will not-for-mail appear anywhere but the local-part?) Or, because I'm still not happy with how I phrased that, is there a string which will never appear in a path? > Probably the safest thing to do is to ignore the last entry of the Path > header unless it looks like an IP address or a FQDN. That's what I'm doing now, but I want to count posts originating at each peer as well as fed to them by other peers, so I need to put some sort of placeholder in. Sample output of said program can *probably* be found at http://bofh.concordia.ca/news/feedgraph.jpg but I'm still fixing little things, so it may be broken at any given time. :-) -Rich -- Rich Lafferty ---------------------------------------- Nocturnal Aviation Division, IITS Computing Services Concordia University, Montreal, QC rich@bofh.concordia.ca -------------------------------
Technical Details
Message-ID:
<slrn977222.enp.rich@bofh.concordia.ca>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!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!hammer.uoregon.edu!newsflash.concordia.ca!not-for-mailReferences:
<slrn976tl7.bkm.rich@bofh.concordia.ca> <yl4rykwhjt.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <slrn977222.enp.rich@bofh.concordia.ca> Subject: Re: Guaranteed-unique path element? Date: Sun, 28 Jan 2001 02:46:09 +0000 From: rich@bofh.concordia.ca (Rich Lafferty) References: <slrn976tl7.bkm.rich@bofh.concordia.ca> <yl4rykwhjt.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.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!hammer.uoregon.edu!newsflash.concordia.ca!not-for-mail Newsgroups: news.software.nntp Organization: Concordia University, Montreal, Canada Lines: 46 NNTP-Posting-Host: bofh.concordia.ca NNTP-Posting-User: rich Mail-Copies-To: never X-No-Ahbou: yes X-Grep-Bait: qmail, Kibo, Wollmann, meow, Archimedes Plutonium, Knights Templar X-Disclaimer: I speak for myself. X-PGP-Key: finger rich@alcor.concordia.ca User-Agent: slrn/0.9.6.2 (Linux)