I've never trusted tarpipes.
-
I've never trusted tarpipes. something about using netcat in such a way where it never knows when to close the connection makes me feel like I'm using old BBS transfer protocols. Is it compatible with XMODEM? YMODEM? KERMIT? TARPIPE?
-
I still use them from time to time but I hash the contents at the end to make sure it didn't truncate anything
-
running "sudo md5sum /dev/sdb" doesn't feel right, though
-
it also takes a very, very long time, if you're hashing a low-RPM 2.5" spinning rust drive
-
Indeed.
But if you do it over an SSH tunnel, data correctness shouldn't be an issue, and you can just check the received size? Of course that wheezy old machine might not have the CPU grunt to move data quickly while encrypting it...
-
@cazabon no SSH tunnel here, this is just raw TCP streams
-
@foone better to do `sudo sha256sum /dev/sdb` instead
-
@funjon why though? Is someone going to sneak into my office and attempt an md5 collision attack between two computers on my desk?