Re: Reliability of Java, sockets and TCP transmissions



On Fri, 5 Oct 2007 23:52:19 +1000, "Qu0ll" <Qu0llSixFour@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :

So just how reliable are TCP and Java sockets over the actual internet?

If you look at the format of a TCP/IP packet you can get an idea.
see http://mindprod.com/jgloss/tcpip.html

TPC/IP packets have a 16 bit checksum. Any single bit error would give
you a different checksum. A multibit error has an 1 in 2^16 chance of
coming up with the valid checksum.

This is in addition to any packet-level checksums or hardware error
correction transparent to TCP/IP (e.g. error correcting modems).

The backbones now are fibre optic which very rarely get errors. The
problems comes from the rather wretched quality of the copper near
your end.

Perhaps someone knows of a tool to get the stats on the percentage of
packets getting through. The worse that number is the worse your
throughput and the greater your odds of an error sneaking through.

In my personal case they must be very rare. Nearly all my high volume
traffic is in ZIP files which have an additional checksum. I don't
see problems.

"But my tax return has to be correct. I submitted it with an
error-correcting modem."
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.



Relevant Pages

  • Microsoft Windows Remote Desktop Protocol checksum and keystroke vulnerabilities
    ... All versions of Microsoft Windows using encrypted RDP are vulnerable to ... the checksum vulnerability. ... since packets with the same plaintext have matching checksums. ... When RDP has encryption enabled, packets are first encrypted using RC4, ...
    (Bugtraq)
  • [NT] Microsoft Windows Remote Desktop Protocol Checksum and Keystroke Vulnerabilities
    ... since packets with the same plaintext have matching checksums. ... the checksum vulnerability. ... Microsoft's Terminal Services Virtual Channels are also vulnerable. ... Client to server: ...
    (Securiteam)
  • Re: IM driver modifying packet content and task offload
    ... You can create packets in your IM driver and let the underlying miniport do the checksum. ... The TCP/IP transport calculates the one's complement sum across all fields in the pseudoheader, including Source IP Address, Destination IP Address, Protocol, and the TCP length for TCP packets. ...
    (microsoft.public.development.device.drivers)
  • Re: Is HT faster infiniband?
    ... > Proceedings of the ACM conference on Applications, Technologies, ... > links where link-level CRCs should catch all but 1 in 4 billion errors. ... the rate of checksum failures can be even ... > nearly 500,000 packets which failed the TCP or UDP or IP checksum. ...
    (comp.sys.ibm.pc.hardware.chips)
  • Re: How to handle TCP checksum, if adapter support TCP checksum offloading?
    ... for NDIS checksum task offload when sending modified packets of his own. ... Allocate a separate NDIS packet pool for your modified packets. ...
    (microsoft.public.development.device.drivers)