Podcast
Questions and Answers
What command can be used to scan a host using its host name?
What command can be used to scan a host using its host name?
Which command is used to scan multiple IP addresses or subnets in IPv4?
Which command is used to scan multiple IP addresses or subnets in IPv4?
How can ping be instructed to exit after a specified number of ECHO_REQUEST packets?
How can ping be instructed to exit after a specified number of ECHO_REQUEST packets?
What is the purpose of using 'traceroute -T www.google.com' command?
What is the purpose of using 'traceroute -T www.google.com' command?
Signup and view all the answers
What does the command 'nmap 163.53.78.128' imply?
What does the command 'nmap 163.53.78.128' imply?
Signup and view all the answers
What version of HTTP is typically used when retrieving HTML files from a server?
What version of HTTP is typically used when retrieving HTML files from a server?
Signup and view all the answers
How can one identify remote host apps and OS?
How can one identify remote host apps and OS?
Signup and view all the answers
Which command should be used to retrieve the last modified date of an HTML file from the server?
Which command should be used to retrieve the last modified date of an HTML file from the server?
Signup and view all the answers
"nmap" is commonly used for ________.
"nmap" is commonly used for ________.
Signup and view all the answers
"sudo" is a command used for ________.
"sudo" is a command used for ________.
Signup and view all the answers
Study Notes
Week #1: Basic Networking Tools
- Wireshark, Tcpdump, Ping, Traceroute, and Nmap are essential networking tools to understand.
- The lab manual is written for Ubuntu Linux OS only, and experiments can be executed on VirtualBox or VMWare platforms.
Linux Interface Configuration (ifconfig/IP command)
-
ifconfig
orip addr show
displays the status of all active network interfaces. - Assign an IP address to an interface using
sudo ifconfig interface_name 10.0.your_section.your_sno netmask 255.255.255.0
orsudo ip addr add 10.0.your_section.your_sno /24 dev interface_name
. - Activate/deactivate a network interface using
sudo ifconfig interface_name down
andsudo ifconfig interface_name up
. - Show the current neighbor table in the kernel using
ip neigh
.
Ping PDU (Packet Data Units or Packets) Capture
- Assign an IP address to the system (Host) using
sudo ifconfig interface_name 10.0.your_section.your_sno netmask 255.255.255.0
. - Launch Wireshark and select the 'any' interface.
- Analyze the TTL, protocol used by ping, and time in the terminal.
- Analyze the frames with the first echo request and echo reply in Wireshark.
HTTP PDU Capture Using Wireshark's Filter feature
- Launch Wireshark and select the 'any' interface.
- Filter HTTP packets using
http
in the filter toolbar. - Analyze the first and second frames (interaction of host to the web server and response of server to the client).
- Analyze the HTTP request and response using Wireshark's Follow TCP Stream.
Capturing packets with Tcpdump
- Use
tcpdump -D
to see available interfaces for capture. - Capture all packets in any interface using
sudo tcpdump -i any
. - Perform some pinging operation while capturing packets.
- Filter packets based on protocol using
sudo tcpdump -i any -c5 icmp
. - Save packets to a file using
sudo tcpdump -i any -c10 -nn -w webserver.pcap port 80
.
Perform Traceroute checks
- Run the traceroute using
sudo traceroute www.google.com
. - Analyze the destination address of google.com and the number of hops.
- Use the
-n
option to disable the mapping of IP addresses with hostnames. - Use the
-I
option to use ICMP packets. - Use the
-T
flag to test a TCP connection.
Explore an entire network for information (Nmap)
- Scan a host using its hostname or IP address using
nmap www.pes.edu
ornmap 163.53.78.128
. - Scan multiple IP addresses or subnets using
nmap 192.168.1.1 192.168.1.2 192.168.1.3
.
Submission Guidelines
- Take screenshots of results after execution of every command in every task.
- Write the task and 2-3 lines of observation followed by screenshots.
- Submissions will be through Google Forms.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Enhance your knowledge on basic networking tools such as Wireshark, Tcpdump, Ping, Traceroute, and Nmap. Learn to capture and analyze network packets, test connectivity between systems, and explore networks using Ubuntu Linux OS.