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

No replicated database #1

Open
1 task
tcatm opened this issue Apr 10, 2016 · 0 comments
Open
1 task

No replicated database #1

tcatm opened this issue Apr 10, 2016 · 0 comments

Comments

@tcatm
Copy link
Owner

tcatm commented Apr 10, 2016

It may suffice to only store client information on a single node. In case this node disappears, routes to clients can be rediscovered when needed. This may cause slight hiccups.

If we do this, we'd need the ability to query the network for a specific client given its MAC address.

Basically we need two new packet types:

  • request information about a MAC (should be flooded for now)
  • response containing list of IPs for that MAC

Information about a MAC should be requested whenever a new client appears, even if local information is available

The request actually claims the client. If another node thinks it owns the client, it'll compare the timestamp. If the other node has a younger timestamp, it won't respond but instead claim the client itself (by sending a request).Otherwise, it'll respond and let got of the client.

  • clientmgr_handle_claim dazu umbauen
@tcatm tcatm changed the title No replicated database? No replicated database Apr 14, 2016
christf referenced this issue in christf/l3roamd Mar 23, 2017
With this change the program just prints an error message when
there is no support for nl80211 in the kernel.

To work properly it is checked wether ctx->wifistations_ctx.fd is
initialized (>= 0) before polling at this file descriptor in
function loop().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant