Inetd-style components are declared using
statement. The ‘component’ declaration must contain a
Define a socket to listen on. Allowed values for url are:
Listen on IPv42 address ip (may be given as a symbolic host name), on port port. Optional proto defines the protocol to use. It must be a valid protocol name as given in /etc/protocols. Default is ‘tcp’.
Listen on the UNIX socket file file, which is either an absolute or relative file name, as described above. The proto part is as described above. Optional arguments, args, control ownership and file mode of file. They are a list of assignments, separated by semicolons. The following values are allowed:
User name of the socket owner.
Owner group of the socket, if it differs from the
Socket file mode (octal number between ‘0’ and ‘777’).
Umask to use when creating the socket (octal number between ‘0’ and ‘777’).
The file part may be a relative file name,
provided that the
chdir statement is used for this component
Sets the socket type. Allowed values for type are: ‘stream’, ‘dgram’, ‘raw’, ‘rdm’, ‘seqpacket’. Default is ‘stream’. Notice that some socket types may not be implemented by all protocol families, e.g. ‘seqpacket’ is not implemented for ‘inet’.
Specifies the maximum number of times the component can be invoked in one minute; the default is unlimited. A rate of ‘0’ stands for ‘unlimited’.
Sets the maximum number of simultaneously running instances of this component. It is equivalent to the maximum number of simultaneously opened connections.
Text to send back if
max-instances is reached. This is valid
only for TCP sockets.
Maximum number of connections that can be opened simultaneously from a single IP address.
Textual message to send in reply to an incoming TCP connection from the IP
address that has already reached
Set access control list for this component. This is valid only for ‘inetd’ and ‘accept’ components. See ACL, for a detailed description of access control lists.
Textual message to send in reply to an incoming TCP connection that has been denied by ACL settings.
|• builtin||Built-in Inetd Services|
|• TCPMUX||TCPMUX Services|
|• sockenv||Socket Environment Variables|
|• inetd exit||Exit Actions in Inetd Components|
Support for IPv6 will be added in future versions.