Linux › Section I · Your network and its configuration › Topic I.9

The transport layer: TCP, UDP, and services

IP gets data to the right machine; port numbers get it to the right program. This topic shows how to list the connections and listening services on a Linux host with ss, how to tell a client from a server at a glance, and why some ports need root.

In this topic

  • From hosts to programs
  • TCP connections and UDP sockets
  • Listing sockets with ss
  • Reading a connection line
  • Client or server?
  • Worked example: who started each connection?
  • Listening sockets and exposure
  • Worked example: auditing a server
  • Service names and privileged ports
  • Common mistakes to avoid
  • Key takeaways

This topic is part of Wuanberri Pro. Checking your access…

← Previous topicNext topic →