You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
if an error is put in the manager configuration file, and the manager is reloaded with an admin command, the parsing of the configuration file fails and the manager hangs after sending a critical error
Plateform (please complete the following information):
OS (version): HBSD12.2
Darwin version: 1.4
To Reproduce
Steps to reproduce the behavior:
Setup a correct configuration file (with a single running filter for example)
Run Darwin, the manager and the filter should work correctly
Modify the configuration file, so that it is not a valid json (add characters at the beginning of the file, for example)
send a {"type": "update_filters"} command to the manager
netcat should hang indefinitely, and darwin_manager.log should show a CRITICAL log
Expected behavior
Manager should invalidate the configuration file, but shouldn't fail and hang after reading it, its state should remain the same.
Screenshots/logs
The text was updated successfully, but these errors were encountered:
# MANAGER
- handle exceptions correctly when parsing manager conf file, especially for json formatting
# TESTS
- add tests to manager with wrong json format in manager conf file
Describe the bug
if an error is put in the manager configuration file, and the manager is reloaded with an admin command, the parsing of the configuration file fails and the manager hangs after sending a critical error
Plateform (please complete the following information):
To Reproduce
Steps to reproduce the behavior:
{"type": "update_filters"}
command to the managerExpected behavior
Manager should invalidate the configuration file, but shouldn't fail and hang after reading it, its state should remain the same.
Screenshots/logs


The text was updated successfully, but these errors were encountered: