perennate

Members
  • Posts

    33
  • Joined

  • Last visited

Posts posted by perennate

  1. I have a problem where I'm getting "WriteToDisk: Text file busy", which happens after it connects to multiple peers for the same file. This is also an executable file that is being run by multiple programs, which could cause a problem with the file being busy; yet, the file is renamed "filename.!sync" and the original file doesn't appear to be busy. Additionally, it works when there's only one peer, so that leads me to believe it's a problem only when there's multiple peers that it's syncing from. Still, that seems kind of weird considering that btsync has been tested a lot already.

  2. Sidenote on versioning: if it's implemented it should be optional so that people who don't want versioning don't have multiple files taking up space.

    > Ability to revoke a secret key (use case: secret key is leaked)

    As I understand it, the secret key is part of what's used to encrypt contents while they're being transferred. So there's no way to revoke a secret key: if an attacker has both the data transferred and the secret key, then there's no way to go back and take away the secret key to prevent the attacker from decrypting the data, because the data has already been transferred.

    Also, if you just want to update the secret key and there hasn't been any attacker monitoring your traffic, then all you have to do is switch the secret key in configuration.

    Edit: oh, and please add ability to set read only secret in the configuration file, there doesn't seem to be such a feature yet.

  3. For an ISP to "ban" bittorrent related software, they'd either have to block specific ports (quite difficult given that you can change the port BitTorrent Sync "listens" on), or they'd have to block tracker specific URLS/IP's - which wouldn't completely break BitTorrent Sync, as you'd still be able to sync over a lan which requires no communication with any external servers anyway.

    To be honest, if ISP's were intent on blocking BitTorrent Sync, it would show just how uneducated they are! BitTorrent Sync is not the same as downloading/sharing torrents, and P2P technology itself isn't illegal! BitTorrent Sync is a private synchronization utility first and foremost, allowing you to keep your own files synchronized between your devices.

    We were talking about VPS or other hosting providers, not ISP's, so none of what you wrote applies. Some hosting providers don't permit BitTorrent on their servers; they rarely have strict blocking that prevents certain ports, but they do have monitoring, and if they catch you violating their acceptable use policy then they'll terminate your service.

    It's a reasonable thing to ban completely, if the hosting provider doesn't want to deal with abuse complaints to the people who do download illegal content (which is usually the majority of uses of BitTorrent on VPS).

  4. Well, for now you could try connecting all of them to a few (1-5) servers, and then enabling DHT which should allow them to discover more. Anyway I think it'll take a lot more bandwidth than necessary if each instance connects to every other instance (I get constant 3 KB/s idle chatter with 10 connections).

    Somewhere they said they were going to release tracker eventually.

  5. I just tried syncing a hidden directory (~/.test) specified in configuration file and it's working fine for me. If you hard code the directory in the configuration file then the web UI should be disabled, what do you mean "it doesn't show up when I start the program"? I assume you're passing the configuration filename to the btsync binary?

    Edit: also, there might be some problems with detecting file changes on a mounted filesystem, but the ten-minute fallback sync interval should still work.

  6. > I wonder what would happen if the tracker was compromised..

    What do you mean? Like you said, the tracker only knows the SHA2 of the secret. So nothing would happen if tracker is compromised, you'd just make connections to peers that don't share your secret and then only realize that after making the connection; your IP address is publicized but not the secret itself. SHA2 in this system is designed to be public.

  7. I think the tracker for btsync is different from the tracker for normal BitTorrent; it's also not possible currently to specify your own. With a few iptables rules you could redirect traffic to your own IP address, and the protocol doesn't seem that complex so you could dump some packets and try to reverse engineer it if you wanted.

    If you can't ping one client from the other then you better fix that issue first. The clients have to be able to send/receive UDP packets from each other for btsync to be able to work (if you set the host+port in configuration, no broadcast packets need to be used, it sends UDP packets "directly").

  8. Hi, I noticed my btsync was communicating with 54.225.92.50. I have disabled tracker, relay server, DHT, and LAN search, but it's still sending and receiving packets from this server that I assume is operated by BitTorrent. I also checked tcpdump and the packets are larger than what I'd expect from the auto-update script. Was just wondering what this could possibly be.

    Edit: I disabled check for updates and it's still sending/receiving packets to/from the server. Specifically, the UDP packets are coming from and going to 54.225.92.50 UDP port 3000.

    *** EDIT TWO: a closer inspection of the packet reveals that the server knows all of the peers where I have set up btsync, even though each one has all of the tracker, relay, etc. services disabled! Based on the protocol it also appears that 54.225.92.50 is the tracker server, which is a bit reassuring. But this is still very strange, how can the server know this when I've set it up to not give any information to any external server (and I double checked, tracker and all the rest are indeed disabled)??

  9. EDIT2:-

    5,1) bitTorrent
    5,1,1) Use of any bitTorrent software is restricted to non-US IPs. Any service found to be torrenting from a US-based IP address will be assigned a random non-US IP, and the client will not be eligible for any further US IP assignments.]

    I thought I'd note that down.

    Hm, there was a comment on LowEndTalk (a forum frequented by many VPS providers, as well as users) about this: http://www.lowendtal...#Comment_259575

    You have an interesting point, I submitted a ticket to BuyVM (I have one VPS, non-storage, with them) and will see what they say.

  10. > You can PROBABLY buy a basic VPS with 100GB HDD data for $100/year, not really looked into it but yeah.

    http://buyvm.net has a 250 GB VPS for $7.00 per month, that's $84.00 a year. I'm actually pretty surprised this is cheaper than DropBox, considering you can do other things with a VPS (it only has one core and 256 MB RAM, but still usable for, say, web hosting).

  11. It's possible that the renaming detection only works on certain operating systems (this assumes that it's based on events, like those from inotify; it may be (arguably) more robust and compare file hashes/modification times I guess).

    Edit: oh, if the modified file also works then that probably means the renaming detection doesn't rely on filesystem change events.

  12. > Can I choose what directories are synchronized on a particular PC?

    Yes, the directories are configurable.

    > Are incomplete parts of a file keep spreading when a 'master' PC holding this file is offline?

    There's is no master computer, so yes. The protocol is exclusively distributed, where the file with the latest timestamp "wins".

    > Can BTS synchronize folders from many sources at once?

    It doesn't support version control; if two sources edit the same file, then the later timestamp overwrites the first (although the first can go to a trash folder). But if they are editing different files or at different times, then yes, by default all nodes have read+write access (read-only access is also possible).

    > Does BTS use incompletely synchronized folders for replication? (I have a folder, but removed some files: Can a new PC use this folder to synchronize files I have?)

    Not sure exactly what you mean. If you are synchronizing two different folders on two machines, then the folders will be merged; files with the same name (if I understand correctly) will conflict, and the one with later timestamp overwrites the first.