Commit graph

128 commits

Author SHA1 Message Date
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 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 c0026c4411 Removes the default values on socksPort and instances 2018-05-09 22:09:31 -07:00
Zachary Boyd adb27ab9dd fixes bug in README 2018-05-09 22:03:37 -07:00
Zachary Boyd ba543cdfe3 fixes bug in README 2018-05-09 22:02:54 -07:00
Zachary Boyd b14e8fa079 fixes bug in Dockerfile 2018-05-09 22:01:13 -07:00
Zachary Boyd 62495b1e86 Adds documentation on all of the RPC methods 2018-05-09 21:56:00 -07:00
Zachary Boyd 12c00baecc Updates README to reflect changes. Uses instance name when reporting process info 2018-05-09 21:30:51 -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 4bf03cb299 Amends README 2018-05-09 18:22:41 -07:00
Zachary Boyd bfde78268a Removes the data directory when the tor process exits 2018-05-09 18:19:06 -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 9f5f26d277 removes redundant reference to "this.torPool" 2018-05-09 07:39:54 -07:00
Zachary Boyd fadde58af2 Runs tor router as an unprivileged user 2018-05-07 22:56:48 -07:00
Zachary Boyd 8ccbd3a1f7
Merge pull request #5 from jogli5er/master
Fix issue for dynamically created Tor instances
2018-05-07 08:23:50 -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 cb02b756ff Updates the README to reflect some of the changes 2018-05-06 22:55:10 -07:00
Zachary Boyd f2abcbb429 Makes the log entires that describe network traffic "verbose" instead of "debug". Sets the default logLevel to "info". Fixes a bug with setting the logLevel via the command line 2018-05-06 22:54:21 -07:00
Zachary Boyd 3b91c9a5b5 Add package-lock.json 2018-05-06 22:41:13 -07: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 8275a462dc Upgrade the version of ubuntu in the dockerfile 2018-05-06 09:26:49 -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 e4f081304e remove docker compose file 2017-12-07 17:58:00 -08:00
Zachary Boyd 9a3091504a remove env variables from dockerfile 2017-12-07 17:57:44 -08:00
Zachary Boyd 54fa83bdf5 Adds HTTP Connect proxy 2017-12-07 17:52:10 -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 b7af228e94 remove bitbucket pipelines 2017-12-07 15:48:18 -08:00
Zachary Boyd f081dbd2fd adds query instances function 2017-11-12 14:54:47 -08:00
Zachary Boyd de6ce4b936 grabs tor repository public key in dockerfile 2017-11-12 14:49:19 -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 d98a945620 updates ubuntu version to 17.10 in dockerfile. uses nodejs 8. 2017-11-12 14:15:06 -08:00
Zachary Boyd 67e3d9ba32 removed reference to missing env file 2017-11-12 14:07:42 -08:00
Zachary Boyd 840f889693 Updates package version 2017-07-25 08:49:05 -07:00
Zachary Boyd ce0be3c1f5 Fixes issue with file descriptor on OSX 2017-07-25 08:41:57 -07:00
Zachary Boyd cb49f4d08e fixes error with callback 2017-04-05 23:41:41 -04:00
Zachary Boyd 2aed4257df better handling of docker cache 2017-04-05 20:58:31 -04:00
Zachary Boyd 87a8479a53 fixes bug 2017-04-05 20:54:37 -04:00
Zachary Boyd 2bae741aeb fixes bug 2017-04-05 20:54:31 -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