Firewall configuration for webhook

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
Post Reply
kimagure
Posts: 2
Joined: 16 Aug 2016, 09:38

Firewall configuration for webhook

Post by kimagure »

Hi

For security reasons, I want to limit the access to the the Welcome Webhook URL.

What is the source IP range(s) used by Netatmo when calling the webhook ?

Thanks

K.
ismailb
Posts: 19
Joined: 16 May 2016, 16:23

Re: Firewall configuration for webhook

Post by ismailb »

Hi there,

Unfortunately, we don't provide this kind of information at the moment.

Regards,
Ismail, Netatmo Team
1l2p
Posts: 204
Joined: 30 Nov 2012, 19:34

Re: Firewall configuration for webhook

Post by 1l2p »

Hi,

Since today, it seems that the WebHooks calls are now coming from a new load balanced platform or IPs range : lb3.admin.monkees.fr
It used to be b*.netatmo.net for days before.

My firewall has reject the new callers IPs and after 5 tries, the WekHooks requests have been stopped on Netatmo side.

How can I activate them again ? My "Ban Status" is still set to "NO"...

Do I have only to wait for 24h ? Do I need to drop and add the WebHook again ?

I can create another App instance, but it's not very nice.

Thank you for your answer !
gieljnssns
Posts: 41
Joined: 23 Nov 2016, 17:56

Re: Firewall configuration for webhook

Post by gieljnssns »

Can someone solve this question?
My webhook always gets banned.
gieljnssns
Posts: 41
Joined: 23 Nov 2016, 17:56

Re: Firewall configuration for webhook

Post by gieljnssns »

Or is there any way to debug the webhook?

Code: Select all

▼body:
   status: "ok"
   time_exec: 0.033099889755249
   time_server: 1560092631
chrisz
Posts: 9
Joined: 21 Jun 2019, 13:51

Re: Firewall configuration for webhook

Post by chrisz »

Hi,

did you get this resolved? I have the same problem...

Regards

Chris
gieljnssns
Posts: 41
Joined: 23 Nov 2016, 17:56

Re: Firewall configuration for webhook

Post by gieljnssns »

Nope, this is the answer from Netatmo on 18-06

Dear Giel,

I have updated all this data to our backend team,
they will make sure to investigate and correct this situation quickly.
thanks a lot for your patience.

Prashanth
Technical specialist
chrisz
Posts: 9
Joined: 21 Jun 2019, 13:51

Re: Firewall configuration for webhook

Post by chrisz »

Hi,

support got back to me and told me that I have to use ports 80 or 443 for the webhook. After changing my used port, webhooks work!

Cheers,

Chris
gieljnssns
Posts: 41
Joined: 23 Nov 2016, 17:56

Re: Firewall configuration for webhook

Post by gieljnssns »

I've seen the same, I was using another port as 443

Netatmo:
Hi Giel,

Thank you for your reply.

After investigation, we have found out the reason behind the banning.
let me first thank you for your patience during this investigation.

For security purpose, the only ports allowed are the 80 for HTTP and 443 for https.
It seems you have spécified a different port on your webhook URL,
this explains the repetitive bans.

Please change the ports to correct this situation.


Me:
Please let me use another port

It’s also worth pointing out that using a non-standard port for https connections increases security. Using port 443 is like having a house and everyone knows where the door is – but if you use a non-standard port, you are hiding the door like a needle in a haystack.


Netatmo:
Hi Giel,

I can understand your view, let me inform our devs, and get more information on why we have chosen to limit the ports.
I'll catch you back quickly.
thanks.
Post Reply

Return to “Netatmo API”