coewar Posted April 30, 2013 Report Share Posted April 30, 2013 Using Git as an example, on Linux or Windows, in the .git folder there is bunch of cool stuff and all the configuration and everything is there. Since BTsync has this .SyncTrash folder and also a couple of other files in the folder's root (on Windows anyway), it would make sense to put 100% of the configuration of a folder in some .BitSync folder or something like that.The configuration to include in there would be the Remotes.What I would like, is to override the hosts to use like 127.0.0.1 and port xxxx as I want to channel it through an SSH tunnel in certain situations where the FW rules are already in place and we have our own security credentials, etc.Using the Windows GUI "Use predefined hosts" is not working at all.. it is not attempting to make a connection to the local IP/port I specify that I've created a tunnel for.But anyway, great product idea.. I've actually been working on my own version just a few weeks ago.. using a combination of Git and WinSCP. Your solution has a much nicer "package" and handles the large files better of course. Quote Link to comment Share on other sites More sharing options...
Automatic Coding Posted April 30, 2013 Report Share Posted April 30, 2013 Someone else pointed this out to me, which, I thought I'd point out to you:-BitSync (By default, I believe you can change it) used UDP, while, SSH tunnels (To the extent of my knowledge) only forward TCP traffic.I rarely use SSH tunnels (other than for forwarding my http & minecraft traffic), so, I may be wrong. Quote Link to comment Share on other sites More sharing options...
coewar Posted April 30, 2013 Author Report Share Posted April 30, 2013 Actually, I happen to be researching right now how to tunnel UDP as we have another need for this. Just found this loaded article on that;http://wiki.networksecuritytoolkit.org/nstwiki/index.php/Tunnelling_UDP_Traffic_Through_An_SSH_ConnectionHowever... BitTorrent sync has this option "lan_use_tcp" which you can set to True.. so .. that really should do the trick, if it did what it says it's doing. Because by adding the host of "127.0.0.1:xxx" it really should be trying to use LAN I guess.. and hence use TCP. Quote Link to comment Share on other sites More sharing options...
rdebath Posted April 30, 2013 Report Share Posted April 30, 2013 You can forward UDP traffic through ssh with netcat or socat, they're a bit unreliable though as you're likely to lose the packet boundaries.You might try Zebedee if you want to tunnel UDP over secure TCP. Quote Link to comment Share on other sites More sharing options...
coewar Posted April 30, 2013 Author Report Share Posted April 30, 2013 Looking at that actually. Thanks.But back to the main part of my question... locating platform independent config files in the folders being synchronized to contain 100% of the configuration.?? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.