xref: /illumos-gate/usr/src/man/man8/in.chargend.8 (revision 37e2cd25d56b334a2403f2540a0b0a1e6a40bcd1)
te
Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
IN.CHARGEND 8 "Aug 23, 2004"
NAME
in.chargend - UDP or TCP character generator service daemon
SYNOPSIS

in.chargend

FMRI svc:/internet/chargen:default
DESCRIPTION

FMRI stands for Fault Management Resource Identifier. It is used to identify resources managed by the Fault Manager. See fmd(8) and smf(7).

The in.chargend service provides the server-side of the character-generator protocol. This protocol is used for debugging and bandwidth measurement and is available on both TCP and UDP transports, through port 19.

The in.chargend service is an inetd(8) smf(7) delegated service. The in.chargend detects which transport is requested by examining the socket it is passed by the inetd daemon. TCP-based service

Once a connection is established, the in.chargend generates a stream of data. Any data received is discarded. The server generates data until the client program terminates the connection. Note that the data flow is limited by TCP flow control mechanisms.

UDP-based service

The in.chargend listens for UDP datagrams. When a datagram is received, the server generates a UDP datagram in response containing a random number of ASCII characters (ranging from 0 to 512 characters). Any received data is ignored.

The in.chargend data consists of a pattern of 72 character lines containing the printable, 7-bit ASCII characters. Each line is terminated with a carriage return and a line feed character.

ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Evolving
SEE ALSO

attributes (7), smf (7), inetd (8)

RFC 864