Skip to content

Interoperability

Dave Cottlehuber edited this page Oct 24, 2018 · 12 revisions

There is only 1 other known implementation of the draft PPSP protocol, embedded in the tribler peer-to-peer suite. The official swift source should support all common UNIX and Windows platforms out of the box.

Here's how to run an end-to-end test using the swift binary:

  • packets are captured using ngrep, which supports the usual tcpdump style format
  • this can be imported directly into wireshark and other tools
# start packet capturing via ngrep
sudo ngrep -xTtd lo0 -O /tmp/pcap.log port 7777
# start the server first using the m74 image
swift --file ./test/data/m74.jpg -l 0.0.0.0:7777  --debug &> /tmp/server.log
swift --tracker 127.0.0.1:7777 --hash c89800bfc82ed01ed6e3bfd5408c51274491f7d4 --debug &> /tmp/client.log

Swirl is not yet ready to replace the swift binary, but that's the plan.

The latest swift binary is usually running at continuity.skunkwerks.at:7777 and serves up our favourite stellar cluster in double-quick time:

swift --debug --progress --tracker continuity.skunkwerks.at:7777 --hash c89800bfc82ed01ed6e3bfd5408c51274491f7d4 -o /tmp/

You can also run your own server that will hash and peer share any files in a given directory:

swift --dir /var/db/swift --listen 7777 --debug
Clone this wiki locally