Skip to content

support multiple network #28

@timzaak

Description

@timzaak

It is a break change.

need remove data in network and node table

  • fix:node forbid trigger unsubscribe network,(unsubscribe by server), node allow trigger subscribe network topic.
  • fix: network needs has special token to protect from brute force register node
  • rejoin network of forbid node, forbid.
  • unique id for client device(single mqtt connection for unqiue mqtt server)
  • network ip range、port conflict check, http proxy forbid, should be check at client
  • network address range change conflict check. the relative device may conflict.
  • topic may need change (subscribe /client/${deviceId} firstly, and then subscribe /network/${networkId} depends on client topic response)
  • mqtt login info clientId: $deviceId, username: null, password: sign( timestamp + nonce + deviceId )
  • one tun per network, because of Android, it must be one tun.
  • scripts need change(tun name ,for0 change to string template, user self define)
  • client: WRManager manager multiple device

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions