lord-inflight

You are currently browsing the Maeyanie.com weblog archives for June, 2009.

21 Jun 2009

OneSwarm Community Feeds

Uncategorized

In the latest development release of OneSwarm (version 0.6.2) they added another way to find peers: community feeds. Basically, a central server takes public key registries and hands out the few “nearest” peers to you (based on binary search of public keys).

The sample community server is in Java only. My VDS is a bit short on memory to be running random Java programs, so I took a little time and hacked together a simple PHP one. It doesn’t (yet) support some of the important features of the mainline one, like registration DoS protection or IP limits, but you can get the source under GPL if anyone wants it.