How to disable the telnet console? #6260
Replies: 1 comment
-
Posted at 2019-06-29 by @MaBecker Hi Maze, and port 88 is open too, used for OTA.
check E.setPassword, so it depends on the code.
you might use this:
Posted at 2019-06-29 by maze1980 Thanks for the info about TelnetServer...and what about port 88, is there something similar available? Posted at 2019-07-01 by @MaBecker
Disable/Enable ota ist not implemted. have a look at ots function sets: https://github.com/espruino/Espruino/blob/master/libs/network/esp8266/ota.c Feel free to implement something like ota.setMode({mode="on|off"); Posted at 2019-07-01 by maze1980 I would not implement something like ota.setMode({mode="on|off") because it'll be still insecure if enabled. Signed updates only would be the way to go, but that would require proper key management, that is not comfortable at all - unless it is build into the IDE. Telnet and OTA are nice features for development, that is I have to agree. But they should not go to the wild, unless you want Espruino devices to join Mirai and other botnets. In my opinion they should be disabled in the standard firmware. Posted at 2019-07-02 by @MaBecker Remove OTA from firmware will give you 1kB extra heap memory |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2019-06-29 by maze1980
Having an open telnet port the default configuration of the esp8266 is insecure: Anyone with access to your network can take control of your all your esp8266 devices, not even needing a password. IoT botnets are a reality for a few years (e.g. Mirai), I just wonder:
-Why is this the default configuration?
-How to disable the telnet port, other than building a custom firmware?
maze
Beta Was this translation helpful? Give feedback.
All reactions