5 ms·
The ports = doors analogy fails: For doors you are supposed to enter, like shops, there are signs to let you know that it’s OK to enter them. There are no suc
by teddyh 10y ago
The ports = doors analogy fails: For doors you are supposed to enter, like shops, there are signs to let you know that it’s OK to enter them. There are no such things for ports. There were, once upon a time, such a thing; an enumerated list, in a DNS “WKS” record, of ports you were expected to use. As part of the deprecation of the WKS record, RFC 1123 states “To confirm that a service is present, simply attempt to use it.”.
- cmdrfred 10y ago“To confirm that a service is present, simply attempt to use it.” Isn't the inverse of that true as well? If you don't want someone using a port, close it.
- teddyh 10y agoIf you by “close it” mean “don’t have something listening on it”, then yes.
- cmdrfred 10y agoI feel close is a better word. Not only is it far more concise. The port still may have a listener that can be accessed over a VPN or internal network you might just prevent access at the edge firewall for example.