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

QEMU MAC Address ranges are shown as "Random MAC" #566

Closed
2 tasks done
n1nj4888 opened this issue Feb 14, 2024 · 2 comments
Closed
2 tasks done

QEMU MAC Address ranges are shown as "Random MAC" #566

n1nj4888 opened this issue Feb 14, 2024 · 2 comments
Labels
Feature request➕ New feature or request next release/in dev image🚀 This is coming in the next release or was already released if the issue is Closed.

Comments

@n1nj4888
Copy link

Is there an existing issue for this?

Current Behavior

On the devices page, all QEMU VMs (with MAC address 52:54:00...) are shown as having a "Random MAC". Whilst the MAC of the QEMU VM might be randomized at creation, it should not be expected to be change for the life of the VM in the same way that a "Random MAC" might regularly do for IOS/android mobile devices?

Expected Behavior

QEMU VMs are not shown as Random MAC or there is the ability to mark specific ranges as not "Random MAC"

Steps To Reproduce

Create a qemu VM (for example in Proxmox) with a MAC address of 52:54:00:xx:xx:xx - this will be shown as "Random MAC" in pi.alert.

pialert.conf

No response

docker-compose.yml

No response

What branch are you running?

Production

pialert.log

No response

Debug enabled

  • I have read and followed the steps in the wiki link above and provided the required debug logs and the log section covers the time when the issue occurs.
@n1nj4888 n1nj4888 added the bug 🐛 Something isn't working label Feb 14, 2024
@jokob-sk
Copy link
Owner

jokob-sk commented Feb 14, 2024

Hey,

Random MACs are recognized by the characters "2", "6", "A", or "E" as the 2nd character in the Mac address. I checked and QEMU doesn't; have any reserved prefixes, so the behavior is correct.

However, in the next release, you will be able to disable specific prefixes to be detected as random MAC addresses by specifying the UI_NOT_RANDOM_MAC setting.

image

You can test this in the pi.alert_dev image in about 15 minutes from now.

Thanks,
j

@jokob-sk jokob-sk added Feature request➕ New feature or request next release/in dev image🚀 This is coming in the next release or was already released if the issue is Closed. and removed bug 🐛 Something isn't working labels Feb 14, 2024
@jokob-sk
Copy link
Owner

released -> closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request➕ New feature or request next release/in dev image🚀 This is coming in the next release or was already released if the issue is Closed.
Projects
None yet
Development

No branches or pull requests

2 participants