Firewall.cx Forums

Community Forums

Facebook Fans

Show your support for Firewall.cx!

Social Media Channels

Facebook-icon LinkedIn-icon Twitter-icon

System Login



Login With Facebook

More Articles

Who's Online

We have 149 guests online

Statistics

Members : 5036
Content : 718
Content View Hits : 98815235

Top Website Visitors

41.4%United States United States
18.2%India India
8%United Kingdom United Kingdom
5.1%Australia Australia
4.3%Canada Canada
2.5%Germany Germany

Today: 1442
Yesterday: 6200
This Week: 20381
Last Week: 35290
This Month: 83086
Last Month: 141872
Total: 884524

Gold Cisco Lab Partners

logo-gfi



logo-datavision

The TCP Header/Segment PDF Print Email
(3 votes, average 5.00 out of 5)
Written by Administrator   
Saturday, 30 April 2011 03:00
AddThis Social Bookmark Button

Introduction

This article shows the TCP Header and Segment. We explain where the TCP Header and Segment are located in an Ethernet frame and also briefly view the available options in the TCP Header. Our easy-to-understand detailed diagrams help ensure all information provided is easily understood.

So buckle up and get ready. It's all really simple, you just need to clear your mind and try to see things in the simplest form and you will discover how easy and friendly TCP really is. You can only feel comfortable with something once you get to know it.

 

TCP Header and TCP Segment

If we wanted to be more accurate with the terms we use, then perhaps we would title this page as "Analysing A TCP Segment". Why? Well, that's what it's called in the networking world so we need to know it by the correct term.

This of course leads us to another new definition, a TCP segment:

"The unit of transfer between the TCP software on to machines is called a TCP segment."

If your expression has transformed itself to resemble a confused person, then don't worry, just keep reading...

Understanding this term is easier than you thought when reading the definition, just take a good look at the diagram below:

tcp-segment-1

Now you see that a TCP segment is basically the TCP header plus the data that's right behind it and, of course, the data belongs to the upper layers (5,6,7).

The data contents could be part of a file transfer, or the response from a http request, the fact is that we really are not interested in the data's contents, but only in the fact that it's part of the TCP segment.

The screen shot below was taken from my packet sniffer, and it shows the DATA portion belonging to the TCP Header:

tcp-segment-2

If you tried to capture a similar packet from any packet sniffer, it is more likely to display the Data portion within the TCP header, just as the screen shot on the left.

So the question is whether a TCP header and a TCP segment are basically the same thing.

Even though it might seem they are, in most cases, when referring to the TCP header, we are talking about the header without the data, whereas a TCP segment includes the data.

 

 

 

 

 

 

 

Getting Ready To Analyse The TCP Header

We are now ready to begin examining the structure of the TCP header. However, be sure to keep in mind that the 'TCP Header' is the same thing as a 'TCP Segment', meaning it's the TCP header information plus the Data, just as the diagrams above show.

The last screen shot certainly gives out a fair bit of information, but there is still much that hasn't been revealed, not to mention nothing's really been analysed as yet :)

 

Next: In-Depth TCP Header Analysis

 

 

 

 

Last Updated on Sunday, 02 October 2011 00:16
 

SIMILAR TOPICS THAT MIGHT INTEREST