Homework 3

Due date: 2 December 2022 at 11:59pm MST

Homework 3 has only one part, with ten questions for 10 points each totalling 100 points.

Notes

This is an individual assignment. DO NOT share your solution with others or use solutions from others. You may have high-level discussions with your classmates about it, and you may use/share any source code that existed before the assignment was assigned and is not related to any similar assignment or any past offering of CSE 468 or a related class at ASU. You may use any source code I provided for lecture purposes at any time.

Preparation: Downloading your tarball

Start by “ratcheting” your MD5 token from homework 1.1 to find out the name of your tar ball. Do the following:

echo -n "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN" | md5sum | cut -c 1-32

But replace “NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN” with your MD5 token. The output of the above command will tell you which tar ball here is yours. Just add “.bin” to the end of your ratcheted MD5 token. Download and it decrypt it like this, using your original MD5 token as the password:

openssl aes-256-cbc -md sha256 -d -in NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN.bin -out ~/mytarball.tgz

You should be able to perform the above command on general.asu.edu or any Linux system. Then you can find your plaintext tarball for the assignment in your home directory, and decompress/untar it wherever you plan to do your homework. Don’t use /tmp on general.asu.edu for anything related to your tar ball, it caused students various errors and problems on earlier homeworks.

Do not share your tarball, MD5 token, tarball name, or anything that identifies you or your assignment in this way with others.

Ten multiple choice questions

100 out of 100 points

In your tar ball, you’ll find a text file called “questions.txt”. The questions refer to packet captures and other info you’ll find in this tar ball. Choose the best answer of the four possible answers for each question.

How to submit

You will copy and paste your answers into the Google form, no need to upload files. The Google Forms link will be provided in Piazza, note that every assignment will have a different Google Forms link to use. Try to avoid including any whitespace or newline characters, but the grading script should do a good job of removing them anyway. You will submit a string of 10 characters, corresponding to your answers for questions 0 through 9, respectively. E.g., you might submit something that looks like “babbcdbadc”, “aabddcbcab”, or “ddcaabcbab” with the exact letters depending on what the correct answers are. Note that the question numbers start at 0.