Windows defender mdns-discovery

Today I got below message: Did anything change serverside?

image

Sometimes an update or program may contain some feature that tries to connect to the internet which is not recognised by windows defender as "safe" to be allowed to connect to the internet.

But be 100% sure that the program is indeed safe to allow access. The publisher is "unknown" going by the screenshot.

In this case it seems to be part of the arduino IDE.

Hi @Xinonix. This firewall dialog was triggered by Arduino releasing of a new version of that "mdns-discovery" tool yesterday:

The Arduino IDE automatically updates this tool whenever a new version becomes available. Windows Firewall requires you to add a new firewall allow list entry for each new application that tries to communicate through the network, so you will get this after each the new version of "mdns-discovery" is released by Arduino.

Thanks for the info,

But this actually means that I might be running different software now and then withourt me knowing,
I thought I saw previously changes in behaviour without doing updates or requests from MS Firewall, is that possible?

1 Like

How do you turn this update off ?

That is correct. But this is not anything that affects your Arduino sketch programs.

The mdns-discovery tool is only used by the Arduino IDE to list the network ports available on your computer for OTA uploads to Arduino boards, as you can do with the MKR 1000, ESP8266, and ESP32 boards.

There is no mechanism for turning it off.

But I'll repeat. This update has absolutely no effect on the sketch binaries produced by the Arduino IDE. This is not the same as a library, boards platform, or toolchain update. You always have control over those.

Hi @ptillisch

The mdns-discovery tool is only used by the Arduino IDE to list the network ports available on your computer for OTA uploads to Arduino boards, as you can do with the MKR 1000, ESP8266, and ESP32 boards.

I am doing OTA uploads to ESP32. Is it possible to do OTA uploads to a Mega via ESP32?

Just an academic question: Why can't Arduino set aside a group of ports for OTA and do away with a mdns-discovery demon?

BTW, regarding the other thread we have, it turns out it is not the language server that causes the cycle sink. The language server is running fine. It is one of the other 10 arduino.exe processes. Furthermore, when it goes haywire, and I disconnect wifi, it cools down and starts behaving.

I haven't tried it, but it may be possible to do it via these libraries on your Mega:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.