Internet Protocols Explained
Open Source For You|July 2024
In the second part of this series of articles on internet protocols, we shall delve into the journey from unsecure protocols to secure protocols, with a focus on securing the transport and application layers in the OSI model.
Internet Protocols Explained

The Transmission Control Protocol (TCP) is a transport protocol, as it dictates the way data is sent and received. Before transmitting data, TCP opens a connection with the recipient and ensures that all packets arrive in order once the transmission begins. It is via TCP that the recipient acknowledges receiving each packet that arrives. Missing packets are sent again if receipt is not acknowledged. Hence this is a reliable protocol, but not fast.

TCP and IP were originally designed to be used together, and these are often referred to as the TCP/IP suite. However, other transport protocols can be used with IP. The TCP header has a default size of 20 bytes. Up to 40 bytes of options can be added.

TCP flow

Step 1: Establish the connection TCP needs a valid connection as a prerequisite. To establish a connection, it follows a three-way handshake method. ƒ First, the requesting client sends the server a SYN packet

• SYN: SYN stands for synchronise.

• SEQ: SEQ is a unique, random number that ensures full transmission in the correct order and without duplicates.

  • Once the server has received the packet, it agrees to the connection by returning a SYN-ACK packet. The ACK includes the client’s sequence number plus 1. The client will send some random SEQ number.

    • ACK: ACK stands for acknowledging its own sequence number to the client.

  • Finally, the client acknowledges the receipt by sending its own ACK packet, which in this case contains the server’s sequence number plus 1. The client can now begin transferring data to the server.

This story is from the {{IssueName}} edition of {{MagazineName}}.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

This story is from the {{IssueName}} edition of {{MagazineName}}.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

MORE STORIES FROM OPEN SOURCE FOR YOUView all
Not Investing in a Cloud Security Program can be Expensive
Open Source For You

Not Investing in a Cloud Security Program can be Expensive

A well-planned cloud security program serves as the primary barrier against security breaches, protecting both the company's assets and its reputation. It's a crucial component that supports an organisation's overall health and in a world with more advanced cyber threats, it helps meet the basic compliance standards that stakeholders expect.

time-read
5 mins  |
September 2024
Cutting Costs, Not Corners: Building Large Scale Applications with Open Source Software
Open Source For You

Cutting Costs, Not Corners: Building Large Scale Applications with Open Source Software

Here are some strategies and best practices for leveraging open source to create enterprise-grade web and mobile applications without sacrificing quality or functionality.

time-read
6 mins  |
September 2024
FIDO2 and WebAuthn: Ensuring Secure User Authentication
Open Source For You

FIDO2 and WebAuthn: Ensuring Secure User Authentication

In today's digital landscape, securing online identities is more crucial than ever. Traditional passwords are no longer sufficient to protect sensitive information, which is where advanced passwordless authentication mechanisms like FIDO2 and WebAuthn come into play. These technologies offer a powerful solution for secure user authentication in a browser-based environment.

time-read
5 mins  |
September 2024
Aspiring to be a DevOps Engineer? Here are a Few Tips
Open Source For You

Aspiring to be a DevOps Engineer? Here are a Few Tips

Organisations are embracing DevOps in software development to ensure quality products are delivered faster. This fast-growing domain offers a range of career opportunities for those willing to learn. You can enrol for one of the many industry-recognised certifications and then gain experience through internships and entry-level positions.

time-read
7 mins  |
September 2024
GitHub Actions: Accelerating DevOps Adoption
Open Source For You

GitHub Actions: Accelerating DevOps Adoption

The integration of DevOps practices has become crucial for achieving rapid, reliable, and high-quality software delivery. GitHub Actions, an automation tool provided by GitHub, significantly contributes to this process by streamlining and automating various stages of the software development lifecycle. Let's find out how it can accelerate DevOps adoption.

time-read
4 mins  |
September 2024
DevOps in a Nutshell
Open Source For You

DevOps in a Nutshell

This overview takes you down the path of DevOps development, its benefits and drawbacks as well as the resources you may need to become an expert in this field. It explains the roles of a DevOps professional and why they are in demand.

time-read
5 mins  |
September 2024
The DevOps Guide: Trends, Tools, Skills, and Career Opportunities
Open Source For You

The DevOps Guide: Trends, Tools, Skills, and Career Opportunities

In today's fast-paced digital world, DevOps is crucial for software development and IT operations. By fostering collaboration and automating processes, it aims to deliver high-quality software quickly and reliably. Let's explore the latest trends in DevOps, essential tools, required skills, career opportunities, and the future of this transformative practice.

time-read
7 mins  |
September 2024
AlOps: Integrating AI with DevOps
Open Source For You

AlOps: Integrating AI with DevOps

By integrating AI with DevOps, we can harness the power of both technologies to quicken the development of quality software. Open source DevOps tools now come with AI integrated in them to automate the software development lifecycle and enhance security features.

time-read
6 mins  |
September 2024
Getting Started on Contributing to Free Software
Open Source For You

Getting Started on Contributing to Free Software

Interested in contributing to free and open source software but wondering where and how to begin? Dive in to find out...it's quite simple.

time-read
7 mins  |
September 2024
AI Services in Microsoft Azure: Designed to Help
Open Source For You

AI Services in Microsoft Azure: Designed to Help

Microsoft's Azure AI services enable optimised operations in industries as varied as retail, healthcare, manufacturing, finance, education, and media.

time-read
6 mins  |
September 2024