You are not logged in.
Hello everyone,
Someone at my university connected a router into the wired network of my department and sometimes I am getting an ip from this router instead of the official university switch. I contacted the IT department but they are taking too long to block this router. So I was wondering if I can block it, by its MAC, in my computer. Is it possible? Can someone help me? I am using NetworkManager.
Offline
I added this rule to iptables to drop packets from the router:
iptables -A INPUT -m mac --mac-source 00:26:5A:A6:19:A0 -j DROP
However, it is not connecting to the right one.
Last edited by gus9182 (2019-02-25 19:41:53)
Offline
If the rouge dhcp server is routed, the MAC is the one of the router.
Configure networkmanager to use dhcpcd as dhcp client and configure the latter to either blacklist the malign or whitelist the good IP (ranges)?
To find all dhcp servers, run eg. " nmap --script broadcast-dhcp-discover".
Offline