Modify

Opened 6 years ago

Closed 3 years ago

#10192 closed defect (moved_to_github)

protocol change of freedns.afraid.org

Reported by: matthiasgies@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Backfire 10.03.1 RC5
Keywords: ddns-scripts Cc:

Description

when using ddns-scripts (configured through luci-app-ddns) with freedns.afraid.org, update fails due to wrong update url.
the script simply attaches the account password from afraid.org to the update url "http://freedns.afraid.org/dynamic/update.php?PASSWORD".
To make ddns-scripts work with afraid.org one has to get the private update url from "http://freedns.afraid.org/api/" and add it as "custom url" in luci. It seems to be a unique url for each hostname in the account.

I cannot really help to fix this, due to the lack of knowledge, but I'd be very happy to find this work OTB in final 10.03.1. Thanks for all your efforts!

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by anonymous

In freedns.afraid.org you get a direct URL and each time you access it it updates the information which is much simpler than logging into a site.

Therefore the solution would be to change the luci-app-ddns user interface, so that the hostname and username fields are removed and password is renamed to hostname hash or something like that (or maybe direct url and than there would need to be some code to parse out the hash part).

comment:2 Changed 4 years ago by anonymous

workaround 1:
copy your direct URL updater from your freedns.afraid.org account and paste in the line that begins with "freedns.afraid.org" in the file /usr/lib/ddns/services

workaround 2:
copy your direct URL updater from your freedns.afraid.org account
edit file /etc/config/ddns. Change the service_name option to whatever (so it will fail to find it in /usr/lib/ddns/services ), and uncomment option update_url and paste your URL.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:4 Changed 3 years ago by anonymous

In both Attitude Adjustment and Barrier Breaker, I was able to set this up via luci, by picking the "-- custom --" provider, therefore revealing the "custom update-URL" field on the web interface.

Versions are:

ATTITUDE ADJUSTMENT (12.09, r36088)

BARRIER BREAKER (14.07-rc3, r42056)

comment:5 Changed 3 years ago by nbd

  • Resolution set to moved_to_github
  • Status changed from new to closed

ddns-scripts is maintained here: https://github.com/openwrt/packages

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.