Project

General

Profile

Bug #41395

Properly encode passwords in inadyn config

Added by Bug Clerk about 2 years ago. Updated about 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

The dynamic DNS service doesn't start for me, though I think it used to work.

The apparent cause is a bug in its config parser which doesn't allow # in strings. I haven't checked if \# works yet.

  1. cat /usr/local/etc/inadyn.conf
    period = 86400
    provider {
    username = alexstrange
    password = <some base64>
    hostname = { "<host>#<secret>" }
    }
  2. inadyn n
    inadyn70707: In-a-dyn version 2.2 -
    Dynamic DNS update client.
    inadyn70707: /usr/local/etc/inadyn.conf:4: unexpected token '='
    inadyn70707: Parse error in /usr/local/etc/inadyn.conf
    inadyn70707: Error code 74: Missing .conf file

It seems to be upset about the password. I changed the conf to:
allow-ipv6 = true
provider {
username = alexstrange
password = "<password>"
hostname = <host>#<secret>
}

test_passed.jpg (18.5 KB) test_passed.jpg This is the result of the passed test in U6 Bonnie Follweiler, 09/05/2018 01:25 PM
Password.png (1.22 MB) Password.png Jeff Ervin, 09/06/2018 08:28 AM
28642
28975

Related issues

Related to FreeNAS - Bug #44900: Add --continue-on-error for inadyn to prevent it from exiting on errorDone
Related to FreeNAS - Bug #44947: Add --continue-on-error for inadyn to prevent it from exiting on errorDone
Copied from FreeNAS - Bug #41272: Properly encode passwords in inadyn configDone

History

#1 Updated by Bug Clerk about 2 years ago

  • Copied from Bug #41272: Properly encode passwords in inadyn config added

#2 Updated by Bug Clerk about 2 years ago

  • Status changed from Unscreened to In Progress

#3 Updated by Dru Lavigne about 2 years ago

  • Subject changed from inadyn doesn't start w freedns to Properly encode passwords in inadyn config
  • Needs Doc changed from Yes to No

#4 Updated by Bug Clerk about 2 years ago

  • Status changed from In Progress to Ready for Testing

#5 Updated by Dru Lavigne about 2 years ago

  • Needs Merging changed from Yes to No

#6 Updated by Bonnie Follweiler about 2 years ago

28642

#8 Updated by Jeff Ervin about 2 years ago

  • Related to Bug #44900: Add --continue-on-error for inadyn to prevent it from exiting on error added

#9 Updated by Jeff Ervin about 2 years ago

  • File Password.png Password.png added
  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No
28975

Test passes FreeNAS-11.2-MASTER-201809060900

#10 Updated by Dru Lavigne about 2 years ago

  • Status changed from Passed Testing to Done

#11 Updated by Dru Lavigne almost 2 years ago

  • Related to Bug #44947: Add --continue-on-error for inadyn to prevent it from exiting on error added

Also available in: Atom PDF