This repository is lab for NCTU course "Introduction to Computer Networks 2018".
In this lab we are going to learn how to use Scapy - a powerful interactive packet manipulation program, which can forge or decode packets of a wide number of protocols, send them on wire, capture them, match requests and replies, and much more. By using Scapy, we are going to define our own protocol to compute Fibonacci number through packets sending and receiving.
This lab aims to learn how we use Scapy and Python to program a simple network protocol and observe the behavior of packet sending and receiving via Wireshark.
- Basic knowledge of Docker
- Linux networking
- Python with Scapy
- Wireshark
- Git & GitHub
- In lab course (Oct. 11 @EC-315, 316)
- Environment Setup
- Define protocol via Scapy
- Send packets
- Sniff packets
- Run sender and receiver
- Push your files to remote
- Homework
- Load PCAP via Wireshark
- Filter the target packet
- Decode the secret key
- Report
This repository is inspired by Kevin Cyu. He gave me lots of advices and supports during preparation.
GNU GENERAL PUBLIC LICENSE Version 3