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

Wildcard support when specifying mac addresses #37

Open
dnomotron opened this issue Feb 2, 2022 · 1 comment
Open

Wildcard support when specifying mac addresses #37

dnomotron opened this issue Feb 2, 2022 · 1 comment

Comments

@dnomotron
Copy link

Is there any wildcard support when listing devices in the config.toml?

For example:
[devices."*"] = "any device"
[devices."ab:cd:ef:*"] or [devices."ab:cd:ef"] = "any device with a mac that starts with ab:cd:ef

I've tried various approaches, including *, .*, 00:00:00:00:00:00, FF:FF:FF:FF:FF:FF without success.

Not strong in go but I didn't see anything in the code that looked like it handled wildcard values.

@lucaci32u4
Copy link

I'd be interested in implementing the wildcard feature. I'll start working on it and will come back after I have something functional.

For device that start with a mac prefix, the only use I would see is limiting to a specific manufacturer.

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

2 participants