Making magic with the network stack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Sana147 102923b6c4 Update 'Test_Cases/Test_Case3/readme' 2 years ago
..
Test_Case1 Update 'Test_Cases/Test_Case1/readme' 2 years ago
Test_Case2 Upload files to 'Test_Cases/Test_Case2' 2 years ago
Test_Case3 Update 'Test_Cases/Test_Case3/readme' 2 years ago
TCP_IP_Header_Structure.jpg Upload files to 'Test_Cases' 2 years ago
readme Update 'Test_Cases/readme' 2 years ago

readme

This folder contains 3 test packets.

Testing is done as follows.

For Test_Case1.py:
1. Open two terminals.
2. In terminal 1, change working directory to whereever the Test_Case1.py file exists.
3. In terminal 2, open wireshark using the command sudo wireshark, and select 'any' to be the interface for capturing packets.
4. In terminal 1, run the test case 1 using: sudo python3 Test_Case1.py
5. In Wireshark, use the ip.addr == 200.204.10.12 and the syn packet going from 200.204.10.12 to 200.204.10.14 will be shown.

Same steps can be repeated for test case 2 and 3 but everytime a different ip.addr filter will be used.

The testCase1.png, testCase2.png, and testCase3.png shows the output on wireshark.

References:
1. This is the link to the Peterson and Davie Computer Networks book (https://titania.eng.monash.edu/netperf/docs/computer-networks-peterson-davie-v6.0.pdf )