Thread (1 message) 1 message, 1 author, 2014-01-19
  • (off-list ancestor, not in this archive)
  • tcp packet split · Augusto Mecking Caringi <hidden> · 2014-01-19

tcp packet split

From: Augusto Mecking Caringi <hidden>
Date: 2014-01-19 15:04:05

On Sun, Jan 19, 2014 at 2:31 AM, [off-list ref] wrote:
How does the application level recognize each segment bridge in tcp stream
?
i.e packe a 30bytes>> packet b 50bytes >>packet a 20bytes
And why it is possible for one packet to contain uncontinuous part of
different  user protocol packets?
It's not a kernel question in my opinion, but...

Take a look here:

"Segmentation is the process of carving up information into smaller pieces.
The documentation for Transmission Control Protocol (TCP) refrers to what
it calls 'data streams'. A data stream is really nothing more than a series
of zeroes and ones that represent information. TCP receives data from an
application and segments the data into pieces. This segmentation is
necessary so that the information can be placed inside the TCP data field."

"TCP reassembles segments into a data stream and feeds that data stream to
the application. The best known example of this activity is HTTP transfer
of a web page. The web server loads a web page from disk, encapsulates the
web page text in HTTP headers, the passes the HTTP encoded stream of text
to TCP. TCP segments the text stream for transport across the network. The
networking software (the stack) receives the TCP data segments and
reassembles the HTTP stream of text, which your web browser reads, and
renders as a web page."

http://www.inetdaemon.com/tutorials/internet/tcp/segmentation.shtml


? 2014-1-18?22:04?Augusto Mecking Caringi [off-list ref] ???

On Sat, Jan 18, 2014 at 12:08 AM, [off-list ref] wrote:
quoted
Hi :
     If one tcp data packet contains serveral  user protocol packet. .
How is it splitter over to separate packet ?
Hi,

    It's an application protocol level problem and it's application job to
do this.

    This is also called TCP desegmentation or TCP reassembly. Take a look
here:

    http://wiki.wireshark.org/TCP_Reassembly

    Regards.

--
Augusto Mecking Caringi

-- 
Augusto Mecking Caringi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140119/cac631f1/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help