aau-network-security / haaukins

A Highly Accessible and Automated Virtualization Platform for Security Education
https://general.haaukins.com
Apache License 2.0
184 stars 39 forks source link

Create a time-to-live for events #235

Closed tpanum closed 4 years ago

tpanum commented 5 years ago

The platform generally suffers from a lot of dangling events (events that are forgotten to be stopped). We should implement a feature that requires users to specify a maximum time-to-live for an event of a certain max (i.e. 30 days). This ensures that events will be stopped automatically.

JensMyrup commented 5 years ago

I think this is a good idea. We should remember that we might want to use the labs for longer courses, so probably the max setting should be quite long - but default could be 30 days.

mrtrkmn commented 4 years ago

Auto killer for events has been created in a docker environment. Rather than putting that functionality into Haaukins itself, a docker container created which takes care of events everyday midnight by checking expected finish time of the events. The auto killer is ready to use, however pending for the issue which is exist in haaukins-webclient repo. Issue on haaukins-webclient

Once it is solved, autokiller will be run on host.

mrtrkmn commented 4 years ago

autokiller deployed.