Commit graph

61 commits

Author SHA1 Message Date
Zachary Boyd d2b64ad796 "proxyByName" is now disabled by default because most browsers do not support SOCKS authentication 2018-09-11 19:44:41 -04:00
Zachary Boyd e2e43215ad Update README and CHANGELOG. Small bug fixes 2018-09-11 19:21:36 -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 c43e6cf14f Finishes proxying through a specific instance 2018-09-10 13:03:02 -04:00
Zachary Boyd ece4d4ea02 Can now connect directly to an instance via http 2018-09-09 23:44:24 -04:00
Zachary Boyd 4553bcc82b Replaced socksv5 with a version that supports user context. Locks down the versions of some packages 2018-09-09 22:26:55 -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 a571d2caf9 removes 'async' as a dependency. adds npm badge 2018-09-09 17:03:43 -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 d1265253d2 Uses bluebird for Promises. All functions in TorProcess return Promises instead of callbacks 2018-09-09 00:44:39 -04:00
Zachary Boyd 723a227f26 replaces eventemitter2 with eventemitter3 2018-09-09 00:28:43 -04:00
Zachary Boyd 0b60f6f949 removes winston-null-transport and uses the 'silent' option built-in winston instead 2018-09-08 23:47:10 -04:00
Zachary Boyd 7d996ffa81 Adds "queryInstanceByName" and "queryInstanceAt" 2018-08-10 13:06:40 -04:00
Zachary Boyd 2716786c61 Add bitbucket pipelines again 2018-08-10 11:20:05 -04:00
Zachary Boyd 8abdd0b5c7 Upgrade mocha 2018-08-10 01:03:15 -04:00
Zachary Boyd f77d6bf3b5 fixes typo 2018-08-10 00:53:43 -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 7b89981059 Uses a 'null' transport if 'logLevel' is set to 'null' 2018-08-09 15:16:45 -04:00
Zachary Boyd 41aea76a95 fixes bug with port numbers not being set in nconf 2018-07-19 10:33:18 -04:00
Zachary Boyd 4bc4c15dd7 Connects to the Tor instance via the control port when the instance starts 2018-05-10 21:17:00 -07:00
Zachary Boyd b3700e0202 Bundles the Tor executable 2018-05-09 22:42:30 -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 b3546799da Switches from "commander" to "nconf/yargs" for configuration management and argv/env variable processing 2018-05-09 15:31:58 -07:00
Zachary Boyd 70f2002d61 Move sources for Tor Project deb repository into the Dockerfile 2018-05-09 14:00:39 -07:00
Zachary Boyd cd9ca3bb3e Remove socket.io-client from dev-dependencies 2018-05-09 08:01:35 -07:00
Zachary Boyd fadde58af2 Runs tor router as an unprivileged user 2018-05-07 22:56:48 -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 3c3449eab1 Upgrades to the latest version of "winston" (logging library) 2018-05-06 22:40:49 -07:00
Zachary Boyd c08ef63867 Replaces 'new Buffer' with 'Buffer.from' 2018-05-06 09:29:18 -07: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 cecdd2d9fd uses entrypoint and cmd in docker file 2017-12-07 15:50:37 -08:00
Zachary Boyd f081dbd2fd adds query instances function 2017-11-12 14:54:47 -08:00
Zachary Boyd 737c052ac4 increases package version 2017-11-12 14:16:02 -08:00
Zachary Boyd 3577ea7fee upgrades npm packages 2017-11-12 14:15:40 -08:00
Zachary Boyd 840f889693 Updates package version 2017-07-25 08:49:05 -07:00
Zachary Boyd cb49f4d08e fixes error with callback 2017-04-05 23:41:41 -04:00
Zachary Boyd 87a8479a53 fixes bug 2017-04-05 20:54:37 -04:00
Zachary Boyd 2144ebf4b0 fixes bug 2017-04-05 20:53:57 -04:00
Zachary Boyd 0237d1dc3f adds the apache licence 2017-03-25 23:55:07 -04:00
Zachary Boyd 1cc2a57394 starts filling the buffer before a tor instance is live 2017-03-25 21:14:46 -04:00
Zachary Boyd a8841a2f40 waits for a tor instance to come online before making a connection 2017-03-25 21:05:24 -04:00
Zachary Boyd 87648711be adds description 2017-03-24 20:23:27 -04:00
Zachary Boyd d9d0a200c5 adds control server 2017-03-22 12:46:47 -04:00
Zachary Boyd d60fcb1be4 adds control server 2017-03-22 12:44:08 -04:00
Zachary Boyd 9f8dd3976c fixes issue with timezones 2017-01-31 19:54:31 -05:00