Unison in socket mode : works but needs ADM integration.

Got a feature request? Great! Post your ideas here!
sksbir
Posts: 395
youtube meble na wymiar Warszawa
Joined: Tue Aug 25, 2015 9:23 pm

Unison in socket mode : works but needs ADM integration.

Post by sksbir »

Hi
It would be great to have Unison implementation on the NAS. I'm speaking about socket mode. In this mode, Unison is started has a background task who is listening on a given port.
Has there is no security ( no access control ), the port should not be open on Internet side, or only behind a VPN. Perhaps it would be possible to get more security with the ADM tools ( access control... )

Unison is the only one tool that permits to work on both sides on the replicas.

I'm using unison between 2 PC ( one in socket mode ) , and even with a poor Wifi connection, the synchronization process is really quick.

Unison home page : http://www.cis.upenn.edu/~bcpierce/unison/

Unison was tested on Synology : http://www.multigesture.net/articles/ho ... ogy-ds212/
and on qnap : http://forum.qnapclub.fr/topic/5124-tut ... struction/
and on several freenas software.

But they all implement the ssh solution, which is secure BUT without any Unison server installed locally.
- With ssh mode, the Unison client have to request the server ( The NAS ) with ssh : that means the check of each file of the replicas stored on the NAS have to be checked threw the network. Even with a partial check, this may last a while.
- With socket mode, there is an Unison binay running on the NAS is socket mode, and one Unison end user binary running on the other side, and the modifications that occurs on both sides of replicas are compiled locally and in parallel , and the network connection is used to just propagate the changes.
Last edited by sksbir on Thu Aug 25, 2016 8:19 pm, edited 1 time in total.
sksbir
Posts: 395
Joined: Tue Aug 25, 2015 9:23 pm

Re: Unison implementation in socket mode ?

Post by sksbir »

I have now installed this by myself, and it works : [HOWTO] Unison and your NAS

But your have to install it and launch it throught the shell interface. A great improvement would be to have a package which add an icon in ADM, with the ability to start and stop the application ( that is : unison daemon ), and the ability to choose the listening port, and the UNISON directory.

But I never understood how to create a package for ADM.
User avatar
orion
Posts: 3485
Joined: Wed May 29, 2013 11:09 am

Re: Unison in socket mode : works but needs ADM integration.

Post by orion »

Thanks for sharing. I guess you might simply need one more step to create a package for ADM. Register a developer account and you should get whatever you need. :D