mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14: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
18
testing/btest/Baseline/scripts.base.protocols.snmp.v1/out3
Normal file
18
testing/btest/Baseline/scripts.base.protocols.snmp.v1/out3
Normal file
|
@ -0,0 +1,18 @@
|
|||
snmp_set_request
|
||||
[orig_h=127.0.0.1, orig_p=63034/udp, resp_h=127.0.0.1, resp_p=161/udp]
|
||||
is_orig: T
|
||||
[community=]
|
||||
request_id: 2064150121
|
||||
error_stat: 0
|
||||
error_idx: 0
|
||||
oid: 1.3.6.1.2.1.1.5.0
|
||||
value (tag=0x04): musec
|
||||
snmp_response
|
||||
[orig_h=127.0.0.1, orig_p=63034/udp, resp_h=127.0.0.1, resp_p=161/udp]
|
||||
is_orig: F
|
||||
[community=]
|
||||
request_id: 2064150121
|
||||
error_stat: 0
|
||||
error_idx: 0
|
||||
oid: 1.3.6.1.2.1.1.5.0
|
||||
value (tag=0x05): <unspecified>
|
Loading…
Add table
Add a link
Reference in a new issue