Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Refactor ssh_scan_worker bin/lib #22

Open
claudijd opened this issue May 19, 2017 · 2 comments
Open

Refactor ssh_scan_worker bin/lib #22

claudijd opened this issue May 19, 2017 · 2 comments

Comments

@claudijd
Copy link
Contributor

claudijd commented May 19, 2017

The workers are not as robust as I would prefer. Things that I think we could do better include...

  • Having a worker manager (that can spin up multiple worker processes in a single command-line run)
  • Have some sort of service recovery (that can make sure if a worker dies/dead-locks that it is respawned)
  • Have some sort of system service (that can ensure service start back up on a reboot)
@claudijd claudijd changed the title Refactor ssh_scan_work bin/lib Refactor ssh_scan_worker bin/lib May 19, 2017
@claudijd
Copy link
Contributor Author

I'd prefer to have both thread and process control defined in the worker config so we can scan at both the thread and process level.

@claudijd
Copy link
Contributor Author

We also need full-stop way of trapping exceptions on workers so they never get dead-ended on an unexpected stack trace and are restarted. This is effectively a bare rescue of sorts, but we want a way to report this somewhere so the information isn't lost and we can see the highest hitting bugs to go fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant