samxiao
-
Posts
10 -
Joined
-
Last visited
-
Days Won
1
Posts posted by samxiao
-
-
Is this a feature or a bug?
Why is it not possible to have both 'shared_folder' and 'webui' enabled together? I can think of at least 1 use case where I would like to have both.
Let said I want some of my machines have a predefined key to sync down all of the files, and maybe some guys can login to the webui and check the content once a while, and maybe write a little script to use the Btsync API from the web endpoint?
http://www.bittorrent.com/sync/developers/api
As Harold mentions, the WebUI is disabled because you've defined shared folders in your config file.
The config file overrides the WebUI, therefore, removing the "shared_folders" section from your config file will then allow you to access the WebUI, where you'll be able to add your sync folders there.
-
Thanks, just requested the API key. But I didn't see an obvious API call to get that information, or may I missing anything? The closest I found is this:
Returns list of peers connected to the specified folder.
"id": "ARRdk5XANMb7RmQqEDfEZE-k5aI=",
"connection": "direct", // direct or relay
"name": "GT-I9500",
"synced": 0, // timestamp when last sync completed
"download": 0,
"upload": 22455367417
}
]http://[address]:[port]/api?method=get_folder_peers&secret=(secret)
By the way, this is needed to make API call to the each btsync client's web ui right?
-
hello,
I'm using btsync to manage a pool of distributed computing node and for deployment on artifacts. I know I can triggered `btsync-core` to start the syncing session, but is there a way to know whether my folder has been 100% downloaded/sync'd?
I was looking for something like this:
$ btsync-core --nodaemon --check "AW46ABCDGEWCQBVH6Z7APTHW6YVUU34VS"
-
I'm trying to webui and shared_folder in my conf file and I can never get the webui working.
I have been digging around and I have heard that both webui and shared_folder section cannot be existed together in the same config file, why is that?
-
I think we should at least implement with an IP range. I can't expect hardcoding all static IPs.
By the way, I use `tcpdump` to sniff it and found that the default port is 44444, which my "btsync mac" version is probably not listening to that.
Can we make this better in the next release?
:-)
To make this a whole lot easier just use this:
http://www.ipaddresslocation.org/ip-address-ranges.php
I tested it out with a IP block I own and it seemed to work fine. Just put 192.168.1.1/24 (for instance) and it will spit out a list of all the IPs. Copy that and either use a script that will add the ports to the end or enter them by hand and then just paste that list to all your VMs. I'm in a similar boat to you (as far as your goal to have a custom tracker/relay), but at the moment this seems like the best way to go about it. For the time being it might actually be more secure this way because all the nodes will only be able to connect to the specified IPs (of course that is if they are all accessable to eachother as GreatMarko mentioned.
-
Under "known_hosts", can you put the range of the IP?
Like 192.168.1.1/24 ?
It's not currently possible to run your own relay/tracker servers for Sync as such - this will likely be a feature that's implemented in the "business grade"/"enterprise" edition of Sync.
You can, however, use the pre-defined hosts options within Sync to list the IPs of your known devices to allow connection without needing to go via Sync's relay/tracker servers. However, this assumes that direct connections can be established between the IPs you list. If direct connections cannot be established, Sync will fallback to using its relay/tracker to establish connections.
Essentially, if all your devices are on the same subnet of the same LAN, you should be able to establish direct connections between them. If you can't, it's likely an issue with your router/firewall setup
-
so you mean having all ~200 VM map to a dns hostname?
sorry, new to the IT/network side of the thing. :-)
But can't you know their dns hostnames? Those you can add to the folder properties. ie like vm1.mydomain.com etc.
-
Can the static hostnames be in a range? I have about ~200 VM instances and they could have different IP and I will not know in advance.
You can enable lan sync and put static hostnames and ports as an alternative. This way you won't need DHT, Relay or Tracker.
-
Hello all,
I'm testing out BT Sync in a corporate environment for efficiently transfer files across different DC.
I found that untick "use_relay_server" and "use_tracker" doesn't work even for our VLAN setup.
Is it possible to setup our own tracker and relay server? If yes, how do we do that? We choose BT Sync because we believe it's truly private, but it seems that we still need to connect with upstream tracker and relay server to get this working.
Btsync-Core Command-Line To Check Whether The Folder Has Been 100% Downloaded
in Sync General Discussion
Posted
pump+1