Octet String in SNMP has a value 8? -


hi have packet capture wireshark .

i have opened file , saw below output in variable bindings.

object name: .1.3.6.1.4.1.193.183.4.1.4.5.1.8(iso.3.6.1.4.1.193.183.4.1.4.5.1.8) value(octect string ) : 353038

can find integer value of octect string ?

octect string , octal value mean same ? if , can octal value contain 8 in 353038 .. ?

please guide how know integer value of octect string : 353038

octet strings defined octet string in asn.1 , snmp. there nothing called "octect string". meanwhile, octet strings have little relationship octal numeric system.

when see 353038 octet string, means on wire snmp packet have arrived, , contains string of ascii characters "3", "5", "3", "0", "3", , "8". string nature, , not need integer (unless definition of .1.3.6.1.4.1.193.183.4.1.4.5.1.8 in corresponding mib document mandates fact).

most of questions above invalid, misunderstood concept of octet strings. if object definition indicate string represent integer, can convert string received integer. programming languages support kind of conversion.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -