KadNodefindstheIPaddressofotherinstancesontheInternetorlocalnetwork.ItisusedlikeDNS,butisbasedonthedecentralizedBitTorrentnetwork.
KadNodeintercepts.p2pdomainqueriesonthesystemslevelandresolvesthemusingadecentralizedDHTnetwork.TLSauthenticationcanbeusedtomakesurethecorrectIPaddresswasfound.Ifsuccessful,theIPaddressispassedtotheapplicationmakingtherequest.
Features:Supportfortwokindsofdomains:publickeydomainsas<public-hex-key>.p2pNoneedtoexchangeanyfurtherkeys/certificatesUsessecp256r1ECCkeypairsnameddomainslikeyourdomain.com.p2pNeedspre-sharedcertifcates(selfsignedrootcertificatesore.g."Let'sEncrypt")UsesTLSsessionhandshakeforauthenticationIPv4/IPv6supportUPnP/NAT-PMPsupportLocalpeerdiscoverySmallsize/~100KBdependingonfeatures/~50KBcompressedCommandlinecontrolprogramNSSsupportthrough/etc/nsswitch.confDNSserverinterfaceandDNSproxyHandlesA,AAAA,andSRVrequestsPackagesforArchLinux/Debian/FreeBSD/MacOSX/OpenWrt/WindowsPeerfileimport/exportonstartup/shutdownandevery24hUsessha256hashmethodDocumentationManualPageImplementationDetailsUsageexamplesFAQLicenseMIT/X11
AuthorsKadNode:MoritzWarning(https://github.com/mwarning/KadNode)KademliaDHT:JuliuszChroboczek(https://github.com/jech/dht)
评论