Commit graph

34 commits

Author SHA1 Message Date
Zachary Boyd 419e78b727 Replaces 'jrpc2' with 'multi-rpc'. No application or API changes. 2018-09-25 12:40:15 -04:00
Zachary Boyd 3a869f46bf fixes a small bug in tests 2018-09-15 02:27:19 -04:00
Zachary Boyd 0b82ad9cb5 finishes documentation. minor bug fixes and some code clean-up 2018-09-14 20:09:36 -04:00
Zachary Boyd e2e43215ad Update README and CHANGELOG. Small bug fixes 2018-09-11 19:21:36 -04:00
Zachary Boyd c8bc7b81ac Adds setConfig, getConfig, saveConfig and loadConfig methods to the RPC interface. 2018-09-11 17:44:32 -04:00
Zachary Boyd be52091af1 Adds a rotate function to groups 2018-09-11 13:52:42 -04:00
Zachary Boyd 998185d31e Adds methods to the RPC Interface to interact with groups. Adds tests for those methods 2018-09-11 02:48:56 -04:00
Zachary Boyd f7537bbf8e Adds tests for the group feature. 2018-09-10 22:36:21 -04:00
Zachary Boyd 22908b7bba Adds group functionality to TorPool 2018-09-10 20:53:33 -04:00
Zachary Boyd ece4d4ea02 Can now connect directly to an instance via http 2018-09-09 23:44:24 -04:00
Zachary Boyd c379350de7 The control server can now accept websocket connections. All servers can be bound to a specific hostname 2018-09-09 22:13:39 -04:00
Zachary Boyd b65fa27ba8 Breaks the mocha test into individual files so tests can be run independently. Uses Promises in the mocha test. Adds a listen method to all servers 2018-09-09 15:42:50 -04:00
Zachary Boyd 1c29679024 Splits the mocha tests into individual files 2018-09-09 03:00:29 -04:00
Zachary Boyd a74409ddb7 Replaces callbacks with Promises throughout the rest of the application. 2018-09-09 01:45:12 -04:00
Zachary Boyd 7d996ffa81 Adds "queryInstanceByName" and "queryInstanceAt" 2018-08-10 13:06:40 -04:00
Zachary Boyd 04f185f85b Cleans up existing test suites and adds suites for new methods 2018-08-10 00:44:07 -04:00
Zachary Boyd b3a03b4a3e Removes refrences to 'nconf' within classes to make testing easier 2018-08-09 15:03:51 -04:00
Zachary Boyd 1273316e7d Allows signals to be sent to Tor instances using the control protocol from the rpc interface 2018-05-10 22:41:15 -07:00
Zachary Boyd 48373e3c71 Allows Tor configuration to be modified at runtime via the rpc interface 2018-05-10 22:25:26 -07:00
Zachary Boyd 38bf4d7c6a Adds remove_by_name and new_identity_by_name methods to TorPool 2018-05-10 22:08:38 -07:00
Zachary Boyd 5f8fde9039 Uses the Control Protocol to request a new identity. Replaces 'new_ip' with 'new_identity' and deprecates 'new_ip' 2018-05-10 21:44:30 -07:00
Zachary Boyd da1d543d03 Allows for the load balance method to be set/retrived via the control server 2018-05-09 21:11:05 -07:00
Zachary Boyd 6878081797 Allows for multiple types of load-balancing methods to be selected and allows for instances to be load-balanced by weight. Allows for instances to be named. Fixes bug with instance cleanup 2018-05-09 21:09:38 -07:00
Zachary Boyd 369ffa5d4f Allows to default config of the Tor instances to be specified at startup and during runtime. Allows for the configuration of individual Tor instances to be specified at startup and during runtime 2018-05-09 18:15:58 -07:00
Zachary Boyd 9f5f26d277 removes redundant reference to "this.torPool" 2018-05-09 07:39:54 -07:00
Roman Brunner 4ccc9e0e8f Fix issue for dynamically created Tor instances
The root cause was that the "this" binding was missing
for the calls that dynamically create the tor instances
and update the references within the _instances array.
[#4]
2018-05-07 09:50:52 +02:00
Zachary Boyd ddaa185d17 fixes bug in control server 2017-12-07 22:35:13 -08:00
Zachary Boyd f8698b1541 Uses JSON-RPC 2 for the control server. Removes socket.io 2017-12-07 18:53:16 -08:00
Zachary Boyd 4620732805 finished http proxy 2017-12-07 17:21:42 -08:00
Zachary Boyd f081dbd2fd adds query instances function 2017-11-12 14:54:47 -08:00
Zachary Boyd cb49f4d08e fixes error with callback 2017-04-05 23:41:41 -04:00
Zachary Boyd c08946cc24 allows instances to be removed from pool 2017-03-24 20:11:06 -04:00
Zachary Boyd bf739cfd2d fixes error with create instnaces 2017-03-22 17:25:18 -04:00
Zachary Boyd d60fcb1be4 adds control server 2017-03-22 12:44:08 -04:00