Skip to content

Restrict clients by MAC address #26

@fsalomon

Description

@fsalomon

I'm wondering if it would be possible to amend this software to facilitate MAC address restrictions on clients as well. Such a config file could look like this:

net_interface = "wls1" # Put here the network interface you want to use.

[devices]

    [devices."AA:BB:CC:DD:EE:FF"]    # A shared bonjour device
    description = "Test Chromecast"
    origin_pool = 1078               # Tag of the VLAN the device is in
    shared_pools = [1234, 3597]      # Tags of the VLANs which can use this device
    shared_devices = ["AA:BB:CC:DD:EE:FA","AA:BB:CC:DD:EE:FB"]   # Mac addresses of devices that can use this device

So in this example, device AA:BB:CC:DD:EE:FB (VLAN 1234) would be able to access AA:BB:CC:DD:EE:FF, but AA:BB:CC:DD:EE:FC (VLAN 1234) would not.

I'm not fluent in Go, so I'm asking if this seems feasible before I dive into it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions