Question
Install the nmap package. Create a bogus user with a simple password (and dont forget it). bogususer / supersecurepassword387 for example. Install and configure an
Install the nmap package.
Create a bogus user with a simple password (and dont forget it).
bogususer / supersecurepassword387 for example.
Install and configure an FTP server. Instructions here.Make sure bogususer can login to ftp from your Mac.
Command + k in the Finder to open a new connection: ftp://[your centos os]
Task 1: Fun Commands
netstat
What is the netstat command to see what sockets are listening on TCP (specifically IPv4)?
What services are currently listening?
Are there any services that are strictly locally bound? How can you tell which ones are locally bound or not?
nmap
What is the command to scan ports 20-25 on localhost only?
What ports/services are open on your CentOS?
What OS does nmap think youre running?
tcpdump
sudo tcpdump -i [WHICH INTERFACE?] -nn port [WHICH PORT DOES FTP RUN ON?] -w tcpdump.out
Now login to your ftp server from your mac again.
sudo tcpdump -r tcpdump.out -XX
Find your login information.
Reflect on the lesson here (how is it possible, how can you prevent it, is it really that insecure?)
Task 2: Firewall Action
Use the firewall-cmd to drop all incoming pings.
Try to ping your CentOS machine from your Mac. It should not work.
Write down the command.
Remove the previous rule created (the one from question 1)
Write down the command.
Task 3: Understanding Traceroute
Find a working traceroute server from this page.
Run a traceroute from one of the links.
It will traceroute from its location to our school.
Now run a traceroute from the command line to the host that you used from the link.
Include the output in a text file for both.
Why may the traceroutes be different?
What do the asterisks mean in a traceroute?
Do you see cenic.net anywhere in the traceroute? Goto their website.
What is the role of an Internet backbone company?
Please answer all the questions in bold, I will give you the thumbs up, thanks !
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started