Actions
Bug #2489
closedMore than one secure dynamic dns update entry fails - due to malformed keyfile - and patch
Start date:
06/11/2012
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All
Description
When configuring more than one DDNS service to inform (e.g. if you have multiple WAN uplinks) - the first one will work dandy - but any later ones will fail with a 'BADKEY'.
The reason is due to a small buglet in the script ./etc/inc/services.inc. Around line 892 the priv-key is concatenated to with the field data.
It prolly should be reset prior to each file. So changing:
$fd = fopen("{$g['varetc_path']}/K{$i}{$ keyname}+157+00000.private", "w"); - $privkey .= <<<EOD + $privkey = <<<EOD Private-key-format: v1.2
will solve things nicely.
Actions