0.0
No commit activity in last 3 years
No release in over 3 years
A tor control gem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0
~> 2.13.0
 Project Readme

tor-control¶ ↑

<img src=“https://travis-ci.org/aosmith/tor-control.png?branch=master” />

Usage¶ ↑

Mantra-tor depends upon a running tor instance.

A Singleton variable is used to interact with the tor instance:

TorControl.password = "password"
TorControl.host = "localhost"
TorControl.port = 9051
TorControl.connect
TorControl.authenticate
TorControl.new_identity
TorControl.close

I use socksify to proxy my tcp connections:

TCPSocket::socks_server = "127.0.0.1"
TCPSocket::socks_port = 9050