Question Description
Homework set 1: Network security
This assignment has three parts, with three different due dates. Please be mindful of that. For each you will submit a plain text file (not a zip or anything like that) that has a very specific format. Please be mindful of the format as the grading is automated. More info about the format is at the bottom.
The streamy.py
file provided for the last homework assignment is a good starting point for how to write a Python script to parse a pcap file. For each question, think about whether tshark, Wireshark, a custom Python script you write, or something else is the right tool for the job.
streamy.py and .pcap files googole drive download:
https://drive.google.com/drive/folders/1ry9kPp5J5J…
Homework 1.0: A horizontal port scan
In your tarball youll find horizontal.pcap
and part0.txt
. Edit part0.txt
to answer the questions, keeping in mind the format requirements below. Then submit your edited version of the part0.txt
file without any compression or anything like that. Dont change the name of the file.
Homework 1.1: A vertical port scan
In your tarball youll find vertical.pcap
and part1.txt
. Edit part1.txt
to answer the questions, keeping in mind the format requirements below. Then submit your edited version of the part1.txt
file without any compression or anything like that. Dont change the name of the file.
Homework 1.2: A TCP/IP side channel
In your tarball youll find sidechannel.pcap
and part2.txt
. Edit part2.txt
to answer the questions, keeping in mind the format requirements below. Then submit your edited version of the part2.txt
file without any compression or anything like that. Dont change the name of the file.
Format of the text file youll upload
Its very important that you preserve the format of the text file you submit for each part. We recommend simply editing part0.txt
for Homework 1.0, part1.txt
for Homework 1.1, and part2.txt
for Homework 1.2 and submitting that, with the questions still intact. You can delete lines that start with #, or add lines that start with # for your own comments if you really want to. The automatic grader will ignore all lines that begin with #. However, if you leave the questions in place it will make manual grading easier if that should become necessary for some reason.
The lines that dont begin with # are your answers. Every answer should be a single line with no whitespace (the grader will remove all whitespace before doing a string comparison, but if your answer has whitespace in it its probably not the right answer). You should edit the lines that dont begin with # to put the answer there, there should be no lines in the file that are not answers or comments/questions (comments and homework questions begin with #).
There are only three kinds of answers:
- IP addresses, where you will replace N.N.N.N with a valid IPv4 address, such as 98.45.6.31
- MAC/hardware addresses, where you will replace HH:HH:HH:HH:HH:HH with a valid MAC/hardware address, like a4:50:4e:99:2d:55
- Other numbers, which contain only decimal digits and dots. For these youll replace N with something like 1832 or 4.1.61
##############################
If you can help me understand this homework by show me the solving process , please do so, thank you!
Let me know if you can’t download the .pcap files.