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