This repository contains all the materials and documentation for the WiFi lab experiment conducted as part of the Wireless and Device-to-Device Communication Security course.
In this lab, we evaluated the performance of WiFi networks by measuring goodput in different scenarios using tools like iperf/iperf3
, Wireshark
, and other network utilities.
The lab required setting up a testbed to perform multiple experiments including:
- Both Hosts Connected via Ethernet
- Both Hosts Connected via WiFi
- Mixed Mode (one host on Ethernet and one on WiFi)
For each scenario, tests were repeated (e.g., 10 times) to capture statistical metrics such as the minimum, maximum, average, and standard deviation of the measured goodput. In addition, traffic captures were used to analyze sequence numbers, round-trip times, and throughput variations.
Note
The detailed lab report, including all experimental results and analysis, can be found here.
The primary objectives of the lab were to:
- Measure Network Goodput: Calculate the efficiency of data transfer by accounting for protocol overheads.
- Test Different Configurations: Compare performance over Ethernet, WiFi, and mixed configurations.
- Analyze Results: Use tools such as Wireshark to validate results, visualize TCP sequence graphs, and understand packet-level behavior.
Tools:
iperf
|iperf3
: To run throughput testsWireshark
: For packet capture and analysistcpdump
: To enforce monitor mode on WiFi when necessaryzizzania
: Additional tool for testing (may be optional)
- Testbed Setup: Configure two hosts under three scenarios (Ethernet, WiFi, Mixed).
- Goodput Measurement: Use
iperf/iperf3
to test data transfer. - Data Collection & Analysis: Capture traffic using Wireshark.
- Report Preparation: Prepare a detailed lab report using LaTeX.
For detailed instructions, please refer to the dedicated README.md
files in the subdirectories:
Name | GitHub | ||
---|---|---|---|
Andrea Botticella | |||
Elia Innocenti | |||
Renato Mignone | |||
Simone Romano |