diff --git a/hw2/README.md b/hw2/README.md new file mode 100644 index 0000000..d39c07d --- /dev/null +++ b/hw2/README.md @@ -0,0 +1 @@ +Todo \ No newline at end of file diff --git a/hw2/script.sh b/hw2/script.sh new file mode 100644 index 0000000..0d27d8b --- /dev/null +++ b/hw2/script.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +#Perform a tcpdump capture where you only capture DNS packets. +sudo tcpdump -c 10 -ttt 'tcp port 53 or udp port 53' +#Perform a tcpdump capture where you capture TCP packets that are destined for either port 443 or 8080, and originate from your computer. + + +#Perform a tcpdump capture where traffic is either UDP or TCP, is inbound to your computer, and destined for a port between 20000 and 35000.