/
rfc4898.txt
4203 lines (3256 loc) · 150 KB
/
rfc4898.txt
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
Network Working Group M. Mathis
Request for Comments: 4898 J. Heffner
Category: Standards Track Pittsburgh Supercomputing Center
R. Raghunarayan
Cisco Systems
May 2007
TCP Extended Statistics MIB
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The IETF Trust (2007).
Abstract
This document describes extended performance statistics for TCP.
They are designed to use TCP's ideal vantage point to diagnose
performance problems in both the network and the application. If a
network-based application is performing poorly, TCP can determine if
the bottleneck is in the sender, the receiver, or the network itself.
If the bottleneck is in the network, TCP can provide specific
information about its nature.
Table of Contents
1. Introduction ....................................................2
2. The Internet-Standard Management Framework ......................2
3. Overview ........................................................2
3.1. MIB Initialization and Persistence .........................4
3.2. Relationship to TCP Standards ..............................4
3.3. Diagnosing SYN-Flood Denial-of-Service Attacks .............6
4. TCP Extended Statistics MIB .....................................7
5. Security Considerations ........................................69
6. IANA Considerations ............................................70
7. Normative References ...........................................70
8. Informative References .........................................72
9. Contributors ...................................................73
10. Acknowledgments ...............................................73
Mathis, et al. Standards Track [Page 1]
RFC 4898 TCP Extended Statistics MIB May 2007
1. Introduction
This document describes extended performance statistics for TCP.
They are designed to use TCP's ideal vantage point to diagnose
performance problems in both the network and the application. If a
network-based application is performing poorly, TCP can determine if
the bottleneck is in the sender, the receiver, or the network itself.
If the bottleneck is in the network, TCP can provide specific
information about its nature.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in RFC 2119.
The Simple Network Management Protocol (SNMP) objects defined in this
document extend TCP MIB, as specified in RFC 4022 [RFC4022]. In
addition to several new scalars and other objects, it augments two
tables and makes one clarification to RFC 4022. Existing management
stations for the TCP MIB are expected to be fully compatible with
these clarifications.
2. The Internet-Standard Management Framework
For a detailed overview of the documents that describe the current
Internet-Standard Management Framework, please refer to section 7 of
RFC 3410 [RFC3410].
Managed objects are accessed via a virtual information store, termed
the Management Information Base or MIB. MIB objects are generally
accessed through the Simple Network Management Protocol (SNMP).
Objects in the MIB are defined using the mechanisms defined in the
Structure of Management Information (SMI). This memo specifies a MIB
module that is compliant to the SMIv2, which is described in STD 58,
RFC 2578 [RFC2578], STD 58, RFC 2579 [RFC2579] and STD 58, RFC 2580
[RFC2580].
3. Overview
The TCP-ESTATS-MIB defined in this memo consists of two groups of
scalars, seven tables, and two notifications:
* The first group of scalars contain statistics of the TCP protocol
engine not covered in RFC 4022. This group consists of the single
scalar tcpEStatsListenerTableLastChange, which provides management
stations with an easier mechanism to validate their listener
caches.
Mathis, et al. Standards Track [Page 2]
RFC 4898 TCP Extended Statistics MIB May 2007
* The second group of scalars consist of knobs to enable and disable
information collection by the tables containing connection-related
statistics/information. For example, the tcpEStatsControlPath
object controls the activation of the tcpEStatsPathTable. The
tcpEStatsConnTableLatency object determines how long connection
table rows are retained after a TCP connection transitions into
the closed state.
* The tcpEStatsListenerTable augments tcpListenerTable in TCP-MIB
[RFC4022] to provide additional information on the active TCP
listeners on a device. It supports objects to monitor and
diagnose SYN-flood denial-of-service attacks as described below.
* The tcpEStatsConnectIdTable augments the tcpConnectionTable in
TCP-MIB [RFC4022] to provide a mapping between connection 4-tuples
(which index tcpConnectionTable) and an integer connection index,
tcpEStatsConnectIndex. The connection index is used to index into
the five remaining tables in this MIB module, and is designed to
facilitate rapid polling of multiple objects associated with one
TCP connection.
* The tcpEStatsPerfTable contains objects that are useful for
measuring TCP performance and first check problem diagnosis.
* The tcpEStatsPathTable contains objects that can be used to infer
detailed behavior of the Internet path, such as the extent that
there are segment losses or reordering, etc.
* The tcpEStatsStackTable contains objects that are most useful for
determining how well the TCP control algorithms are coping with
this particular path.
* The tcpEStatsAppTable provides objects that are useful for
determining if the application using TCP is limiting TCP
performance.
* The tcpEStatsTuneTable provides per-connection controls that can
be used to work around a number of common problems that plague TCP
over some paths.
* The two notifications defined in this MIB module are
tcpEStatsEstablishNotification, indicating that a new connection
has been accepted (or established, see below), and
tcpEStatsCloseNotification, indicating that an existing connection
has recently closed.
Mathis, et al. Standards Track [Page 3]
RFC 4898 TCP Extended Statistics MIB May 2007
3.1. MIB Initialization and Persistence
The TCP protocol itself is specifically designed not to preserve any
state whatsoever across system reboots, and enforces this by
requiring randomized Initial Sequence numbers and ephemeral ports
under any conditions where segments from old connections might
corrupt new connections following a reboot.
All of the objects in the MIB MUST have the same persistence
properties as the underlying TCP implementation. On a reboot, all
zero-based counters MUST be cleared, all dynamically created table
rows MUST be deleted, and all read-write objects MUST be restored to
their default values. It is assumed that all TCP implementation have
some initialization code (if nothing else, to set IP addresses) that
has the opportunity to adjust tcpEStatsConnTableLatency and other
read-write scalars controlling the creation of the various tables,
before establishing the first TCP connection. Implementations MAY
also choose to make these control scalars persist across reboots.
The ZeroBasedCounter32 and ZeroBasedCounter64 objects in the listener
and connection tables are initialized to zero when the table row is
created.
The tcpEStatsConnTableLatency object determines how long connection
table rows are retained after a TCP connection transitions into the
closed state, to permit reading final connection completion
statistics. In RFC 4022 (TCP-MIB), the discussion of
tcpConnectionTable row latency (page 9) the words "soon after" are
understood to mean after tcpEStatsConnTableLatency, such that all
rows of all tables associated with one connection are retained at
least tcpEStatsConnTableLatency after connection close. This
clarification to RFC 4022 only applies when TCP-ESTATS-MIB is
implemented. If TCP-ESTATS-MIB is not implemented, RFC 4022 permits
an unspecified delay between connection close and row deletion.
3.2. Relationship to TCP Standards
There are more than 70 RFCs and other documents that specify various
aspects of the Transmission Control Protocol (TCP) [RFC4614]. While
most protocols are completely specified in one or two documents, this
has not proven to be feasible for TCP. TCP implements a reliable
end-to-end data transport service over a very weakly constrained IP
datagram service. The essential problem that TCP has to solve is
balancing the applications need for fast and reliable data transport
against the need to make fair, efficient, and equitable use of
network resources, with only sparse information about the state of
the network or its capabilities.
Mathis, et al. Standards Track [Page 4]
RFC 4898 TCP Extended Statistics MIB May 2007
TCP maintains this balance through the use of many estimators and
heuristics that regulate various aspects of the protocol. For
example, RFC 2988 describes how to calculate the retransmission timer
(RTO) from the average and variance of the network round-trip-time
(RTT), as estimated from the round-trip time sampled on some data
segments. Although these algorithms are standardized, they are a
compromise which is optimal for only common Internet environments.
Other estimators might yield better results (higher performance or
more efficient use of the network) in some environments, particularly
under uncommon conditions.
It is the consensus of the community that nearly all of the
estimators and heuristics used in TCP might be improved through
further research and development. For this reason, nearly all TCP
documents leave some latitude for future improvements, for example,
by the use of "SHOULD" instead of "MUST" [RFC2119]. Even standard
algorithms that are required because they critically effect fairness
or the dynamic stability of Internet congestion control, include some
latitude for evolution. As a consequence, there is considerable
diversity in the details of the TCP implementations actually in use
today.
The fact that the underlying algorithms are not uniform makes it
difficult to tightly specify a MIB. We could have chosen the point
of view that the MIB should publish precisely defined metrics of the
network path, even if they are different from the estimators in use
by TCP. This would make the MIB more useful as a measurement tool,
but less useful for understanding how any specific TCP implementation
is interacting with the network path and upper protocol layers. We
chose instead to have the MIB expose the estimators and important
states variables of the algorithms in use, without constraining the
TCP implementation.
As a consequence, the MIB objects are defined in terms of fairly
abstract descriptions (e.g., round-trip time), but are intended to
expose the actual estimators or other state variables as they are
used in TCP implementations, possibly transformed (e.g., scaled or
otherwise adjusted) to match the spirit of the object descriptions in
this document.
This may mean that MIB objects may not be exactly comparable between
two different TCP implementations. A general management station can
only assume the abstract descriptions, which are useful for a general
assessment of how TCP is functioning. To a TCP implementer with
detailed knowledge about the TCP implementation on a specific host,
this MIB might be useful for debugging or evaluating the algorithms
in their implementation.
Mathis, et al. Standards Track [Page 5]
RFC 4898 TCP Extended Statistics MIB May 2007
Under no conditions is this MIB intended to constrain TCP to use (or
exclude) any particular estimator, heuristic, algorithm, or
implementation.
3.3. Diagnosing SYN-Flood Denial-of-Service Attacks
The tcpEStatsListenerTable is specifically designed to provide
information that is useful for diagnosing SYN-flood Denial-of-Service
attacks, where a server is overwhelmed by forged or otherwise
malicious connection attempts. There are several different
techniques that can be used to defend against SYN-flooding but none
are standardized [Edd06]. These different techniques all have the
same basic characteristics that are instrumentable with a common set
of objects, even though the techniques differ greatly in the details.
All SYN-flood defenses avoid allocating significant resources (memory
or CPU) to incoming (passive open) connections until the connections
meet some liveness criteria (to defend against forged IP source
addresses) and the server has sufficient resources to process the
incoming request. Note that allocating resources is an
implementation-specific event that may not correspond to an
observable protocol event (e.g., segments on the wire). There are
two general concepts that can be applied to all known SYN-flood
defenses. There is generally a well-defined event when a connection
is allocated full resources, and a "backlog" -- a queue of embryonic
connections that have been allocated only partial resources.
In many implementations, incoming TCP connections are allocated
resources as a side effect of the POSIX [POSIX] accept() call. For
this reason we use the terminology "accepting a connection" to refer
to this event: committing sufficient network resources to process the
incoming request. Accepting a connection typically entails
allocating memory for the protocol control block [RFC793], the per-
connection table rows described in this MIB and CPU resources, such
as process table entries or threads.
Note that it is not useful to accept connections before they are
ESTABLISHED, because this would create an easy opportunity for
Denial-of-Service attacks, using forged source IP addresses.
The backlog consists of connections that are in SYN-RCVD or
ESTABLISHED states, that have not been accepted. For purposes of
this MIB, we assume that these connections have been allocated some
resources (e.g., an embryonic protocol control block), but not full
resources (e.g., do not yet have MIB table rows).
Mathis, et al. Standards Track [Page 6]
RFC 4898 TCP Extended Statistics MIB May 2007
Note that some SYN-Flood defenses dispense with explicit SYN-RCVD
state by cryptographically encoding the state in the ISS (initial
sequence number sent) of the SYN-ACK (sometimes called a syn-cookie),
and then using the sequence number of the first ACK to reconstruct
the SYN-RCVD state before transitioning to the ESTABLISHED state.
For these implementations there is no explicit representation of the
SYN-RCVD state, and the backlog only consists of connections that are
ESTABLISHED and are waiting to be ACCEPTED.
Furthermore, most SYN-flood defenses have some mechanism to throttle
connections that might otherwise overwhelm this endpoint. They
generally use some combination of discarding incoming SYNs and
discarding connections already in the backlog. This does not cause
all connections from legitimate clients to fail, as long as the
clients retransmit the SYN or first ACK as specified in RFC 793.
Most diversity in SYN flood defenses arise from variations in these
algorithms to limit load, and therefore cannot be instrumented with a
common standard MIB.
The Listen Table instruments all passively opened TCP connections in
terms of observable protocol events (e.g., sent and received
segments) and resource allocation events (entering the backlog and
being accepted). This approach eases generalization to SYN-flood
mechanisms that use alternate TCP state transition diagrams and
implicit mechanisms to encode some states.
4. TCP Extended Statistics MIB
This MIB module IMPORTS definitions from [RFC2578], [RFC2579],
[RFC2580], [RFC2856], [RFC4022], and [RFC4502]. It uses REFERENCE
clauses to refer to [RFC791], [RFC793], [RFC1122], [RFC1191],
[RFC1323], [RFC2018], [RFC2581], [RFC2861], [RFC2883], [RFC2988],
[RFC3168], [RFC3260], [RFC3517], [RFC3522], and [RFC3742].
TCP-ESTATS-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, Counter32, Integer32, Unsigned32,
Gauge32, OBJECT-TYPE, mib-2,
NOTIFICATION-TYPE
FROM SNMPv2-SMI -- [RFC2578]
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF -- [RFC2580]
ZeroBasedCounter32
FROM RMON2-MIB -- [RFC4502]
ZeroBasedCounter64
FROM HCNUM-TC -- [RFC2856]
TEXTUAL-CONVENTION,
DateAndTime, TruthValue, TimeStamp
Mathis, et al. Standards Track [Page 7]
RFC 4898 TCP Extended Statistics MIB May 2007
FROM SNMPv2-TC -- [RFC2579]
tcpListenerEntry, tcpConnectionEntry
FROM TCP-MIB; -- [RFC4022]
tcpEStatsMIB MODULE-IDENTITY
LAST-UPDATED "200705180000Z" -- 18 May 2007
ORGANIZATION "IETF TSV Working Group"
CONTACT-INFO
"Matt Mathis
John Heffner
Web100 Project
Pittsburgh Supercomputing Center
300 S. Craig St.
Pittsburgh, PA 15213
Email: mathis@psc.edu, jheffner@psc.edu
Rajiv Raghunarayan
Cisco Systems Inc.
San Jose, CA 95134
Phone: 408 853 9612
Email: raraghun@cisco.com
Jon Saperia
84 Kettell Plain Road
Stow, MA 01775
Phone: 617-201-2655
Email: saperia@jdscons.com "
DESCRIPTION
"Documentation of TCP Extended Performance Instrumentation
variables from the Web100 project. [Web100]
All of the objects in this MIB MUST have the same
persistence properties as the underlying TCP implementation.
On a reboot, all zero-based counters MUST be cleared, all
dynamically created table rows MUST be deleted, and all
read-write objects MUST be restored to their default values.
It is assumed that all TCP implementation have some
initialization code (if nothing else to set IP addresses)
that has the opportunity to adjust tcpEStatsConnTableLatency
and other read-write scalars controlling the creation of the
various tables, before establishing the first TCP
connection. Implementations MAY also choose to make these
control scalars persist across reboots.
Copyright (C) The IETF Trust (2007). This version
of this MIB module is a part of RFC 4898; see the RFC
itself for full legal notices."
Mathis, et al. Standards Track [Page 8]
RFC 4898 TCP Extended Statistics MIB May 2007
REVISION "200705180000Z" -- 18 May 2007
DESCRIPTION
"Initial version, published as RFC 4898."
::= { mib-2 156 }
tcpEStatsNotifications OBJECT IDENTIFIER ::= { tcpEStatsMIB 0 }
tcpEStatsMIBObjects OBJECT IDENTIFIER ::= { tcpEStatsMIB 1 }
tcpEStatsConformance OBJECT IDENTIFIER ::= { tcpEStatsMIB 2 }
tcpEStats OBJECT IDENTIFIER ::= { tcpEStatsMIBObjects 1 }
tcpEStatsControl OBJECT IDENTIFIER ::= { tcpEStatsMIBObjects 2 }
tcpEStatsScalar OBJECT IDENTIFIER ::= { tcpEStatsMIBObjects 3 }
--
-- Textual Conventions
--
TcpEStatsNegotiated ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Indicates if some optional TCP feature was negotiated.
Enabled(1) indicates that the feature was successfully
negotiated on, which generally requires both hosts to agree
to use the feature.
selfDisabled(2) indicates that the local host refused the
feature because it is not implemented, configured off, or
refused for some other reason, such as the lack of
resources.
peerDisabled(3) indicates that the local host was willing
to negotiate the feature, but the remote host did not
do so."
SYNTAX INTEGER {
enabled(1),
selfDisabled(2),
peerDisabled(3)
}
--
-- TCP Extended statistics scalars
--
tcpEStatsListenerTableLastChange OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
Mathis, et al. Standards Track [Page 9]
RFC 4898 TCP Extended Statistics MIB May 2007
"The value of sysUpTime at the time of the last
creation or deletion of an entry in the tcpListenerTable.
If the number of entries has been unchanged since the
last re-initialization of the local network management
subsystem, then this object contains a zero value."
::= { tcpEStatsScalar 3 }
-- ================================================================
--
-- The tcpEStatsControl Group
--
-- The scalar objects in this group are used to control the
-- activation and deactivation of the TCP Extended Statistics
-- tables and notifications in this module.
--
tcpEStatsControlPath OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Controls the activation of the TCP Path Statistics
table.
A value 'true' indicates that the TCP Path Statistics
table is active, while 'false' indicates that the
table is inactive."
DEFVAL { false }
::= { tcpEStatsControl 1 }
tcpEStatsControlStack OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Controls the activation of the TCP Stack Statistics
table.
A value 'true' indicates that the TCP Stack Statistics
table is active, while 'false' indicates that the
table is inactive."
DEFVAL { false }
::= { tcpEStatsControl 2 }
tcpEStatsControlApp OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
Mathis, et al. Standards Track [Page 10]
RFC 4898 TCP Extended Statistics MIB May 2007
STATUS current
DESCRIPTION
"Controls the activation of the TCP Application
Statistics table.
A value 'true' indicates that the TCP Application
Statistics table is active, while 'false' indicates
that the table is inactive."
DEFVAL { false }
::= { tcpEStatsControl 3 }
tcpEStatsControlTune OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Controls the activation of the TCP Tuning table.
A value 'true' indicates that the TCP Tuning
table is active, while 'false' indicates that the
table is inactive."
DEFVAL { false }
::= { tcpEStatsControl 4 }
tcpEStatsControlNotify OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Controls the generation of all notifications defined in
this MIB.
A value 'true' indicates that the notifications
are active, while 'false' indicates that the
notifications are inactive."
DEFVAL { false }
::= { tcpEStatsControl 5 }
tcpEStatsConnTableLatency OBJECT-TYPE
SYNTAX Unsigned32
UNITS "seconds"
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Specifies the number of seconds that the entity will
retain entries in the TCP connection tables, after the
connection first enters the closed state. The entity
SHOULD provide a configuration option to enable
Mathis, et al. Standards Track [Page 11]
RFC 4898 TCP Extended Statistics MIB May 2007
customization of this value. A value of 0
results in entries being removed from the tables as soon as
the connection enters the closed state. The value of
this object pertains to the following tables:
tcpEStatsConnectIdTable
tcpEStatsPerfTable
tcpEStatsPathTable
tcpEStatsStackTable
tcpEStatsAppTable
tcpEStatsTuneTable"
DEFVAL { 0 }
::= { tcpEStatsControl 6 }
-- ================================================================
--
-- Listener Table
--
tcpEStatsListenerTable OBJECT-TYPE
SYNTAX SEQUENCE OF TcpEStatsListenerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains information about TCP Listeners,
in addition to the information maintained by the
tcpListenerTable RFC 4022."
::= { tcpEStats 1 }
tcpEStatsListenerEntry OBJECT-TYPE
SYNTAX TcpEStatsListenerEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry in the table contains information about
a specific TCP Listener."
AUGMENTS { tcpListenerEntry }
::= { tcpEStatsListenerTable 1 }
TcpEStatsListenerEntry ::= SEQUENCE {
tcpEStatsListenerStartTime TimeStamp,
tcpEStatsListenerSynRcvd ZeroBasedCounter32,
tcpEStatsListenerInitial ZeroBasedCounter32,
tcpEStatsListenerEstablished ZeroBasedCounter32,
tcpEStatsListenerAccepted ZeroBasedCounter32,
tcpEStatsListenerExceedBacklog ZeroBasedCounter32,
tcpEStatsListenerHCSynRcvd ZeroBasedCounter64,
tcpEStatsListenerHCInitial ZeroBasedCounter64,
tcpEStatsListenerHCEstablished ZeroBasedCounter64,
Mathis, et al. Standards Track [Page 12]
RFC 4898 TCP Extended Statistics MIB May 2007
tcpEStatsListenerHCAccepted ZeroBasedCounter64,
tcpEStatsListenerHCExceedBacklog ZeroBasedCounter64,
tcpEStatsListenerCurConns Gauge32,
tcpEStatsListenerMaxBacklog Unsigned32,
tcpEStatsListenerCurBacklog Gauge32,
tcpEStatsListenerCurEstabBacklog Gauge32
}
tcpEStatsListenerStartTime OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of sysUpTime at the time this listener was
established. If the current state was entered prior to
the last re-initialization of the local network management
subsystem, then this object contains a zero value."
::= { tcpEStatsListenerEntry 1 }
tcpEStatsListenerSynRcvd OBJECT-TYPE
SYNTAX ZeroBasedCounter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of SYNs which have been received for this
listener. The total number of failed connections for
all reasons can be estimated to be tcpEStatsListenerSynRcvd
minus tcpEStatsListenerAccepted and
tcpEStatsListenerCurBacklog."
::= { tcpEStatsListenerEntry 2 }
tcpEStatsListenerInitial OBJECT-TYPE
SYNTAX ZeroBasedCounter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of connections for which the Listener
has allocated initial state and placed the
connection in the backlog. This may happen in the
SYN-RCVD or ESTABLISHED states, depending on the
implementation."
::= { tcpEStatsListenerEntry 3 }
tcpEStatsListenerEstablished OBJECT-TYPE
SYNTAX ZeroBasedCounter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
Mathis, et al. Standards Track [Page 13]
RFC 4898 TCP Extended Statistics MIB May 2007
"The number of connections that have been established to
this endpoint (e.g., the number of first ACKs that have
been received for this listener)."
::= { tcpEStatsListenerEntry 4 }
tcpEStatsListenerAccepted OBJECT-TYPE
SYNTAX ZeroBasedCounter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of connections for which the Listener
has successfully issued an accept, removing the connection
from the backlog."
::= { tcpEStatsListenerEntry 5 }
tcpEStatsListenerExceedBacklog OBJECT-TYPE
SYNTAX ZeroBasedCounter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of connections dropped from the
backlog by this listener due to all reasons. This
includes all connections that are allocated initial
resources, but are not accepted for some reason."
::= { tcpEStatsListenerEntry 6 }
tcpEStatsListenerHCSynRcvd OBJECT-TYPE
SYNTAX ZeroBasedCounter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of SYNs that have been received for this
listener on systems that can process (or reject) more
than 1 million connections per second. See
tcpEStatsListenerSynRcvd."
::= { tcpEStatsListenerEntry 7 }
tcpEStatsListenerHCInitial OBJECT-TYPE
SYNTAX ZeroBasedCounter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of connections for which the Listener
has allocated initial state and placed the connection
in the backlog on systems that can process (or reject)
more than 1 million connections per second. See
tcpEStatsListenerInitial."
::= { tcpEStatsListenerEntry 8 }
Mathis, et al. Standards Track [Page 14]
RFC 4898 TCP Extended Statistics MIB May 2007
tcpEStatsListenerHCEstablished OBJECT-TYPE
SYNTAX ZeroBasedCounter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of connections that have been established to
this endpoint on systems that can process (or reject) more
than 1 million connections per second. See
tcpEStatsListenerEstablished."
::= { tcpEStatsListenerEntry 9 }
tcpEStatsListenerHCAccepted OBJECT-TYPE
SYNTAX ZeroBasedCounter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of connections for which the Listener
has successfully issued an accept, removing the connection
from the backlog on systems that can process (or reject)
more than 1 million connections per second. See
tcpEStatsListenerAccepted."
::= { tcpEStatsListenerEntry 10 }
tcpEStatsListenerHCExceedBacklog OBJECT-TYPE
SYNTAX ZeroBasedCounter64
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The total number of connections dropped from the
backlog by this listener due to all reasons on
systems that can process (or reject) more than
1 million connections per second. See
tcpEStatsListenerExceedBacklog."
::= { tcpEStatsListenerEntry 11 }
tcpEStatsListenerCurConns OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current number of connections in the ESTABLISHED
state, which have also been accepted. It excludes
connections that have been established but not accepted
because they are still subject to being discarded to
shed load without explicit action by either endpoint."
::= { tcpEStatsListenerEntry 12 }
tcpEStatsListenerMaxBacklog OBJECT-TYPE
Mathis, et al. Standards Track [Page 15]
RFC 4898 TCP Extended Statistics MIB May 2007
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The maximum number of connections allowed in the
backlog at one time."
::= { tcpEStatsListenerEntry 13 }
tcpEStatsListenerCurBacklog OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current number of connections that are in the backlog.
This gauge includes connections in ESTABLISHED or
SYN-RECEIVED states for which the Listener has not yet
issued an accept.
If this listener is using some technique to implicitly
represent the SYN-RECEIVED states (e.g., by
cryptographically encoding the state information in the
initial sequence number, ISS), it MAY elect to exclude
connections in the SYN-RECEIVED state from the backlog."
::= { tcpEStatsListenerEntry 14 }
tcpEStatsListenerCurEstabBacklog OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current number of connections in the backlog that are
in the ESTABLISHED state, but for which the Listener has
not yet issued an accept."
::= { tcpEStatsListenerEntry 15 }
-- ================================================================
--
-- TCP Connection ID Table
--
tcpEStatsConnectIdTable OBJECT-TYPE
SYNTAX SEQUENCE OF TcpEStatsConnectIdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table maps information that uniquely identifies
each active TCP connection to the connection ID used by
Mathis, et al. Standards Track [Page 16]
RFC 4898 TCP Extended Statistics MIB May 2007
other tables in this MIB Module. It is an extension of
tcpConnectionTable in RFC 4022.
Entries are retained in this table for the number of
seconds indicated by the tcpEStatsConnTableLatency
object, after the TCP connection first enters the closed
state."
::= { tcpEStats 2 }
tcpEStatsConnectIdEntry OBJECT-TYPE
SYNTAX TcpEStatsConnectIdEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry in this table maps a TCP connection
4-tuple to a connection index."
AUGMENTS { tcpConnectionEntry }
::= { tcpEStatsConnectIdTable 1 }
TcpEStatsConnectIdEntry ::= SEQUENCE {
tcpEStatsConnectIndex Unsigned32
}
tcpEStatsConnectIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..4294967295)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A unique integer value assigned to each TCP Connection
entry.
The RECOMMENDED algorithm is to begin at 1 and increase to
some implementation-specific maximum value and then start
again at 1 skipping values already in use."
::= { tcpEStatsConnectIdEntry 1 }
-- ================================================================
--
-- Basic TCP Performance Statistics
--
tcpEStatsPerfTable OBJECT-TYPE
SYNTAX SEQUENCE OF TcpEStatsPerfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table contains objects that are useful for
Mathis, et al. Standards Track [Page 17]
RFC 4898 TCP Extended Statistics MIB May 2007
measuring TCP performance and first line problem
diagnosis. Most objects in this table directly expose
some TCP state variable or are easily implemented as
simple functions (e.g., the maximum value) of TCP
state variables.
Entries are retained in this table for the number of
seconds indicated by the tcpEStatsConnTableLatency
object, after the TCP connection first enters the closed
state."
::= { tcpEStats 3 }
tcpEStatsPerfEntry OBJECT-TYPE
SYNTAX TcpEStatsPerfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Each entry in this table has information about the
characteristics of each active and recently closed TCP
connection."
INDEX { tcpEStatsConnectIndex }
::= { tcpEStatsPerfTable 1 }
TcpEStatsPerfEntry ::= SEQUENCE {
tcpEStatsPerfSegsOut ZeroBasedCounter32,
tcpEStatsPerfDataSegsOut ZeroBasedCounter32,
tcpEStatsPerfDataOctetsOut ZeroBasedCounter32,
tcpEStatsPerfHCDataOctetsOut ZeroBasedCounter64,
tcpEStatsPerfSegsRetrans ZeroBasedCounter32,
tcpEStatsPerfOctetsRetrans ZeroBasedCounter32,
tcpEStatsPerfSegsIn ZeroBasedCounter32,
tcpEStatsPerfDataSegsIn ZeroBasedCounter32,
tcpEStatsPerfDataOctetsIn ZeroBasedCounter32,
tcpEStatsPerfHCDataOctetsIn ZeroBasedCounter64,
tcpEStatsPerfElapsedSecs ZeroBasedCounter32,
tcpEStatsPerfElapsedMicroSecs ZeroBasedCounter32,
tcpEStatsPerfStartTimeStamp DateAndTime,
tcpEStatsPerfCurMSS Gauge32,
tcpEStatsPerfPipeSize Gauge32,
tcpEStatsPerfMaxPipeSize Gauge32,
tcpEStatsPerfSmoothedRTT Gauge32,