Haven't tried this but I recently started using syncthing.net and I highly recommend it. Like rsync, it only sends the chunks of the file that changed, so it can be extremely fast for small changes in large files. It's able to use a variety of methods to connect including good through relay servers if the machines can't directly talk to each other.
I also use syncthing. It's been working so well that it's magical for sending files and keeping a passwork manager up-to-date between devices. My next step for my homelab, is to run my own announce server and relay on my local network.
Croc: Easily and securely send things from one computer to another
41–50 of 146 posts
Re: Croc: Easily and securely send things from one computer to another
#42Earlier quoted context omitted.
I think the main advantage that I like croc over many utilities is that it can resume file transfers from where it left off. I'm not sure if wormhole has this yet. Of course torrents do this, but I find sharing via torrenting still not super easy for the layperson.
Torrents also don't provide encryption between peers, unless you use SSL torrents, but it's clearly designed towards sharing between a group, not one-on-one transfers.
(BitTorrent/Resilio sync uses SSL and seems fine for 1-1 design-wise)
Re: Croc: Easily and securely send things from one computer to another
#43Re: Croc: Easily and securely send things from one computer to another
#44a recent audit claims the author "doesn't have enough resources to address" security issues: https://www.openwall.com/lists/oss-security/2023/09/08/2 https://github.com/schollz/croc/issues/594 etc.
These issues are pretty recent. I would greatly appreciate sponsorship to address issues faster: https://github.com/sponsors/schollz or just help with PRs.
Re: Croc: Easily and securely send things from one computer to another
#45Re: Croc: Easily and securely send things from one computer to another
#46A more popular and, I think, carefully analyzed alternative, from which croc was inspired, is Magic Wormhole; a good Golang implementation that compiles down to a single binary is wormhole-william: https://github.com/psanford/wormhole-william/releases I believe croc has some features wormhole doesn't (and some anti-features, like being able to pick curves and hashes). But also just that it's worth knowing that Magic…
Re: Croc: Easily and securely send things from one computer to another
#47Earlier quoted context omitted.
There was a deadly security flaw two years ago, that required a protocol breaking fix (done within a week I believe): https://redrocket.club/posts/croc/ But audits finding vulnerabilities are better than no audit and no known flaw. Do these tools have iOS apps?
My CVE feed just had a raft on croc: https://nvd.nist.gov/vuln/detail/CVE-2023-43616 https://nvd.nist.gov/vuln/detail/CVE-2023-43617 https://nvd.nist.gov/vuln/detail/CVE-2023-43618 https://nvd.nist.gov/vuln/detail/CVE-2023-43619 https://nvd.nist.gov/vuln/detail/CVE-2023-43620 https://nvd.nist.gov/vuln/detail/CVE-2023-43621 I will stick with wormhole-william, thank you very much.
Re: Croc: Easily and securely send things from one computer to another
#48A more popular and, I think, carefully analyzed alternative, from which croc was inspired, is Magic Wormhole; a good Golang implementation that compiles down to a single binary is wormhole-william: https://github.com/psanford/wormhole-william/releases I believe croc has some features wormhole doesn't (and some anti-features, like being able to pick curves and hashes). But also just that it's worth knowing that Magic…
It's weird croc doesn't mention magic wormhole in their readme, if only to explain the differences with this well known tool, and why one would use croc rather than wormhole, which people are probably more used to using and that they can apt install, etc
"magic-wormhole has most everything (currently its missing capabilities for multiple file transfers and file resuming), but it requires installing lots of the Python ecosystem which is tricky for non-developers (and Windows users)."
For the python part, I guess wormhole-williams works too then.
Re: Croc: Easily and securely send things from one computer to another
#49I’m currently working on a new version of pcp [0]. Based on croc, magic-wormhole and the likes it doesn’t require a relay. It uses the IPFS DHT as a discovery point to connect two machines. Haven’t touched the currently released code in two years but the new hole punching capabilities of libp2p show promising result so I’m working on a new version. [0] https://github.com/dennis-tra/pcp
Re: Croc: Easily and securely send things from one computer to another
#50Earlier quoted context omitted.
Torrents also don't provide encryption between peers, unless you use SSL torrents, but it's clearly designed towards sharing between a group, not one-on-one transfers.
How does the group design hurt 1-1 (BitTorrent/Resilio sync uses SSL and seems fine for 1-1 design-wise)