With this simple (but surely not the best solution) i can up- and
download files to my bbs without any error.
i'm very happy about this :-)
1. The IP checksum isn't particularly strong with
respect to preventing corruption in flight. Most
of that is implicitly handled by running IP over
a link layer over ethernet or something that does
real CRCs and can detect a much broader range of
errors.
2. You run the risk of additional output written to
your terminal writing into your output file.
That may be unlikely, but it can happen.
I use this "protocol" in my own terminalsoftware, written in java, since 2016. No transmission was failed in the last years. I connect over
telnet and ssh to my bbs and it always worked perfect.
1. The IP checksum isn't particularly strong with
respect to preventing corruption in flight. Most
of that is implicitly handled by running IP over
a link layer over ethernet or something that does
real CRCs and can detect a much broader range of
errors.
Do you mean it can fail if i run it over an "old" dail-in-connection?
Yes, this can happen, but when it happens it is no longer important. [snip]
I think this method is a "quick-and-dirty" helper when other protocols will fail.
The upshot of all of this is that it wouldn't hurt to
include a stronger checksum in your data. But if you're
going to do that, then consider using something like HTTP
over TLS.
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 2 |
Nodes: | 8 (0 / 8) |
Uptime: | 29:58:26 |
Calls: | 2,116 |
Files: | 11,149 |
D/L today: |
315 files (11,412K bytes) |
Messages: | 952,644 |