Releases: Mowje/node-ths
node-ths v2.1.5
- Added a new test command
async-add-onion - Fixed a bug with service deletion in non-pool instances
- Exposing
ths.signalReloadmethod, allowing you to force the tor process to reload its config without restarting. (NOTE: by calling this method, the tor process clears its internal state and closes all open circuits. This results in a downtime of the hosted hidden services while the process rebuilds circuits and republishes service descriptors)
node-ths v2.1.4
- New feature : possibility to call
getOnionAddressand get the response asynchronously (and the callback is invoked only once the address can be found) - Bug fix #2. Thanks @mattcollier :)
node-ths v2.1.3
- Adding
isOptimalPool()toths-pool; returns a boolean indicating whether the HS distribution across the process pool is optimal. A pool restart will give you an optimal distribution again. - #1 Fixed a bug in
passhash.js. It didn't take thetorCommandset by the user into account.
node-ths v2.1.2
Adding the socksPort option to ths-pool constructor; where the caller can specify the preferred SOCKS port numbers to be used by the pool. When the list is not long enough for the instances spawned by the pool, the "missing" SOCKS ports are drawn randomly (like it would do when you didn't provide a socksPort parameter).
node-ths v2.1.1
Passing command line arguments to pluggable transports. ("obfsproxy" needs the "managed" argument when being started and controlled from a Tor process; that feature fixes this problem)
Nothing new in the API. It's just that now when you do addTransport, the command line arguments for the transports are taken into account
node-ths v2.1.0
Adding methods to use bridges and pluggable transports, to be used either with a single tor instance or with a process pool
node-ths v2.0.0
- Tor process pooling, with nearly identical API than normal THS instances
- Possibility to set a separate folder for hidden service keys (through
keysFolderparameter in constructor) - Possibility to override the default "tor" command in case Tor isn't in your $PATH (through
ths.setTorCommand()andths.getTorCommand) - Possibility to get the control port password for regular THS instances (
ths.controlPass()) - Some API breaks (hence this is v2.0.0, because semantic versioning)
- Must use
newwhen initializing an instance. (Circular reference appeared when developing the process pooling) - Adding the
keysFolderparameter in constructor - Adding
getTorCommand,setTorCommand,controlPassmethods
- Must use
node-ths v1.0.1
Silencing an exception that was raised when loading a non-existent config
node-ths v1.0.0
- Removing some rough edges
- Adding methods :
socksPort()andtorPid() - Adding tor message handlers (instead of
showTorMessagesandshowTorControlMessagesin constructor)
node-ths v0.2.3
Fixed a bug in the removePorts method that caused the port deletion to fail silently if the ports parameter is a simple string.