policy/protocols/modbus/track-memmap.zeek
- Modbus
This script tracks the memory map of holding (read/write) registers and logs changes as they are discovered.
Todo
Not all register read and write functions are supported yet.
- Namespace:
Modbus
- Imports:
Summary
Runtime Options
The hosts that should have memory mapping enabled. |
State Variables
The memory map of slaves is tracked with this variable. |
Types
Indexed on the device register value and yielding the register value. |
Redefinitions
|
Events
This event is generated every time a register is seen to be different than it was previously seen to be. |
Hooks
Detailed Interface
Runtime Options
- Modbus::track_memmap
-
The hosts that should have memory mapping enabled.
State Variables
- Modbus::device_registers
- Type:
table[addr] ofModbus::Registers- Default:
{}
The memory map of slaves is tracked with this variable.
Types
- Modbus::MemmapInfo
- Type:
- Fields:
- Modbus::Registers
- Type:
Indexed on the device register value and yielding the register value.
Events
- Modbus::changed_register
-
This event is generated every time a register is seen to be different than it was previously seen to be.