Privacy and Security Notice

Port Usage and Network Service

This page should be useful for most computers providing IP-based network services. There are, however, some site- and platform- dependent comments and attitudes expressed.

This document was originated in concept and form by Larry Doolittle with contributions by Steve Wood.

The concept of "ports", or "network services" is given in the basic TCP and UDP specifications (RFC 793, RFC 768) which in turn are based on IP (RFC 791). Many of these of these services are covered by IETF STD documents, indexed by the IETF at http://www.rfc-editor.org/rfc.html as well as in this document.

A mapping from protocol and port number to short descriptive text is found in the file /etc/services. This file forms the database for library calls getservbyname, getservbyport, getservent, setservent, and endservent.

The condensed recommendation for all these ports is, "If you don't use it, turn it off!" There is no reason to have extra open ports enabled in inetd, or extra daemon processes lying around. Any enabled, unattended program provides an attacker with a potential means of entry. Every disabled program gives you a chance to snicker nonchalantly at every security bulletin involving that program.

echo

ftp

ssh

telnet

smtp

http

pop3

imap

ntp

X


Created: 28 August, 1997
Original Authors: Larry Doolittle, Steve Wood

This document is maintained by {helpdesk@jlab.org}

Copyright Jefferson Lab 2007