Skip to content

v3.1.0

Latest

Choose a tag to compare

@iclannad iclannad released this 25 Nov 08:29
· 3 commits to main since this release

English

Upgrade notes

  • Run the one-line installer again in the same directory to upgrade. .env and the database are kept; there are no new settings.
  • Execute Command and POST /cmd/:devid are removed.
  • Run the new script on devices added with an older one, or they go offline after a firmware security update such as 1.10.3.
  • A device that once joined with an access code must be deleted before it is added with the script.

Added

  • Devices on firmware below v1.11.0 can be added with a script again (#52). The device verifies the platform's CA. GL.iNet Cloud cannot be used on the same device.

Fixed

  • Security: Execute Command let anyone who could see a device run commands on it as root, without the device password.
  • Security: the device token could be used to impersonate an offline device that joined with an access code.

中文

升级须知

  • 在原目录重新运行一键安装脚本即可升级,.env 和数据库会保留,没有新增配置项。
  • 「执行命令」功能及接口 POST /cmd/:devid 已删除。
  • 用旧版脚本添加的设备请重新执行新脚本,否则升级到 1.10.3 等固件安全更新后会掉线。
  • 用接入码接入过的设备,需要先删除,再用脚本添加。

新增

  • 固件低于 v1.11.0 的设备可以重新用脚本添加(#52),设备会校验平台 CA。用这种方式添加的设备不能同时使用 GL 官方云。

修复

  • 安全:「执行命令」可让能看到设备的任何用户以 root 身份在设备上执行命令,不需要设备密码。
  • 安全:持有设备令牌可以冒充已用接入码接入、当前离线的设备。