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.
Updated by Ermal Luçi over 12 years ago
- Status changed from New to Feedback
Seems the fix has been committed!
Updated by Dirk-Willem van Gulik over 12 years ago
Ermal Luçi wrote:
Seems the fix has been committed!
Ermail - what is the commit reference - I cannot find it in the tracker ?
Updated by Jim Pingle over 12 years ago
- Status changed from Feedback to Resolved
Actions