Using 3.8.1-1ubuntu2.14.04.1 which is the latest for my distribution. libio-socket-ssl-perl: 1.965-1ubuntu1 OS: ubuntu 14.04
I have been running it for a long time but few days ago I decided to check if it is really using HTTPS.
config:
use=web, web=dynamicdns.park-your-domain.com/getip ssl=yes protocol=namecheap server=dynamicdns.park-your-domain.com login=domain password='pass' sub1, sub2 protocol=namecheap server=dynamicdns.park-your-domain.com login=domain password='pass' sub3
ddclient -noquiet -verbose -debug reports: CONNECTED: using HTTP
strace reports port 80 being used.
I tried different tips but to no avail. According to threads in here, guides on the internet, namecheap support my config is correct.
I then proceeded to modify $force_ssl to be true. ddclient reported: CONNECTED: using SSL
and strace shows port 443 being used.
Could someone clarify what I am doing wrong? Or if I am not wrong if this has been fixed on a more recent version that what the repo has.
Full debug log before mofiying ddclient: (keep in mind I messed up a bit the order of what I set as sub1, sub2, domain1 etc)
=== opt ==== opt{cache} : <undefined> opt{cmd} : <undefined> opt{cmd-skip} : <undefined> opt{daemon} : <undefined> opt{debug} : 1 opt{exec} : <undefined> opt{facility} : <undefined> opt{file} : <undefined> opt{force} : <undefined> opt{foreground} : <undefined> opt{fw} : <undefined> opt{fw-login} : <undefined> opt{fw-password} : <undefined> opt{fw-skip} : <undefined> opt{geturl} : <undefined> opt{help} : <undefined> opt{host} : <undefined> opt{if} : <undefined> opt{if-skip} : <undefined> opt{ip} : <undefined> opt{login} : <undefined> opt{mail} : <undefined> opt{mail-faisub3re} : <undefined> opt{max-interval} : 2592000 opt{min-error-interval} : 300 opt{min-interval} : 30 opt{options} : <undefined> opt{password} : <undefined> opt{pid} : <undefined> opt{postscript} : <undefined> opt{priority} : <undefined> opt{protocol} : <undefined> opt{proxy} : <undefined> opt{query} : <undefined> opt{quiet} : 0 opt{retry} : <undefined> opt{server} : <undefined> opt{ssl} : <undefined> opt{syslog} : <undefined> opt{test} : <undefined> opt{timeout} : <undefined> opt{use} : <undefined> opt{verbose} : 1 opt{web} : <undefined> opt{web-skip} : <undefined> === globals ==== globals{debug} : 1 globals{login} : domain globals{password} : redacted globals{protocol} : namecheap globals{quiet} : 0 globals{server} : dynamicdns.park-your-domain.com globals{ssl} : 1 globals{use} : web globals{verbose} : 1 globals{web} : dynamicdns.park-your-domain.com/getip === config ==== config{sub1}{atime} : 0 config{sub1}{cacheable} : ARRAY(0xcb10b0) config{sub1}{cmd} : <undefined> config{sub1}{cmd-skip} : config{sub1}{fw} : config{sub1}{fw-login} : <undefined> config{sub1}{fw-password} : config{sub1}{fw-skip} : config{sub1}{host} : sub1 config{sub1}{if} : ppp0 config{sub1}{if-skip} : config{sub1}{ip} : <undefined> config{sub1}{login} : domain2 config{sub1}{max-interval} : 2592000 config{sub1}{min-error-interval} : 300 config{sub1}{min-interval} : 300 config{sub1}{mtime} : 0 config{sub1}{password} : redacted config{sub1}{protocol} : namecheap config{sub1}{server} : dynamicdns.park-your-domain.com config{sub1}{status} : config{sub1}{use} : web config{sub1}{warned-min-error-interval} : 0 config{sub1}{warned-min-interval} : 0 config{sub1}{web} : dynamicdns.park-your-domain.com/getip config{sub1}{web-skip} : config{sub1}{wtime} : 30 config{sub3}{atime} : 0 config{sub3}{cacheable} : ARRAY(0xcb0be8) config{sub3}{cmd} : <undefined> config{sub3}{cmd-skip} : config{sub3}{fw} : config{sub3}{fw-login} : <undefined> config{sub3}{fw-password} : config{sub3}{fw-skip} : config{sub3}{host} : sub3 config{sub3}{if} : ppp0 config{sub3}{if-skip} : config{sub3}{ip} : <undefined> config{sub3}{login} : domain config{sub3}{max-interval} : 2592000 config{sub3}{min-error-interval} : 300 config{sub3}{min-interval} : 300 config{sub3}{mtime} : 0 config{sub3}{password} : redacted config{sub3}{protocol} : namecheap config{sub3}{server} : dynamicdns.park-your-domain.com config{sub3}{status} : config{sub3}{use} : web config{sub3}{warned-min-error-interval} : 0 config{sub3}{warned-min-interval} : 0 config{sub3}{web} : dynamicdns.park-your-domain.com/getip config{sub3}{web-skip} : config{sub3}{wtime} : 30 config{sub2}{atime} : 0 config{sub2}{cacheable} : ARRAY(0xcb0cc0) config{sub2}{cmd} : <undefined> config{sub2}{cmd-skip} : config{sub2}{fw} : config{sub2}{fw-login} : <undefined> config{sub2}{fw-password} : config{sub2}{fw-skip} : config{sub2}{host} : sub2 config{sub2}{if} : ppp0 config{sub2}{if-skip} : config{sub2}{ip} : <undefined> config{sub2}{login} : domain2 config{sub2}{max-interval} : 2592000 config{sub2}{min-error-interval} : 300 config{sub2}{min-interval} : 300 config{sub2}{mtime} : 0 config{sub2}{password} : redacted config{sub2}{protocol} : namecheap config{sub2}{server} : dynamicdns.park-your-domain.com config{sub2}{status} : config{sub2}{use} : web config{sub2}{warned-min-error-interval} : 0 config{sub2}{warned-min-interval} : 0 config{sub2}{web} : dynamicdns.park-your-domain.com/getip config{sub2}{web-skip} : config{sub2}{wtime} : 30 === cache ==== cache{sub1}{atime} : 0 cache{sub1}{host} : sub1 cache{sub1}{ip} : ip cache{sub1}{mtime} : 1475682225 cache{sub1}{status} : good cache{sub1}{warned-min-error-interval} : 0 cache{sub1}{warned-min-interval} : 0 cache{sub1}{wtime} : 30 cache{sub3}{atime} : 0 cache{sub3}{host} : sub3 cache{sub3}{ip} : ip cache{sub3}{mtime} : 1475704955 cache{sub3}{status} : good cache{sub3}{warned-min-error-interval} : 0 cache{sub3}{warned-min-interval} : 0 cache{sub3}{wtime} : 30 cache{sub2}{atime} : 0 cache{sub2}{host} : sub2 cache{sub2}{ip} : ip cache{sub2}{mtime} : 1475682225 cache{sub2}{status} : good cache{sub2}{warned-min-error-interval} : 0 cache{sub2}{warned-min-interval} : 0 cache{sub2}{wtime} : 30 DEBUG: proxy = DEBUG: url = dynamicdns.park-your-domain.com/getip DEBUG: server = dynamicdns.park-your-domain.com CONNECT: dynamicdns.park-your-domain.com CONNECTED: using HTTP SENDING: GET /getip HTTP/1.0 SENDING: Host: dynamicdns.park-your-domain.com SENDING: User-Agent: ddclient/3.8.1 SENDING: Connection: close SENDING: RECEIVE: HTTP/1.1 200 OK RECEIVE: Cache-Control: private RECEIVE: Content-Length: 13 RECEIVE: Content-Type: text/html RECEIVE: Server: Microsoft-IIS/8.5 RECEIVE: Set-Cookie: ASPSESSIONIDCCATABST=GIDNHLECredacted; path=/ RECEIVE: X-Powered-By: ASP.NET RECEIVE: Date: Wed, 05 Oct 2016 22:09:39 GMT RECEIVE: Connection: close RECEIVE: RECEIVE: ip DEBUG: get_ip: using web, dynamicdns.park-your-domain.com/getip reports ip SUCCESS: sub1: skipped: IP address was already set to ip. SUCCESS: sub2: skipped: IP address was already set to ip. SUCCESS: sub3: skipped: IP address was already set to ip.
Log in to post a comment.
Using 3.8.1-1ubuntu2.14.04.1 which is the latest for my distribution.
libio-socket-ssl-perl: 1.965-1ubuntu1
OS: ubuntu 14.04
I have been running it for a long time but few days ago I decided to check if it is really using HTTPS.
config:
ddclient -noquiet -verbose -debug reports:
CONNECTED: using HTTP
strace reports port 80 being used.
I tried different tips but to no avail. According to threads in here, guides on the internet, namecheap support my config is correct.
I then proceeded to modify $force_ssl to be true. ddclient reported:
CONNECTED: using SSL
and strace shows port 443 being used.
Could someone clarify what I am doing wrong? Or if I am not wrong if this has been fixed on a more recent version that what the repo has.
Full debug log before mofiying ddclient: (keep in mind I messed up a bit the order of what I set as sub1, sub2, domain1 etc)
Last edit: Nihim 2016-10-09