aau-network-security / riotpot

IoT and Operational Technology Honeypot
MIT License
105 stars 28 forks source link

Failure to run riotpot core while running service which is not in Emulators list but in Start list. #42

Closed ABresting closed 3 years ago

ABresting commented 3 years ago

If a service is present in the Start list but no in the Emulators list then riotpot core fails as it tries to run the service.

In the following example, Modbus service is removed from Emulators list but present in Start list in configuration.yml file image

This should be handled post service registration in autopilot.go code in form of a warning + avoid running the service OR terminating the riotpot code run with an error to remove the service from the Start list.