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

    • NXL
      link
      23 years ago

      This doesn’t seem to be p2p though

    • GadgeteerZAOP
      link
      23 years ago

      Video is worth 100,000 words thanks

  • shilangyu (lemmur)
    link
    43 years ago

    Been using croc for some time now, it’s great. Especially useful for transferring files between my pc and my laptop

  • WhitePaperKat
    link
    33 years ago

    cant you sorta do that with netcat already

    • 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

  • @marcuse1w
    link
    23 years ago

    Tried it. Installs easily and works well 😀