21
Jun
2009
OneSwarm Community Feeds
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.
deltron on June 21st, 2009 at 10:30 PM
Cool 8). Is it public? What's the URL?
Julian on July 10th, 2009 at 7:31 AM
Thank you for your work. It sounds good.
However I installed it on one of my sites and tried it and got an error in OneSwarm :
An error occured (Task Disapeared)
And in my Error.html :
Error: Signature did not match.
Do you have any idea ?
Thank you for your response,
Julian
Maeyanie on July 22nd, 2009 at 2:04 PM
deltron:
Nope, not public, sorry. 🙂
Julian:
To be honest, no clue. It could be a compatibility issue with a different PHP version or different OpenSSL version than I'm using.
I had to use a pretty ugly hack to get it to do the public key stuff, so I'm honestly not too surprised it breaks for some people.