How to disable http get requests to ipv4.connman.net ?

  • My Kodi/LibreELEC/NAS is behind the firewall and not allowed to leave my network. I am using pihole to block requests to external IP's. And guess what: the most blocked clients are my Kodi/LibreELEC Raspberry Pi'+s . These are multiple 100 times more blocked than other systems, because I prevent the use of ipv4.connman.net domain.

    When I understand Connman righht, they try to make a http get access to that IP to verify if an online access is possible.

    I tried to make some changes in /storage/.config/connman.main.conf and tried "EnableOnlineCheck = false " which increased the number of requests in multiple 1000. So I am back to "true". Also the "EnableOnlineToReadyTransition = false" has not made any difference.

    Is it possible to disable/delete connman from LibreELEC ?

  • Ups, that was a typo here in the forum. I used connman_main.conf. So the effect is s described. I just tested it again and it is now running lesss than a minute and has more than 2000 requests to ipv4.connman.net ....

  • Is connman needed only for WIFI or also for ethernet ? RPi Debian is using a different method, nor ?

    In generic I don't like when "E.T. is phoning home", that's why I block ipv4.connman.net Even if it is only a ping, it could be counted and used for statistics.

    So will there be an update in the near future ?

  • Connman (Connetion Manager) manages connections, so it also manages Ethernet. This commit connman/connman.git - Connection Manager might help you understand more about how the current feature works. The change it implements is not in current shipping LE, but will come next time Connman cuts a release and we bump to it. If you are into self-building LE images it's pretty trivial to bump to the latest commit for testing.