Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

d01c2/pcap-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pcap-test

This is the assignment repository for the System Network Security course held at Korea University in Spring 2024. Below are the requirements for the assignment:

Assignment

Write a program that captures packets and prints important information including:

  • Ethernet Header - src mac / dst mac
  • IP Header - src ip / dst ip
  • TCP Header - src port / dst port
  • Payload(Data) - hexadecimal value (MAX 20 bytes)

Instructions

make
./pcap-test wlan0

Details

  • Print the information above only when TCP packets are captured.
  • Use network library or define custom structures for packet header structure.

Additional

You should also upload the project file(Makefile) along with source code files.

Releases

No releases published

Packages

No packages published