Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support multiple network #28

Open
7 of 11 tasks
timzaak opened this issue Jun 28, 2023 · 0 comments
Open
7 of 11 tasks

support multiple network #28

timzaak opened this issue Jun 28, 2023 · 0 comments
Labels

Comments

@timzaak
Copy link
Contributor

timzaak commented Jun 28, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant