[metrics-team] Tor Metrics PowerShell Module

Luke Millanta lmillanta at gmail.com
Wed Nov 8 09:59:08 UTC 2017


Hi Mate,

Up on Github now: https://github.com/lmillanta/tormetrics

Cheers,
Luke

On Wed, Nov 8, 2017 at 8:52 PM, Karsten Loesing <karsten at torproject.org>
wrote:

> (Forwarding to the list with Luke's permission.)
>
> Hi Luke,
>
> I don't have a PowerShell available, nor am I the typical user of such a
> tool.
>
> But I hope that others on this list have better feedback on possible use
> cases. In particular the recent work on metrics-bot seems very related.
>
> I'd say let's wait until the module is on GitHub and has seen some
> initial usage and then put it together with a short description on the
> Services page:
>
> https://metrics.torproject.org/services.html
>
> Want to ping us in a week or two about adding it?
>
> Regarding Tor Weekly News, unfortunately there have not been new issues
> of that for a while now. You could instead send a message to tor-relays@
> to inform relay operators of the new tool and ask them to send you some
> more feedback.
>
> All the best,
> Karsten
>
>
> -------- Forwarded Message --------
> Subject: Tor Metrics PowerShell Module
> Date: Wed, 8 Nov 2017 14:08:25 +1100
> From: Luke Millanta <lmillanta at gmail.com>
> To: Karsten Loesing <karsten at torproject.org>
>
> Hi Karsten,
>
> A few years ago we spoke while I was developing OnionView, a service which
> uses Onionoo to plot the location of Tor relay nodes on a map of the world.
>
> I got a little bored over the weekend and decided to help one of my Twitter
> followers out. They were saying it would be cool if they could query Tor
> nodes via the PowerShell command line. With a beer in hand, I set about
> writing a fairly simple PowerShell module that allows users to query data
> from Onionoo via the command line. This module is attached, simply rename
> .txt to .psm1 if you would like to test. I plan to have this module up on
> Github shortly but for now this will do.
>
> Some example commands:
> - Get-TorStatsCount - returns an object with a Count of relays and bridges
> - Get-TorRelayStats - returns a list of relay objects with all basic info
> about the relay (platform, ip address etc.)
> - Get-TorBridgeStats - returns a list of bridge objects with all basic info
> about the bridge (platform, ip address etc.)
>
> - Filter Example: Get-TorBridgeStats | Where-Object {$_.nickname -eq
> "string"}
>
> The user is able to filter for a specific bridge or relay using any object
> as listed here: https://metrics.torproject.org/onionoo.html
>
> I have also attached a couple of screenshots of the module in action.
>
> I was hoping you could do two things:
>
> 1. Provide me with some feedback.
> 2. Possibly get this noted in the Tor Weekly News, similar to how OnionView
> was listed. This will be the best way to get the word out to the Tor
> community.
>
> Looking forward to hearing from you.
>
> Regards,
> Luke
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/metrics-team/attachments/20171108/7127f728/attachment.html>


More information about the metrics-team mailing list