# Computer Networks and Security (CNS) This Git repository is a comprehensive resource for the Computer Networks and Security (CNS) course under the SPPU 2019 syllabus. It includes materials on fundamental concepts such as network architectures, protocols, and technologies, as well as practical implementations of client-server applications and insights into the data link layer and routing protocols. The repository also covers the application layer's role and essential network security topics, providing students with the knowledge and skills needed to master the course outcomes effectively. --- ## Index ### Notes 1. [Unit 1 - Introduction To Computer Networks](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Notes/Unit%201%20-%20Introduction%20To%20Computer%20Networks) 2. [Unit 2 - Data Link Layer](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Notes/Unit%202%20-%20Data%20Link%20Layer) 3. [Unit 3 - Network Layer](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Notes/Unit%203%20-%20Network%20Layer) 4. [Unit 4 - Transport Layer](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Notes/Unit%204%20-%20Transport%20Layer) 5. [Unit 5 - Application Layer](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Notes/Unit%205%20-%20Application%20Layer) 6. [Unit 6 - Security](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Notes/Unit%206%20-%20Security) ### Assigments > [Practical dates (all batches)](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/CNSL%20-%20Practical%20dates.pdf) ##### A1 - Wired LAN using switch - [Handout-A1](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-A1.pdf) - [Write-up - A1](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20A1.pdf) > [!NOTE] > No code or output for assignment A1. ##### A2 - Network types, topologies and transmission media - [Handout-A2](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-A2.pdf) - [Write-up - A2](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20A2.pdf) - [Output-A2](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Printable%20outputs/Output-A2.pdf) > [!NOTE] > No code for assignment A2. ##### A3 - Error detection and correction using Hamming code and CRC - [Code-A3 (CRC)](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Codes/Code-A3%20%28CRC%29.cpp) - [Code-A3 (Hamming Code)](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Codes/Code-A3%20%28Hamming%20Code%29.cpp) - [Handout-A3](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-A3.pdf) - [Write-up - A3](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20A3.pdf) - [Output-A3](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Printable%20outputs/Output-A3.pdf) ##### A4 - Sliding Window Protocol - [Code-A4](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Codes/Code-A4%20%28Sliding%20Window%29.cpp) - [Handout-A4](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-A4.pdf) - [Write-up - A4](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20A4.pdf) - [Output-A4](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Printable%20outputs/Output-A4.pdf) ##### B5 - Subnetting and subnet mask - [Code-B5](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Codes/Code-B5.cpp) - [Handout-B5](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-B5.pdf) - [Write-up - B5](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20B5.pdf) - [Output-B5](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Printable%20outputs/Output-B5.pdf) ##### B6 - Link state & distance vector - [Code-B6](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Codes/Code-B6.py) - [Handout-B6](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-B6.pdf) - [Write-up - A6](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20B6.pdf) - [Output-B6](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Printable%20outputs/Output-B6.pdf) ##### B7 - RIP/OSPF/BGP - [Handout-B7](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-B7.pdf) - [Write-up - A7](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20B7.pdf) - [Output-B7](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Printable%20outputs/Output-B7.pdf) ##### B8 - TCP Socket - [Code-B8 (Client)](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Codes/Code-B8%20%28Client%29.py) - [Code-B8 (Server)](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Codes/Code-B8%20%28Server%29.py) - [Handout-B8](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-B8.pdf) - [Write-up - B8](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20B8.pdf) - [Output-B8](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Printable%20outputs/Output-B8.pdf) ##### B9 - UDP Protocol - [Code-B9 (Sender)](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Codes/Code-B9%20%28Sender%29.py) - [Code-B9 (Receiver)](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Codes/Code-B9%20%28Receiver%29.py) - [Handout-B9](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-B9.pdf) - [Write-up - B9](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20B9.pdf) - [Output-B9](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Printable%20outputs/Output-B9.pdf) ##### C10 - DNS - [Code-C10](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Codes/Code-C10.py) - [Handout-C10](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-C10.pdf) - [Write-up - C10](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20C10.pdf) - [Output-C10](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Printable%20outputs/Output-C10.pdf) ##### C11 - DHCP - [Code-C11](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Codes/Code-C11.py) - [Handout-C11](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-C11.pdf) - [Write-up - C11](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20C11.pdf) - [Output-C11](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Printable%20outputs/Output-C11.pdf) ##### C12 - TCP & HTTP traffic capture using Wireshark - [Handout-C12](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-C12.pdf) - [Write-up - C12](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20C12.pdf) - [Output-C12](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Printable%20outputs/Output-C12.pdf) ##### C13 - Analyse HTTP, HTTPS & TCP Protocols - [Handout-C13](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-C13.pdf) - [Write-up - C13](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20C13.pdf) ##### C14 - SSL Protocol - [Handout-C14](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Handouts/Handout-C14.pdf) - [Write-up - C14](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Write-ups/Write-up%20-%20C14.pdf) ### Question Papers - [IN-SEM](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Question%20Papers/IN-SEM) - [END-SEM](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Question%20Papers/END-SEM) > [Important VIVA Questions](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Question%20Papers/CNSL%20-%20Important%20Viva%20Questions.pdf) > [Sample Photocopy (END-SEM)](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Question%20Papers/CNS%20-%20Sample%20Photocopy%20-%20END-SEM%20%282019%20Pattern%29.pdf) > [Sample IN-SEM Unit Test Paper](https://git.kska.io/sppu-te-comp-content/ComputerNetworksAndSecurity/src/branch/main/Question%20Papers/CNS%20-%20Unit%20Test%20Sample%20Paper%20%28IN-SEM%2C%202019%20Pattern%29.pdf)