Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi
I calling No-IP service from my code using curl command like below

/usr/bin/curl --interface erouter0 --url 'http://username:password@dynupdate.no-ip.com/nic/update?hostname=something.ddns.net&myip=MyIP'

Observations:

1. For the first time if I try with invalid credentials im getting response as "badauth"
2. If try same invalid credentials again getting response as "nochg 84.116.12.5"
3. Also if I try with correct credentials immediately after wrong credentials getting response as "nochg 84.116.12.5" (in success case response should be "nochg MyIP")

I observed if i wait for 13mins after invalid credentials entered step 2 and step 3 giving valid responses. So why NO-IP service is not giving valid response after the wrong credentials entered?

What I have tried:

1. For the first time if I try with invalid credentials im getting response as "badauth"
2. If try same invalid credentials again getting response as "nochg 84.116.12.5"
3. Also if I try with correct credentials immediately after wrong credentials getting response as "nochg 84.116.12.5" (in success case response should be "nochg MyIP")
Posted
Updated 10-Jul-22 4:53am
Comments
Richard Deeming 15-Mar-22 4:43am    
They're probably adding the source IP to a temporary blocklist to prevent brute-force hacking of your password. But you'd need to ask them directly - it's unlikely that anyone here will have access to a third-party service's internal source code to be able to answer your question.
Member 13740197 6-May-22 1:52am    
Ok thank you

1 solution

AFAIK username:password should be base64 encoded
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900