Michael Schnell wrote:
On 03/20/2015 12:18 AM, Coyo Stormcaller wrote:
With a Userspace TCP/IP stack, I can send strange traffic with a raw
UDP port.
In fact colleagues of mine once in Delphi implemented a TCP - like
solution that uses UDP transfer to do secure, especially low overhead
transfers via GPRS.
So I understand that such User-space IP stack extensions might make
sense in certain cases.
But a User-Space "TCP/IP-Stack" implementation that sits on naked
Ethernet does not seem to make any practical sense.
It does if the objective is to experiment with variant protocols. Also
remember that things like nmap already reimplement some parts of IP, so
there's strong precedent.
I don't know what language implementation would be best for the job. The
problem is that it's convenient to be able to overlay e.g. an IP packet
with a predefined type e.g. a record describing the header followed by
an array encompassing the data, however the actual length of the data is
unknown at compilation time which means that hardware-supported bounds
checking is less than useful.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal