jvinet / knock

A port-knocking daemon
http://www.zeroflux.org/projects/knock
GNU General Public License v2.0
552 stars 114 forks source link

On reload, knockd doesn't verify if the config file is valid #26

Closed airwoflgh closed 8 years ago

airwoflgh commented 8 years ago

I can see from the code path that parseconfig is not validated for whether an error occurred when reloading knockd, unlike on initialisation.

Have provided a fix here: https://github.com/airwoflgh/knock/commit/64230a19c67e5bc5545d8810bc416d1dc7887c04