>>32856>It hosts a UDP file server which receives signed chunks which can be manually resent by chunk (it deletes incorrectly signed chunks)I've written the server, but not yet tested it. I'm also not sure how large to set the buffer size, just seems like it should be related to the MTU. The entire program would fit on four screens, and the most complex part, which is not very complex, on two (pic rel).
The server basically just receives a datagram which has a UUID (16 bytes), start (8 bytes), length (8 bytes), and a payload. It writes the payload out to the start position in a file with the UUID as the name.
It also maintains an interval tree of missing intervals of the file as a csv. It initializes to an interval from zero to the file length and then on every write to the file subtracts the interval from the tree, and then it writes the whole thing to disk.
It's only realistic to run this program if you're in the LAN, or tunneling in. And also it expects you to be running IPSec for the authentication and encryption, probably with a static SA (whatever that is) and ESN so that you don't have to do key negotiation.