10
I’m looking for a completely Open Source alternative to Bittorrent Sync, and it seems we have almost every element there: Sparkleshare would do what they wanted to do, just missing the direct connection to computer no matter where using a secret. How this Bittorrent Sync secret works, or how to implement such a system?
[Edit: I know how to use git, with or without sparkleshare. The situation is that git needs to know which computer/server to connect with, so it needs a server. Bittorrent Sync does not use a server, it is enough that a computer running the program is online. Bittorrent Sync knowing the secret searches everyone else with the same secret and synchronizes them. I am looking for how to make this access point identification on the network, so I can use Sparkleshare without having fixed server.]
(I would apply this either as a new protocol in Git, or as a redirection to SSH, the latter with the advantage that it can enter a server etc without having to be directly reachable, using the secret).
(Crosspost to the OS in English: https://stackoverflow.com/questions/20594302/how-does-the-bittorrent-sync-secret-work)
This type of question is not directly related to programming, it would be more appropriate, for example, to Super User. Because we do not have an equivalent in Portuguese we will be a little more permissive about it?
– talles
I actually want to know how it works to implement (it’s a matter of algorithm).
– LaPingvino
In what language/environment/protocol? What have you tried?
– talles
Linux environment in the case. I can even do in Bash, but without knowing how it works I can not try in any medium. My goal is to be able to enlarge Git to be able to do this kind of server-less synchronization and server location knowledge by the Git user.
– LaPingvino
In the English OS... so far nothing either... I decided to post in addition also in Quora, let’s see if something good comes from there...
– LaPingvino
@Lapingvino in cross-post has an answer that explains the theory of how it works. Is that what you wanted? Do you want code? If that’s what you wanted, I can put a translation here?
– Alexandre Marcondes
Yes, that’s what I wanted to know :).
– LaPingvino