NICMx / FORT-validator

RPKI cache validator
MIT License
49 stars 24 forks source link

FORT using server mode cannot be interrupted on OpenBSD with SIGINT signal (Control+C) #14

Closed TheRedTrainer closed 5 years ago

TheRedTrainer commented 5 years ago

When FORT is running in server mode on OpenBSD, if the user tries to interrupt the process sending a SIGINT signal (Control+C) the process keeps running as it is shown on the images below:

FORT, server mode, rsync strategy off, local repository

interruptLog

FORT, server mode, validating RIPE TAL

interruptLog2

pcarana commented 5 years ago

An extra signal handler was causing part of the issue, so it was removed in order to handle SIGINT as a SIGTERM (which seems to be the default behavior).

TheRedTrainer commented 5 years ago

Verified. When the user sends a SIGINT signal, the FORT process is interrupted as expected.