TCP Versus UDP

Germane to the theory behind firewalling is the idea that connections can be limited based on the service being offered or sought. Because each TCP/IP service has a unique socket number that it listens to (remember from the telephone analogy that a port is the extension number that the service person for the company answers), it’s reasonably easy for a router or proxy server to limit connections to these ports. Because limits are placed on the port numbers themselves, it follows that the service is also limited. This means that you can pick and choose among the services that might travel in or out of the firewall.

Actually, services ...

Get Sams Teach Yourself Network Troubleshooting in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.