Re: [tor-relays] CLI tool like Atlast

2014-06-23 Thread Karsten Loesing
On 23/06/14 02:31, ja...@icetor.is wrote:
 Here's the code for anyone interested:
 https://github.com/woeisme/torchart
 pretty basic json query to php and pchart

Added a link to the Onionoo clients on https://onionoo.torproject.org/,
so that others can re-use, improve, contribute, etc.

All the best,
Karsten

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] CLI tool like Atlast

2014-06-22 Thread jason
Here's the code for anyone interested:
https://github.com/woeisme/torchart
pretty basic json query to php and pchart
-Jason

On 06/18/2014 03:17 PM, Kali Tor wrote:
 Hi,
 
 
 
 On Wednesday, June 18, 2014 11:26 AM, ja...@icetor.is ja...@icetor.is 
 wrote:
 I fooled around with some php json parsing in order to get my metrics
 charts working on icetor.is . I can send you the code if you'd like.
 -Jason
 
 That would be much appreciated!
 
 Thanks,
 KaliTor
 

 On 06/18/2014 10:15 AM, Lukas Erlacher wrote:
  Hi,

  I'm working on that. The onion.py script in OnionPy [1] has some
  rudimentary atlas-like functionality that I hope I can soon make
  complete as soon as I find some free time.

  If you know python, it shouldn't be too hard to do that, PR's 
 welcome!

  Best,
  Luke

  [1] https://github.com/duk3luk3/onion-py

  On 06/18/2014 12:01 PM, Kali Tor wrote:
  Hi all,

  Is there a CLI client/tool that does what
  https://atlas.torproject.org/ does? Basically provide an output based
  on a node's fingerprint?

  e.g.

 https://atlas.torproject.org/#details/7EDE11A41D1C7DF4F9103ABAA4F0A31E42CB0C02


  Thanks,
  KaliTor
  ___
  tor-relays mailing list
  tor-relays@lists.torproject.org
  https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays





  ___
  tor-relays mailing list
  tor-relays@lists.torproject.org
  https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


 ___
 tor-relays mailing list
 tor-relays@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

 ___
 tor-relays mailing list
 tor-relays@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
 

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] CLI tool like Atlast

2014-06-19 Thread Kali Tor
Does tor-prompt provide any more info than arm?

-K_







 On Wednesday, June 18, 2014 11:56 PM, Damian Johnson ata...@torproject.org 
 wrote:
   Hmm.. what am I doing wrong here:
 
  sudo apt-get install python-stem
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  python-stem is already the newest version.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
 
  tor@KaliTorLinLon:~$ tor-prompt
  tor-prompt: command not found
 
 Stem 1.2.2 was released just a couple weeks ago, so it's too bleeding
 edge for the Debian repos. Try the following instead...
 
 % sudo pip install stem
 
 ___
 tor-relays mailing list
 tor-relays@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
 

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] CLI tool like Atlast

2014-06-19 Thread Lukas Erlacher
Hi,

onion.py is in the bin/ folder. If you run sudo python setup.py
install, it will be installed globally, or you can run it directly from
the source folder, as it says in the readme - |PYTHONPATH=. python
bin/onion.py|.

Best
Luke



signature.asc
Description: OpenPGP digital signature
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] CLI tool like Atlast

2014-06-19 Thread Damian Johnson
 Does tor-prompt provide any more info than arm?

I assume you mean the control prompt in arm (the fifth page). That
prompt is similar and was the basis for the tor-prompt, but it's being
removed from arm (that panel causes curses glitches) and the Stem
version of the /info command includes all descriptor output for a
relay. Here's an example



 /info moria1
moria1 (9695DFC35FFEB861329B9F1AB04C46397020CE31)
address: 128.31.0.34:9101 (moria.csail.mit.edu)
tor version: 0.2.5.4-alpha-dev
flags: Authority, Fast, HSDir, Named, Running, Stable, V2Dir, Valid
exit policy: reject *:*
contact: 1024D/28988BF5 arma mit edu


Server Descriptor:


router moria1 128.31.0.34 9101 0 9131
platform Tor 0.2.5.4-alpha-dev on Linux
protocols Link 1 2 Circuit 1
published 2014-06-19 01:57:28
fingerprint 9695 DFC3 5FFE B861 329B 9F1A B04C 4639 7020 CE31
uptime 1130120
bandwidth 512000 62914560 1288658
extra-info-digest 9BA9064FC6C413BA03FEB5AB25A9081B8A2D8436
caches-extra-info
onion-key
-BEGIN RSA PUBLIC KEY-
MIGJAoGBAOfhLtI8FpZS27FvUdEYltlAOFJsdwCWYNvdZ3ivqtXRt6Rp0Oq94+fo
LlKx4XzjU7GpPs1kWO62I/Xlwqh6rgbc7vgxlVPcuHXCirckYOxEvda9Me+no2Ny
GsWsL1PoT8vGTpjL5ONQaudzVDfEa71KMXASv6YcLakJj4Ge7IElAgMBAAE=
-END RSA PUBLIC KEY-
signing-key
-BEGIN RSA PUBLIC KEY-
MIGJAoGBALtJ9uD7cD7iHjqNA3AgsX9prES5QN+yFQyr2uOkxzhvunnaf6SNhzWW
bkfylnMrRm/qCz/czcjZO6N6EKHcXmypehvP566B7gAQ9vDsb+l7VZVWgXvzNc2s
tl3P7qpC08rgyJh1GqmtQTCesIDqkEyWxwToympCt09ZQRq+fIttAgMBAAE=
-END RSA PUBLIC KEY-
hidden-service-dir
contact 1024D/28988BF5 arma mit edu
ntor-onion-key VhxdpiMoHxrTHqGFu7Eupcy4hnh/nSJw3xOpO4J1/n4=
reject *:*
router-signature
-BEGIN SIGNATURE-
FVnuIM/22C/jzf3vuPr/nsZ4Azq3KM0wzdF/76mgcoEbVs94Tl91wtvHX+g/q0xf
OI2jubHu2k7GDMs3Tirqmohdu90VYYxCklXIKXtscRthFrS+fZP2GB8HDtPZseAZ
JMXMYZbWZ9ai6Fyygu1cPE5oqW7lL3r7Lq4DQJ0fQyo=
-END SIGNATURE-


Extrainfo Descriptor:


extra-info moria1 9695DFC35FFEB861329B9F1AB04C46397020CE31
published 2014-06-19 01:57:28
write-history 2014-06-19 01:48:17 (900 s)
496873472,822779904,678929408,473645056,506991616,715395072,681116672,411208704,451326976,656055296,630102016,410365952,510575616,685982720,657693696,440340480,462490624,653119488,586785792,424977408,415206400,685920256,716089344,546408448,561561600,860252160,766703616,508184576,497261568,808691712,822632448,552358912,551654400,836164608,740415488,554012672,515691520,784584704,750459904,516459520,530599936,800103424,781259776,483474432,539444224,867778560,809338880,632835072,560136192,869916672,806222848,537466880,538954752,849017856,828844032,549480448,549689344,978973696,940964864,698497024,739622912,1070049280,966208512,676659200,734222336,1059842048,943287296,662800384,713388032,1012765696,971621376,595393536,613312512,917506048,870929408,549361664,568411136,972704768,894880768,568323072,598233088,849361920,743531520,481337344,454830080,786594816,710964224,546359296,462736384,667881472,652960768,401728512,430392320,692613120,618632192,388550656
read-history 2014-06-19 01:48:17 (900 s)
79498240,69858304,64569344,60034048,91601920,76338176,64618496,59077632,80771072,63081472,64591872,58112000,89427968,64851968,63969280,60345344,80471040,71065600,62567424,61836288,77986816,63676416,69273600,61675520,80965632,70822912,65712128,59408384,75437056,66962432,69486592,61251584,80453632,70142976,74030080,89346048,82542592,69871616,81146880,72501248,86639616,71948288,72060928,63085568,81788928,69519360,76326912,102928384,83399680,70574080,73345024,70081536,88821760,72610816,72532992,64514048,88225792,74373120,74736640,71306240,95561728,107585536,76473344,72662016,95979520,83960832,79443968,7920,96991232,81178624,84353024,72841216,86589440,77880320,85440512,68847616,87705600,79765504,80477184,109486080,90619904,75940864,72767488,62712832,77673472,69785600,69362688,171729920,103734272,60462080,60198912,54415360,72517632,62489600,56928256,53815296
dirreq-write-history 2014-06-19 01:48:17 (900 s)

Re: [tor-relays] CLI tool like Atlast

2014-06-19 Thread jason
there you go:
https://github.com/woeisme/torchart

On 06/18/2014 03:17 PM, Kali Tor wrote:
 Hi,
 
 
 
 On Wednesday, June 18, 2014 11:26 AM, ja...@icetor.is ja...@icetor.is 
 wrote:
 I fooled around with some php json parsing in order to get my metrics
 charts working on icetor.is . I can send you the code if you'd like.
 -Jason
 
 That would be much appreciated!
 
 Thanks,
 KaliTor
 

 On 06/18/2014 10:15 AM, Lukas Erlacher wrote:
  Hi,

  I'm working on that. The onion.py script in OnionPy [1] has some
  rudimentary atlas-like functionality that I hope I can soon make
  complete as soon as I find some free time.

  If you know python, it shouldn't be too hard to do that, PR's 
 welcome!

  Best,
  Luke

  [1] https://github.com/duk3luk3/onion-py

  On 06/18/2014 12:01 PM, Kali Tor wrote:
  Hi all,

  Is there a CLI client/tool that does what
  https://atlas.torproject.org/ does? Basically provide an output based
  on a node's fingerprint?

  e.g.

 https://atlas.torproject.org/#details/7EDE11A41D1C7DF4F9103ABAA4F0A31E42CB0C02


  Thanks,
  KaliTor
  ___
  tor-relays mailing list
  tor-relays@lists.torproject.org
  https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays





  ___
  tor-relays mailing list
  tor-relays@lists.torproject.org
  https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


 ___
 tor-relays mailing list
 tor-relays@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

 ___
 tor-relays mailing list
 tor-relays@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
 

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] CLI tool like Atlast

2014-06-18 Thread Lukas Erlacher

Hi,

I'm working on that. The onion.py script in OnionPy [1] has some rudimentary 
atlas-like functionality that I hope I can soon make complete as soon as I find 
some free time.

If you know python, it shouldn't be too hard to do that, PR's welcome!

Best,
Luke

[1] https://github.com/duk3luk3/onion-py

On 06/18/2014 12:01 PM, Kali Tor wrote:

Hi all,

Is there a CLI client/tool that does what https://atlas.torproject.org/ does? 
Basically provide an output based on a node's fingerprint?

e.g. 
https://atlas.torproject.org/#details/7EDE11A41D1C7DF4F9103ABAA4F0A31E42CB0C02

Thanks,
KaliTor
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays





signature.asc
Description: OpenPGP digital signature
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] CLI tool like Atlast

2014-06-18 Thread jason
I fooled around with some php json parsing in order to get my metrics
charts working on icetor.is . I can send you the code if you'd like.
-Jason

On 06/18/2014 10:15 AM, Lukas Erlacher wrote:
 Hi,
 
 I'm working on that. The onion.py script in OnionPy [1] has some
 rudimentary atlas-like functionality that I hope I can soon make
 complete as soon as I find some free time.
 
 If you know python, it shouldn't be too hard to do that, PR's welcome!
 
 Best,
 Luke
 
 [1] https://github.com/duk3luk3/onion-py
 
 On 06/18/2014 12:01 PM, Kali Tor wrote:
 Hi all,

 Is there a CLI client/tool that does what
 https://atlas.torproject.org/ does? Basically provide an output based
 on a node's fingerprint?

 e.g.
 https://atlas.torproject.org/#details/7EDE11A41D1C7DF4F9103ABAA4F0A31E42CB0C02


 Thanks,
 KaliTor
 ___
 tor-relays mailing list
 tor-relays@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
 
 
 
 
 ___
 tor-relays mailing list
 tor-relays@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
 

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] CLI tool like Atlast

2014-06-18 Thread Kali Tor
Hi,


 I'm working on that. The onion.py script in OnionPy [1] has some rudimentary 
 atlas-like functionality that I hope I can soon make complete as soon as I 
 find 
 some free time.
 
 If you know python, it shouldn't be too hard to do that, PR's welcome!

I know enough Python to create trouble for others and to test things. Is there 
an easy way to run the script?

Also I could not find the specific onion.py file at [1]. 

Regards,
KaliTor

 
 Best,
 Luke
 
 [1] https://github.com/duk3luk3/onion-py
 
 
 On 06/18/2014 12:01 PM, Kali Tor wrote:
  Hi all,
 
  Is there a CLI client/tool that does what https://atlas.torproject.org/ 
 does? Basically provide an output based on a node's fingerprint?
 
  e.g. 
 https://atlas.torproject.org/#details/7EDE11A41D1C7DF4F9103ABAA4F0A31E42CB0C02
 
  Thanks,
  KaliTor
  ___
  tor-relays mailing list
  tor-relays@lists.torproject.org
  https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
 
 
 ___
 tor-relays mailing list
 tor-relays@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
 
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] CLI tool like Atlast

2014-06-18 Thread Kali Tor
Hi,



 On Wednesday, June 18, 2014 11:26 AM, ja...@icetor.is ja...@icetor.is 
 wrote:
  I fooled around with some php json parsing in order to get my metrics
 charts working on icetor.is . I can send you the code if you'd like.
 -Jason

That would be much appreciated!

Thanks,
KaliTor

 
 On 06/18/2014 10:15 AM, Lukas Erlacher wrote:
  Hi,
 
  I'm working on that. The onion.py script in OnionPy [1] has some
  rudimentary atlas-like functionality that I hope I can soon make
  complete as soon as I find some free time.
 
  If you know python, it shouldn't be too hard to do that, PR's 
 welcome!
 
  Best,
  Luke
 
  [1] https://github.com/duk3luk3/onion-py
 
  On 06/18/2014 12:01 PM, Kali Tor wrote:
  Hi all,
 
  Is there a CLI client/tool that does what
  https://atlas.torproject.org/ does? Basically provide an output based
  on a node's fingerprint?
 
  e.g.
 
 https://atlas.torproject.org/#details/7EDE11A41D1C7DF4F9103ABAA4F0A31E42CB0C02
 
 
  Thanks,
  KaliTor
  ___
  tor-relays mailing list
  tor-relays@lists.torproject.org
  https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
 
 
 
 
 
  ___
  tor-relays mailing list
  tor-relays@lists.torproject.org
  https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
 
 
 ___
 tor-relays mailing list
 tor-relays@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
 
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] CLI tool like Atlast

2014-06-18 Thread Damian Johnson
There's nothing quite as rich as Atlas, but one option is the /info
command on...

https://stem.torproject.org/tutorials/down_the_rabbit_hole.html

That said, the main purpose of this command is an advanced controller
prompt for tor. It either requires a running tor instance or will kick
one off on your behalf, which isn't exactly what you're after.

Cheers! -Damian


On Wed, Jun 18, 2014 at 3:01 AM, Kali Tor kalito...@yahoo.com wrote:
 Hi all,

 Is there a CLI client/tool that does what https://atlas.torproject.org/ does? 
 Basically provide an output based on a node's fingerprint?

 e.g. 
 https://atlas.torproject.org/#details/7EDE11A41D1C7DF4F9103ABAA4F0A31E42CB0C02

 Thanks,
 KaliTor
 ___
 tor-relays mailing list
 tor-relays@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] CLI tool like Atlast

2014-06-18 Thread Kali Tor
Hmm.. what am I doing wrong here:

 sudo apt-get install python-stem
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-stem is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


 tor@KaliTorLinLon:~$ tor-prompt
tor-prompt: command not found



 On Wednesday, June 18, 2014 4:11 PM, Damian Johnson ata...@torproject.org 
 wrote:
 T here's nothing quite as rich as Atlas, but one option is the /info
 command on...
 
 https://stem.torproject.org/tutorials/down_the_rabbit_hole.html
 
 That said, the main purpose of this command is an advanced controller
 prompt for tor. It either requires a running tor instance or will kick
 one off on your behalf, which isn't exactly what you're after.
 
 Cheers! -Damian
 
 
 
 On Wed, Jun 18, 2014 at 3:01 AM, Kali Tor kalito...@yahoo.com wrote:
  Hi all,
 
  Is there a CLI client/tool that does what https://atlas.torproject.org/ 
 does? Basically provide an output based on a node's fingerprint?
 
  e.g. 
 https://atlas.torproject.org/#details/7EDE11A41D1C7DF4F9103ABAA4F0A31E42CB0C02
 
  Thanks,
  KaliTor
  ___
  tor-relays mailing list
  tor-relays@lists.torproject.org
  https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
 ___
 tor-relays mailing list
 tor-relays@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
 
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] CLI tool like Atlast

2014-06-18 Thread Damian Johnson
 Hmm.. what am I doing wrong here:

 sudo apt-get install python-stem
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 python-stem is already the newest version.
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


 tor@KaliTorLinLon:~$ tor-prompt
 tor-prompt: command not found

Stem 1.2.2 was released just a couple weeks ago, so it's too bleeding
edge for the Debian repos. Try the following instead...

% sudo pip install stem
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays