Penguin
Note: You are viewing an old revision of this page. View the current version.

SERVICES

SERVICES

NAME DESCRIPTION BUGS FILES SEE ALSO


NAME

services - Internet network services list

DESCRIPTION

services is a plain ASCII file providing a mapping between friendly textual names for internet services, and their underlying assigned port numbers and protocol types. Every networking program should look into this file to get the port number (and protocol) for its service. The C library routines getservent(3), getservbyname(3), getservbyport(3), setservent(3), and endservent(3) support querying this file from programs.

Port numbers are assigned by the IANA (Internet Assigned Numbers Authority), and their current policy is to assign both TCP and UDP protocols when assigning a port number. Therefore, most entries will have two entries, even for TCP only services.

Port numbers below 1024 (so-called 'low numbered' ports) can only be bound to by root (see bind(2), tcp(7), and udp(7).) This is so that clients connecting to low numbered ports can trust that the service running on the port is the standard implementation, and not a rogue service run by a user of the machine. Well-known port numbers specified by the IANA are normally located in this root only space.

The presence of an entry for a service in the services file does not necessarily mean that the service is currently running on the machine. See __inetd.conf__(5)? for the configuration of Internet services offered. Note that not all networking services are started by inetd(8), and so won't appear in __inetd.conf__(5)?. In particular, news (NNTP) and mail (SMTP) servers are often initialised from the system boot scripts.

The location of the services file is defined by _PATH_SERVICES in /usr/include/netdb.h. This is usually set to /etc/services.

Each line describes one service, and is of the form:

service-name port/protocol

Fatal Error:

lib/CachedMarkup.php (In template 'browse' < 'body' < 'html'):257: Error: Pure virtual

lib/InlineParser.php:336: Warning: Invalid [] syntax ignored: [[''aliases

  • ...'']


Fatal PhpWiki Error

lib/CachedMarkup.php (In template 'browse' < 'body' < 'html'):257: Error: Pure virtual