Skip to content

Releases: mwarning/KadNode

KadNode 0.5 released

19 Nov 00:27
Compare
Choose a tag to compare

KadNode resolves identifiers (e.g. typed into the browser) using a distributed hash table and maps them to IP addresses. This allows a convenient and decentralized service similar to DNS.
This release includes an extension to do authentication since everybody is free to announce any identifier. You create a public/secret key pair and give a KadNode instance the secret key. Then enter .p2p in your browser (or wherever domain names are used) on another computer
running KadNode to resolve the other computer IP address.
Be aware that the features are not well tested and need further testing.
For a usage example, see HowTo Start.

ChangeLog:

  • add optional support for public/secret key
    authentication using libsodium (crypto_sign_*)
    • at most 100 auth packets will be processed
      per second to mitigate DDOS attacks
  • merge 'search' command into 'lookup' command
  • extend 'list' command to show most internal data structures
  • limit 'list' command output to stdout for security reasons
  • major code refactoring
  • less resource use due to more efficient logging
  • add --config to load a configuration file
  • change default port for announces from 1 to random (!= 0)

Attached are packages for Debian, OpenWrt and ArchLinux.
A libsodium Debian package is attached for convenience.

KadNode 0.4 released

23 Sep 20:58
Compare
Choose a tag to compare

After way too much time there is now a new KadNode release.
Some bugs were fixed that made the previous/first release nearly unusable.
This release is better.

The biggest change is the support for UPNP/NAT-PMP (not in OpenWrt package build).
Let's say KadNode now runs in a private network and is instructed to announce a specific value identifier on port 80 (which could be a web server). Then KadNode will try to instruct the router to add a port forwarding from the external port 80 to the internal port 80 (if the router supports this).
A user on a different PC and KadNode installed can now resolve the public IP and
also reach the web server using the port forwarding.

ChangeLog:

  • Use only one thread to save resources.
  • Change default DHT port to 6881
  • Add optional support for UPNP/NAT-PMP to add router forwardings
    for KadNode announcements where port > 1
  • Now kadctl allows to specify the time in minutes a value id has to be announced
  • Remove lookup_node, it is not really helpful but confusing
  • Fix broken node export on command line
  • Add --peerfile option to import/export peers
    for bootstrapping and to save good peers on shutdown
  • Decouple local multicast boostrapping from DHT and
    exit multicast group when it becomes too crowded
  • Add --disable-multicast
  • Fix argument quoting in Debian init script
  • Add list command to command line to list value ids that will be
    announced and to list port forwardings