Zachary Boyd
a261baeed3
bump version
2019-11-23 22:44:19 -05:00
Zachary Boyd
6040db22dc
merge
2019-11-23 22:41:28 -05:00
Zachary Boyd
c1b7a124c4
Merge branch 'master' into upstream_master
2019-11-23 22:39:55 -05:00
Zachary Boyd
5617f2bfdb
Switches the granax package to the new package location
2019-11-21 23:13:31 -05:00
Zachary Boyd
fbdbf525df
Added a entrypoint file so the node.js process is not the root process, so it responds to SIGINT calls (Ctrl+C).
2019-11-21 22:25:01 -05:00
Roman Brunner
f89e4b20c5
Pool getPort race condition
...
It appears that when requesting multiple ports asynchronously,
that a port is given out multiple times, which crashes single
Tor processes. Such a crash brings down the whole system as of
now, which might or might not be desired.
This is caused by a race condition on the port numbers. This
commit fixes the issue if a number of Tor instances for the pool
is requested. If the pool is populated with an array of definitions,
the user has to make sure to include the ports in the definition,
otherwise the race condition still persists. If this should still be
allowed is up for discussion or if a check should be included in the
TorPool create function.
2019-11-21 16:27:48 +01:00
Zachary Boyd
15408206a3
Update changelog
2019-01-15 16:07:26 -05:00
Zachary Boyd
76ab9ae829
Fixes #11
2019-01-15 12:11:49 -05:00
Zachary Boyd
aca5498435
updates multi-rpc
2018-12-29 11:14:05 -08:00
Zachary Boyd
5195b576be
Updatets to multi-rpc to 1.4.0
2018-12-23 21:17:07 -05:00
Zachary Boyd
08c0b7687e
Updates multi-rpc
2018-12-23 20:56:55 -05:00
Zachary Boyd
089e9bbad1
updates multi-rpc
2018-12-16 17:53:18 -05:00
Zachary Boyd
c1dfa465d5
Updates multi-rpc
2018-12-14 19:02:39 -05:00
Zachary Boyd
7b90edabd0
Prevents errors that occur when connecting to the destination in the SOCKS Proxy and HTTP Proxy from crashing the applications
2018-10-15 17:36:32 -04:00
Zachary Boyd
1261821ab3
Updates mutli-rpc
2018-09-26 22:37:17 -04:00
Zachary Boyd
459aef5ca3
Updates multi-rpc
2018-09-25 21:25:06 -04:00
Zachary Boyd
90adbe3d55
move jsdoc to devdependencies
2018-09-25 12:54:50 -04:00
Zachary Boyd
6389835989
updates multi-rpc version
2018-09-25 12:52:13 -04:00
Zachary Boyd
419e78b727
Replaces 'jrpc2' with 'multi-rpc'. No application or API changes.
2018-09-25 12:40:15 -04:00
Zachary Boyd
a9e8baa27f
references 'granax' to comply with licensing requirements
2018-09-15 13:54:28 -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
5b598f612a
Adds jsdoc for TorPool.
2018-09-13 22:35:40 -04:00
Zachary Boyd
4aec5c3d0f
Move most of the README to the wiki. Add grunt and jsdoc and documentation for TorProcess
2018-09-13 15:00:51 -04:00
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