troglobit/inadyn — pull request #40 by mfleetwo (2013-08-06 21:53:44+00:00)
Title: Fix for all updates failing to DDNS service provides when using inadyn 1.99.3

Base64 encoding of the HTTP basic authorisation token was broken
resulting in updates being rejected with 401 Unauthorised. Fixes
attached with detailed explanation.

Thanks,
Mike

Log file fragment:
(Hostname and IP address edited)

Tue Aug 6 20:33:09 2013: Sending IP# update to DDNS server, connecting to dynupdate.no-ip.com(8.23.224.120)
Tue Aug 6 20:33:10 2013: Sending alias table update to DDNS server:
Tue Aug 6 20:33:10 2013: GET /nic/update?hostname=myhostname.no-ip.biz&myip=11.22.33.44 HTTP/1.0
Host: dynupdate.no-ip.com
Authorization: Basic 3t
User-Agent: inadyn/1.99.3 troglobit@gmail.com

Tue Aug 6 20:33:10 2013: Fatal error in DDNS server response:
Tue Aug 6 20:33:10 2013: [401 Unauthorized] This service requires basic http authentication
Tue Aug 6 20:33:10 2013: DDNS server response:
Tue Aug 6 20:33:10 2013: HTTP/1.0 401 Unauthorized