Part A - Network Protocol Development in C ( from scratch )




Part A - Network Protocol Development in C ( from scratch )

What is this Course all about?


This Course presents the Case study in which we implement the Pseudo Interior Gateway Protocol similar to OSPF (Open Shortest Path First) & ISIS (Intermediate System to Intermediate System). Both ISIS and OSPF are IGP protocols that fall under the category of link-state protocols and achieves the same objectives. Don't worry, We shall cover all necessary theories regarding what we shall be going to implement in the project before we hit the first line of code of the project.


This full course is divided into 3 parts - Part A, Part B, and Part C out of which Part A and B are Live, and Part C is under Development as of 19 Oct 2022.


We shall implement the Simplified version of the actual ISIS protocol using our tcp-ip stack library. The goal is to learn the nuances involved in implementing a typical Network protocol on a device from absolute scratch. You will be doing it all your life once you join the industry, but here, this case study aims at giving you firsthand experience regarding what it takes to implement a typical Network protocol on a (simulated) device.


I bet if you are giving an interview in the company for a network developer role, entry-level up to 2-3 yrs of experience, or making a cross-domain switch into Networking Development, seeing the above mention of the project in your resume would give goosebumps to the interviewer. If you could answer cross-questions (I shall be covering in this Course) – you shall be selected without any doubt. Maintain GitHub to present your codes to him if asked.


Project Goals

The AIM of this project is to cycle you through the experience of end-to-end implementation of a typical network protocol. In this case study, we have chosen a routing protocol as an example, but the high-level logistics involved to implement a typical network protocol are more or less the same. For example, a typical network protocol has to:

  1. Configurable via CLIs

  2. Show internal states and results through show CLIs

  3. Respond to generic configuration changes ( such as link shut-down, IP Address on interface change, etc)

  4. Compute results and install the results in Tables (Routing Information Base, MAC Tables, hardware Tables, etc )

  5. Respond to Topological Changes (link failures, device failures, etc )

  6. Time-out stale Data structures if any.

  7. Periodically Generate Or Process Protocol packet

  8. How to add a new feature to the existing working Protocol Codebase. (This is what you shall be doing all your life as a software engineer !!)

Since the project is quite big (I am expecting around 20k LOCs), you would also get the opportunity to learn how to :

  1. Organize the code in header and src files

  2. Modularize the codebase: How to keep the code of different features in different src files

  3. Testing the new feature, and cross-check it doesn’t break existing features

  4. Maintain Code Commits through Version control system ( Github in this case )

  5. Bug Fixing, and exercise various debugging techniques (gdb, Valgrind, etc )

Needless to say, you Can’t exercise the above points unless you do a project of considerable size.


Pre-requisites to do this Course

Needless to say, this project is very challenging, and you need to be reasonably good at Data Structures and Algorithms in C/C++ programming. If you are still struggling with LinkedList/Trees or other common Computer Science basic fundamentals, I would not recommend you spend time on this project – rather work on building your basics first. There is no point in showcasing this project on your resume while at the same time you cannot answer other fundamentals such as questions on Heap Memory, Multithreading, etc, or fail miserably in reversing a linked list.

Also,  I shall assume that you have no background in Networking routing protocol (but do possess Networking Basics such as L3 routing, etc ) therefore I shall begin from absolute scratch, covering all necessary theories before we start coding. Along the journey in the implementation, we shall pick up various new concepts related to Networking, Project Planning, feature designing, or Coding Standards at the Industry level.

Network Coding Project for Network Core Developers, Linux, System Programming, Operating systems, Projects in C/C++

Url: View Details

What you will learn
  • Understand how Network Protocols are implemented on Network Devices
  • Implement new features incrementally
  • Packet processing, Update protocol data structures through packets processing

Rating: 4.85

Level: Intermediate Level

Duration: 12.5 hours

Instructor: Abhishek CSEPracticals


Courses By:   0-9  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 

About US

The display of third-party trademarks and trade names on this site does not necessarily indicate any affiliation or endorsement of coursescompany.com.


© 2021 coursescompany.com. All rights reserved.
View Sitemap