KadNode finds the IP address of other instances on the Internet or local network. It is used like DNS, but is based on the decentralized BitTorrent network.
KadNode intercepts .p2p domain queries on the systems level and resolves them using a decentralized Kademlia DHT network.
Additionally, TLS authentication can be used to make sure the correct IP address was found.
If successful, the IP address is passed to the application making the request.
<public-key>.p2p
secp256r1 ECC key pairsyourdomain.com.p2p
Let's Encrypt)/etc/nsswitch.conf
A (IPv4 address),AAAA (IPv6), and SRV requestssha256 hash methodYou can download the latest package from releases page
From official package repository:
opkg install kadnode
From PPA repository:
sudo add-apt-repository ppa:stokito/kadnode
sudo apt update
sudo apt install kadnodeOr install a downloaded package with dpkg -i kadnode_*.deb
From repository: pkg install kadnode
Or install a downloaded package with pkg install kadnode-*.txz
From repository: yay -S kadnode
Or install a downloaded package with pacman -U kadnode-*.pkg.tar.xz
Install libraries and their headers. On Debian/Ubuntu use:
sudo apt install libmbedtls-dev, libnatpmp-dev, libminiupnpc-devCheckout code and compile KadNode:
git clone https://github.com/mwarning/KadNode.git
cd KadNode
# basic features and debug mode
FEATURES="bob tls cmd dns debug" make
# all features
FEATURES="bob tls cmd lpd dns nss natpmp upnp debug" makeFinally, start KadNode:
./build/kadnodeTo install use:
sudo make install install_nssTo uninstall:
sudo make uninstall uninstall_nssMIT/X11