Skip to content

Releases: Mowje/node-ths

node-ths v2.1.5

23 Mar 14:16

Choose a tag to compare

  • Added a new test command async-add-onion
  • Fixed a bug with service deletion in non-pool instances
  • Exposing ths.signalReload method, 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

20 Mar 21:03

Choose a tag to compare

  • New feature : possibility to call getOnionAddress and 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

22 Jan 19:33

Choose a tag to compare

  • Adding isOptimalPool() to ths-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 the torCommand set by the user into account.

node-ths v2.1.2

07 Sep 12:24

Choose a tag to compare

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

07 Sep 12:20

Choose a tag to compare

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

13 Aug 21:58

Choose a tag to compare

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

22 Jul 04:08

Choose a tag to compare

  • Tor process pooling, with nearly identical API than normal THS instances
  • Possibility to set a separate folder for hidden service keys (through keysFolder parameter in constructor)
  • Possibility to override the default "tor" command in case Tor isn't in your $PATH (through ths.setTorCommand() and ths.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 new when initializing an instance. (Circular reference appeared when developing the process pooling)
    • Adding the keysFolder parameter in constructor
    • Adding getTorCommand, setTorCommand, controlPass methods

node-ths v1.0.1

20 May 16:59

Choose a tag to compare

Silencing an exception that was raised when loading a non-existent config

node-ths v1.0.0

15 May 08:54

Choose a tag to compare

  • Removing some rough edges
  • Adding methods : socksPort() and torPid()
  • Adding tor message handlers (instead of showTorMessages and showTorControlMessages in constructor)

node-ths v0.2.3

16 Apr 14:22

Choose a tag to compare

Fixed a bug in the removePorts method that caused the port deletion to fail silently if the ports parameter is a simple string.