home *** CD-ROM | disk | FTP | other *** search
/ Handbook of Infosec Terms 2.0 / Handbook_of_Infosec_Terms_Version_2.0_ISSO.iso / text / rfcs / rfc0869.txt < prev    next >
Text File  |  1996-05-07  |  99KB  |  3,042 lines

  1.  
  2.  
  3.  
  4.  
  5.                             RFC - 869 
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                     A Host Monitoring Protocol 
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.                         Robert M. Hinden 
  28.  
  29.  
  30.  
  31.  
  32.  
  33.                  BBN Communications Corporation 
  34.  
  35.  
  36.  
  37.  
  38.  
  39.                           December 1983 
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  RFC-869                                             December 1983 
  55.  
  56.  
  57.  
  58.                         Table of Contents 
  59.  
  60.  
  61.  
  62.  
  63.  
  64. 1   Introduction.......................................... 1 
  65.  
  66. 2   General Description................................... 3 
  67.  
  68. 3   Relationship to Other Protocols....................... 6 
  69.  
  70. 4   Protocol Operation.................................... 7 
  71.  
  72. 5   Header Formats....................................... 12 5.1   IP Headers......................................... 12 5.2   HMP Header......................................... 13 
  73.  
  74. 6   HMP Monitoring Center Message Formats................ 16 6.1   Message Type 100: Polling Message.................. 16 6.2   Message Type 101: Error in Poll.................... 18 6.3   Message Type 102: Control acknowledgment........... 20 
  75.  
  76. A   Appendix A - IMP Monitoring.......................... 21 A.1   Message Type 1: IMP Trap........................... 21 A.2   Message Type 2: IMP status......................... 24 A.3   Message Type 3: IMP Modem Throughput............... 29 A.4   Message Type 4: IMP Host Throughput................ 32 
  77.  
  78. B   Appendix B - TAC Monitoring.......................... 35 B.1   Message Type 1: TAC Trap Message................... 35 B.2   Message Type 2: TAC Status......................... 38 B.3   Message Type 3: TAC Throughput..................... 42 
  79.  
  80. C   Appendix C - Gateway Monitoring...................... 47 C.1   Gateway Parameters................................. 47 C.2   Message Type 1: Gateway Trap....................... 48 C.3   Message Type 2: Gateway Status..................... 51 C.4   Message Type 3: Gateway Throughput................. 58 C.5   Message Type 4: Gateway Host Traffic Matrix........ 64 C.6   Message Type 6: Gateway Routing.................... 67 
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.                                 -i- 
  91.  
  92.  
  93.  RFC-869                                             December 1983 Replaces IEN-197 
  94.  
  95.                     A Host Monitoring Protocol 
  96.  
  97.  
  98.  
  99.  
  100.  
  101. 1  Introduction 
  102.  
  103.       The Host Monitoring   Protocol  (HMP)  is  used  to  collect 
  104.  
  105. information  from  hosts   in   various   networks.    A  host is 
  106.  
  107. defined as an addressable  Internet  entity  that  can  send  and 
  108.  
  109. receive  messages;  this  includes  hosts  such  as server hosts, 
  110.  
  111. personal work stations, terminal concentrators, packet  switches, 
  112.  
  113. and  gateways.  At present  the Host Monitoring Protocol is being 
  114.  
  115. used to collect information from Internet Gateways and TACs,  and 
  116.  
  117. implementations  are  being  designed  for  other  hosts.   It is 
  118.  
  119. designed to monitor hosts spread over the  internet  as  well  as 
  120.  
  121. hosts in a single network. 
  122.  
  123.       This document is organized into three parts.  Section 2  and 
  124.  
  125. 3  contains a general description of the Host Monitoring protocol 
  126.  
  127. and its relationship to other  protocols.   Section  4  describes 
  128.  
  129. how  it  operates.   Section 5 and 6 contain the descriptions and 
  130.  
  131. formats of the HMP messages.  These are  followed  by  appendices 
  132.  
  133. containing the formats of messages sent by some of the hosts that 
  134.  
  135. use the HMP  to  collect  their  monitoring  information.   These 
  136.  
  137. appendicies included as examples only and are not part of the HMP 
  138.  
  139. protocol. 
  140.  
  141.  
  142.  
  143.                                 -1- 
  144.  
  145.  
  146.  RFC-869                                             December 1983 
  147.  
  148.  
  149.  
  150.      This document replaces the previous HMP document "IEN-197, A 
  151.  
  152. Host Monitoring Protocol." 
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.                                 -2- 
  201.  
  202.  
  203.  RFC-869                                             December 1983 
  204.  
  205.  
  206.  
  207. 2  General Description 
  208.  
  209.       The  Host  Monitoring  Protocol  is  a  transaction-oriented 
  210.  
  211. (i.e.,  connection-less)  transport protocol.  It was designed to 
  212.  
  213. facilitate  certain  simple  interactions  between  two  internet 
  214.  
  215. entities,  one  of which may be considered to be "monitoring" the 
  216.  
  217. other.  (In discussing the protocol we will sometimes speak of  a 
  218.  
  219. "monitoring host" and a "monitored entity".)  HMP was intended to 
  220.  
  221. be a useful transport protocol for applications that involve  any 
  222.  
  223. or all of the following three different kinds of interactions: 
  224.  
  225.     - The monitored entity sometimes  needs  to  send  unsolicited      datagrams  to  the  monitoring  host.   The  monitoring host      should be able to tell  when  messages  from  the  monitored      entity  have  been lost in transit, and it should be able to      determine the order in which the messages were sent, but the      application  does  not require that all messages be received      or that they be received strictly in the  same  sequence  in      which they were sent. 
  226.  
  227.    - The monitoring host needs to gather data from the  monitored      entity by using a query-response protocol at the application      level.  It is important to be able to determine which  query      is being answered by a particular response, and to determine      whether successive  responses  are  duplicates  of  previous      ones. 
  228.  
  229.    - The monitoring host must be able to initiate certain control      functions  in  the  monitored entity, possibly including the      setting  of  parameters  in  the  monitored   entity.    The      monitoring  host  needs  to know if the control function has      been carried out. 
  230.  
  231.       In addition, we assume that a given monitoring host  may  be 
  232.  
  233. monitoring  several  different  types of entities simultaneously, 
  234.  
  235. and may be gathering several different types of data from a given 
  236.  
  237.  
  238.  
  239.                                -3- 
  240.  
  241.  
  242.  RFC-869                                             December 1983 
  243.  
  244.  
  245.  
  246. type of monitored entity.  Several different monitoring hosts may 
  247.  
  248. be monitoring a given entity, and several processes on  the  same 
  249.  
  250. host may even be monitoring the same entity. 
  251.  
  252.       Messages from the monitoring host to  the  monitored  entity 
  253.  
  254. are  called  "polls".  They need to contain enough information to 
  255.  
  256. allow the monitored entity to make the following determinations: 
  257.  
  258.     - The monitored entity must be able  to  determine  that  this      message  is  in  fact  a  poll  from a monitoring host.  The      "system type," "message type," and "password" fields in  the      HMP header have been defined to meet this need. 
  259.  
  260.    - The monitored entity may need to be  able  to  identify  the      particular  process  on  the  monitoring host that sent this      poll, so it can send its response back to the right process.      The  "port  number" field in the HMP header has been defined      to meet this need. 
  261.  
  262.    - The monitored  entity  must  be  able  to  indicate  to  the      monitoring  host,  in its response, precisely which query is      being answered by  a  particular  response.   The  "sequence      number field" has been defined to meet this need. 
  263.  
  264.    - The monitored entity must be able  to  determine  just  what      kind  of action the monitoring host is requesting.  That is,      the  HMP  transport  protocol  must  provide  some  way   of      multiplexing  and  demultiplexing  the  various higher-level      applications which use it.  The  "R-message  type"  and  "R-      subtype"  fields of the polling message have been defined to      meet this need. 
  265.  
  266.       Messages from the monitored entity to  the  monitoring  host 
  267.  
  268. need  to contain enough information to enable the monitoring host 
  269.  
  270. to make the following determination: 
  271.  
  272.     - The monitoring host must be able to route  this  message  to      the  correct  process.   The  "port number" field meets this      need. 
  273.  
  274.                                 -4- 
  275.  
  276.  
  277.  RFC-869                                             December 1983 
  278.  
  279.  
  280.  
  281.    - The monitoring host  must  be  able  to  match  up  received      messages  with  the  polls, if any, that elicited them.  The      "returned sequence number" field in the HMP header has  been      defined to meet this need. 
  282.  
  283.    - The monitoring host must be able to determine  which  higher      level  application should receive a particular message.  The      "system type" and "message type" fields are  used  for  this      purpose. 
  284.  
  285.    - The monitoring host must be able to determine  whether  some      messages  of  a given type were lost in transit, and whether      messages  have  arrived  out  of  sequence.   Although  this      function,  strictly speaking, belongs to the application and      not to the  transport  layer,  the  HMP  header  contains  a      "sequence number" for this purpose. 
  286.  
  287.       In addition, a simple one's complement checksum is  provided 
  288.  
  289. in the HMP header to detect data corruption during transmission. 
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.                                 -5- 
  320.  
  321.  
  322.  RFC-869                                             December 1983 
  323.  
  324.  
  325.  
  326. 3  Relationship to Other Protocols 
  327.  
  328.       The  Host  Monitoring  Protocol  is  a  transport   protocol 
  329.  
  330. designed  to  fit into the layered internet protocol environment. 
  331.  
  332. It operates on  top  of  the  Internet/ICMP  protocol  and  under 
  333.  
  334. applications  that  require  its  services.  This relationship is 
  335.  
  336. illustrated in the following diagram: 
  337.  
  338.       +------+    +------+  +-------+      +------+      |TELNET| ...|  FTP |  |GATEWAY|  ... | TAC  |   Application Layer      +------+    +------+  +-------+      +------+         |          |           |             |         |          |           |             |         |__________|           |_____________|               |                       |            +------+               +-------+            |  TCP |               |  HMP  |          Transport Layer            +------+               +-------+               |                       |               |                       |            +-------------------------------------+            |    Internet Protocol & ICMP         |   Internetwork Layer            +-------------------------------------+                               |                   +------------------------+                   | Local Network Protocol |         Network Layer                   +------------------------+ 
  339.  
  340.  If internetwork services are not required it should  be  possible 
  341.  
  342. to  run  the HMP without an Internetwork layer.  As long as HMPs' 
  343.  
  344. service requirnments (addressing,  protocol  demultiplexing,  and 
  345.  
  346. occasional  delivery)  are  met  it  should run over a variety of 
  347.  
  348. protocols. 
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.                                -6- 
  357.  
  358.  
  359.  RFC-869                                             December 1983 
  360.  
  361.  
  362.  
  363. 4  Protocol Operation 
  364.  
  365.       The  HMP  is  built  around  the  idea  that  most  of   the 
  366.  
  367. intelligence  needed  to  monitor  a  host  should  reside  in  a 
  368.  
  369. monitoring center, not in the host.  The host should be  required 
  370.  
  371. only to collect data and send it to the monitoring center, either 
  372.  
  373. spontaneously or on request from the monitoring center.  The host 
  374.  
  375. is  not  responsible  for insuring that the data arrives reliably 
  376.  
  377. (except that it checksums  the  data);  instead,  the  monitoring 
  378.  
  379. center  is  responsible for ensuring that the data it requests is 
  380.  
  381. received correctly. 
  382.  
  383.       Consequently,  the  HMP  is  based  on  polling  hosts   for 
  384.  
  385. messages.   When the monitoring center requires a particular type 
  386.  
  387. of data (e.g., throughput data), it sends  a  poll  to  the  host 
  388.  
  389. requesting  that  type  of  report.  The host, upon receiving the 
  390.  
  391. poll, responds with its latest set of  collected  data.   If  the 
  392.  
  393. host  finds that the poll is incorrect (e.g., if the poll was for 
  394.  
  395. throughput data and the host is not collecting throughput  data), 
  396.  
  397. it responds with an error message.  The monitoring center waits a 
  398.  
  399. reasonable length of time for the host to answer its poll.  If no 
  400.  
  401. response  is  received,  it sends another poll for the same data. 
  402.  
  403. In this way, if either a  poll  or  the  response  is  lost,  the 
  404.  
  405. correct data is still collected. 
  406.  
  407.  
  408.  
  409.  
  410.  
  411.                                 -7- 
  412.  
  413.  
  414.  RFC-869                                             December 1983 
  415.  
  416.  
  417.  
  418.      The HMP is used to collect three different classes of data: 
  419.  
  420.       o  Spontaneous Events (or Traps) 
  421.  
  422.      o  Current status 
  423.  
  424.      o  Statistical data collected over time 
  425.  
  426.  These classes of data allow a host to send data in a manner  best 
  427.  
  428. suited  to  the  data.  For instance, the host may quickly inform 
  429.  
  430. the monitoring center that a particular  event  has  happened  by 
  431.  
  432. sending  a  trap message, while the monitoring center is reliably 
  433.  
  434. collecting the host's throughput and accounting data. 
  435.  
  436.       Traps report spontaneous  events,  as  they  occur,  to  the 
  437.  
  438. monitoring center.  In order to insure their prompt delivery, the 
  439.  
  440. traps are  sent  as  datagrams  with  no  reliability  mechanisms 
  441.  
  442. (except  checksums)  such as acknowledgments and retransmissions. 
  443.  
  444. Trap messages usually contain an  identifier  to  indicate  which 
  445.  
  446. event  is  being  reported,  the  local time in the host that the 
  447.  
  448. event occured, and data pertinent to the event.  The data portion 
  449.  
  450. is intended to be host and event specific. 
  451.  
  452.       Status information, the second type of data collected by the 
  453.  
  454. Host Monitoring Protocol describes the current state of the host. 
  455.  
  456. Status information is useful at one point, but it does  not  have 
  457.  
  458. to be collected cumulatively over a certain period of time.  Only 
  459.  
  460. the latest status is of interest; old status provides  no  useful 
  461.  
  462. information.   The  monitoring center collects status information 
  463.  
  464.                                 -8- 
  465.  
  466.  
  467.  RFC-869                                             December 1983 
  468.  
  469.  
  470.  
  471. by sending a poll for status to a host.  Upon receiving the poll, 
  472.  
  473. the  host  responds  with  its  latest status information, always 
  474.  
  475. creating a new status message.  If the monitoring center does not 
  476.  
  477. receive  a  response  to  its  poll,  it sends another poll.  The 
  478.  
  479. monitoring center can decide if the host is up or down  based  on 
  480.  
  481. whether the host responds to its polls. 
  482.  
  483.       The third type of data collected by the HMP  is  statistical 
  484.  
  485. data.  These are measurements taken over time, such as the number 
  486.  
  487. of packets sent or received by a host and the  count  of  packets 
  488.  
  489. dropped  for  a  particular reason.  It is important that none of 
  490.  
  491. this type of data be lost.  Statistical data is  collected  in  a 
  492.  
  493. host  over  a  time  interval.  When the collection time interval 
  494.  
  495. expires, the current data is copied  to  another  area,  and  the 
  496.  
  497. counters  are cleared.  The copied data is sent to the monitoring 
  498.  
  499. center when the  host  receives  a  poll  requesting  statistical 
  500.  
  501. information.   If  another poll is received before the collection 
  502.  
  503. time interval has expired, the data in the buffer is sent  again. 
  504.  
  505. The  monitoring center can detect duplicate messages by using the 
  506.  
  507. sequence number in the header of the message, since each type  of 
  508.  
  509. statistical data has its own sequence number counter. 
  510.  
  511.       The collection frequency  for  statistics  messages  from  a 
  512.  
  513. particular  host  must be relatively long compared to the average 
  514.  
  515. round trip message time between the monitoring  center  and  that 
  516.  
  517. host inorder to allow the monitoring center to re-poll if it does 
  518.  
  519.                                 -9- 
  520.  
  521.  
  522.  RFC-869                                             December 1983 
  523.  
  524.   not receive an answer.   With  this  restriction,  it  should  be 
  525.  
  526. possible   to   avoid  missing  any  statistics  messages.   Each 
  527.  
  528. statistics message contains a field giving the  local  time  when 
  529.  
  530. the  data  was  collected  and  the time at which the message was 
  531.  
  532. sent.  This information allows the monitoring center to  schedule 
  533.  
  534. when  it sends a poll so that the poll arrives near the beginning 
  535.  
  536. of each collection period.  This ensures that  if  a  message  is 
  537.  
  538. lost,  the  monitoring  center  will have sufficient time to poll 
  539.  
  540. again for the statistics message for that period. 
  541.  
  542.       The HMP also includes a provision to send data to  and  read 
  543.  
  544. parameters  in  hosts.   The  data may be used to set switches or 
  545.  
  546. interval timers used to control measurements in  a  host,  or  to 
  547.  
  548. control  the  host itself (e.g. a restart switch).  The format of 
  549.  
  550. the data and parameters is host specific. 
  551.  
  552.       To send data to a host, the monitoring center sends the host 
  553.  
  554. a  poll  for a control-acknowledgment message.  This poll message 
  555.  
  556. includes the type of the data and the data being sent.  When  the 
  557.  
  558. host  receives this poll, it processes the data and responds with 
  559.  
  560. a control-acknowledgment message. 
  561.  
  562.       To read parameters in a host,  the  monitoring  center  will 
  563.  
  564. send  a  poll for parameters to the host.  This poll includes the 
  565.  
  566. type of the parameters being read.  When the host  receives  this 
  567.  
  568. poll,  it  will  send the parameters of the requested type to the 
  569.  
  570.  
  571.  
  572.                               -10- 
  573.  
  574.  
  575.  RFC-869                                             December 1983 
  576.  
  577.  
  578.  
  579. monitoring center in a parameters message. 
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.                                -11- 
  630.  
  631.  
  632.  RFC-869                                             December 1983 
  633.  
  634.  
  635.  
  636. 5  Header Formats 
  637.  
  638.       Host Monitor Protocol messages have the following format: 
  639.  
  640.                     +----------------+                     |  Local Network |                     |    Header(s)   |                     +----------------+                     |  IP header     |                     +----------------+                     |      HMP       |                     |     Header     |                     |                |                     +----------------+                     |    D           |                     |      A         |                     |        T       |                     |          A     |                     +----------------+                     |  Padding       |                     +----------------+ 
  641.  
  642.  
  643.  
  644.  
  645.  
  646. 5.1  IP Headers 
  647.  
  648. HMP messages are sent using the version 4 IP header as  described in  RFC-791  "Internet  Protocol."  The HMP protocol number is 20 (decimal).  The time to live field should be set to a  reasonable value for the hosts being monitored. 
  649.  
  650. All other fields should be set as specified in RFC-791. 
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.                                -12- 
  667.  
  668.  
  669.  RFC-869                                             December 1983 
  670.  
  671.  
  672.  
  673. 5.2  HMP Header 
  674.  
  675. The HMP header format is: 
  676.  
  677.                   0             0 0             1                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5                  +---------------+---------------+                0 |  System Type  | Message Type  |                  +---------------+---------------+                1 |  Port Number  | Control Flag  |                  +---------------+---------------+                2 |        Sequence Number        |                  +---------------+---------------+                3 |  Password or Returned Seq. #  |                  +---------------+---------------+                4 |   One's Complement Checksum   |                  +---------------+---------------+ 
  678.  
  679. HMP FIELDS: 
  680.  
  681. System Type Message Type 
  682.  
  683.      The combination  of system type and message type  determines      the format of the data in the monitoring message. 
  684.  
  685.      The system types which have been defined are: 
  686.  
  687.                     System Type  | Meaning                 ----------------+-----------------                        1        | Monitoring Host                        2        | IMP                        3        | TAC                        4        | Gateway                        5        | SIMP                        6        | BBN VAX/C70 TCP                        7        | PAD                        8        | Reserved                        9        | TIU                        10       | FEP                        11       | Cronus Host                        12       | Cronus MCS 
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.                                -13- 
  696.  
  697.  
  698.  RFC-869                                             December 1983 
  699.  
  700.  
  701.  
  702.      Message types are defined and  used  for  each  system  type      according  to  the  needs of that system.  The message types      currently defined are: 
  703.  
  704.  
  705.  
  706.                     Type   | Description                  ----------+--------------------------                            |                     1      | Trap                     2      | Status                     3      | Thruput                     4      | HTM - Host Traffic Matrix                     5      | Parameters                     6      | Routing                     7      | Call Accounting                            |                     100    | Poll                     101    | Error                     102    | Control Acknowledgment 
  707.  
  708.  
  709.  
  710.  Port Number 
  711.  
  712.      This field can be used to multiplex similar messages to/from      different processes in one host.  It is currently unused. 
  713.  
  714. Control Flag 
  715.  
  716.      This field is used to pass control  information.   Currently      Bit  15  is  defined  as  the  "More bit" which is used in a      message in responce to a poll to indicate that there is more      data to poll for. 
  717.  
  718. Sequence Number 
  719.  
  720.      Every message contains  a  sequence  number.   The  sequence      number  is incremented when each new message of that type is      sent. 
  721.  
  722. Password or Returned Sequence Number 
  723.  
  724.      The  Password field of a polling message from an  monitoring      center  contains a password to  verify  that the  monitoring      center is  allowed  to  gather  information.   Responses  to      polling   messages   copy   the  Sequence  Number  from  the      polling  message   and  return  it   in   this   field   for 
  725.  
  726.                                -14- 
  727.  
  728.  
  729.  RFC-869                                             December 1983 
  730.  
  731.  
  732.  
  733.      identification and round-trip time calculations. 
  734.  
  735. Checksum 
  736.  
  737.      The  Checksum  field  is  the one's complement of the  one's      complement  sum of all the 16-bit words in  the  header  and      data  area. 
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.                                -15- 
  782.  
  783.  
  784.  RFC-869                                             December 1983 
  785.  
  786.  
  787.  
  788. 6  HMP Monitoring Center Message Formats 
  789.  
  790. 6.1  Message Type 100: Polling Message 
  791.  
  792. Description 
  793.  
  794.      The monitoring center will send polls to  the  hosts  it  is      monitoring  to  collect their monitoring data. When the host      receives a poll it will  return   a   message  of  the  type      requested.   It   will  only  answer a poll with the correct      system type and password and will return  an  error  message      (Message  Type  101)  if  it  receives  a poll for the wrong      system type or an unsupported message type. 
  795.  
  796.      The Poll message includes a  facility  to  send  data  to  a      monitored host.  The poll message to send data consists of a      poll  for  a  Control  Acknowledgment  message  (type   102)      followed  by  the data.  The R-Subtype specifies the type of      the data that  is  being  sent.   When  the  monitored  host      receives  a  Poll for a Control acknowledgment, it processes      the data, and then responds with an  Control  acknowledgment      message.  If the monitored host can not process the data, it      should respond with an error message. 
  797.  
  798.      A poll to read parameters consists a poll for  a  Parameters      message.   The  R-Subtype  specifies  the type of parameters      being read.  When the monitored host receives a poll  for  a      Parameters  message,  it  responds with a Parameters message      containing the requested information. 
  799.  
  800.      A polling message has the following form: 
  801.  
  802.               0             0 0             1               0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5              +---------------+---------------+            0 | R-Message Type|   R-Subtype   |              +---------------+---------------+ 
  803.  
  804.              +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+            1 |             Data              |              +                               +            2 |                               |              +                               +              .                               .              .                               .            n |                               |              +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
  805.  
  806.  
  807.  
  808.                                -16- 
  809.  
  810.  
  811.  RFC-869                                             December 1983 
  812.  
  813.  
  814.  
  815. HMP FIELDS 
  816.  
  817. System Type 
  818.  
  819.      The type of machine being polled. 
  820.  
  821. Message Type 
  822.  
  823.      Polling Message = 100 
  824.  
  825. Port Number 
  826.  
  827.      Unused 
  828.  
  829. Control Flag 
  830.  
  831.      Unused 
  832.  
  833. Sequence Number 
  834.  
  835.      The sequence number identifies  the  polling  request.   The      Monitoring  Center  will  maintain separate sequence numbers      for each host it monitors.  This sequence number is returned      in the response to a poll and the monitoring center will use      this information to associate polls with their responses and      to determine round trip times. 
  836.  
  837. Password 
  838.  
  839.      The monitoring password. 
  840.  
  841. POLL FIELDS 
  842.  
  843. R-Message Type 
  844.  
  845.      The message type requested. 
  846.  
  847. R-Subtype 
  848.  
  849.      This field is used when sending data and reading  parameters      and  it  specifies  the  type  of  the  data  being  sent or      parameters being read. 
  850.  
  851. Data 
  852.  
  853.      When  the  poll  is  requesting  a  Control   Acknowledgment      message,  data  is included in the poll message.  A poll for      any other type of message does not include any data  .   The      contents of the data is host specific. 
  854.  
  855.                                -17- 
  856.  
  857.  
  858.  RFC-869                                             December 1983 
  859.  
  860.  
  861.  
  862. 6.2  Message Type 101: Error in Poll 
  863.  
  864. Description 
  865.  
  866.      This message is sent  in  response  to  a  faulty  poll  and      specifies the nature of the error. 
  867.  
  868.      An error message has the following form: 
  869.  
  870.               0             0 0             1               0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5              +---------------+---------------+            0 |          Error Type           |              +---------------+---------------+            1 | R-Message Type|   R-Subtype   |              +---------------+---------------+ 
  871.  
  872. HMP FIELDS 
  873.  
  874. System Type 
  875.  
  876.      The type of machine sending message. 
  877.  
  878. Message Type 
  879.  
  880.      Error Message = 101 
  881.  
  882. Port Number 
  883.  
  884.      Unused 
  885.  
  886. Control Flag 
  887.  
  888.      Unused 
  889.  
  890. Sequence Number 
  891.  
  892.      A 16 bit number incremented each time an  error  message  is      sent. 
  893.  
  894. Returned Sequence Number 
  895.  
  896.      The Sequence Number of the polling message which caused  the      error. 
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.                               -18- 
  905.  
  906.  
  907.  RFC-869                                             December 1983 
  908.  
  909.  
  910.  
  911. ERROR MESSAGE FIELDS 
  912.  
  913. Error Type 
  914.  
  915.      This field specifies the nature of the error  in  the  poll.      The following error types have been defined. 
  916.  
  917.                   1 = Reason unspecified.                  2 = Bad R-Message Type.                  3 = Bad R-Subtype.                  4 = Unknown parameter                  5 = Invalid parameter value                  6 = Invalid parameter/value format                  7 = Machine in Loader 
  918.  
  919. R-Message Type R-Subtype 
  920.  
  921.      These fields identify the poll request in error. 
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.                               -19- 
  954.  
  955.  
  956.  RFC-869                                             December 1983 
  957.  
  958.  
  959.  
  960. 6.3  Message Type 102: Control acknowledgment 
  961.  
  962. Description 
  963.  
  964.      This message is sent in response to a poll for this type  of      message.   It  is used to acknowledge poll messages that are      used to set parameters in the monitored host. 
  965.  
  966.      The Control acknowledgment has no fields other than the  HMP      header. 
  967.  
  968. HMP FIELDS 
  969.  
  970. System Type 
  971.  
  972.      The type of the system sending the message. 
  973.  
  974. Message Type 
  975.  
  976.      Control acknowledgment = 102 
  977.  
  978. Port Number 
  979.  
  980.      Unused 
  981.  
  982. Control Flag 
  983.  
  984.      Unused 
  985.  
  986. Sequence Number 
  987.  
  988.      A  16  bit  number   incremented   each   time   a   Control      acknowledgment message is sent. 
  989.  
  990. Returned Sequence Number 
  991.  
  992.      The Sequence Number of the polling message  which  requested      this message. 
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.                               -20- 
  1007.  
  1008.  
  1009.  RFC-869                                             December 1983 
  1010.  
  1011.  
  1012.  
  1013. A  Appendix A - IMP Monitoring 
  1014.  
  1015. A.1  Message Type 1: IMP Trap 
  1016.  
  1017. Description 
  1018.  
  1019.      When a trap occurs, it is buffered in the IMP  and  sent  as      soon  as possible.  Trap messages are unsolicited.  If traps      happen in close sequence, several traps may be sent  in  one      message. 
  1020.  
  1021.      Through the use of sequence numbers, it will be possible  to      determine   how  many  traps  are  being  lost.   If  it  is      discovered that many are lost, a  polling  scheme  might  be      implemented for traps. 
  1022.  
  1023.      A IMP trap message has the following form: 
  1024.  
  1025.                   0             0 0             1                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5                  +---------------+---------------+                0 |       # of traps lost         |                  +---------------+---------------+                1 :         first                 :                . :             trap              :                . :                 data          :                . +---------------+---------------+                . :         additional            :                . :             trap              :                . :                 data          :                  +---------------+---------------+ 
  1026.  
  1027.  HMP Fields 
  1028.  
  1029. System Type 
  1030.  
  1031.      IMP = 2 
  1032.  
  1033. Message Type 
  1034.  
  1035.      IMP Trap Message = 1 
  1036.  
  1037. Port Number 
  1038.  
  1039.      Unused 
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.                               -21- 
  1046.  
  1047.  
  1048.  RFC-869                                             December 1983 
  1049.  
  1050.  
  1051.  
  1052. Control Flag 
  1053.  
  1054.      Unused 
  1055.  
  1056. Password 
  1057.  
  1058.      Unused 
  1059.  
  1060. Sequence Number 
  1061.  
  1062.      A 16 bit number incremented each time a trap message is sent      so  that  the  HM  can  order the received trap messages and      detect missed messages. 
  1063.  
  1064. IMP TRAP FIELDS 
  1065.  
  1066. # of traps lost 
  1067.  
  1068.      Under certain conditions, an IMP may overflow  its  internal      trap  buffers  and  be  unable  to save traps to send.  This      counter keeps track of such occurrences. 
  1069.  
  1070. Trap Reports 
  1071.  
  1072.      There can be several blocks of trap data  in  each  message.      The format for each such block is below. 
  1073.  
  1074.  
  1075.  
  1076.                  +---------------+---------------+                  |             Size              |                  +---------------+---------------+                  |             Time              |                  +---------------+---------------+                  |            Trap ID            |                  +---------------+---------------+                  :             Trap              :                  :             Data              :                  +---------------+---------------+ 
  1077.  
  1078.    Size 
  1079.  
  1080.      Size is the number of 16 bit words in the trap, not counting      the size field. 
  1081.  
  1082.   Time 
  1083.  
  1084.      The time (in 640 ms. units)  at  which  the  trap  occurred. 
  1085.  
  1086.                                -22- 
  1087.  
  1088.  
  1089.  RFC-869                                             December 1983 
  1090.  
  1091.  
  1092.  
  1093.      This  field  is  used to sequence the traps in a message and      associate groups of traps. 
  1094.  
  1095.   Trap ID 
  1096.  
  1097.      This is usually the program counter at  the  trap.   The  ID      identifies  the  trap,  and  does  not  have to be a program      counter, provided it uniquely identifies the trap. 
  1098.  
  1099.   Trap Data 
  1100.  
  1101.      The IMP returns data giving more information about the trap.      There are usually two entries: the values in the accumulator      and the index register at the occurrence of the trap. 
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.                               -23- 
  1140.  
  1141.  
  1142.  RFC-869                                             December 1983 
  1143.  
  1144.  
  1145.  
  1146. A.2  Message Type 2: IMP status 
  1147.  
  1148. Description 
  1149.  
  1150.      The status message gives a quick summary of the state of the      IMP.   Status  of the most important features of the IMP are      reported  as  well  as  the  current  configuration  of  the      machine. 
  1151.  
  1152.      The format of the status message is as follows: 
  1153.  
  1154.                   0             0 0             1                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5                  +---------------+---------------+                0 |    Software Version Number    |                  +---------------+---------------+                  |       Last Trap Message       |                  +---------------+---------------+                  | Max # Hosts   | Max # Modems  |                  +---------------+---------------+                  | Max # Channels|  Max # IMPs   |                  +---------------+---------------+                  |      Package bits 0-15.       |                  +---------------+---------------+                5 |      Package bits 16.-31.     |                  +---------------+---------------+                  |                               |                  +          Crash                +                  |                               |                  +                Data           +                  |                               |                  +---------------+---------------+                  |           Anomalies           |                  +---------------+---------------+               10 |   Free Pool   |   S+F Pool    |                  +---------------+---------------+                  |Reassembly Pool| Allocated Pool|                  +---------------+---------------+                  | HIHD0 | HIHD1 | HIHD2 | HIHD3 |                . +---------------+---------------+                . : HIHD4 | ...............       :                . +---------------+---------------+                              (cont.) 
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.                                -24- 
  1163.  
  1164.  
  1165.  RFC-869                                             December 1983 
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.      Imp Status (cont.) 
  1172.  
  1173.                . +---------------+---------------+                . |        Modem                  |                . +             State             +                . |                  Data         |                . +---------------+---------------+                . :         Modem   State         :                . :             Data......        :                  +---------------+---------------+ 
  1174.  
  1175.  
  1176.  
  1177. HMP FIELDS 
  1178.  
  1179. System Type 
  1180.  
  1181.      IMP = 2 
  1182.  
  1183. Message Type 
  1184.  
  1185.      IMP status message = 2 
  1186.  
  1187. Port Number 
  1188.  
  1189.      Unused 
  1190.  
  1191. Control Flag 
  1192.  
  1193.      Unused 
  1194.  
  1195. Sequence Number 
  1196.  
  1197.      A 16 bit number incremented each time a  status  message  is      sent. 
  1198.  
  1199. Password 
  1200.  
  1201.      The password contains the sequence  number  of  the  polling      message to which this message responds. 
  1202.  
  1203. IMP STATUS FIELDS 
  1204.  
  1205. Software Version Number 
  1206.  
  1207.      The IMP version number. 
  1208.  
  1209.  
  1210.  
  1211.                               -25- 
  1212.  
  1213.  
  1214.  RFC-869                                             December 1983 
  1215.  
  1216.  
  1217.  
  1218. Last Trap Message 
  1219.  
  1220.      Contains the sequence number of the last trap  message  sent      to  the  HM.  This will allow the HM to detect how many trap      messages are being lost. 
  1221.  
  1222. Hosts 
  1223.  
  1224.      The number of configured hosts in this system. 
  1225.  
  1226. Modems 
  1227.  
  1228.      The number of configured modems in this system. 
  1229.  
  1230. Channels 
  1231.  
  1232.      The maximum possible number  of  IMP-IMP  channels  in  this      system. 
  1233.  
  1234. IMPs 
  1235.  
  1236.      The maximum possible number of IMPs in this system. 
  1237.  
  1238. Package Bits 
  1239.  
  1240.      This is a bit encoded word that reports the set of  packages      currently loaded in the system.  The table below defines the      bits. 
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.                               -26- 
  1265.  
  1266.  
  1267.  RFC-869                                             December 1983 
  1268.  
  1269.  
  1270.  
  1271.                      Bit    Package                  (octal)                 (1st Word)                     1      VDH                     2      Logical address tables                     4      Mezmode                    10      Cumulative Statistics                    20      Trace                    40      TTY                   100      DDT                   200      HDLC                   400      HDH                  1000      Cassette Writer                  2000      Propagation Delay Measurement                  4000      X25                 10000      Profile Measurements                 20000      Self Authenticating Password                 40000      Host traffic Matrix                100000      Experimental/Special 
  1272.  
  1273.                 (2nd Word)                     1      End-to-end Statistics                     2      Store and Forward statistics 
  1274.  
  1275. Crash Data 
  1276.  
  1277.      Crash  data  reports  the   circumstances   surrounding   an      unexpected  crash.   The  first word reports the location of      the crash and the following two  are  the  contents  of  the      accumulator and index registers. 
  1278.  
  1279. Anomalies 
  1280.  
  1281.      Anomalies is a collection of bit  flags  that  indicate  the      state  of  various  switches or processes in the IMP.  These      are  very  machine  dependent  and  only  a   representative      sampling of bits is listed below. 
  1282.  
  1283.                Bit       Meaning              (octal)                20      Override ON               200      Trace ON              1000      Statistics ON              2000      Message Generator ON              4000      Packet Trace ON             10000      Host Data Checksum is BAD             20000      Reload Location SET 
  1284.  
  1285.  
  1286.  
  1287.                               -27- 
  1288.  
  1289.  
  1290.  RFC-869                                             December 1983 
  1291.  
  1292.  
  1293.  
  1294. Buffer Pool Counts 
  1295.  
  1296.      These are four bytes  of  counters  indicating  the  current      usage  of  buffers in the IMP.   The four counters are: free      buffers, store-and-forward buffers, reassembly  buffers  and      allocated buffers. 
  1297.  
  1298. HIHD0 - HIHDn 
  1299.  
  1300.      Each  four  bit  HIHD  field  gives   the   state   of   the      corresponding host. 
  1301.  
  1302.            Value   Meaning              0       UP              1       ready line down              2       tardy              3       non-existent 
  1303.  
  1304.  
  1305.  
  1306. Modem State Data 
  1307.  
  1308.      Modem state data contains six  fields  of  data  distributed      over  four  words.   The  first field (4 bits) indicates the      line speed; the second field (4 bits) is the number  of  the      modem  that is used by the neighboring IMP on this line; the      third field (8 bits) is the number of  line  protocol  ticks      covered  by  this  report; the fourth (1 bit) indicates line      down(1) or up(0); the fifth (7 bits) is the  IMP  number  of      neighbor  IMP on the line; and the sixth (8 bits) is a count      of missed protocol packets over the  interval  specified  in      the third field. 
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.                               -28- 
  1329.  
  1330.  
  1331.  RFC-869                                             December 1983 
  1332.  
  1333.  
  1334.  
  1335. A.3  Message Type 3: IMP Modem Throughput 
  1336.  
  1337. Description 
  1338.  
  1339.      The modem throughput message reports traffic statistics  for      each modem in the system. The IMP will collect these data at      regular intervals and save them awaiting a poll from the HM.      If  a  period  is  missed  by the HM, the new results simply      overwrite the old.  Two time stamps bracket  the  collection      interval  (data-time  and prev-time) and are an indicator of      missed reports.  In addition, mess-time indicates  the  time      at which the message was sent. 
  1340.  
  1341.      The modem throughput message will accommodate up to fourteen      modems  in  one  packet.   A provision is made to split this      into multiple packets by including a modem  number  for  the      first  entry  in  the packet.  This field is not immediately      useful, but if machine sizes grow beyond fourteen modems  or      if  modem  statistics become more detailed and use more than      three words per modem, this can be used to keep the  message      within a single ARPANET packet. 
  1342.  
  1343.      The format of the modem throughput message is as follows: 
  1344.  
  1345.                   0             0 0             1                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5                  +---------------+---------------+                0 |           Mess-Time           |                  +---------------+---------------+                  |    Software Version Number    |                  +---------------+---------------+                  |           Data-Time           |                  +---------------+---------------+                  |           Prev-Time           |                  +---------------+---------------+                  | Total  Modems |  This  Modem  |                  +---------------+---------------+                5 |                               |                . +             modem             +                . |                               |                . +           throughput          +                . |                               |                . +---------------+---------------+                . :             modem             :                . :                               :                . :          throughput           :                  +---------------+---------------+ 
  1346.  
  1347.  
  1348.  
  1349.                                -29- 
  1350.  
  1351.  
  1352.  RFC-869                                             December 1983 
  1353.  
  1354.  
  1355.  
  1356. HMP FIELDS 
  1357.  
  1358.  System Type 
  1359.  
  1360.      IMP = 2 
  1361.  
  1362. Message Type 
  1363.  
  1364.      IMP Modem Throughput message = 3 
  1365.  
  1366. Port Number 
  1367.  
  1368.      Unused 
  1369.  
  1370. Control Flag 
  1371.  
  1372.      Unused 
  1373.  
  1374. Sequence Number 
  1375.  
  1376.      A 16 bit number  incremented  at  each  collection  interval      (i.e.  when  a new throughput message is assembled).  The HM      will be  able  to  detect  lost  or  duplicate  messages  by      checking the sequence numbers. 
  1377.  
  1378. Password 
  1379.  
  1380.      The password contains the sequence  number  of  the  polling      message to which this message responds. 
  1381.  
  1382. IMP MODEM THROUGHPUT FIELDS 
  1383.  
  1384. Mess-time 
  1385.  
  1386.      The time (in 640ms. units) at which the message was sent  to      the HM. 
  1387.  
  1388. Software Version Number 
  1389.  
  1390.      The IMP version number. 
  1391.  
  1392. Data-Time 
  1393.  
  1394.      Data-time is the time (in 640ms. units)  when  this  set  of      data was collected.  (See Description.) 
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.                               -30- 
  1401.  
  1402.  
  1403.  RFC-869                                             December 1983 
  1404.  
  1405.  
  1406.  
  1407. Prev-Time 
  1408.  
  1409.      Prev-time is the time (in 640 ms.  units)  of  the  previous      collection of data (and therefore, is the time when the data      in this message began accumulating.) 
  1410.  
  1411. Total Modems 
  1412.  
  1413.      This is the number of modems in the system. 
  1414.  
  1415. This Modem 
  1416.  
  1417.      This Modem is the number of the first modem reported in this      message.   Large  systems  that  are unable to fit all their      modem reports into a single packet may  use  this  field  to      separate their message into smaller chunks to take advantage      of single packet message efficiencies. 
  1418.  
  1419. Modem Throughput 
  1420.  
  1421.      Modem  throughput  consists   of   three   words   of   data      reporting  packets  and  words  output  on  each modem.  The      first  word  counts packets  output and  the  following  two      count  word  throughput.   The  double  precision  words are      arranged high order first.  (Note  also that  messages  from      Honeywell  type machines (316s, 516s and C30s) use a fifteen      bit low order word.)  The first block reports output on  the      modem  specified  by  "This  Modem".   The  following blocks      report on consecutive modems. 
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.                                -31- 
  1444.  
  1445.  
  1446.  RFC-869                                             December 1983 
  1447.  
  1448.  
  1449.  
  1450. A.4  Message Type 4: IMP Host Throughput 
  1451.  
  1452. Description 
  1453.  
  1454.      The host throughput message reports traffic  statistics  for      each host in the system.  The IMP will collect these data at      regular intervals and save them awaiting a poll from the HM.      If  a  period  is  missed  by the HM, the new results simply      overwrite the old.  Two time stamps bracket  the  collection      interval  (data-time  and prev-time) and are an indicator of      missed reports.  In addition, mess-time indicates  the  time      at which the message was sent. 
  1455.  
  1456.      The host throughput format will hold  only  three  hosts  if      packet  boundaries are to be respected.  A provision is made      to split this into multiple  packets  by  including  a  host      number for the first entry in the packet. 
  1457.  
  1458.      The format of the host throughput message is as follows: 
  1459.  
  1460.                   0             0 0             1                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5                  +---------------+---------------+                0 |           Mess-Time           |                  +---------------+---------------+                  |    Software Version Number    |                  +---------------+---------------+                  |           Data-Time           |                  +---------------+---------------+                  |           Prev-Time           |                  +---------------+---------------+                  |  Total Hosts  |   This  Host  |                  +---------------+---------------+                5 :              host             :                . :           throughput          :                  +---------------+---------------+ 
  1461.  
  1462. HMP FIELDS 
  1463.  
  1464. System Type 
  1465.  
  1466.      IMP = 2 
  1467.  
  1468. Message Type 
  1469.  
  1470.      IMP host Throughput message = 4 
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.                               -32- 
  1477.  
  1478.  
  1479.  RFC-869                                             December 1983 
  1480.  
  1481.  
  1482.  
  1483. Port Number 
  1484.  
  1485.      Unused 
  1486.  
  1487. Control Flag 
  1488.  
  1489.      Unused 
  1490.  
  1491. Sequence Number 
  1492.  
  1493.      A 16 bit number  incremented  at  each  collection  interval      (i.e.  when  a new throughput message is assembled).  The HM      will be  able  to  detect  lost  or  duplicate  messages  by      checking the sequence numbers. 
  1494.  
  1495. Password 
  1496.  
  1497.      The password contains the sequence  number  of  the  polling      message to which this message responds. 
  1498.  
  1499. IMP HOST THROUGHPUT FIELDS 
  1500.  
  1501. Mess-time 
  1502.  
  1503.      The time (in 640ms. units) at which the message was sent  to      the HM. 
  1504.  
  1505. Software Version Number 
  1506.  
  1507.      The IMP version number. 
  1508.  
  1509. Data-Time 
  1510.  
  1511.      Data-time is the time (in 640ms. units)  when  this  set  of      data was collected.  (See Description.) 
  1512.  
  1513. Prev-Time 
  1514.  
  1515.      Prev-time is the time (in 640 ms.  units)  of  the  previous      collection of data (and therefore, is the time when the data      in this message began accumulating.) 
  1516.  
  1517. Total Hosts 
  1518.  
  1519.      The total number of hosts in this system. 
  1520.  
  1521. This Host 
  1522.  
  1523.      This host is the number of the first host reported  in  this 
  1524.  
  1525.                                -33- 
  1526.  
  1527.  
  1528.  RFC-869                                             December 1983 
  1529.  
  1530.  
  1531.  
  1532.      message.   Large  systems  that  are unable to fit all their      host reports into a single packet  may  use  this  field  to      separate their message into smaller chunks to take advantage      of single packet message efficiencies. 
  1533.  
  1534. Host Throughput 
  1535.  
  1536.      Each host throughput block consists of eight  words  in  the      following format: 
  1537.  
  1538.                  +---------------+---------------+                  |      messages to network      |                  +---------------+---------------+                  |     messages from network     |                  +---------------+---------------+                  |        packets to net         |                  +---------------+---------------+                  |       packets from net        |                  +---------------+---------------+                  |       messages to local       |                  +---------------+---------------+                  |      messages from local      |                  +---------------+---------------+                  |        packets to local       |                  +---------------+---------------+                  |       packets from local      |                  +---------------+---------------+ 
  1539.  
  1540.      Each host throughput message will contain several blocks  of      data.   The  first  block  will  contain  data  for the host      specified in  First  Host  Number.   Following  blocks  will      contain data for consecutive hosts.  All counters are single      precision. 
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.                                -34- 
  1559.  
  1560.  
  1561.  RFC-869                                             December 1983 
  1562.  
  1563.  
  1564.  
  1565. B  Appendix B - TAC Monitoring 
  1566.  
  1567. B.1  Message Type 1: TAC Trap Message 
  1568.  
  1569. Description 
  1570.  
  1571.      When a trap occurs, it is buffered in the TAC  and  sent  as      soon  as possible.  Trap messages are unsolicited.  If traps      happen in close sequence, several traps may be sent  in  one      message. 
  1572.  
  1573.      Through the use of sequence numbers, it will be possible  to      determine   how  many  traps  are  being  lost.   If  it  is      discovered that many are lost, a  polling  scheme  might  be      implemented for traps. 
  1574.  
  1575.      A TAC trap message has the following form: 
  1576.  
  1577.                   0             0 0             1                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5                  +---------------+---------------+                0 |           Version #           |                  +---------------+---------------+                1 :         first                 :                . :             trap              :                . :                 data          :                . +---------------+---------------+                . :         additional            :                . :             trap              :                . :                 data          :                  +---------------+---------------+ 
  1578.  
  1579.  HMP FIELDS 
  1580.  
  1581. System Type 
  1582.  
  1583.      TAC = 3 
  1584.  
  1585. Message Type 
  1586.  
  1587.      TAC Trap Message = 1 
  1588.  
  1589. Port Number 
  1590.  
  1591.      Unused 
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.                               -35- 
  1598.  
  1599.  
  1600.  RFC-869                                             December 1983 
  1601.  
  1602.  
  1603.  
  1604. Control Flag 
  1605.  
  1606.      Unused 
  1607.  
  1608. Password or Returned Sequence Number 
  1609.  
  1610.      Unused 
  1611.  
  1612. Sequence Number 
  1613.  
  1614.      A 16 bit number incremented each time a trap message is sent      so  that  the  HM  can  order the received trap messages and      detect missed messages. 
  1615.  
  1616. TAC TRAP FIELDS 
  1617.  
  1618. Version # 
  1619.  
  1620.      The version # of the TAC Software. 
  1621.  
  1622. Trap Reports 
  1623.  
  1624.      There can be several blocks of trap data in each message. 
  1625.  
  1626.      The format of the trap data is as follows: 
  1627.  
  1628.                   +---------------+---------------+                  |             Size              |                  +---------------+---------------+                  |             Time              |                  +---------------+---------------+                  |            Trap ID            |                  +---------------+---------------+                  :             Trap              :                  :             Data              :                  +---------------+---------------+                  |            Count              |                  +-------------------------------+ 
  1629.  
  1630.   Size 
  1631.  
  1632.      Size is the number of 16 bit words in the trap, not counting      the size field. 
  1633.  
  1634.   Time 
  1635.  
  1636.      The time (in 640ms. units) at which the trap occurred.  This      field  is  used  to  sequence  the  traps  in  a message and 
  1637.  
  1638.                                -36- 
  1639.  
  1640.  
  1641.  RFC-869                                             December 1983 
  1642.  
  1643.  
  1644.  
  1645.      associate groups of traps. 
  1646.  
  1647.   Trap ID 
  1648.  
  1649.      This is (usually) the program counter at the trap.   The  ID      identifies  the  trap,  and  does  not  have to be a program      counter, provided that it uniquely identifies the trap. 
  1650.  
  1651.   Trap Data 
  1652.  
  1653.      The TAC returns data giving more information about the trap.      There are usually two entries: the values in the accumulator      and the index register at the occurrence of the trap. 
  1654.  
  1655.   Count 
  1656.  
  1657.      The TAC Counts repetitions of the same trap ID  and  reports      this count here. 
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.                               -37- 
  1692.  
  1693.  
  1694.  RFC-869                                             December 1983 
  1695.  
  1696.  
  1697.  
  1698. B.2  Message Type 2: TAC Status 
  1699.  
  1700. Description 
  1701.  
  1702.      The status message gives a quick summary of the state of the      TAC.   Status  of the most important features of the TAC are      reported  as  well  as  the  current  configuration  of  the      machine. 
  1703.  
  1704.       A TAC status message has the following form: 
  1705.  
  1706.                    0             0 0             1                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5                   ---------------+---------------+                0 |         Version Number        |                  +---------------+---------------+                  |       Last Trap Message       |                  +---------------+---------------+                  |           Bit Flags           |                  +---------------+---------------+                  |         Free PDB count        |                  +---------------+---------------+                  |         Free MBLK count       |                  +---------------+---------------+                5 |      # of TCP connections     |                  +---------------+---------------+                  |      # of NCP connections     |                  +---------------+---------------+                  |         INA A Register        |                  +---------------+---------------+                  |         INA X Register        |                  +---------------+---------------+                  |         INA B Register        |                  +---------------+---------------+               l0 |         restart/reload        |                  +---------------+---------------+                  |                               |                  +          Crash                +                  |                               |                  +                Data           +               13 |                               |                  +---------------+---------------+ 
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.                               -38- 
  1715.  
  1716.  
  1717.  RFC-869                                             December 1983 
  1718.  
  1719.  
  1720.  
  1721. HMP FIELDS 
  1722.  
  1723. System Type 
  1724.  
  1725.      TAC = 3 
  1726.  
  1727. Message Type 
  1728.  
  1729.      TAC Status Message = 2 
  1730.  
  1731. Port Number 
  1732.  
  1733.      Unused 
  1734.  
  1735. Control Flag 
  1736.  
  1737.      Unused 
  1738.  
  1739. Sequence Number 
  1740.  
  1741.      A 16 bit number incremented each time a  status  message  is      sent. 
  1742.  
  1743. Returned Sequence Number 
  1744.  
  1745.      Contains  the  sequence  number  from  the  polling  message      requesting this report. 
  1746.  
  1747. TAC STATUS FIELDS 
  1748.  
  1749. Version Number 
  1750.  
  1751.      The TAC's software version number. 
  1752.  
  1753. Last Trap Message 
  1754.  
  1755.      Contains the sequence number of the last trap  message  sent      to  the  HM.  This will allow the HM to detect how many trap      messages are being lost. 
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.                                -39- 
  1768.  
  1769.  
  1770.  RFC-869                                             December 1983 
  1771.  
  1772.  
  1773.  
  1774. Bit Flags 
  1775.  
  1776.      There are sixteen bit  flags  available  for  reporting  the      state  of  various  switches  (hardware and software) in the      TAC.  The bits are numbered as follows for purposes  of  the      discussion below. 
  1777.  
  1778.                   0             0 0             1                  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                 | | | | | | | | | | | | | | | | |                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
  1779.  
  1780.           The bit flags report the status of the following: 
  1781.  
  1782.           Bit         Meaning           15          0 => DDT override off; 1 => override on.           11-14       0 => Sense Switch n is off; 1 => SSn on.           10          0 => Traps to remote monitor;                       1 => Traps to console.           9           1 => Message generator on.           0-8         unused 
  1783.  
  1784. Free PDB count 
  1785.  
  1786.      The number of PDBs on the free queue. 
  1787.  
  1788. Free MBLK count 
  1789.  
  1790.      The number of MBLKs on the free queue. 
  1791.  
  1792. # of TCP connections # of NCP connections 
  1793.  
  1794.      The number of open connections for each protocol. 
  1795.  
  1796. INA Report 
  1797.  
  1798.      These three fields report the values retained by an INA 1011      instruction  in  a  C/30.  This  instruction  returns micro-      machine status and  errors.   In  a  #316,  the  fields  are      meaningless. 
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.                                -40- 
  1807.  
  1808.  
  1809.  RFC-869                                             December 1983 
  1810.  
  1811.  
  1812.  
  1813. Restart/Reload 
  1814.  
  1815.      This word reports a restart or reload of the TAC 
  1816.  
  1817.            Value      Meaning              1       restarted              2       reloaded 
  1818.  
  1819.  Crash Data 
  1820.  
  1821.      Crash  data  reports  the   circumstances   surrounding   an      unexpected  crash.   The  first word reports the location of      the crash and the following two  are  the  contents  of  the      accumulator and index registers. 
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.                                -41- 
  1858.  
  1859.  
  1860.  RFC-869                                             December 1983 
  1861.  
  1862.  
  1863.  
  1864. B.3  Message Type 3: TAC Throughput 
  1865.  
  1866. Description 
  1867.  
  1868.      The  TAC  throughput  message  reports  statistics  for  the      various modules of the TAC.  The TAC will collect these data      at regular intervals and save them awaiting a poll from  the      HM.  If a period is missed by the HM, the new results simply      overwrite the old.  Two time stamps bracket  the  collection      interval  (data-time  and prev-time) and are an indicator of      missed reports.  In addition, mess-time indicates  the  time      at which the message was sent. 
  1869.  
  1870.       A TAC throughput message has the following form: 
  1871.  
  1872.                0             0 0             1                0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5               +---------------+---------------+             0 |           Mess-Time           |               +---------------+---------------+               |           Data-Time           |               +---------------+---------------+               |           Prev-Time           |               +---------------+---------------+               |         Version Number        |               +---------------+---------------+               |       Last Trap Message       |               +---------------+---------------+             5 |           Bit Flags           |               +---------------+---------------+               |         Free PDB count        |               +---------------+---------------+               |         Free MBLK count       |               +---------------+---------------+               |      # of TCP connections     |               +---------------+---------------+               |      # of NCP connections     |               +---------------+---------------+ ----            10 |     Host Input Throughput     |    ^               +---------------+---------------+    |               |     Host Input Abort Count    |    |               +---------------+---------------+    |               |    Host Input Garbled Count   |    |               +---------------+---------------+    |               |    Host Output Throughput     | 1822 info.               +---------------+---------------+    |                             (continued) 
  1873.  
  1874.  
  1875.  
  1876.                               -42- 
  1877.  
  1878.  
  1879.  RFC-869                                             December 1983 
  1880.  
  1881.  
  1882.  
  1883.       TAC throughput (cont.) 
  1884.  
  1885.               +---------------+---------------+    |               |    Host Output Abort Count    | 1822 info.               +---------------+---------------+    |            15 |        Host Down Count        |    v               +---------------+---------------+ ----               |      # of datagrams sent      |    ^               +---------------+---------------+    |               |    # of datagrams received    |    |               +---------------+---------------+  IP info.               |    # of datagrams discarded   |    |               +---------------+---------------+    |               |    # of fragments received    |    v               +---------------+---------------+    |            20 |    # of fragments discarded   |    v               +---------------+---------------+ ----               |      # of segments sent       |    ^               +---------------+---------------+    |               |    # of segments received     |    |               +---------------+---------------+    |               |    # of segments discarded    |    |               +---------------+---------------+  TCP info.               |       # of octets sent        |    |               +---------------+---------------+    |            25 |     # of octets received      |    |               +---------------+---------------+    |               |     # of retransmissions      |    v               +---------------+---------------+ ---- 
  1886.  
  1887.  HMP FIELDS 
  1888.  
  1889. System Type 
  1890.  
  1891.      TAC = 3 
  1892.  
  1893. Message Type 
  1894.  
  1895.      TAC Throughput Message = 3 
  1896.  
  1897. Port Number 
  1898.  
  1899.      Unused 
  1900.  
  1901. Control Flag 
  1902.  
  1903.      Unused 
  1904.  
  1905.                                -43- 
  1906.  
  1907.  
  1908.  RFC-869                                             December 1983 
  1909.  
  1910.  
  1911.  
  1912. Sequence Number 
  1913.  
  1914.      A 16 bit number  incremented  at  each  collection  interval      (i.e.  when  a new throughput message is assembled).  The HM      will be  able  to  detect  lost  or  duplicate  messages  by      checking the sequence numbers. 
  1915.  
  1916. Returned Sequence Number 
  1917.  
  1918.      Contains  the  sequence  number  from  the  polling  message      requesting this report. 
  1919.  
  1920. TAC THROUGHPUT FIELDS 
  1921.  
  1922. Mess-time 
  1923.  
  1924.      The time (in 640ms. units) at which the message was sent  to      the HM. 
  1925.  
  1926. Data-Time 
  1927.  
  1928.      Data-time is the time (in 640ms. units)  when  this  set  of      data was collected.  (See Description.) 
  1929.  
  1930. Prev-Time 
  1931.  
  1932.      Prev-time is the time (in 640 ms.  units)  of  the  previous      collection of data (and therefore, is the time when the data      in this message began accumulating.) 
  1933.  
  1934. Version Number 
  1935.  
  1936.      The TAC's software version number. 
  1937.  
  1938. Last Trap Message 
  1939.  
  1940.      Contains the sequence number of the last trap  message  sent      to  the  HM.  This will allow the HM to detect how many trap      messages are being lost. 
  1941.  
  1942. Bit Flags 
  1943.  
  1944.      There are sixteen bit  flags  available  for  reporting  the      state  of  various  switches  (hardware and software) in the      TAC.  The bits are numbered as follows for purposes  of  the      discussion below. 
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.                               -44- 
  1951.  
  1952.  
  1953.  RFC-869                                             December 1983 
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.                   0             0 0             1                  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                 | | | | | | | | | | | | | | | | |                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
  1960.  
  1961.  
  1962.  
  1963.           The bit flags report the status of the following: 
  1964.  
  1965.           Bit         Meaning           15          0 => DDT override off; 1 => override on.           11-14       0 => Sense Switch n is off; 1 => SSn on.           10          0 => Traps to remote monitor;                       1 => Traps to console.           9           1 => Message generator on.           0-8         unused 
  1966.  
  1967.  
  1968.  
  1969. Free PDB count 
  1970.  
  1971.      The number of PDBs on the free queue. 
  1972.  
  1973. Free MBLK count 
  1974.  
  1975.      The number of MBLKs on the free queue. 
  1976.  
  1977. # of TCP connections # of NCP connections 
  1978.  
  1979.      The number of open connections for each protocol. 
  1980.  
  1981. 1822 info. 
  1982.  
  1983.      These  six  fields  report  statistics  which  concern   the      operation  of  the  1822 protocol module, i.e. the interface      between the TAC and its IMP. 
  1984.  
  1985. IP info. 
  1986.  
  1987.      These five fields report statistics which  concern  Internet      Protocol in the TAC. 
  1988.  
  1989. TCP info. 
  1990.  
  1991.  
  1992.  
  1993.                               -45- 
  1994.  
  1995.  
  1996.  RFC-869                                             December 1983 
  1997.  
  1998.  
  1999.  
  2000.      These  six  fields  report  statistics  which  concern   TCP      protocol in the TAC. 
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020.  
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.                               -46- 
  2051.  
  2052.  
  2053.  RFC-869                                             December 1983 
  2054.  
  2055.  
  2056.  
  2057. C  Appendix C - Gateway Monitoring 
  2058.  
  2059. C.1  Gateway Parameters 
  2060.  
  2061.      The gateway supports parameters to set Throughput  and  Host      traffic matrix measurements.  The type of parameters and the      parameter and data pairs are as follows: 
  2062.  
  2063.      Throughput - Type = 3 
  2064.  
  2065.            Parm.  Description             Control Data Word           -----  -----------             ----------------- 
  2066.  
  2067.           1      Start/Stop              0=Stop,1=Start           2      Collection Interval     Time in 1 minute                                          ticks 
  2068.  
  2069.       Host Traffic Matrix - Type = 4 
  2070.  
  2071.            Parm.  Description             Control Data Word           -----  -----------             ----------------- 
  2072.  
  2073.           1      Start/Stop              0=Stop,1=Start           2      Collection Interval     Time in 1 minute                                          ticks           3      HTM Switch Control      Include Control                                          Protocols 
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.                               -47- 
  2096.  
  2097.  
  2098.  RFC-869                                             December 1983 
  2099.  
  2100.  
  2101.  
  2102. C.2  Message Type 1: Gateway Trap 
  2103.  
  2104. Description 
  2105.  
  2106.      When traps occur in the gateway they  are  buffered.   At  a      fixed  time interval (currently 10 seconds) the gateway will      send any traps that are in  the  buffer  to  the  monitoring      center.  The traps are sent as unsolicited messages. 
  2107.  
  2108.      A Gateway trap message has the following format: 
  2109.  
  2110.            0             0 0             1            0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |      Gateway Version #        |           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
  2111.  
  2112.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |    Size of Trap Entry         |       ;First Trap           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |       Time of Trap            |           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |       Trap ID                 |           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |       Process ID              |           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |              R0               |           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |              R1               |           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |              R2               |           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |              R3               |           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                     (continued) 
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.  
  2125.  
  2126.  
  2127.  
  2128.                                -48- 
  2129.  
  2130.  
  2131.  RFC-869                                             December 1983 
  2132.  
  2133.  
  2134.  
  2135. Gateway Trap Message (cont'd.) 
  2136.  
  2137.            +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |              R4               |           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |              R5               |           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |              R6               |           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |     Count of this Trap        |           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                           .                           .                           .           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+           |                               |           |    Additional Trap reports    |           |                               |           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
  2138.  
  2139. HMP FIELDS 
  2140.  
  2141. System Type 
  2142.  
  2143.      Gateway = 4 
  2144.  
  2145. Message Type 
  2146.  
  2147.      Gateway Trap Message = 1 
  2148.  
  2149. Port Number 
  2150.  
  2151.      Unused 
  2152.  
  2153. Control Flag 
  2154.  
  2155.      Unused 
  2156.  
  2157. Password or Returned Sequence Number 
  2158.  
  2159.      Unused 
  2160.  
  2161. Sequence Number 
  2162.  
  2163.      A 16 bit number incremented each time a trap message is sent      so  that  the  monitoring center can order the received trap      messages and detect missed messages. 
  2164.  
  2165.  
  2166.  
  2167.                               -49- 
  2168.  
  2169.  
  2170.  RFC-869                                             December 1983 
  2171.  
  2172.  
  2173.  
  2174. GATEWAY TRAP FIELDS 
  2175.  
  2176. Gateway Version # 
  2177.  
  2178.      The software version number of the gateway sending the trap. 
  2179.  
  2180. Trap Reports 
  2181.  
  2182.      The remainder of the  trap  message  consists  of  the  trap      reports.  Each consists of the following fields: 
  2183.  
  2184.      Size of Trap Entry 
  2185.  
  2186.           The size  in  16-bit  words  of  the  trap  entry,  not           including the size field. 
  2187.  
  2188.      Time of Trap 
  2189.  
  2190.           The time in (in 1/60 sec.  ticks)  at  which  the  trap           occurred. 
  2191.  
  2192.      Trap ID 
  2193.  
  2194.           The number of the trap which is used  to  identify  the           trap. 
  2195.  
  2196.      Process ID 
  2197.  
  2198.           The identifier of the process that executed the trap. 
  2199.  
  2200.      R0-R6 
  2201.  
  2202.           The registers of the machine at the occurrence  of  the           trap. 
  2203.  
  2204.      Count of this Trap 
  2205.  
  2206.           The number of times that this trap occurred. 
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.                               -50- 
  2221.  
  2222.  
  2223.  RFC-869                                             December 1983 
  2224.  
  2225.  
  2226.  
  2227. C.3  Message Type 2: Gateway Status 
  2228.  
  2229. Description 
  2230.  
  2231.      The gateway status message gives a summary of the status  of      the  gateway.  It reports information such as version number      of the gateway, buffer memory usage,  interface  status  and      neighbor gateway status. 
  2232.  
  2233.      A Gateway Status message has the following format: 
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.                               -51- 
  2276.  
  2277.  
  2278.  RFC-869                                             December 1983 
  2279.  
  2280.  
  2281.  
  2282.        0                   1         1         2                   3 3       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |         Version Number        |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |     Patch Version Number      |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  Time Since Gateway Restart   |       ;in minutes      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |       Measurement Flags       |       ; Bit flags to indicate which      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+       ; measurements are on, 1= On      |      Routing Sequence No.     |       ; Sequence # of last routing      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+       ;   update sent      |    Access Table Version #     |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  Load Sharing Table Ver. #    |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |         Memory in Use         |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |         Memory Idle           |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |         Memory Free           |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |   # of Blks   |                       ; Memory Allocation Info      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  Size of 1st Block (in bytes) |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  # Allocated  |      +-+-+-+-+-+-+-+-+      |    # Idle     |      +-+-+-+-+-+-+-+-+              .      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      | Size of n'th Block (in bytes) |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  # Allocated  |      +-+-+-+-+-+-+-+-+      |    # Idle     |      +-+-+-+-+-+-+-+-+                   (continued) 
  2283.  
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.                                -52- 
  2293.  
  2294.  
  2295.  RFC-869                                             December 1983 
  2296.  
  2297.  
  2298.  
  2299. Gateway Status Message (cont'd.) 
  2300.  
  2301.      +-+-+-+-+-+-+-+-+      |   # of Ints.  |      +-+-+-+-+-+-+-+-+      | Int 1 Flags   |                       ;Interface 1 Status Flags      +-+-+-+-+-+-+-+-+                       ; Bit 0 - 1=Up, 0=Down                                              ;     1 - 1=Looped, 0=Not      +-+-+-+-+-+-+-+-+      | Buffers       |                       ; # of buffers on write Queue      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      | Time since last Status Change |       ;Time since last up/dwn change      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    # of Buffers Allocated     |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    Data Size for Interface    |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    Interface 1 Address                                        |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                      .                      .      +---------------+      | Int n Flags   |                       ;Interface n Status Flags      +-+-+-+-+-+-+-+-+      | Buffers       |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      | Time since last Status Change |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    # of Buffers Allocated     |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    Data Size for Interface    |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    Interface n Address                                        |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      | # Neighbors   |      +-+-+-+-+-+-+-+-+      | UP/DN Flags   |                       ;Bit flags for Up or Down      +-+-+-+-+-+-+-+-+                       ; 0 = Dwn,  1 = Up              .                               ; MSB is neighbor 1              .                               ; (as many bytes as necessary)      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    Neighbor 1 Address                                         |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                      .                      .      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    Neighbor n Address                                         |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
  2302.  
  2303.  
  2304.  
  2305.                               -53- 
  2306.  
  2307.  
  2308.  RFC-869                                             December 1983 
  2309.  
  2310.  
  2311.  
  2312. HMP FIELDS 
  2313.  
  2314. System Type 
  2315.  
  2316.      Gateway = 4 
  2317.  
  2318. Message Type 
  2319.  
  2320.      Gateway Status Message = 2 
  2321.  
  2322. Port Number 
  2323.  
  2324.      Unused 
  2325.  
  2326. Control Flag 
  2327.  
  2328.      Unused 
  2329.  
  2330. Password or Returned Sequence Number 
  2331.  
  2332.      Unused 
  2333.  
  2334. Sequence Number 
  2335.  
  2336.      A 16 bit number incremented each time a trap message is sent      so  that  the  monitoring center can order the received trap      messages and detect missed messages. 
  2337.  
  2338. GATEWAY STATUS FIELDS 
  2339.  
  2340. Version Number 
  2341.  
  2342.      The  version  number  of  the  gateway  sending  the  Status      message. 
  2343.  
  2344. Patch Version Number 
  2345.  
  2346.      The patch version number of the gateway. 
  2347.  
  2348. Time Since Gateway Restart 
  2349.  
  2350.      The time in minutes since the gateway was last restarted  or      reloaded. 
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.                                -54- 
  2359.  
  2360.  
  2361.  RFC-869                                             December 1983 
  2362.  
  2363.  
  2364.  
  2365. Measurement Flags 
  2366.  
  2367.      Flags that, if set, indicate which measurements  are  turned      on.  Current values are: 
  2368.  
  2369.            Bit 0   =   Message Generator               1   =   Throughput               2   =   Host Traffic Matrix               3   =   Access Control 1               4   =   Access Control 2               5   =   Load Sharing               6   =   EGP in Gateway 
  2370.  
  2371.  Routing Sequence Number 
  2372.  
  2373.      The sequence number of the last routing update sent by  this      gateway. 
  2374.  
  2375. Access Control Table Version # 
  2376.  
  2377.      The version number of the access control table. 
  2378.  
  2379. Load Sharing Table Version # 
  2380.  
  2381.      The version number of the load sharing table. 
  2382.  
  2383. Memory In Use 
  2384.  
  2385.      The number of bytes of buffer memory that are  currently  in      use. 
  2386.  
  2387. Memory Idle 
  2388.  
  2389.      The  number  of  bytes  of  buffer  memory  that  have  been      allocated but are currently idle. 
  2390.  
  2391. Memory Free 
  2392.  
  2393.      The number of bytes of  buffer  memory  that  has  not  been      allocated. 
  2394.  
  2395. MEMORY ALLOCATION INFORMATION 
  2396.  
  2397.      The next part of the status message contains information  on      the buffer pools in the gateway.    The fields are: 
  2398.  
  2399.      # of Blocks 
  2400.  
  2401.                                -55- 
  2402.  
  2403.  
  2404.  RFC-869                                             December 1983 
  2405.  
  2406.  
  2407.  
  2408.           The number of different buffer pools. 
  2409.  
  2410.      Size of Block 
  2411.  
  2412.           The size of this block in bytes. 
  2413.  
  2414.      # Allocated 
  2415.  
  2416.           The number of  blocks  of  this  size  that  have  been           allocated. 
  2417.  
  2418.      # Idle 
  2419.  
  2420.           The number of blocks of this size that are idle. 
  2421.  
  2422. GATEWAY INTERFACE FIELDS 
  2423.  
  2424.      The next part of the status message are fields that  provide      information about the gateway's interfaces.  The fields are: 
  2425.  
  2426.      # of Interfaces 
  2427.  
  2428.           The number of network interfaces that the gateway has. 
  2429.  
  2430.      Interface Flags 
  2431.  
  2432.           Flags that indicate the status of this interface.   The           current values are: 
  2433.  
  2434.                Bit 0  -  1=Up/0=Down                    1  -  1=Looped/0=Not Looped 
  2435.  
  2436.       Buffers 
  2437.  
  2438.           The numbers on this interfaces write queue. 
  2439.  
  2440.      Time Since Last Status Change 
  2441.  
  2442.           The time in minutes since this interface changed status           (Up/Down). 
  2443.  
  2444.      # of Buffers Allocated 
  2445.  
  2446.           The number of buffers allocated for this interface. 
  2447.  
  2448.      Data Size for Interface 
  2449.  
  2450.           The buffer size required for this interface. 
  2451.  
  2452.                                -56- 
  2453.  
  2454.  
  2455.  RFC-869                                             December 1983 
  2456.  
  2457.  
  2458.  
  2459.      Interface Address 
  2460.  
  2461.           The Internet address of this interface. 
  2462.  
  2463. NEIGHBOR GATEWAY FIELDS 
  2464.  
  2465.      The final part of the status message consists of information      about this gateway's neighbor gateways.  The fields are: 
  2466.  
  2467.      # of Neighbors 
  2468.  
  2469.           The number of gateways that are  neighbor  gateways  to           this gateway. 
  2470.  
  2471.      UP/DN Flags 
  2472.  
  2473.           Bit flags to indicate if the neighbor is up or down. 
  2474.  
  2475.      Neighbor Address 
  2476.  
  2477.           The Internet address of the neighbor gateway. 
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507.                                -57- 
  2508.  
  2509.  
  2510.  RFC-869                                             December 1983 
  2511.  
  2512.  
  2513.  
  2514. C.4  Message Type 3: Gateway Throughput 
  2515.  
  2516. Description 
  2517.  
  2518.      The gateway collects throughput statistics for the  gateway,      its interfaces, and its neighbor gateways.  It collects them      for regular intervals and will save them for collection  via      a  Poll  message  from the Monitoring host.  If they are not      collected by the end of the next interval, they will be lost      because another copy will be put into the saved area.       A Gateway Throughput message has the following format: 
  2519.  
  2520.       0                   1         1         2                   3 3       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |     Gateway Version Number    |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |     Collection Time in Min    |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |      Number of Interfaces     |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |       Number of Neighbors     |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  Number of Host Unreachable   |       ; # of packets dropped because      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+       ;   Host was Unreachable      |  Number of Net Unreachable    |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+       ;   Net was Unreachable 
  2521.  
  2522.      ; Interface Counters 
  2523.  
  2524.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  Interface Address                                            |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |   Packets Dropped on Input    |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |     Count of IP Errors        |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |   Count of Datagrams for Us   |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |   Datagrams to be Forwarded   |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |   Count of Datagrams Looped   |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                              (continued) 
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.                                -58- 
  2531.  
  2532.  
  2533.  RFC-869                                             December 1983 
  2534.  
  2535.  
  2536.  
  2537. Gateway Throughput Message (cont'd.) 
  2538.  
  2539.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  Count of Bytes Input                                         |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  Count of Datagrams From Us   |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      | Count that were Forwarded     |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  Count of Local Net Dropped   |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  Count of Queue full Dropped  |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  Count of Bytes Output                                        |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                      .                      .                      .      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |                                                               |      |          Counters For Additional Interfaces                   |      |                                                               |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
  2540.  
  2541.      ; Neighbor counters 
  2542.  
  2543.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  Neighbor Address                                             |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      | Count of Routing Updates TO   |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |Count of Routing Updates FROM  |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               (continued) 
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.                               -59- 
  2562.  
  2563.  
  2564.  RFC-869                                             December 1983 
  2565.  
  2566.  
  2567.  
  2568. Gateway Throughput Message (cont'd.) 
  2569.  
  2570.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      | Pkts from US sent to/via Neig |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  Pkts forwarded to/via Neighb |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |  Datagrams Local Net Dropped  |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      | Datagrams Queue full Dropped  |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      | Count of Bytes send to Neighbor                               |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                      .                      .                      .      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |                                                               |      |        Counters for Additional Neighbor Gateways              |      |                                                               |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
  2571.  
  2572.  HMP FIELDS 
  2573.  
  2574. System Type 
  2575.  
  2576.      Gateway = 4 
  2577.  
  2578. Message Type 
  2579.  
  2580.      Gateway Throughput Message = 3 
  2581.  
  2582. Port Number 
  2583.  
  2584.      Unused 
  2585.  
  2586. Control Flag 
  2587.  
  2588.      Unused 
  2589.  
  2590. Password or Returned Sequence Number 
  2591.  
  2592.      Unused 
  2593.  
  2594. Sequence Number 
  2595.  
  2596.      A 16 bit number incremented each time a trap message is sent      so  that  the  HM  can  order the received trap messages and 
  2597.  
  2598.                                -60- 
  2599.  
  2600.  
  2601.  RFC-869                                             December 1983 
  2602.  
  2603.  
  2604.  
  2605.      detect missed messages. 
  2606.  
  2607. GATEWAY THROUGHPUT FIELDS 
  2608.  
  2609. Gateway Version Number 
  2610.  
  2611.      The software version number of the gateway sending the trap. 
  2612.  
  2613. Collection Time in Min. 
  2614.  
  2615.      The time period in minutes in which the throughput  data  is      to be collected. 
  2616.  
  2617. Number of Interfaces 
  2618.  
  2619.      The number of interfaces this gateway has. 
  2620.  
  2621. Number of Neighbors 
  2622.  
  2623.      The number of neighbor gateways this gateway has. 
  2624.  
  2625. Number of Host Unreachable 
  2626.  
  2627.      The  number  of  packets  dropped  because  the   Host   was      unreachable. 
  2628.  
  2629. Number of Net Unreachable 
  2630.  
  2631.      The number  of  packets  dropped  because  the  Network  was      unreachable. 
  2632.  
  2633. INTERFACE COUNTERS 
  2634.  
  2635.      The next part of the Throughput  message  contains  counters      for   the  gateways  interfaces.   Each  interface  has  the      following fields: 
  2636.  
  2637.      Interface Address 
  2638.  
  2639.           The Internet address of this interface. 
  2640.  
  2641.      Packets Dropped on Input 
  2642.  
  2643.           The number  of  packets  on  input  to  this  interface           because there were not enough buffers. 
  2644.  
  2645.      Count of IP Errors 
  2646.  
  2647.           The number of packets received with bad IP headers. 
  2648.  
  2649.                                -61- 
  2650.  
  2651.  
  2652.  RFC-869                                             December 1983 
  2653.  
  2654.  
  2655.  
  2656.      Count of Datagrams for Us 
  2657.  
  2658.           The number of  datagrams  received  addressed  to  this           gateway. 
  2659.  
  2660.      Datagrams to be Forwarded 
  2661.  
  2662.           The number of datagrams were not for this  gateway  and           should be sent out another interface. 
  2663.  
  2664.      Count of Datagrams Looped 
  2665.  
  2666.           The number of datagrams that were received on and  sent           out of this interface. 
  2667.  
  2668.      Count of Bytes Input 
  2669.  
  2670.           The number of bytes received on this interface. 
  2671.  
  2672.      Count of Datagrams From Us 
  2673.  
  2674.           The  number  of  datagrams  that  originated  at   this           gateway. 
  2675.  
  2676.      Count that were Forwarded 
  2677.  
  2678.           The number of datagrams that were forwarded to  another           gateway. 
  2679.  
  2680.      Count of Local Net Dropped 
  2681.  
  2682.           The number of packets  that  were  dropped  because  of           local network flow control restrictions. 
  2683.  
  2684.      Count of Queue full Dropped 
  2685.  
  2686.           The number of packets that  were  dropped  because  the           output queue was full. 
  2687.  
  2688.      Count of Bytes Output 
  2689.  
  2690.           The number of bytes sent out on this interface. 
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.                               -62- 
  2701.  
  2702.  
  2703.  RFC-869                                             December 1983 
  2704.  
  2705.  
  2706.  
  2707. NEIGHBOR COUNTERS 
  2708.  
  2709.      The last part of the Throughput message are counts for  each      neighbor gateway.  The fields are: 
  2710.  
  2711.      Neighbor Address 
  2712.  
  2713.           The Internet address of this neighbor gateway. 
  2714.  
  2715.      Count of Routing Updates TO 
  2716.  
  2717.           The number of routing updates  sent  to  this  neighbor           gateway. 
  2718.  
  2719.      Count of Routing Updates FROM 
  2720.  
  2721.           The  number  of  routing  updates  received  from  this           neighbor gateway. 
  2722.  
  2723.      Pkts from US sent to/via Neig 
  2724.  
  2725.           The number of packets from this gateway sent to or  via           this neighbor gateway. 
  2726.  
  2727.      Pkts forwarded to/via Neighb 
  2728.  
  2729.           The number of packets forwarded to or via this neighbor           gateway. 
  2730.  
  2731.      Datagrams Local Net Dropped 
  2732.  
  2733.           The  number  of  datagrams  dropped  to  this  neighbor           gateway   because   of   local   network  flow  control           restrictions. 
  2734.  
  2735.      Datagrams Queue full Dropped 
  2736.  
  2737.           The  number  of  datagrams  dropped  to  this  neighbor           because the output queue was full. 
  2738.  
  2739.      Count of Bytes send to Neighbor 
  2740.  
  2741.           The number of bytes sent to this neighbor gateway. 
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.                                -63- 
  2750.  
  2751.  
  2752.  RFC-869                                             December 1983 
  2753.  
  2754.  
  2755.  
  2756. C.5  Message Type 4: Gateway Host Traffic Matrix 
  2757.  
  2758. Description 
  2759.  
  2760.      The Host Traffic Matrix (HTM) message  contains  information      about  the  traffic  that  flows  through the gateway.  Each      entry consists of the number of datagrams sent and  received      for a particular source/destination pair. 
  2761.  
  2762.      A Gateway HTM message has the following format: 
  2763.  
  2764.       0                   1         1         2                   3 3       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |     Gateway Version Number    |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |        Overflow counter       |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |     Collection Time in Min    |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |     Number of HTM entries     |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
  2765.  
  2766.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    IP Source Address                                          |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    IP Destination Address                                     |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      | IP Protocol   |  (unused)     |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    Counter for SRC -> DST datagrams                           |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    Counter for DST -> SRC datagrams                           |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                      .                      .                      .      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |                                                               |      |      Additional HTM Reports                                   |      |                                                               |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.                               -64- 
  2777.  
  2778.  
  2779.  RFC-869                                             December 1983 
  2780.  
  2781.  
  2782.  
  2783. HMP FIELDS 
  2784.  
  2785. System Type 
  2786.  
  2787.      Gateway = 4 
  2788.  
  2789. Message Type 
  2790.  
  2791.      Gateway HTM Message = 4 
  2792.  
  2793. Port Number 
  2794.  
  2795.      Unused 
  2796.  
  2797. Control Flag 
  2798.  
  2799.      Unused 
  2800.  
  2801. Password or Returned Sequence Number 
  2802.  
  2803.      Unused 
  2804.  
  2805. Sequence Number 
  2806.  
  2807.      A 16 bit number incremented each time a trap message is sent      so  that  the  HM  can  order the received trap messages and      detect missed messages. 
  2808.  
  2809. GATEWAY HTM FIELDS 
  2810.  
  2811. Gateway Version Number 
  2812.  
  2813.      The software version number of this gateway. 
  2814.  
  2815. Overflow counter 
  2816.  
  2817.      The number of HTM entries lost because the  HTM  buffer  was      full. 
  2818.  
  2819. Collection Time in Min 
  2820.  
  2821.      The time period in minutes in which the HTM  data  is  being      collected. 
  2822.  
  2823. Number of HTM entries 
  2824.  
  2825.      The number of HTM reports included in this message. 
  2826.  
  2827.  
  2828.  
  2829.                                -65- 
  2830.  
  2831.  
  2832.  RFC-869                                             December 1983 
  2833.  
  2834.  
  2835.  
  2836. HTM ENTRIES 
  2837.  
  2838.      The remainder of the HTM message consists of the actual  HTM      entries.  Each entry consists of the following fields: 
  2839.  
  2840.      IP Source Address 
  2841.  
  2842.           The source Internet  address  of  the  datagrams  being           counted. 
  2843.  
  2844.      IP Destination Address 
  2845.  
  2846.           The destination Internet address of the datagrams being           counted. 
  2847.  
  2848.      IP Protocol 
  2849.  
  2850.           The protocol number of the datagrams. 
  2851.  
  2852.      Counter for SRC -> DST datagrams 
  2853.  
  2854.           The  number  of  datagrams  sent  in  the   Source   to           Destination address direction. 
  2855.  
  2856.      Counter for DST -> SRC datagrams 
  2857.  
  2858.           The number of datagrams  sent  in  the  Destination  to           Source address direction. 
  2859.  
  2860.  
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881.  
  2882.                               -66- 
  2883.  
  2884.  
  2885.  RFC-869                                             December 1983 
  2886.  
  2887.  
  2888.  
  2889. C.6  Message Type 6: Gateway Routing 
  2890.  
  2891. Description 
  2892.  
  2893.      The Routing message contains information  about  routes  the      gateway  has  to the networks that make up the Internet.  It      includes information about its interfaces and  its  neighbor      gateways. 
  2894.  
  2895.      A Gateway Routing message has the following format: 
  2896.  
  2897.       0                   1         1         2                   3 3       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |         Version Number        |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |   # of Ints.  |      +-+-+-+-+-+-+-+-+      | UP/DN Flags   |                       ;Bit flags for Up or Down      +-+-+-+-+-+-+-+-+                       ; 0 = Dwn,  1 = Up              .                               ; MSB is interface 1              .                               ; (as many bytes as necessary)              .      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    Interface 1 Address                                        |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                      .                      .      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    Interface n Address                                        |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      | # Neighbors   |      +-+-+-+-+-+-+-+-+      | UP/DN Flags   |                       ;Bit flags for Up or Down      +-+-+-+-+-+-+-+-+                       ; 0 = Dwn,  1 = Up              .                               ; MSB is neighbor 1              .                               ; (as many bytes as necessary)      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    Neighbor 1 Address                                         |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                      .                      .      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |    Neighbor n Address                                         |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
  2898.  
  2899.                          (continued) 
  2900.  
  2901.  
  2902.  
  2903.                                -67- 
  2904.  
  2905.  
  2906.  RFC-869                                             December 1983 
  2907.  
  2908.  
  2909.  
  2910. Gateway Routing Message (cont'd.) 
  2911.  
  2912.      +-+-+-+-+-+-+-+-+      | # of Networks |      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      | Network 1 #   |               |               |  ; 1, 2, or 3 bytes      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |   Distance    |      +-+-+-+-+-+-+-+-+      |   Neighbor #  |      +-+-+-+-+-+-+-+-+                      .                      .      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      | Network n #   |               |               |  ; 1, 2, or 3 bytes      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      |   Distance    |      +-+-+-+-+-+-+-+-+      |   Neighbor #  |      +-+-+-+-+-+-+-+-+ 
  2913.  
  2914. HMP FIELDS 
  2915.  
  2916. System Type 
  2917.  
  2918.      Gateway = 4 
  2919.  
  2920. Message Type 
  2921.  
  2922.      Gateway Trap Message = 6 
  2923.  
  2924. Port Number 
  2925.  
  2926.      Unused 
  2927.  
  2928. Control Flag 
  2929.  
  2930.      Unused 
  2931.  
  2932. Password or Returned Sequence Number 
  2933.  
  2934.      Unused 
  2935.  
  2936. Sequence Number 
  2937.  
  2938.      A 16 bit number incremented each time a trap message is sent      so  that  the  HM  can  order the received trap messages and      detect missed messages. 
  2939.  
  2940.  
  2941.  
  2942.                               -68- 
  2943.  
  2944.  
  2945.  RFC-869                                             December 1983 
  2946.  
  2947.  
  2948.  
  2949. GATEWAY ROUTING FIELDS 
  2950.  
  2951. Gateway Version # 
  2952.  
  2953.      The software version number of the gateway sending the trap. 
  2954.  
  2955. INTERFACE FIELDS 
  2956.  
  2957.      The first part of the routing message  contains  information      about  the  gateway's  interfaces.   There  is data for each      interface.  The fields are: 
  2958.  
  2959.      # of Interfaces 
  2960.  
  2961.           The number of interfaces that this gateway has. 
  2962.  
  2963.      UP/DN Flags 
  2964.  
  2965.           Bit flags to indicate if the Interface is up or down. 
  2966.  
  2967.      Interface Address 
  2968.  
  2969.           The Internet address of the Interface. 
  2970.  
  2971. NEIGHBOR FIELDS 
  2972.  
  2973.      The next part of the routing  message  contains  information      about this gateway's neighbor gateways.  The fields are: 
  2974.  
  2975.      # of Neighbors 
  2976.  
  2977.           The number of gateways that are  neighbor  gateways  to           this gateway. 
  2978.  
  2979.      UP/DN Flags 
  2980.  
  2981.           Bit flags to indicate if the neighbor is up or down. 
  2982.  
  2983.      Neighbor Address 
  2984.  
  2985.           The Internet address of the neighbor gateway. 
  2986.  
  2987. NETWORK ROUTING FIELDS 
  2988.  
  2989.      The last part of the routing  message  contains  information      about   this  gateway's  routes  to  other  networks.   This      includes the distance to each  network  and  which  neighbor      gateway is the route to the network.  The fields are: 
  2990.  
  2991.  
  2992.  
  2993.                               -69- 
  2994.  
  2995.  
  2996.  RFC-869                                             December 1983 
  2997.  
  2998.  
  2999.  
  3000.      # of Networks 
  3001.  
  3002.           The number of networks that  are  reachable  from  this           gateway. 
  3003.  
  3004.      Network # 
  3005.  
  3006.           The network  number  of  this  network.   This  is  the           network  part  of  the Internet address and may be one,           two, or three bytes in length depending on  whether  it           is a Class A, B, or C address. 
  3007.  
  3008.      Distance 
  3009.  
  3010.           The distance in hops to this network.  Zero hops  means           that the network is directly connected to this gateway.           A negative number means that the network  is  currently           unreachable. 
  3011.  
  3012.      Neighbor # 
  3013.  
  3014.           The neighbor gateway that is the next hop to reach this           network.    This   is   an   index  into  the  previous           information on this gateway's neighbor gateways.   This           field  is  only  valid  if the Distance is greater than           zero. 
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.                               -70- 
  3041.  
  3042.