RFC 996 (rfc996) - Page 2 of 3
Statistics server
Alternative Format: Original Text Document
RFC 996 February 1987
commands and responses must fit into a single 576-octet IP datagram.
In both UDP and TCP the assigned port number is 133 (decimal).
As is conventional in other lightweight services of this type
(NETSTAT, FINGER, etc.), there is no provision for access control or
authentication in STATSRV. If necessary, each command could include a
password or other mechanism to discourage casual abuse.
EXAMPLE
The Fuzzball system includes many local commands to display internal
data structures, including one that produces the following billboard
for each network device, in this case "dm0" on host "udel2.udel.edu":
Process type: 000027 options: 040000
Subnet: DMV status: 376 hello: 15 timeout: 2000
Foreign address: [192.5.39.87] max size: 576
Input packets 3645 Output packets 3690
bad format 0 ICMP msgs 0
bad checksum 0 Input errors 0
returned 0 Output errors 0
dropped 2 No buffer 0
HELLO msgs 2286 Preempted 0
The same billboard is returned as a null-terminated ASCII string in a
UDP datagram by sending the null-terminated ASCII command "dm0" in a
UDP datagram to the host. Similar billboards can be produced for most
processes in the system. Unix programs and shell scripts have been
built which send commands like these to selected hosts on a periodic
basis in order to construct a simple, ad-hoc monitoring facility.
REFERENCES
[1] Flood Page, D.,"Gateway Monitoring Protocol", DARPA Network
Working Group Report IEN-131, Bolt Beranek and Newman, February
1980.
[2] Flood Page, D., "The CMCC Terminal Process", DARPA Network
Working Group Report IEN-132, Bolt Beranek and Newman, February
1980.
[3] Flood Page, D., "CMCC Performance Measurement Message Formats",
DARPA Network Working Group Report IEN-157, Bolt Beranek and
Newman, September 1980.
[4] Jones, R.G., " A Proposal for Simple Measurement Support for
Users", DARPA Network Working Group Report IEN-161, University
College London, November 1980.
D. L. Mills