It is mostly inherited from ptpd-2.1.0. May be done in a better way, but should be fine for first tests