rfc-4113

Management Information Base for the User Datagram Protocol (UDP)

B. Fenner, J. Flick
date2005-06 streamIETF areaint wgipv6 statusPROPOSED STANDARD pages19 canonicalhttps://www.rfc-editor.org/rfc/rfc4113 doi10.17487/RFC4113 errataview
This memo defines a portion of the Management Information Base (MIB) for use with network management protocols in the Internet community. In particular, it describes managed objects used for implementations of the User Datagram Protocol (UDP) in an IP version independent manner. This memo obsoletes RFCs 2013 and 2454. [STANDARDS-TRACK]

obsoletes

Extracted elements (18)

design-rationale §3

High-capacity Counter64 objects (udpHCInDatagrams, udpHCOutDatagrams) were added because a Counter32 will wrap in just over an hour at 1 million datagrams per second, making them mandatory for high-speed implementations.

udp, snmp

design-rationale §2.1.2

IPV6-UDP-MIB (RFC 2454) was moved to Historic because the approach of having separate IP-version-specific tables is no longer followed. Scoped addresses are now represented using IPv4z and IPv6z types, eliminating the need for an explicit ifIndex in the table index.

udp, snmp

design-rationale §2.1.1

The IPv4-only udpTable was deprecated because it only supports IPv4 and does not permit describing 'connected' UDP endpoints. The new udpEndpointTable is IP-version-neutral and supports both listening and connected endpoints, following the IETF approach of writing IP-version-neutral MIBs.

udp, snmp

interoperability-note §3

If the total number of octets or sub-identifiers in udpEndpointLocalAddress and udpEndpointRemoteAddress exceeds 111, OIDs of column instances will have more than 128 sub-identifiers and cannot be accessed using SNMPv1, SNMPv2c, or SNMPv3.

udp, snmp

interoperability-note §3

The deprecated udpMIBCompliance (for IPv4-only systems) is retained and agents are still encouraged to implement those objects in order to interoperate with the deployed base of managers, despite being superseded by udpMIBCompliance2.

udp, snmp

normative-requirement §6 RECOMMENDED

Deployment of SNMP versions prior to SNMPv3 is NOT RECOMMENDED. It is RECOMMENDED to deploy SNMPv3 and enable cryptographic security for authentication and privacy.

udp, snmp, security

normative-requirement §3 REQUIRED

The udpHCGroup (Counter64 high-capacity counters) is mandatory for systems that are capable of receiving or transmitting more than 1 million UDP datagrams per second.

udp, snmp

protocol-element §2

The udpEndpointTable provides IP-version-independent access to all UDP endpoints, supporting both listening endpoints (wildcard remote) and connected endpoints (specific remote address/port), along with the OS process ID handling each endpoint.

udp, snmp

protocol-element §3

udpEndpointInstance (Unsigned32, 1..0xffffffff) distinguishes among multiple processes connected to the same UDP endpoint, supporting SO_REUSEADDR and SO_REUSEPORT socket options.

udp, snmp

protocol-element §3

udpEndpointLocalAddressType (InetAddressType) and udpEndpointLocalAddress (InetAddress) together represent the local endpoint address. A zero-length octet-string with unknown(0) type indicates willingness to accept both IPv4 and IPv6 datagrams.

udp, snmp

protocol-element §3

udpEndpointProcess (Unsigned32) reports the system's process ID for the process associated with the UDP endpoint, expected to match HOST-RESOURCES-MIB::hrSWRunIndex or SYSAPPL-MIB::sysApplElmtRunIndex.

udp, snmp

protocol-element §3

udpHCInDatagrams (Counter64) and udpHCOutDatagrams (Counter64) are high-capacity counters for devices that can receive or transmit more than 1 million UDP datagrams per second, added since RFC 2013.

udp, snmp

protocol-element §3

udpInDatagrams (Counter32) counts total UDP datagrams delivered to UDP users. Discontinuities are indicated by sysUpTime discontinuities.

udp, snmp

protocol-element §3

udpInErrors (Counter32) counts received UDP datagrams that could not be delivered for reasons other than the lack of an application at the destination port.

udp, snmp

protocol-element §3

udpNoPorts (Counter32) counts received UDP datagrams for which there was no application at the destination port.

udp, snmp

registry §7

This MIB uses two IANA-assigned OBJECT IDENTIFIER values in the SMI Numbers registry: 'udp' at { mib-2 7 } and 'udpMIB' at { mib-2 50 }.

udp, snmp, registry

security-consideration §6

All managed objects in this MIB are read-only (no read-write or read-create), so there is no risk that an intruder can alter or create management objects via direct SNMP SET operations if the MIB is implemented correctly.

udp, snmp, security

security-consideration §6

The indices of udpEndpointTable and udpTable expose open port information (udpEndpointLocalPort, udpLocalPort), enabling an attacker to identify open ports and likely successful attacks without running a port scanner. GET and NOTIFY access should be controlled and values encrypted when transmitted via SNMP.

udp, snmp, security