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.
Features:
* Support for two kinds of domains:
** public key domains as <public-key>.p2p
*** No need to exchange any further keys/certificates
*** Uses secp256r1 ECC key pairs
** named domains like yourdomain.com.p2p
*** Needs pre-shared certificates (self-signed root certificates or e.g.
Let's Encrypt)
*** Uses TLS session handshake for authentication
* IPv4/IPv6 support
* UPnP/NAT-PMP support
* Local peer discovery
* Small size / ~100KB depending on features / ~50KB compressed
* Command line control program
* NSS support through /etc/nsswitch.conf
* DNS server interface and DNS proxy
** Handles A (IPv4 address),AAAA (IPv6), and SRV requests
* Packages for ArchLinux, Debian, FreeBSD, MacOSX, OpenWrt, Windows
* Peer file import/export on startup/shutdown and every 24h
* Uses sha256 hash method
===> The following configuration options are available for kadnode-2.4.3:
AUTH=on: Authorization support based on mbedtls
CMD=on: Command line control tool kadnode-ctl
DEBUG=off: Build with debug messages and symbols
DNS=off: Include local DNS interface
LPD=on: Local peer discovery
NATPMP=off: NAT-PMP support (remote port forwarding on the router)
NSS=on: Name Service Switch support to intercept host queries
UPNP=off: UPnP support (remote port forwarding on the router)
===> Use 'make config' to modify these settings
In order to resolve domains using kadnode all over the system, add this
line to your /etc/nsswitch.conf:
hosts: files kadnode dns
If the hosts line already exists, just add kadnode before the dns entry.
dns/kadnode: update 2.3.0 -> 2.4.1, un-deprecate
Upstream is alive and active, has 1-st class FreeBSD support.
They had switched to mbedtls3 since version 2.4.0.
Using their ready-to-use port with minor changes:
* Fix files/kadnode.in mode (0755 -> 0644)
* Improve pkg-descr
* Some linting
PR: 283954
Reviewed by: diizzy
Approved by: moritzwarning@web.de (maintainer)
security/mbedtls: Move to security/mbedtls2
The port has expired but isn't removed yet because there are still too
many consumers. Rename it because the name "security/mbedtls" makes it
look like it's the default version.
PR: 283792
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
dns: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Samorukov <samm@freebsd.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Allan Jude <allanjude@freebsd.org>
* Amar Takhar <verm@drunkmonk.net>
* Anders Nordby <anders@fix.no>
* Andrew Greenwood <greenwood.andy@gmail.com>
* Anton Berezin <tobez@FreeBSD.org>
* Ashish SHUKLA <ashish@FreeBSD.org>
* Attila Nagy <bra@fsn.hu>
(Only the first 15 lines of the commit message are shown above )
dns/kadnode: Update to 2.2.2
- Fix variable order in the rc script so that kadnode can actually
start which I broke before ports r470325 [1]
Changes: https://github.com/mwarning/KadNode/releases/tag/v2.2.2
PR: 228368
Pointy hat: tobik [1]
Submitted by: moritzwarning@web.de (maintainer)
New port: dns/kadnode
KadNode is a small decentralized DNS resolver that can use existing
public key infrastructures. It utilizes the BitTorrent P2P network
and mbedtls for TLS/crypto support.
WWW: https://github.com/mwarning/KadNode
PR: 225924
Submitted by: moritzwarning@web.de