nettigo / namf

Nettigo Air Monitor Firmware
GNU General Public License v3.0
33 stars 19 forks source link

add OTA firmware update support #16

Closed Havelock-Vetinari closed 4 years ago

Havelock-Vetinari commented 4 years ago

This change adds endpoint to webserver which enables OTA updates for 60 seconds. Makes uploading custom or development firmware version easy.

netmaniac commented 4 years ago

Hi! I have merged PR. I've added one change: https://github.com/nettigo/namf/commit/c28a4bf014d055cc636cb251d170bbfe79ede2cc which requires to enable password auth on admin pages (no password required during OTA upload). To be honest if You have no authorization enabled on config page, someone having access to LAN can enable it and then upload firmware, so it is not much protection.