ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 1421] BER Error on sNMPV2-TRAP

Date: Wed, 4 Apr 2007 22:18:17 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1421


luis.ontanon@xxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Comment #3 from luis.ontanon@xxxxxxxxx  2007-04-04 22:18 GMT -------
The PDU is malformed:


30 : 82 00 5b { <= PDU
  02 : 01 { 01 } <= version
  04 : 06 { 70 75 62 6c 69 63 } <= community
  a7 : 82 00 4c { <= TRAP
    02 : 04 { 11 11 11 11 } <= request-id
    02 : 01 { 00 } <= error-status
    02 : 01 { 00 } <= error-index
    30 : 82 00 3c { <= variable-bindings
      30 : 82 00 0e { <= VarBind 
      06 : 08 { 2b 06 01 02 01 01 03 00 } <= name
      43 : 02 { 2b c0 } <= value
    }
    30 : 82 00 26 { <= VarBind !!! THIS SHOULD BE len = 82 00 14 !!!
      06 : 0a { 2b 06 01 06 03 01 01 04 01 00 } <= name
      06 : 06 { 2b 06 01 04 02 04 } <= value
      30 : 82 00 0e { 
        !!! this should be another VarBind in variable-bindings !!!
        !!! But it's inside of a VarBind after it expected last elem !!!
        06 : 06 { 2b 06 01 04 02 02 } <= name
        02 : 04 { 07 5b cd 15 } <= value
        }
      }
    }
  }
}


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.