NICMx / FORT-validator

RPKI cache validator
MIT License
47 stars 23 forks source link

reload feature: restart validation on SIGHUP #42

Open lukastribus opened 3 years ago

lukastribus commented 3 years ago

Hello,

I believe a reload feature to be able to trigger revalidation and SLURM reread on SIGHUP would be nice to have, without daemon restart, RTR session teardown and RTR serial reset.

If it also would reread the json configuration file, that would be even better, but that probably adds additional complexity.

Thank you

pcarana commented 3 years ago

Hi Lukas,

Indeed, that would be a nice feature. Beside trigger revalidation and reread SLURM, also a local cache cleanup could be done.

If it also would reread the json configuration file, that would be even better, but that probably adds additional complexity.

You're right, it does add complexity. Just giving it a quick thought, if we don't want to alter the RTR session data, some of the server.* args shouldn't be reloaded (i.e. port and address); so, (I believe) FORT should reload the whole configuration file, or nothing at all.

I'll keep this issue open since this feature will be added to our TODO list.