ddns-gargoyle: ewget segfaults fetching duckdns update url

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
User avatar
braveheartleo
Posts: 47
Joined: Sun Dec 13, 2009 9:50 am

ddns-gargoyle: ewget segfaults fetching duckdns update url

Post by braveheartleo »

ewget segfaults while trying to fetch the update url of a duckdns service for ddns-gargoyle. Another service, opendns, is not affected. Here are the relevant outputs:

Code: Select all

# /usr/bin/ddns_gargoyle -P /etc/ddns_providers.conf -C /etc/ddns_gargoyle.conf -v
local ip = <snip:IP>
update needed or force requested, performing actual update
fetching: "https://www.duckdns.org/update?domains=<snip:DOMAIN>&token=<snip:TOKEN>&ip=<snip:IP>"
Segmentation fault

# ewget "https://www.duckdns.org/update?domains=<snip:DOMAIN>&token=<snip:TOKEN>&ip=<snip:IP>"
Segmentation fault
I'm not sure when this started to manifest. Is there any way to get verbose output from ewget to troubleshoot this further? Here are the relevant version infos for reference:

Code: Select all

# opkg list-installed |egrep 'ddns-gargoyle|ewget'
ddns-gargoyle - 1.6.2-1
ewget - 1.6.2-1

Hondo88
Posts: 1
Joined: Thu Oct 16, 2014 4:17 pm

Re: ddns-gargoyle: ewget segfaults fetching duckdns update u

Post by Hondo88 »

I have a problem with duckdns not updating as well.
Force Update, tries to connect, but never finishes.

User avatar
braveheartleo
Posts: 47
Joined: Sun Dec 13, 2009 9:50 am

Re: ddns-gargoyle: ewget segfaults fetching duckdns update u

Post by braveheartleo »

Hey thanks for chiming in.

So it would seem that duckdns made changes to its web pages that became incompatible with ewget, thereby causing a segfault and the update never finishes.

This is a confirmed bug. I hope one of the devs would give advice on how to proceed from here.

User avatar
braveheartleo
Posts: 47
Joined: Sun Dec 13, 2009 9:50 am

Re: ddns-gargoyle: ewget segfaults fetching duckdns update u

Post by braveheartleo »

In case any other is affected by this bug, as a workaround, changing the /etc/ddns_providers.conf for duckdns as follows:

Code: Select all

service duckdns.org
        url_template                    http://www.duckdns.org/update?domains=[[DOMAIN]]&token=[[TOKEN]]&ip=[[IP]]
        required_variables              domain token
        required_variable_names         DyDNS.DoNm,DyDNS.Tokn
        success_regexp                  /OK/
prevents the segfault and enables the use of duckdns dynamic dns service once more. The caveat is of course the switch to http from https, where the segfault in ewget occurs.

User avatar
braveheartleo
Posts: 47
Joined: Sun Dec 13, 2009 9:50 am

Re: ddns-gargoyle: ewget segfaults fetching duckdns update u

Post by braveheartleo »

This issue is SOLVED in Gargoyle 1.7.0. Thanks. :D

Post Reply