BSD Ports

net-p2p/libswift 20190302_1 DragonFly

IETF Peer-to-Peer Streaming Peer Protocol implementation

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
LGPL21
Categories
net-p2p
Package size
187.1 KiB, 487.5 KiB installed

Description

LibSwift is the reference UDP-based implementation of IETF RFC7574, a multi-peer transport layer protocol. Its mission is to disseminate content among a swarm of peers.

Given a root hash, the data is received from whatever source available and data integrity is checked cryptographically with Merkle hash trees.

Install

Binary package:

pkg install libswift

From DPorts:

cd /usr/dports/net-p2p/libswift && make install clean

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

To run a server, copy any files you wish to share into /var/db/libswift,
ensure that it is read and writable by the appropriate user, and
start the libswift daemon:

# service libswift onestart

To retrieve a file, use:

$ libswift --tracker  127.0.0.1:7777 --hash ....

To view the root hashes, use `grep root *.mbinmap` in the share dir once
hashing is complete. For large files this may take some time.

===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Upstream archived repo on Feb 19, 2024 and no active development in several years.

It is scheduled to be removed on or after 2025-04-30.