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

Update Client Device access (Block and Unblock) #94

Open
oldztimer opened this issue Aug 7, 2023 · 0 comments
Open

Update Client Device access (Block and Unblock) #94

oldztimer opened this issue Aug 7, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@oldztimer
Copy link

I'm trying to control access to the network leveraging scheduled FW rules. I do this by MAC to IP (static dhcp reservation) and IP to vlan mapping. Then rules for a specific vlan.

One way to bypass rules is to use a "Randomized MAC" (Randomized MACs can be matched by looking at the second digit, if it is [2, 6, A, E] then it is a randomized MAC).

I'd like to block all devices with a random MAC. I can add a hook into the dnsmasq server to execute a script upon a new DHCP client lease ui.com dnsmasq execute script on dhcp lease.

I'll use that to execute a command (with the MAC address) to a golang server that can then call the Block and/ or Unblock update methds.

Thank you for considering these "update" updates to the go-unifi library.
Screenshot 2023-08-06 171018

@platinummonkey platinummonkey added enhancement New feature or request help wanted Extra attention is needed labels Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants