News for hackers. Stuff that matters.
Re:Show HN: A file transfer tool for your local network (enc... by api on Thursday May 04, 2017 @09:05PM (#14270366)
Hilarious... I just put something up a little bit like this. It's something I started a while back and finished up this morning:

https://github.com/zerotier/toss

It must be the National Day of Command Line File Transfer Utilities.

Re:Show HN: A file transfer tool for your local network (enc... by egcodes on Monday May 08, 2017 @01:09PM (#14293508)
I wrote this tool 4 years ago :)
Re:Show HN: A file transfer tool for your local network (enc... by fiatjaf on Thursday May 04, 2017 @04:46PM (#14268627)
We're pretty much in need of tools like this. The alternative is to send the file to file sharing services in other countries then fetch them again from the other computer in the same LAN.

But unfortunately this is still too cumbersome for my personal use cases, which involve Windows machines I don't personally use unless sporadically.

Re:Show HN: A file transfer tool for your local network (enc... by juliangoldsmith on Thursday May 04, 2017 @04:50PM (#14268678)
A SAMBA share would be a better option there.

That said, I agree this sort of tool would be useful. I'm not sure why I'd use this rather than piping cat into nc, though.

Re:Show HN: A file transfer tool for your local network (enc... by fiatjaf on Thursday May 04, 2017 @05:52PM (#14269200)
SAMBA is still too complicated. I was thinking something that didn't need to be installed.
Re:Show HN: A file transfer tool for your local network (enc... by Vendan on Thursday May 04, 2017 @08:20PM (#14270134)
Heh, I was actually having the same issue yesterday, and so I whipped up a quick program to fix it: https://github.com/andyleap/fileportal Not encrypted or anything fancy, only works if the 2 computers can see each other via UDP broadcast, but run `fileportal -i <filetosend>` on one and just `fileportal` on the other and the file will pop out there! (and I have builds for all kinds of platforms up there, windows/linux/macos/netbsd/openbsd/freebsd, and multiple archs for each!)
Re:Show HN: A file transfer tool for your local network (enc... by Vendan on Thursday May 04, 2017 @10:29PM (#14270705)
One critique, this "encryption" is just "seed pseudorandom RNG with a shared int, and then xor each byte with the next value from the RNG". Not exactly a high quality encryption method.
Re:Show HN: A file transfer tool for your local network (enc... by egcodes on Monday May 08, 2017 @01:14PM (#14293547)
This is correct. Maybe we can say "unreadable" not encrypted :)
Re:Show HN: A file transfer tool for your local network (enc... by stephenr on Friday May 05, 2017 @12:13AM (#14271065)
What does this do that scp/sftp doesn't?
Re:Show HN: A file transfer tool for your local network (enc... by egcodes on Monday May 08, 2017 @01:13PM (#14293538)
This is pure socket programming and contains very simple encrypt method. I wrote this for socket programming example about four years ago.