mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Add SNMP datagram parsing support.
This supports parsing of SNMPv1 (RFC 1157), SNMPv2 (RFC 1901/3416), and SNMPv2 (RFC 3412). An event is raised for each SNMP PDU type, though there's not currently any event handlers for them and not a default snmp.log either. However, simple presence of SNMP is currently visible now in conn.log service field and known_services.log.
This commit is contained in:
parent
ba81aa4387
commit
a0c06a957b
38 changed files with 2345 additions and 8 deletions
26
testing/btest/Baseline/scripts.base.protocols.snmp.v1/out2
Normal file
26
testing/btest/Baseline/scripts.base.protocols.snmp.v1/out2
Normal file
|
@ -0,0 +1,26 @@
|
|||
snmp_get_request
|
||||
[orig_h=203.143.168.235, orig_p=1026/udp, resp_h=129.94.135.39, resp_p=161/udp]
|
||||
is_orig: T
|
||||
[community=public]
|
||||
request_id: 1567
|
||||
error_stat: 0
|
||||
error_idx: 0
|
||||
oid: 1.3.6.1.2.1.25.3.2.1.5.1
|
||||
value (tag=0x05): <unspecified>
|
||||
oid: 1.3.6.1.2.1.25.3.5.1.1.1
|
||||
value (tag=0x05): <unspecified>
|
||||
oid: 1.3.6.1.2.1.25.3.5.1.2.1
|
||||
value (tag=0x05): <unspecified>
|
||||
snmp_response
|
||||
[orig_h=203.143.168.235, orig_p=1026/udp, resp_h=129.94.135.39, resp_p=161/udp]
|
||||
is_orig: F
|
||||
[community=public]
|
||||
request_id: 1567
|
||||
error_stat: 0
|
||||
error_idx: 0
|
||||
oid: 1.3.6.1.2.1.25.3.2.1.5.1
|
||||
value (tag=0x02): 5
|
||||
oid: 1.3.6.1.2.1.25.3.5.1.1.1
|
||||
value (tag=0x02): 1
|
||||
oid: 1.3.6.1.2.1.25.3.5.1.2.1
|
||||
value (tag=0x04): \xc0
|
Loading…
Add table
Add a link
Reference in a new issue