kos13

Employees
  • Posts

    750
  • Joined

  • Last visited

  • Days Won

    92

Posts posted by kos13

  1. Few more:-

    A. Get file modification, access and creation date (Assuming that the filesystem supports this)

    B. Get size (Real size, not size on disk as that'd change through nodes)

    C. Get hash of file (MD5/SHA1/SHA2/CRC/etc...)

    D. Get hash of certain 4MB parts of files (That bittorrentsync uses)

    E. Access files from inside rar/7zip/tar/gzip/zip archives and treat them as if they were any other file.

    How this would be different from regalar OS commands?

  2. Although, I have a question, how will the API work? Will it be like a web-API where you connect to one of your servers and then that deals with asking the nodes? Or will you just contact any node in the system and ask them to talk to the other nodes? Or will you pretend to be a node? I've never dealt (or heard of) any P2P APIs, so, I'm having an issue trying to understand how it'll work.

    We have several options how to implement API. I created this thread to collect use cases and figure out the best way to implement API.

  3. Please share your thoughts on Sync API, what you need and what you plan to do with Sync. If you have a use case in mind, or just another random thoughts about API, please share them with us.

    This would help us in developing API that would fit your needs.

    thanks,

    kos

  4. You've asked - we made it. We have a FreeBSD and PC-BSD in testing and it will be released next week.

    The only thing is that FreBSD build will not have file monitoring ability (Linux inotify) , folder will be re-scanned every 10 minutes.

  5. As verloren properly explained, the possibility of someone hit your Secret is close to 0. All current security is based on probability, for example you could guess RSA private key and break whole internet. Probability of guessing RSA private key and Sync secret is very close.

  6. Details:

    We do want to establish connection with peer as fast as possible, so time-outs are very short

    We do send multicast every second and every 10 seconds requests peers from tracker. And every minute check addresses of relay servers. It comes 16KB for one secret in minute

    Multicast - 140 bytes/second;

    Peers on relay - 140 /bytes/minute

    Getting peers from tracker - 74/bytes every 10 seconds

  7. Sure, please follow this steps, so we could localize your problem

    Most likely you have upd packets blocket in some of your networks, so Sync couldn't contact another peer. Could you please check that you FW doesn't block UPD traffic?