Known
¶Script for tracking known Modbus masters and slaves.
Todo
This script needs a lot of work. What might be more interesting is to track master/slave relationships based on commands sent and successful (non-exception) responses.
Namespace: | Known |
---|---|
Imports: | base/protocols/modbus |
Source File: | /scripts/policy/protocols/modbus/known-masters-slaves.bro |
Known::modbus_nodes : set &create_expire = 1.0 day &redef |
The Modbus nodes being tracked. |
Known::log_known_modbus : event |
Event that can be handled to access the loggable record as it is sent on to the logging framework. |
Known::modbus_nodes
¶Type: | set [addr , Known::ModbusDeviceType ] |
---|---|
Attributes: | &create_expire = 1.0 day &redef |
Default: | {} |
The Modbus nodes being tracked.
Known::log_known_modbus
¶Type: | event (rec: Known::ModbusInfo ) |
---|
Event that can be handled to access the loggable record as it is sent on to the logging framework.