This repository was archived by the owner on Nov 19, 2023. It is now read-only.

Description
If a client has multiple IP addresses in the workstations file (Clients with the same machine name), only one IP address will be deleted from the "allowedhosts" host group if the internet for this room get's blocked.
There should be a scan for multiple ip adresses e.g. LAN and WiFi adresses on laptops.
Example:
sperre geht = wird bei ipfire aus allowd_hosts entfernt
sperre geht nicht = bleibt bei ipfire in allowed_hosts drin
.2 sperre geht nicht -> LAN-IP gleicher Rechnername
.102 sperre geht -> WLAN-IP gleicher Rechnername
.102 sperre geht
.202 sperre geht nicht
.2 sperre geht nicht
.102 sperre geht
.202 sperre geht nicht
.2 sperre geht nicht
.52 sperre geht nicht
.102 sperre geht
.152 sperre geht nicht
.202 sperre geht nicht
.252 sperre geht nicht