While I learn about SNMP, I have some questions about SNMP string operations:
#$%^&
There are no string concepts in SNMP. OCTET STRING is not a real string (compared to high-level programming languages ββsuch as Java and C #), since this data structure has nowhere to store coding information. Well, that is really terrible.
SNMP, TCP/IP . SNMP RFC .
OCTET STRING , . , SNMP/. "" , SNMP. RFC 3416 4.2.1. RFC 1157, 4.1.5.
OCTET STRING , , .
"" OCTET STRING, . , IpAddress OCTET STRING, . MIB. RFC1155-SMI IpAddress.
, , MIB, , MIB.
, OCTET STRING, , . SnmpAdminString ( ) DisplayString ( , ASCII, , - ). 255 , . , , , -, SNMP .
OCTET STRING . , SNMP UDP . , MTU = 1500. .
The only limitation is that SNMP uses UDP as the transport protocol - I agree. However, the MTU for UDP is 64k. See https://en.wikipedia.org/wiki/User_Datagram_Protocol . MTU = 1500 for standard Ethernet packets. So in this case, the maximum size is 64k.