Networking Tools

Lecture Video

On June 9, 2021 Prof Lundrigan discussed some common networking tools. The video is embedded below.

Timestamps

0:00 Introduction
1:19 ifconfig and ip address
6:59 ping
10:34 dig and nslookup
16:18 traceroute
21:05 curl/wget/httpie
30:04 arp
31:53 nmap
37:28 nc
40:38 tcpdump/wireshark/tshark
52:06 Wrap-up

Tools

  • ifconfig or ip
    • Shows information about your computer’s networking interfaces (e.g., MAC address, IP address).
  • ping
    • Sends small message to a computer. Helpful to see if a computer is connected and the latency between computers.
  • dig or nslookup
    • Run a DNS lookup.
  • traceroute
    • List all routers between computers.
  • curl
    • Make HTTP request. By default the output is displayed in the terminal.
  • wget
    • Make an HTTP request. By default the output is downloaded as a file.
  • httpie
    • Better version of curl.
  • arp
    • Do an ARP lookup.
  • nmap
    • Networking multi-tool. Typically used for penetration testing.
  • netcat (nc)
    • Create a simple TCP or UDP server/client.
  • tcpdump
    • Trace all packets that are incoming or outgoing on your computer.
  • wireshark
    • Better than tcpdump with a graphical interface.
  • tshark
    • Terminal version of Wireshark.