Live data from Hacker News

Transfer.sh – File sharing from the command line

transfer.sh

11–20 of 117 posts

Re: Transfer.sh – File sharing from the command line

#11
post #9

On a related note, I recently learnt that if you're on the same local network, there's a much faster way to transfer than the old tar|nc trick[0]: udpcast. You do $ udp-sender --min-receivers 1 --full-duplex --pipe 'tar czvf - theDirectory' on the sender and $ udp-receiver --pipe 'tar xzp' and at least on my home network it's 11x faster than tar|nc. There are some caveats[1] about udp not working well everywhere, and…

Just remember to compare checksums afterwards.

Preferably a cryptographic hash... UDP is known for not being reliable at all, and that's partly why it's so fast --- the sender doesn't care whether the packets reached the receiver, it just sends as fast as it can.

Re: Transfer.sh – File sharing from the command line

#14

Personally I've been using magic wormhole lately. It's p2p and very easy to use. https://github.com/warner/magic-wormhole

I could not find an example on the gibhub page, but here is the timecode from a video that shows it in action: https://youtu.be/oFrTqQw0_3c?t=129 Also: https://magic-wormhole.readthedocs.io/en/latest/welcome.html...

Looks neat.

Re: Transfer.sh – File sharing from the command line

#18
post #13

Can it have a little more security please? E.g. longer filename, more difficult to guess. And an encryption option would be nice.

Well it seems you'd have to not only guess the file name, but also the 5 character code; as it appears its uppercase, lower and numbers, which is ~916 million possibilities

...although on second thought, and with some bad math, if you know the file name, and you can manage 750+ tries a second, you could brute it prior to the 14 day expiration.

Re: Transfer.sh – File sharing from the command line

#19
post #9

On a related note, I recently learnt that if you're on the same local network, there's a much faster way to transfer than the old tar|nc trick[0]: udpcast. You do $ udp-sender --min-receivers 1 --full-duplex --pipe 'tar czvf - theDirectory' on the sender and $ udp-receiver --pipe 'tar xzp' and at least on my home network it's 11x faster than tar|nc. There are some caveats[1] about udp not working well everywhere, and…

Just remember to compare checksums afterwards. Preferably a cryptographic hash... UDP is known for not being reliable at all, and that's partly why it's so fast --- the sender doesn't care whether the packets reached the receiver, it just sends as fast as it can.

CRC is fine in this case.

Oh, they should use SHA anyway because why not, but CRC is only vulnerable to deliberate manipulation or exceedingly abstruse bit-flips.

When the failure mode is lost packets, it's perfectly fine.

Re: Transfer.sh – File sharing from the command line

#20
post #13

Can it have a little more security please? E.g. longer filename, more difficult to guess. And an encryption option would be nice.

Stop complaining and encrypt your stuff. You're the one making absurd requests to a fine small nice service here.
Post reply on HN