Article View: news.software.nntp
Article #88343Re: Usenet map
From: Helm
Date: Wed, 08 Apr 2020 01:13
Date: Wed, 08 Apr 2020 01:13
36 lines
2398 bytes
2398 bytes
On 2020-04-08 00:06:13 +0000, Grant Taylor said:
> On 4/7/20 5:49 PM, Grant Taylor wrote:
>> I took the Path: headers from my data source (10,000 articles from a
>> newsgroup), derived connections between the upstream and downstream
>> hosts, shift, and repeat.
>
> I hacked together a shell script that read Path: header lines from
> STDIN, looping across each header.
>
> Each path header was split on the bang, and walked posting host to my
> receiving host, looping across each host.
>
> awk -F\! '{for (i=NF; i>1; i--)printf("%s ",$i); print $1; }'
>
> This allowed me to take action on each host in each path entry.
>
> Since I was starting with the posting / upstream host, I was able to
> iterate through the hosts in the path and deduce the upstream to
> downstream relation. This directly translated to "$upstream ->
> $downstream" entries for dot to work with.
>
> There was a little bit of clean up work, like priming when I don't have
> both upstream and downstream, as well as some things like not-for-mail
> / mail2news, etc.
>
> I did my node to organizational clean up with sed with things like this
> the following before running loops across them:
>
> s/fx01.iad.POSTED!/Google!/
> s/peer03.ams1!/Google!/
fx01.iad and peer03.ams1 belong to Highwinds. You might want to include
that in your classification.
Let me know if you need any help.. I'm also intrested in something like this!
Technical Details
Message-ID:
<r6j8gg$26ig$1@esteban.tulanet.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<r6ietg$2ce7$1@news.usenet.ee> <r6j3if$2i6$1@tncsrv09.home.tnetconsulting.net> <r6j4hi$qlc$1@tncsrv09.home.tnetconsulting.net>Show Full Headers
Complete Article Headers
Message-ID: <r6j8gg$26ig$1@esteban.tulanet.com> Subject: Re: Usenet map Date: Tue, 7 Apr 2020 21:13:52 -0400 From: Helm <nospam@please.invalid> References: <r6ietg$2ce7$1@news.usenet.ee> <r6j3if$2i6$1@tncsrv09.home.tnetconsulting.net> <r6j4hi$qlc$1@tncsrv09.home.tnetconsulting.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Tula Networks Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: esteban.tulanet.com; logging-data="72272"; posting-host="CcMB1Pbq2CfjMXORSs8t6Q.user.esteban.tulanet.com"; mail-complaints-to="netnewsmaster@gmail.com"; User-Agent: Unison/2.2 X-Notice: Filtered by Postfilter with Rennovations Lines: 36