Modify

Opened 5 years ago

Last modified 4 years ago

#12924 new defect

DDNS script parsing error for free.afraid.org

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Attitude Adjustment 12.09 Beta
Keywords: ddns free.afraid.org Cc:

Description

Hi,

I have tried to fix this, but my knowledge is limited on programing :(

DDNS script can not parse the http address correctly for free.afraid.org service

special character like "=" is being translate by "sed" command in
/usr/lib/ddns/dynamic_dns_updater.sh (line 304) into "%3D"

"Wget" can not process the http address correctly

to test the error :

  1. get the "Direct URL" update from free.afraid.org
  2. extract the password from the URL, example:

http://freedns.afraid.org/dynamic/update.php?VUdHa3c2UFiOjgzNTQ5Nzg=

"VUdHa3c2UFiOjgzNTQ5Nzg=" is the password for the password field in the config

  1. run "/usr/lib/ddns/dynamic_dns_updater.sh myddns"
  1. you will see an error, trace back to "wget http://freedns.afraid.org/dynamic/update.php?VUdHa3c2UFiOjgzNTQ5Nzg%3D"
  1. or better yet run "wget http://freedns.afraid.org/dynamic/update.php?VUdHa3c2UFiOjgzNTQ5Nzg%3D"

Please help how to fix the parsing...

Thanks
Handoko Widjojo

Attachments (0)

Change History (3)

comment:1 follow-up: Changed 5 years ago by joykicer@…

I also find it. But maybe the real password is VUdHa3c2UFiOjgzNTQ5Nzg, not the VUdHa3c2UFiOjgzNTQ5Nzg=. If you use it as password, it will works.

comment:2 in reply to: ↑ 1 Changed 5 years ago by anonymous

Replying to joykicer@…:

I also find it. But maybe the real password is VUdHa3c2UFiOjgzNTQ5Nzg, not the VUdHa3c2UFiOjgzNTQ5Nzg=. If you use it as password, it will works.

Yes, the real password is without '=' at the end.

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

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.