Skip to content

Releases: metamystical/mdht

npm version 3.1.3

06 Dec 21:38
Compare
Choose a tag to compare

Include ip in responses per BEP42

npm version 3.1.2

24 Nov 13:41
Compare
Choose a tag to compare
  • Files organized into folders util and client.
  • server.js now serves a menu upon GET request which contains two pages:
    1. BEP44 data storage/retrieval
    2. Peer announcement/retrieval.
  • server.js no longer saves the local node ID to disk
  • client/clientLib.js added for custom clients.
  • client/clientTest.js added for testing server.js and as a guide for writing custom clients.
  • The core mdht.js file has a few significant changes:
    • The announcePeer call now includes impliedPort as a parameter.
    • The mdht.js option id is replaced by ip, the externally visible IP address. If ip is omitted, a random node ID is used.
    • BEP42 (DHT security extension) is partially implemented:
      • Given the externally visible IP address, the local node ID is computed using CRC32C per BEP42.
      • Remote node ID's are checked for compliance with BEP42 but compliance is not enforced. Only a small percentage of remote nodes are compliant. Uncompliant nodes are flagged with an asterisk in the servers log output.

npm version 2.3.3

16 Dec 12:45
9dfe27c
Compare
Choose a tag to compare

Initial development work in 2017. See README.md for a description of features.