It uses relay-assisted peer-to-peer transactions and end-to-end encryption via password-authenticated key exchange. The program is written in Go and is available for Microsoft Windows, macOS, Linux and *BSD.

The idea behind croc is being able to transfer files and folders between cross-platform computers securely, fast and easy. With support for resumable, peer-to-peer transfers. As a bonus feature, croc is also able to securely transfer a short text or URL directly.

The data transfer is done using a relay, either using raw TCP sockets or websockets. When the sender and the receiver are on the same LAN, croc uses a local relay, otherwise a public relay is used. Thanks to this, croc can send files between computers in the same LAN, or over the Internet, without having port-forwarding enabled.

See https://www.linuxuprising.com/2021/03/croc-is-tool-for-resumable-encrypted.html

#technology #opensource #P2P #crossplatform #filetransfer

  • GadgeteerZAOP
    link
    53 years ago

    Yes certainly with SSH - croc is probably addinga few cherries on the top though:

    • allows any two computers to transfer data (using a relay)
    • provides end-to-end encryption (using PAKE)
    • enables easy cross-platform transfers (Windows, Linux, Mac)
    • allows multiple file transfers
    • allows resuming transfers that are interrupted
    • local server or port-forwarding not needed
    • ipv6-first with ipv4 fallback
    • can use proxy, like tor
    • WhitePaperKat
      link
      13 years ago

      well in that case maybe i will compile it and play around with it