Hostwinds Tutorials

Search results for:

What are IP headers?

Tags: FTP 

All traffic going over the internet has IP headers. An IP header is how a packet knows where to travel over the internet. They display information such as the IP version, the length of the packet, the source, and the destination. Below is an example of browsing via a web browser.

The version displays information about the IP protocol. For example, this would be the traffic type such as TCP, UDP, IPv4, IPv6, etc.

The header length is exactly as the name implies. It is the header length in terms of bytes.

The source is the IP the packet was sent from. The destination is the target of your request, such as to ping IP

Spoofing of this IP header is not possible on our network as it takes information from the sending IP and includes it in the header. This is done through the use of checksum. A checksum is added to the IP header upon creating the packet and is then verified by the destination.

You can download and install TCPdump to check the IP headers as well. Here is an example of an IP header request using TCPdump while pinging a server.

You can use TCPdump to verify IP headers and troubleshoot issues with various connections, such as connecting to a web server or SSH to your server.

Written by Hostwinds Team  /  June 5, 2021