summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc1028.txt
blob: c539e9d05be2e886a53902eaaaf460b6f0dacd7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
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
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
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
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
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
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
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
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
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
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
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
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
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
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
Network Working Group                                           J. Davin
Request for Comments:  1028                                Proteon, Inc.
                                                                 J. Case
                                    University of Tennessee at Knoxville
                                                                M. Fedor
                                                      Cornell University
                                                          M. Schoffstall
                                        Rensselaer Polytechnic Institute
                                                           November 1987


                  A Simple Gateway Monitoring Protocol


1.  Status of this Memo

   This document is being distributed to members of the Internet
   community in order to solicit their reactions to the proposals
   contained in it.  While the issues discussed may not be directly
   relevant to the research problems of the Internet, they may be
   interesting to a number of researchers and implementors.

   This memo defines a simple application-layer protocol by which
   management information for a gateway may be inspected or altered by
   logically remote users.

   This proposal is intended only as an interim response to immediate
   gateway monitoring needs while work on more elaborate and robust
   designs proceeds with the care and deliberation appropriate to that
   task.  Accordingly, long term use of the mechanisms described here
   should be seriously questioned as more comprehensive proposals emerge
   in the future.  Distribution of this memo is unlimited.

2.  Protocol Design Strategy

   The proposed protocol is shaped in large part by the desire to
   minimize the number and complexity of management functions realized
   by the gateway itself.  This goal is attractive in at least four
   respects:

   (1)  The development cost for gateway software necessary to
        support the protocol is accordingly reduced.

   (2)  The degree of management function that is remotely
        supported is accordingly increased, thereby admitting
        fullest use of internet resources in the management task.





Davin, Case, Fedor and Schoffstall                              [Page 1]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   (3)  The degree of management function that is remotely
        supported is accordingly increased, thereby imposing the
        fewest possible restrictions on the form and sophistication
        of management tools.

   (4)  A simplified set of management functions is easily
        understood and used by developers of gateway management
        tools.

   A second design goal is that the functional paradigm for monitoring
   and control be sufficiently extensible to accommodate additional,
   possibly unanticipated aspects of gateway operation.

   A third goal is that the design be, as much as possible, independent
   of the architecture and mechanisms of particular hosts or particular
   gateways.

   Consistent with the foregoing design goals are a number of decisions
   regarding the overall form of the protocol design.

   One such decision is to model all gateway management functions as
   alterations or inspections of various parameter values.  By this
   model, a protocol entity on a logically remote host (possibly the
   gateway itself) interacts with a protocol entity resident on the
   gateway in order to alter or retrieve named portions (variables) of
   the gateway state.  This design decision has at least two positive
   consequences:

   (1)  It has the effect of limiting the number of essential
        management functions realized by the gateway to two: one
        operation to assign a value to a specified configuration
        parameter and another to retrieve such a value.

   (2)  A second effect of this decision is to avoid introducing
        into the protocol definition support for imperative
        management commands: the number of such commands is in
        practice ever-increasing, and the semantics of such
        commands are in general arbitrarily complex.

   The exclusion of imperative commands from the set of explicitly
   supported management functions is unlikely to preclude any desirable
   gateway management operation.  Currently, most gateway commands are
   requests either to set the value of some gateway parameter or to
   retrieve such a value, and the function of the few imperative
   commands currently supported is easily accommodated in an
   asynchronous mode by this management model.  In this scheme, an
   imperative command might be realized as the setting of a parameter
   value that subsequently triggers the desired action.



Davin, Case, Fedor and Schoffstall                              [Page 2]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   A second design decision is to realize any needed authentication
   functionality in a distinct protocol layer that provides services to
   the monitoring protocol itself.  The most important benefit of this
   decision is a reduction in the complexity of the individual protocol
   layers - thereby easing the task of implementation.

   Consistent with this layered design strategy is a third design
   decision that the identity of an application protocol entity is known
   to its peers only by the services of the underlying authentication
   protocol.  Implicit in this decision is a model of access control by
   which access to variables of a gateway configuration is managed in
   terms of the association between application entities and sessions of
   the authentication protocol.  Thus, multi-level access to gateway
   variables is supported by multiple instances of the application
   protocol entity, each of which is characterized by:

   (1)  the set of gateway variables known to said entity,

   (2)  the mode of access (READ-ONLY or READ-WRITE) afforded to
        said set of variables, and

   (3)  the authentication protocol session to which belong the
        messages sent and received by said entity.

   A fourth design decision is to adopt the conventions of the CCITT
   X.409 recommendation [1] for representing the information exchanged
   between protocol entities.  One cost of this decision is a modest
   increase in the complexity of the protocol implementation.  One
   benefit of this decision is that protocol data are represented on the
   network in a machine-independent, widely understood, and widely
   accepted form.  A second benefit of this decision is that the form of
   the protocol messages may be concisely and understandably described
   in the X.409 language defined for such purposes.

   A fifth design decision, consistent with the goal of minimizing
   gateway complexity, is that the variables manipulated by the protocol
   assume only integer or octet string type values.

   A sixth design decision, also consistent with the goal of minimizing
   gateway complexity, is that the exchange of protocol messages
   requires only an unreliable datagram transport, and, furthermore,
   that every protocol message is entirely and independently
   representable by a single transport datagram.  While this document
   specifies the exchange of protocol messages via the UDP protocol [2],
   the design proposed here is in general suitable for use with a wide
   variety of transport mechanisms.





Davin, Case, Fedor and Schoffstall                              [Page 3]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   A seventh design decision, consistent with the goals of simplicity
   and extensibility, is that the variables manipulated by the protocol
   are named by octet string values.  While this decision departs from
   the architectural traditions of the Internet whereby objects are
   identified by assigned integer values, the naming of variables by
   octet strings affords at least two valuable benefits.  Because the
   set of octet string values constitutes a variable name space that, as
   convenient, manifests either flat or hierarchical structure,

   (1)  a single, simple mechanism can provide both random access
        to individual variables and sequential access to
        semantically related groups of variables, and

   (2)  the variable name space may be extended to accommodate
        unforeseen needs without compromising either the
        relationships among existing variables or the potential
        for further extensions to the space.

   An eighth design decision is to minimize the number of unsolicited
   messages required by the protocol definition.  This decision is
   consistent with the goal of simplicity and motivated by the desire to
   retain maximal control over the amount of traffic generated by the
   network management function - even at the expense of additional
   protocol overhead.  The strategy implicit in this decision is that
   the monitoring of network state at any significant level of detail is
   accomplished primarily by polling for appropriate information on the
   part of the monitoring center.  In this context, the definition of
   unsolicited messages in the protocol is confined to those strictly
   necessary to properly guide a monitoring center regarding the timing
   and focus of its polling.

3.  The Gateway Monitoring Protocol

   The gateway monitoring protocol is an application protocol by which
   the variables of a gateway's configuration may be inspected or
   altered.

   Communication among application protocol entities is by the exchange
   of protocol messages using the services of the authentication
   protocol described elsewhere in this document.  Each such message is
   entirely and independently represented by a single message of the
   underlying authentication protocol.  An implementation of this
   protocol need not accept protocol messages whose length exceeds 484
   octets.

   The form and function of the four message types recognized by a
   protocol entity is described below.  The type of a given protocol
   message is indicated by the value of the implicit type tag for the



Davin, Case, Fedor and Schoffstall                              [Page 4]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   data structure that is represented by said message according to the
   conventions of the CCITT X.409 recommendation.

3.1.  The Get Request Message Type

   The form of a message of Get Request type is described below in the
   language defined in the CCITT X.409 recommendation:

   var_value_type          ::=     CHOICE {

                                   INTEGER,
                                   OCTET STRING

                                     }

   var_name_type           :=      OCTET STRING

   var_op_type             ::=     SEQUENCE {

                           var_name                var_name_type,
                           var_value               var_value_type

                           }

   var_op_list_type        ::=     SEQUENCE OF var_op_type

   error_status_type       ::=     INTEGER {

                           gmp_err_noerror         (0),
                           gmp_err_too_big         (1),
                           gmp_err_nix_name        (2),
                           gmp_err_bad_value       (3)

                           }

   error_index_type        ::=     INTEGER

   request_id_type         ::=     INTEGER

   get_req_message_type    ::=     [ APPLICATION 1 ] IMPLICIT

                           SEQUENCE {

                           request_id              request_id_type,
                           error_status            error_status_type,
                           error_index             error_index_type,
                           var_op_list             var_op_list_type




Davin, Case, Fedor and Schoffstall                              [Page 5]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


                           }

   Upon receipt of a message of this type, the receiving entity responds
   according to any applicable rule in the list below:

   (1)  If, for some var_op_type component of the received message, the
        value of the var_name field does not lexicographically precede
        the name of some variable known to the receiving entity, then
        the receiving entity sends to the originator of the received
        message a message of identical form except that the indicated
        message type is Get Response, the value of the error_status
        field is gmp_err_nix_name, and the value of the error_index
        field is the unit-based index of said var_op_type component in
        the received message.

   (2)  If the size of the Get Response type message generated as
        described below would exceed the size of the largest message
        for which the protocol definition requires acceptance, then the
        receiving entity sends to the originator of the received message
        a message of identical form except that the indicated message
        type is Get Response, the value of the error_status field is
        gmp_err_too_big, and the value of the error_index field is zero.

   If none of the foregoing rules apply, then the receiving entity sends
   to the originator of the received message a Get Response type message
   such that, for each var_op_type component of the received message, a
   corresponding component of the generated message represents the name
   and value of that variable whose name is, in the lexicographical
   ordering of the names of all variables known to the receiving entity
   together with the value of the var_name field of the given component,
   the immediate successor to that value.  The value of the error_status
   field of the generated message is gmp_err_noerror and the value of
   the error_index field is zero.  The value of the request_id field of
   the generated message is that for the received message.

   Messages of the Get Request type are generated by a protocol entity
   only at the request of the application user.

3.2.  The Get Response Message Type

   The form of messages of this type is identical to that of Get Request
   type messages except for the indication of message type. In the CCITT
   X.409 language,

   get_rsp_message_type    ::=     [ APPLICATION 2 ] IMPLICIT

                           SEQUENCE {




Davin, Case, Fedor and Schoffstall                              [Page 6]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


                           request_id              request_id_type,
                           error_status            error_status_type,
                           error_index             error_index_type,
                           var_op_list             var_op_list_type

                           }

   The response of a protocol entity to a message of this type is to
   present its contents to the application user.

   Messages of the Get Response type are generated by a protocol entity
   only upon receipt of Set Request or Get Request type messages as
   described elsewhere in this document.

3.3.  The Trap Request Message Type

   The form of a message of this type is described below in the language
   defined in the CCITT X.409 recommendation:

   val_list_type           ::=     SEQUENCE OF var_value_type

   trap_type_type          ::=     INTEGER

   trap_req_message_type   ::=     [ APPLICATION 3 ] IMPLICIT

                           SEQUENCE {

                           trap_type               trap_type_type,
                           val_list                val_list_type

                           }

   The response of a protocol entity to a message of this type is to
   present its contents to the application user.

   Messages of the Trap Request type are generated by a protocol entity
   only at the request of the application user.

   The significance of the val_list component of a Trap Request type
   message is implementation-specific.

   Interpretations for negative values of the trap_type field are
   implementation-specific.  Interpretations for non-negative values of
   the trap_type field are defined below.

3.3.1.  The Cold Start Trap Type

   A Trap Request type message for which the value of the trap_type



Davin, Case, Fedor and Schoffstall                              [Page 7]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   field is 0, signifies that the sending protocol entity is
   reinitializing itself such that the gateway configuration or the
   protocol entity implementation may be altered.

3.3.2.  The Warm Start Trap Type

   A Trap Request type message for which the value of the trap_type
   field is 1, signifies that the sending protocol entity is
   reinitializing itself such that neither the gateway configuration nor
   the protocol entity implementation is altered.

3.3.3.  The Link Failure Trap Type

   A Trap Request type message for which the value of the trap_type
   field is 2, signifies that the sending protocol entity recognizes a
   failure in one of the communication links represented in the gateway
   configuration.

3.3.4.  The Authentication Failure Trap Type

   A Trap Request type message for which the value of the trap_type
   field is 3, signifies that the sending protocol entity is the
   addressee of a protocol message that is not properly authenticated.

3.3.5.  The EGP Neighbor Loss Trap Type

   A Trap Request type message for which the value of the trap_type
   field is 4, signifies that an EGP neighbor for whom the sending
   protocol entity was an EGP peer has been marked down and the peer
   relationship no longer obtains.

3.4.  The Set Request Message Type

   The form of messages of this type is identical to that of Get Request
   type messages except for the indication of message type.  In the
   CCITT X.409 language:

   set_req_message_type    ::=     [ APPLICATION 4 ] IMPLICIT

                           SEQUENCE {

                           request_id              request_id_type,
                           error_status            error_status_type,
                           error_index             error_index_type,
                           var_op_list             var_op_list_type

                           }




Davin, Case, Fedor and Schoffstall                              [Page 8]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   Upon receipt of a message of this type, the receiving entity responds
   according to any applicable rule in the list below:

   (1)  If, for some var_op_type component of the received message, the
        value of the var_name field names no variable known to the
        receiving entity, then the receiving entity sends to the
        originator of the received message a message of identical form
        except that the indicated message type is Get Response, the
        value of the error_status field is gmp_err_nix_name, and the
        value of the error_index field is the unit-based index of said
        var_op_type component in the received message.

   (2)  If, for some var_op_type component of the received message, the
        contents of the var_value field does not, according to the CCITT
        X.409 recommendation, manifest a type, length, and value that is
        consistent with that required for the variable named by the
        value of the var_name field, then the receiving entity sends to
        the originator of the received message a message of identical
        form except that the indicated message type is Get Response, the
        value of the error_status field is gmp_err_bad_value, and the
        value of the error_index field is the unit-based index of said
        var_op_type component in the received message.

   (3)  If the size of the Get Response type message generated as
        described below would exceed the size of the largest message for
        which the protocol definition requires acceptance, then the
        receiving entity sends to the originator of the received
        message a message of identical form except that the indicated
        message type is Get Response, the value of the error_status
        field is gmp_err_too_big, and the value of the error_index field
        is zero.

   If none of the foregoing rules apply, then for each var_op_type
   component of the received message, according to the sequence of such
   components represented by said message, the value represented by the
   var_value field of the given component is assigned to the variable
   named by the value of the var_name field of that component.  The
   receiving entity sends to the originator of the received message a
   message of identical form except that the indicated message type is
   Get Response, the value of the error_status field is gmp_err_noerror,
   and the value of the error_index field is zero.

   Messages of the Set Request type are generated by a protocol entity
   only at the request of the application user.

   Recognition and processing of Set Request type frames is not required
   by the protocol definition.




Davin, Case, Fedor and Schoffstall                              [Page 9]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


4.  The Authentication Protocol

   The authentication protocol is a session-layer protocol by which
   messages specified by a protocol user are selectively delivered to
   other protocol users.  The protocol definition precludes delivery to
   a protocol user of any user message for which the protocol
   representation lacks a specified "authentic" form.

   Communication among authentication protocol entities is accomplished
   by the exchange of protocol messages, each of which is entirely and
   independently represented by a single UDP datagram.  An
   authentication protocol entity responds to protocol messages received
   at UDP port 153 on the host with which it is associated.

   A half-session of the authentication protocol is, for any ordered
   pair of protocol users, the set of messages sent from the first user
   of the pair to the second user of said pair.  A session of the
   authentication protocol is defined to be union of two complementary
   half-sessions of the protocol - that is, the set of messages
   exchanged between a given pair of protocol users.  Associated with
   each protocol half-session is a triplet of functions:

   (1)  The authentication function for a given half-session is a
        boolean-valued function that characterizes the set of
        authentication protocol messages that are of acceptable,
        authentic form with respect to the set of all possible
        authentication protocol messages.

   (2)  The message interpretation function for a given half-
        session is a mapping from the set of authentication
        protocol messages accepted by the authentication function
        for said half-session to the set of all possible user
        messages.

   (3)  The message representation function for a given half-
        session is a mapping that is the inverse of the message
        interpretation function for said half-session.

   The association between half-sessions of the authentication protocol
   and triplets of functions is not defined in this document.

   The form and function of the single message type recognized by a
   protocol entity is described below.  The type of a given protocol
   message is indicated by the value of the implicit type tag for the
   data structure that is represented by said message according to the
   conventions of the CCITT X.409 recommendation.





Davin, Case, Fedor and Schoffstall                             [Page 10]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


4.1.  The Data Request Message Type

   Messages of this type are represented by a sequence of fields whose
   form and interpretation are described below.

4.1.1.  The Message Length Field

   The Message Length field of a given Data Request message represents
   the length of said message as an unsigned, 16-bit, binary integer.
   This value is encoded such that more significant bits precede less
   significant bits in the order of transmission and includes the length
   of the Message Length field itself.

4.1.2.  The Session ID Length Field

   The Session ID Length field of a given Data Request message
   represents the length, in octets, of the Session ID field of said
   message.  This value is encoded as an unsigned, 8-bit, binary
   integer.

4.1.3.  The Session ID Field

   The Session ID field of a given Data Request message represents the
   name of the protocol session to which said message belongs.  The
   value of this field is encoded as asequence of octets whose length is
   the value of the Session ID Length field for said message.

4.1.4.  The User Data Field

   The User Data field of a given Data Request message represents a
   message being passed from one protocol user to another.  The value of
   this field is encoded according to conventions implicit in the
   message representation function for the appropriate half of the
   protocol session named by the value of the Session ID field for said
   message.

   Upon receipt of a Data Request type message, the receiving
   authentication protocol entity verifies the form of said message by
   application of the authentication function associated with its half
   of the session named by the value of the Session ID field in the
   received message.  If the form of the received message is accepted as
   "authentic" by said function, then the user message computed by the
   application of the message interpretation function for said half-
   session to the value of the User Data field of the received message
   is presented to the protocol user together with an indication of the
   protocol session to which the received message belongs.





Davin, Case, Fedor and Schoffstall                             [Page 11]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   Otherwise, the message is discarded and an indication of the receipt
   of an unauthenticated message is presented to the protocol user.

   A message of this type is generated only at the request of the
   protocol user to communicate a message to another user of the
   protocol.  Such a request specifies the user message to be sent as
   well as the session of the authentication protocol to which said user
   message belongs.  The value of the Session ID field of the generated
   message is the name of the session specified in the user request.
   The value of the User Data field of the generated message is computed
   by applying the message representation function for the appropriate
   half of the specified session to the specified user message.

5.  Variable Names

   The variables retrieved or manipulated by the application protocol
   are named by octet string values.  Such values are represented in
   this document in two ways:

   (1)  A variable name octet string may be represented
       numerically by a sequence of hexadecimal numbers, each of
       which denotes the value of the corresponding octet in
       said string.

   (2)  A variable name octet string may be represented
        symbolically by a character string whose form reflects
        the sequence of octets in said name while at the same
        time suggesting to a human reader the semantics of the
        named variable.

   Variable name octet strings are represented symbolically according to
   the following two rules:

   (1)  The symbolic character string representation of the
        variable name of zero length is the character string of
        zero length.

   (2)  The symbolic character string representation of a
        variable name of non-zero length n is the concatenation
        of the symbolic character string representation of the
        variable name formed by the first (n - 1) octets of the
        given name together with the underscore character ("_")
        and a character string that does not include the
        underscore character, such that the resulting character
        string is unique among the symbolic character string
        representations for all variable names of length n.





Davin, Case, Fedor and Schoffstall                             [Page 12]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   Thus, for example, the variable names represented numerically as:

                         01 01 01,
                         01 01 02,
                         01 02 01,
                         01 03 01 03 01,
                         01 03 01 03 02,
                         01 03 01 04 01, and
                         01 03 01 04 02

   might be represented symbolically by the character strings:

                         _GW_version_id,
                         _GW_version_rev,
                         _GW_cfg_nnets,
                         _GW_net_if_type_net1,
                         _GW_net_if_type_net2,
                         _GW_net_if_speed_net1, and
                         _GW_net_if_speed_net2.

   All variable names are terminated by an implementation specific octet
   string of non-zero length.  Thus, a complete variable name is not
   specified for any of the variables defined in this document.  Rather,
   for each defined variable, some prefix portion of its name is
   specified, with the understanding that the rightmost portion of its
   name is specific to the protocol implementation.

   Fullest exploitation of the semantics of the Get Request type message
   requires that names for related variables be chosen so as to be
   contiguous in the lexicographic ordering of all variable names
   recognized by an application protocol entity.  This principle is
   observed in the naming of variables currently defined by this
   document, and it should be observed as well for variables defined by
   subsequent revisions of this document and for variables introduced by
   particular implementations of the protocol.

   A particular implementation of a protocol entity may present
   variables in addition to those defined by this document, provided
   that in no case will an implementation-specific variable be presented
   as having a name identical to that for one of the variables defined
   here.  By convention, the names of variables specific to a particular
   implementation share a common prefix that distinguishes said
   variables from those defined in this document and from those that may
   be presented by other implementations of an application protocol
   entity.  For example, variables specific to an implementation of this
   protocol in version 1.3 of the Squeaky gateway product of the
   Swinging Gateway company might have the names represented by:




Davin, Case, Fedor and Schoffstall                             [Page 13]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


                 01 FF 01 01 13 01,
                 01 FF 01 01 13 02, and
                 01 FF 01 01 13 03,


   for which the corresponding symbolic representations might be:

                 _GW_impl_Swinging_Squeaky_v1.3_variableA,
                 _GW_impl_Swinging_Squeaky_v1.3_variableB, and
                 _GW_impl_Swinging_Squeaky_v1.3_variableC.

   The names and semantics of implementation-specific variables are not
   otherwise defined by this document, although implementors are
   encouraged to publish such definitions either as appendices to this
   document or by other appropriate means.

   Variable names of which the initial portion is represented
   numerically as 02 and symbolically as "_HOST" are reserved for future
   use.  Variable names of which the initial portion is represented
   numerically as 03 and symbolically as "_TS" are similarly reserved.

6.  Required Variables

   To the extent that the information represented by a variable defined
   in this section is also represented internally by a gateway for which
   this protocol is realized, access to that variable must be afforded
   by at least one application protocol entity associated with said
   gateway.

6.1.  The _GW_version_id Variable

   The variable such that the initial portion of its name is represented
   symbolically as "_GW_version_id" and numerically as:

                 01 01 01

   has an octet string value that identifies the protocol entity
   implementation (e.g., "ACME Packet-Whiz Model II").

6.2.  The _GW_version_rev Variable

   The variable such that the initial portion of its name is represented
   symbolically as "_GW_version_rev" and numerically as:

                 01 01 02

   has an integer value that identifies the revision level of the entity
   implementation.  The encoding of the revision level as an integer



Davin, Case, Fedor and Schoffstall                             [Page 14]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   value is implementation-specific.

6.3.  The _GW_cfg_nnets Variable

   The variable such that the initial portion of its name is represented
   symbolically as "_GW_cfg_nnets" and numerically as:

                 01 02 01

   has an integer value that represents the number of logical network
   interfaces afforded by the configuration of the gateway.

6.4.  Network Interface Variables

   This section describes a related set of variables that represent
   attributes of the logical network interfaces afforded by the gateway
   configuration.  Each such network interface is uniquely identified by
   an octet string.  The convention by which names are assigned to the
   network interfaces of a gateway is implementation-specific.

6.4.1.  The _GW_net_if_type Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_net_if_type" and numerically as:

                 01 03 01 03

   has an integer value that represents the type of the network
   interface identified by the remainder of the name for said variable.
   The value of a variable of this class represents network type
   according to the conventions described in Appendix 1.

6.4.2.  The _GW_net_if_speed Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_net_if_speed" and numerically as:

                 01 03 01 04

   has an integer value that represents the estimated nominal bandwidth
   in bits per second of the network interface identified by the
   remainder of the name for said variable.

6.4.3.  The _GW_net_if_in_pkts Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_net_if_in_pkts" and numerically as:




Davin, Case, Fedor and Schoffstall                             [Page 15]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


                 01 03 01 01 01

   has an integer value that represents the number of packets received
   by the gateway over the network interface identified by the remainder
   of the name for said variable.

6.4.4.  The _GW_net_if_out_pkts Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_net_if_out_pkts" and numerically as:

                 01 03 01 02 01

   has an integer value that represents the number of packets
   transmitted by the gateway over the network interface identified by
   the remainder of the name for said variable.

6.4.5.  The _GW_net_if_in_bytes Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_net_if_in_bytes" and numerically as:

                 01 03 01 01 02

   has an integer value that represents the number of octets received by
   the gateway over the network interface identified by the remainder of
   the name for said variable.

6.4.6.  The _GW_net_if_out_bytes Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_net_if_out_bytes" and numerically as:

                 01 03 01 02 02

   has an integer value that represents the number of octets transmitted
   by the gateway over the network interface identified by the remainder
   of the name for said variable.

6.4.7.  The _GW_net_if_in_errors Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_net_if_in_errors" and numerically as:

                 01 03 01 01 03

   has an integer value that represents the number of reception errors
   encountered by the gateway on the network interface identified by the



Davin, Case, Fedor and Schoffstall                             [Page 16]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   remainder of the name for said variable.  The definition of a
   reception error is implementation-specific and may vary according to
   network type.

6.4.8.  The _GW_net_if_out_errors Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_net_if_out_errors" and numerically as:

                01 03 01 02 03

   has an integer value that represents the number of transmission
   errors encountered by the gateway on the network interface identified
   by the remainder of the name for said variable.  The definition of a
   transmission error is implementation-specific and may vary according
   to network type.

6.4.9.  The _GW_net_if_status Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_net_if_status" and numerically as:

                 01 03 01 05

   has an integer value that represents the current status of the
   network interface identified by the remainder of the name for said
   variable.  Network status is represented according to the conventions
   described in Appendix 2.

6.5.  Internet Protocol Variables

   This section describes variables that represent information related
   to protocols and mechanisms of the Internet Protocol (IP) family [3].

6.5.1.  Protocol Address Variable Classes

   This section describes a related set of variables that represent
   attributes of the the IP interfaces presented by a gateway on the
   various networks to which it is attached.  Each such protocol
   interface is uniquely identified by an octet string.  The convention
   by which names are assigned to the protocol interfaces for a gateway
   is implementation-specific.

6.5.1.1.  The _GW_pr_in_addr_value Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_pr_in_addr_value" and numerically as:




Davin, Case, Fedor and Schoffstall                             [Page 17]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


                 01 04 01 01 01

   has an octet string value that literally represents the 32-bit
   Internet address for the IP interface identified by the remainder of
   the name for said variable.

6.5.1.2.  The _GW_pr_in_addr_scope Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_pr_in_addr_scope" and numerically as:

                 01 04 01 01 02

   has an octet string value that names the network interface with which
   the IP interface identified by the remainder of the name for said
   variable is associated.

6.5.2.  Exterior Gateway Protocol (EGP) Variables

   This section describes variables that represent information related
   to protocols and mechanisms of the EGP protocol [4].

6.5.2.1.  The _GW_pr_in_egp_core Variable

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_pr_in_egp_core" and numerically as:

                 01 04 01 03 01

   has an integer value that characterizes the associated gateway with
   respect to the set of INTERNET core gateways.  A nonzero value
   indicates that the associated gateway is part of the INTERNET core.

6.5.2.2.  The _GW_pr_in_egp_as Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_pr_in_egp_as" and numerically as:

                 01 04 01 03 02

   has an integer value that literally identifies an Autonomous System
   to which this gateway belongs.

6.5.2.3.  The EGP Neighbor Variable Classes

   This section describes a related set of variables that represent
   attributes of "neighbors" with which the gateway may be associated by
   EGP.  Each such EGP neighbor is uniquely identified by an octet



Davin, Case, Fedor and Schoffstall                             [Page 18]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   string. The convention by which names are assigned to EGP neighbors
   of a gateway is implementation-specific.

6.5.2.3.1.  The _GW_pr_in_egp_neighbor_addr Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_pr_in_egp_neighbor_addr" and numerically as:

                 01 04 01 03 03 01

   has an octet string value that literally represents the 32-bit
   Internet address for the EGP neighbor identified by the remainder of
   the name for said variable.

6.5.2.3.2.  The _GW_pr_in_egp_neighbor_state Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_pr_in_egp_neighbor_state" and numerically as:

                 01 04 01 03 03 02

   has an octet string value that represents the EGP protocol state of
   the gateway with respect to the EGP neighbor identified by the
   remainder of the name for said variable. The meaningful values for
   such a variable are: "IDLE," "ACQUISITION," "DOWN," "UP," and
   "CEASE."

6.5.2.4.  The _GW_pr_in_egp_errors Variable

   The variable such that the initial portion of its name is represented
   symbolically as "_GW_pr_in_egp_errors" and numerically as:

                 01 04 01 03 05

   has an integer value that represents the number of EGP protocol
   errors.

6.5.3.  Routing Variable Classes

   This section describes a related set of variables that represent
   attributes of the the IP routes by which a gateway directs packets to
   various destinations on the Internet.  Each such route is uniquely
   identified by an octet string that is the concatenation of the
   literal 32-bit value of the Internet address for the destination of
   said route together with an implementation-specific octet string.
   The convention by which names are assigned to the Internet routes for
   a gateway is in all other respects implementation-specific.




Davin, Case, Fedor and Schoffstall                             [Page 19]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


6.5.3.1.  The _GW_pr_in_rt_gateway Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_pr_in_rt_gateway" and numerically as:

                 01 04 01 02 01

   has an octet string value that literally represents the 32-bit
   Internet address of the next gateway to which traffic is directed by
   the route identified by the remainder of the name for said variable.

6.5.3.2.  The _GW_pr_in_rt_type Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_pr_in_rt_type" and numerically as:

                 01 04 01 02 02

   has an integer value that represents the type of the route identified
   by the remainder of the name for said variable.  Route types are
   identified according to the conventions described in Appendix 3.

6.5.3.3.  The _GW_pr_in_rt_how-learned Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_pr_in_rt_how-learned" and numerically as:

                   01 04 01 02 03

   has an octet string value that represents the source of the
   information from which the route identified by the remainder of the
   name for said variable is generated. The meaningful values of such a
   variable are: "STATIC," "EGP," and "RIP."

6.5.3.4.  The _GW_pr_in_rt_metric0 Variable Class

   A variable such that the initial portion of its name is represented
   symbolically as "_GW_pr_in_rt_metric0" and numerically as:

                 01 04 01 02 04

   has an integer value that represents the quality (in terms of cost,
   distance from the ultimate destination, or other metric) of the route
   identified by the remainder of the name for said variable.

6.5.3.5.  The _GW_pr_in_rt_metric1 Variable Class

   A variable such that the initial portion of its name is represented



Davin, Case, Fedor and Schoffstall                             [Page 20]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   symbolically as "_GW_pr_in_rt_metric1" and numerically as:

                 01 04 01 02 05

   has an integer value that represents the quality (in terms of cost,
   distance from the ultimate destination, or other metric) of the route
   identified by the remainder of the name for said variable.

6.6.  DECnet Protocol Variables

   This section describes variables that represent information related
   to protocols and mechanisms of the DEC Digital Network Architecture.
   DEC and DECnet are registered trademarks of Digital Equipment
   Corporation.

6.7.  XNS Protocol Variables

   This section describes variables that represent information related
   to protocols and mechanisms of the Xerox Network System.  Xerox
   Network System and XNS are registered trademarks of the XEROX
   Corporation.

7.  Implementation-Specific Variables

   Additional variables that may be presented for inspection or
   manipulation by particular protocol entity implementations are
   described in Appendices to this document.

8.  References

   [1]  CCITT, "Message Handling Systems: Presentation Transfer
        Syntax and Notation", Recommendation X.409, 1984.


   [2]  Postel, J., "User Datagram Protocol", RFC-768,
        USC/Information Sciences Institute, August 1980.

   [3]  Postel, J., "Internet Protocol", RFC-760, USC/Information
        Sciences Institute, January 1980.

   [4]  Rosen, E., "Exterior Gateway Protocol", RFC-827, Bolt
        Beranek and Newman, October 1982.

9.  Appendix 1: Network Type Representation

Numeric representations for various types of networks are presented
   below:




Davin, Case, Fedor and Schoffstall                             [Page 21]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


                         Value   Network Type
                         ====================
                         0       Unspecified
                         1       IEEE 802.3 MAC
                         2       IEEE 802.4 MAC
                         3       IEEE 802.5 MAC
                         4       Ethernet
                         5       ProNET-80
                         6       ProNET-10
                         7       FDDI
                         8       X.25
                         9       Point-to-Point Serial
                         10      Proprietary Point-to-Point Serial
                         11      ARPA 1822 HDH
                         12      ARPA 1822
                         13      AppleTalk
                         14      StarLAN

10.  Appendix 2: Network Status Representation

Numeric representations for network status are presented below.

                         Value   Network Status
                         ======================
                         0       Interface Operating Normally
                         1       Interface Not Present
                         2       Interface Disabled
                         3       Interface Down
                         4       Interface Attempting Link


11.  Appendix 3: Route Type Representation

Numeric representations for route types are presented below.

                         Value   Route Type
                         ==================
                         0       Route to Nowhere -- ignored
                         1       Route to Directly Connected Network
                         2       Route to a Remote Host
                         3       Route to a Remote Network
                         4       Route to a Sub-Network

12.  Appendix 4: Initial Implementation Strategy

   The initial objective of implementing the protocol specified in this
   document is to provide a mechanism for monitoring Internet gateways.
   While the protocol design makes some provision for gateway management



Davin, Case, Fedor and Schoffstall                             [Page 22]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   functions as well, this aspect of the design is not fully developed
   and needs further refinement before a generally useful implementation
   could be produced.  Accordingly, initial implementations will not
   generate or respond to the optional Set Request message type.

   The protocol defined here may be subsequently refined based upon
   experience with early implementations or upon further study of the
   problem of gateway management.  Moreover, it may be superceded by
   other proposals in the area of gateway monitoring and control.

   Implementations of the authentication protocol specified in this
   document are likely to evolve in response to the particular security
   and privacy needs of its users.  While, in general, the association
   between particular half-sessions of the authentication protocol and
   the described triplets of functions is specific to an implementation
   and beyond the scope of this document, the desire for immediate
   interoperability among initial implementations of this protocol is
   best served by the temporary adoption of a common authentication
   scheme.  Accordingly, initial implementations will associate with
   every possible half-session a triplet of functions that realizes a
   trivial authentication mechanism:

   (1)  The authentication function is defined to have the value
        TRUE over the entire domain of authentication protocol
        messages.

   (2)  The message interpretation function is defined to be the
        identity function.

   (3)  The message representation function is defined to be the
        identity function.

   Because this initial posture with respect to authentication is not
   likely to remain acceptable indefinitely, implementors are urged to
   adopt designs that isolate authentication mechanism as much as
   possible from other components of the implementation.

13.  Appendix 5: Routing Information Propagation Variables

   This section describes a set of related variables that characterize
   the sources and destinations of routing information propagated by
   various routing protocols. These variables have meaning only for
   those routing protocol implementations that afford greater
   flexibility in propagating routing information than is required by
   the various routing protocol specifications.

   Each IP interface afforded by the configuration of the gateway over
   which routing information may propagate via a routing protocol



Davin, Case, Fedor and Schoffstall                             [Page 23]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   (target interface) is named by a string of four octets that literally
   represents the IP address associated with said protocol interface.

   Each IP protocol interface afforded by the configuration of the
   gateway over which routing information may arrive via any routing
   protocol (source interface) is named by a string of four octets that
   literally represents the IP address associated with said protocol
   interface.

   Each routing protocol by which a gateway receives information that it
   uses to route IP traffic (source routing protocol) is named by a
   single-octet string according to the conventions set forth in
   Appendix 6 of this document.

   Each routing protocol by which a gateway propagates routing
   information used by other hosts or gateways to route IP traffic
   (target routing protocol) is named by a single-octet string according
   to the conventions set forth in Appendix 6 of this document.

   A variable such that the initial portion of its name is the
   concatenation of:

   (1)  the octet string represented symbolically as "_GW_pr_in_rif"
        and numerically as 01 04 01 04 followed by:

   (2)  the name of a target routing protocol followed by

   (3)  the name of a target interface followed by

   (4)  the name of a source routing protocol followed by

   (5)  the name of a source interface

   has an integer value that characterizes the propagation of routing
   information between the sources and destinations of such information
   that are identified by the initial portion of that variable's name. A
   non-zero value for such a variable indicates that routing information
   received via the source routing protocol named by the fourth
   component of the variable name on the source interface named by its
   fifth component is propagated via the target routing protocol named
   by the second component of the variable name over the target
   interface named by its third component.  A zero value for such a
   variable indicates that routing information received via the source
   routing protocol on the source interface identified in the variable
   name is NOT propagated via the target routing protocol over the
   target interface identified in the variable name.





Davin, Case, Fedor and Schoffstall                             [Page 24]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


14.  Appendix 6: Routing Protocol Representation

Numeric representations for routing protocols are presented below.

                        Value   Routing Protocol
                        ========================
                        0       None -- Reserved
                        1       Berkeley RIP Version 1
                        2       EGP
                        3       GGP
                        4       Hello
                        5       Other IGRP

15.  Appendix 7: Proteon p4200 Release 7.4 Variables

   This section describes implementation-specific variables presented by
   the implementation of this protocol in Software Release 7.4 for the
   Proteon p4200 Internet Router.  These variable definitions are
   subject to change without notice.

15.1.  The Network Interface Variables

   This section describes a related set of variables that represent
   attributes of a network interface in the Proteon p4200 Internet
   Router gateway.  Each such network interface is uniquely named by an
   implementation-specific octet string of length 1.

15.1.1.  The Generic Network Interface Variables

   This section describes a related set of variables that represent
   attributes common to all network interfaces in the Proteon p4200
   Internet Router gateway.  Each generic network interface of a p4200
   configuration is uniquely named by the concatenation of the octet
   string represented symbolically as "_GW_impl_Proteon_p4200-R7.4_net-
   if" and numerically as:

                01 FF 01 01 01

   followed by the name of said network interface as described above.

15.1.1.1.  The Generic _ovfl-in Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a generic network interface followed by
   the octet string represented symbolically as "_ovfl-in" and
   numerically as 01, has an integer value that represents the number of
   input packets dropped due to gateway congestion for the network
   interface identified by the initial portion of its name.



Davin, Case, Fedor and Schoffstall                             [Page 25]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


15.1.1.2.  The Generic _ovfl-out Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a generic network interface followed by
   the octet string represented symbolically as "_ovfl-out" and
   numerically as 02, has an integer value that represents the number of
   output packets dropped due to gateway congestion for the network
   interface identified by the initial portion of its name.

15.1.1.3.  The Generic _slftst-pass Variable Class          A variable
   such that the initial portion of its name is the concatenation of the
   name for a generic network interface followed by the octet string
   represented symbolically as "_slftst-pass" and numerically as 03, has
   an integer value that represents the number of times the interface
   self-test procedure succeeded for the network interface identified by
   the initial portion of its name.
15.1.1.4.  The Generic _slftst-fail Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a generic network interface followed by
   the octet string represented symbolically as "_slftst-fail" and
   numerically as 04, has an integer value that represents the number of
   times the interface self-test procedure failed for the network
   interface identified by the initial portion of its name.

15.1.1.5.  The Generic _maint-fail Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a generic network interface followed by
   the octet string represented symbolically as "_maint-fail" and
   numerically as 06, has an integer value that represents the number of
   times the network maintenance procedure failed for the network
   interface identified by the initial portion of its name.

15.1.1.6.  The Generic _csr Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a generic network interface followed by
   the octet string represented symbolically as "_csr" and numerically
   as 07, has an integer value that represents the internal address of
   the device CSR for the network interface identified by the initial
   portion of its name.

15.1.1.7.  The Generic _vec Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a generic network interface followed by
   the octet string represented symbolically as "_vec" and numerically



Davin, Case, Fedor and Schoffstall                             [Page 26]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   as 08, has an integer value that identifies the device interrupt
   vector used by the network interface identified by the initial
   portion of its name.

15.1.2.  The ProNET Network Interface Variables

   This section describes a related set of variables that represent
   attributes of a ProNET type network interface in the Proteon p4200
   Internet Router gateway.  Each network interface of a p4200
   configuration that supports ProNET media is uniquely named by the
   concatenation of the octet string represented symbolically as
   "_GW_impl_Proteon_p4200-R7.4_devpn" and numerically as:

                 01 FF 01 01 04

   followed by the name of said network interface as described above.

15.1.2.1.  The ProNET _node-number Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a ProNET type network interface
   followed by the octet string represented symbolically as "_node-
   number" and numerically as 01, has an integer value that represents
   the ProNET node number associated with the network interface
   identified by the initial portion of its name.

15.1.2.2.  The ProNET _in-data-present Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a ProNET type network interface
   followed by the octet string represented symbolically as "_in-data-
   present" and numerically as 02, has an integer value that represents
   the number of times that unread data was present in the input packet
   buffer for the network interface dentified by the initial portion of
   its name.

15.1.2.3.  The ProNET _in-overrun Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a ProNET type network interface
   followed by the octet string represented symbolically as "_in-
   overrun" and numerically as 03, has an integer value that represents
   the number of times that a packet copied from the ring exceeded the
   size of the packet input buffer on the network interface identified
   by the initial portion of its name.






Davin, Case, Fedor and Schoffstall                             [Page 27]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


15.1.2.4.  The ProNET _in-odd-byte-cnt Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a ProNET type network interface
   followed by the octet string represented symbolically as "_in-odd-
   byte-cnt" and numerically as 04, has an integer value that represents
   the number of times that a packet was received with an odd number of
   bytes on the network interface identified by the initial portion of
   its name.

15.1.2.5.  The ProNET _in-parity-error Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a ProNET type network interface
   followed by the octet string represented symbolically as "_in-
   parity-error" and numerically as 05, has an integer value that
   represents the number of times that a parity error was detected in a
   packet copied from the ring on the network interface identified by
   the initial portion of its name.

15.1.2.6.  The ProNET _in-bad-format Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a ProNET type network interface
   followed by the octet string represented symbolically as "_in-bad-
   format" and numerically as 06, has an integer value that represents
   the number of times that a format error was detected in a packet
   copied from the ring on the network interface identified by the
   initial portion of its name.

15.1.2.7.  The ProNET _not-in-ring Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a ProNET type network interface
   followed by the octet string represented symbolically as "_not-in-
   ring" and numerically as 07, has an integer value that represents the
   number of times that the ProNET wire center relays were detected in
   an unenergized state for the network interface identified by the
   initial portion of its name.

15.1.2.8.  The ProNET _out-ring-inits Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a ProNET type network interface
   followed by the octet string represented symbolically as "_out-ring-
   inits" and numerically as 08, has an integer value that represents
   the number of times that ring initialization has been attempted on
   the network interface identified by the initial portion of its name.



Davin, Case, Fedor and Schoffstall                             [Page 28]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


15.1.2.9.  The ProNET _out-bad-format Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a ProNET type network interface
   followed by the octet string represented symbolically as "_out-bad-
   format" and numerically as 09, has an integer value that represents
   the number of times that an improperly formatted packet was detected
   in the course of an output operation on the network interface
   identified by the initial portion of its name.

15.1.2.10.  The ProNET _out-timeout Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a ProNET type network interface
   followed by the octet string represented symbolically as "_out-
   timeout" and numerically as 0A, has an integer value that represents
   the number of times that an attempt to originate a message has been
   delayed by more than 700 ms on the network interface identified by
   the initial portion of its name.

15.1.3.  The Ethernet Network Interface Variables

   This section describes a related set of variables that represent
   attributes of an Ethernet type network interface in the Proteon p4200
   Internet Router gateway.  Each network interface of a p4200
   configuration that supports Ethernet media is uniquely named by the
   concatenation of the octet string represented symbolically as
   "_GW_impl_Proteon_p4200-R7.4_dev-ie" and numerically as:

                 01 FF 01 01 03

   followed by the name of said network interface as described above.

15.1.3.1.  The Ethernet _phys-addr Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented symbolically as "_phys-addr"
   and numerically as 01 has an octet string value that literally
   represents the Ethernet station address associated with the network
   interface identified by the initial portion of its name.

15.1.3.2.  The Ethernet _input-ovfl Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented symbolically as "_input-
   ovfl" and numerically as 02, has an integer value that represents the



Davin, Case, Fedor and Schoffstall                             [Page 29]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   number of times the size of a received frame exceeded the maximum
   allowable for the network interface identified by the initial portion
   of its name.

15.1.3.3.  The Ethernet _input-dropped Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented0 symbolically as "_input-
   dropped" and numerically as 03, has an integer value that represents
   the number of times the loss of one or more frames was detected on
   the network interface identified by the initial portion of its name.

15.1.3.4.  The Ethernet _output-retry Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented symbolically as "_output-
   retry" and numerically as 04, has an integer value that represents
   the number of output operations retried as the result of a
   transmission failure on the network interface identified by the
   initial portion of its name.

15.1.3.5.  The Ethernet _output-fail Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented symbolically as "_output-
   fail" and numerically as 05, has an integer value that represents the
   number of failed output operations detected on the network interface
   identified by the initial portion of its name.

15.1.3.6.  The Ethernet _excess-coll Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented symbolically as "_excess-
   coll" and numerically as 06, has an integer value that represents the
   number of times a transmit frame incurred 16 successive collisions
   when attempting media access via the network interface identified by
   the initial portion of its name.

15.1.3.7.  The Ethernet _frag-rcvd Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented symbolically as "_frag-rcvd"
   and numerically as 07, has an integer value that represents the



Davin, Case, Fedor and Schoffstall                             [Page 30]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   number of collision fragments (i.e., "runt packets") that were
   received and filtered by the controller for the network interface
   identified by the initial portion of its name.

15.1.3.8.  The Ethernet _frames-lost Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented symbolically as "_frames-
   lost" and numerically as 08, has an integer value that represents the
   number of frames not accepted by the Receive FIFO due to insufficient
   space for the network interface identified by the initial portion of
   its name.

15.1.3.9.  The Ethernet _multicst-accept Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented symbolically as "_multicst-
   accept" and numerically as 09, has an integer value that represents
   the number of frames received with a multicast-group destination
   address that matches one of those assigned to the controller for the
   network interface identified by the initial portion of said variable
   name.

15.1.3.10.  The Ethernet _multicst-reject Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented symbolically as "_multicst-
   reject" and numerically as 0A, has an integer value that represents
   the number of frames detected as having a multicast-group destination
   address that matches none of those assigned to the controller for the
   network interface identified by the initial portion of said variable
   name.

15.1.3.11.  The Ethernet _crc-error Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented symbolically as "_crc-error"
   and numerically as 0B, has an integer value that represents the
   number of frames received with a CRC error on the network interface
   identified by the initial portion of its name.

15.1.3.12.  The Ethernet _alignmnt-error Variable Class

   A variable such that the initial portion of its name is the



Davin, Case, Fedor and Schoffstall                             [Page 31]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented symbolically as "_alignmnt-
   error" and numerically as 0C, has an integer value that represents
   the number of frames received with an alignment error on the network
   interface identified by the initial portion of its name.  A received
   frame is said to have an alignment error if its received length is
   not an integral multiple of 8 bits.

15.1.3.13.  The Ethernet _collisions Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented symbolically as
   "_collisions" and numerically as 0D, has an integer value that
   represents the number of collisions incurred during transmissions on
   the network interface identified by the initial portion of its name.

15.1.3.14.  The Ethernet _out-of-window-coll Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for an Ethernet type network interface
   followed by the octet string represented symbolically as "_out-of-
   window-coll" and numerically as 0E, has an integer value that
   represents the number of out-ofwindow collisions incurred during
   transmissions on the network interface identified by the initial
   portion of its name.  Outof-window collisions are those occurring
   after the first 51.2 microseconds of slot time.

15.1.4.  The Serial Network Interface Variables

   This section describes a related set of variables that represent
   attributes of an serial line type network interface in the Proteon
   p4200 Internet Router gateway.  Each network interface of a p4200
   configuration that supports serial communications is uniquely named
   by the concatenation of the octet string represented symbolically as
   "_GW_impl_Proteon_p4200-R7.4_dev-sl" and numerically as:

                 01 FF 01 01 05

   followed by the name of said network interface as described above.

15.1.4.1.  The Serial _tx-pkts Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_tx-pkts"
   and numerically as 01, has an integer value that represents the
   number of packets transmitted on the network interface identified by



Davin, Case, Fedor and Schoffstall                             [Page 32]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   the initial portion of its name.

15.1.4.2.  The Serial _tx-framing-error Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_tx-
   framing-error" and numerically as 02, has an integer value that
   represents the number of transmission framing errors for the network
   interface identified by the initial portion of its name.

15.1.4.3.  The Serial _tx-underrns Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_tx-
   underrns" and numerically as 03, has an integer value that represents
   the number of transmission underrun errors for the network interface
   identified by the initial portion of its name.

15.1.4.4.  The Serial _tx-no-dcd Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_tx-no-dcd"
   and numerically as 04, has an integer value that represents the
   number of times transmission failed due to absence of the EIA Data
   Carrier Detect signal on the network interface identified by the
   initial portion of its name.

15.1.4.5.  The Serial _tx-no-cts Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_tx-no-cts"
   and numerically as 05, has an integer value that represents the
   number of times transmission failed due to absence of the EIA Clear
   To Send signal on the network interface identified by the initial
   portion of its name.

15.1.4.6.  The Serial _tx-no-dsr Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_tx-no-dsr"
   and numerically as 06, has an integer value that represents the
   number of times transmission failed due to absence of the EIA Data
   Set Ready signal on the network interface identified by the initial



Davin, Case, Fedor and Schoffstall                             [Page 33]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


   portion of its name.

15.1.4.7.  The Serial _rx-pkts Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_rx-pkts"
   and numerically as 07, has an integer value that represents the
   number of packets received on the network interface identified by the
   initial portion of its name.

15.1.4.8.  The Serial _rx-framing-err Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_rx-
   framing-err" and numerically as 08, has an integer value that
   represents the number of receive framing errors on the network
   interface identified by the initial portion of its name.

15.1.4.9.  The Serial _rx-overrns Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_rx-
   overrns" and numerically as 09, has an integer value that represents
   the number of receive overrun errors on the network interface
   identified by the initial portion of its name.

15.1.4.10.  The Serial _rx-aborts Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_rx-aborts"
   and numerically as 0A, has an integer value that represents the
   number of aborted frames received on the network interface identified
   by the initial portion of its name.

15.1.4.11.  The Serial _rx-crc-err Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_rx-crc-
   err" and numerically as 0B, has an integer value that represents the
   number of frames received with CRC errors on the network interface
   identified by the initial portion of its name.





Davin, Case, Fedor and Schoffstall                             [Page 34]
^L
RFC 1028               Simple Gateway Monitoring           November 1987


15.1.4.12.  The Serial _rx-buf-ovfl Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_rx-buf-
   ovfl" and numerically as 0C, has an integer value that represents the
   number of received frames whose size exceeded the maximum allowable
   on the network interface identified by the initial portion of its
   name.

15.1.4.13.  The Serial _rx-buf-locked Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_rx-buf-
   locked" and numerically as 0D, has an integer value that represents
   the number of received frames lost for lack of an available buffer on
   the network interface identified by the initial portion of its name.

15.1.4.14.  The Serial _rx-line-speed Variable Class

   A variable such that the initial portion of its name is the
   concatenation of the name for a serial line type network interface
   followed by the octet string represented symbolically as "_rx-line-
   speed" and numerically as 0E, has an integer value that represents an
   estimate of serial line bandwidth in bits per second for the network
   interface identified by the initial portion of its name.
























Davin, Case, Fedor and Schoffstall                             [Page 35]
^L