Modify

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#1300 closed bug (fixed)

Dynamic DNS: freedns.afraid.org, URL escaping corrupts update code

Reported by: Tristan Helmich <tristan.helmich+fonosfera@…> Owned by:
Priority: normal Milestone:
Component: fon-plugin-ddns Version: 2.3.7.0 (Paco)
Severity: unknown
Cc: Hardware: 2.0n (FON2300)

Description

When using the freedns.afraid.org dynamic dns service a update key is required.

Example: EXAMPLEKEY-VMVVBQUg5aFdWOEFBQUFDOjk0Nzc1NzM=

The update URL is built using a hardcoded part + the key which is inserted instead of a placeholder. The URL then is being escaped which corrupts the update key (in this example the equal sign is replaced by '%3D' ).

Since all my update keys contain a '=' I am unable to use the dyndns feature with freedns.afraid.org.

Attachments (0)

Change History (6)

comment:1 Changed 5 years ago by Tristan Helmich <tristan.helmich@…>

I should add that freedns.afraid.org does not accept the request with '%3D' instead of the '='.

comment:2 Changed 4 years ago by matthijs

  • Status changed from new to confirmed

I can confirm this problem:

matthijs@grubby:~$ wget 'http://freedns.afraid.org/dynamic/update.php?VDh5UnRxMzFVMVVBQU4wV2JhUUFBQUFJOjc3Mjc0NjE=' -O - -o /dev/null
ERROR: Address 84.245.0.0 has not changed.
matthijs@grubby:~$ wget 'http://freedns.afraid.org/dynamic/update.php?VDh5UnRxMzFVMVVBQU4wV2JhUUFBQUFJOjc3Mjc0NjE%3D' -O - -o /dev/null
ERROR: Unable to locate this record

We could fix this in the firmware, but it is a bit of a fuss. Also, I wonder if afraid.org isn't violating some RFC by not accepting encoded urls.

I've contacted the afraid.org admins, to see if they can perhaps fix this on their end (which is probably easier than fixing it the Fonera firmware). I'll keep this ticket updated when I get a response from them.

comment:3 Changed 4 years ago by OldMan

Same problem here. freedns.afraid.org is one of the last real free ddns services that is suppose to work with the fonera

comment:4 Changed 4 years ago by matthijs

No response from freedns yet, though. I've just sent them a reminder about my question...

comment:5 Changed 4 years ago by matthijs

  • Resolution set to fixed
  • Status changed from confirmed to closed

Apparently my first mail never made it to the freedns admins. My reminder was quickly replied to and the freedns.afraid.org administrator has made a change to their software to fix urlencoded = signs. This means their DDNS service now works correctly with the Fonera.

Could you doublecheck if this works for you as well now?

comment:6 Changed 4 years ago by tristan.helmich@…

I finally was able to test it. Everything working as expected :)

Thanks!

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.