Community discussions

MikroTik App
 
sshorba
just joined
Topic Author
Posts: 2
Joined: Wed Jan 22, 2014 1:41 am

Strange things in my DHCP leases. Hacks?

Wed Jan 22, 2014 1:56 am

I have installed several RB1100AHx2 units at a school I work for and they've been working perfectly for several months.
Recently the DHCP leases have been being used up by devices with 00:00:00:00:00:00 MAC addresses.
When I try to ping the IP addresses issued to these all 0 MACs I get a message saying that the TTL has expired in transit.
Could this be some sort of hacking attempt? MAC spoofing maybe?
Any advice you can give is greatly appreciated
Screen Shot 2014-01-21 at 2 04 22 PM.png
You do not have the required permissions to view the files attached to this post.
 
redflag237
just joined
Posts: 21
Joined: Mon Aug 12, 2013 1:17 pm

Re: Strange things in my DHCP leases. Hacks?

Wed Jan 22, 2014 11:16 am

Hi,

What about mangle rules?
Drop packets with source Mac 00:00:00:00:00:00, that's easy ;-)
DHCP Requests are sent as UDP Broadcast to 255.255.255.255, as i remember. Please double-check it before apply it.
Also, you could rate-limit DHCP-Requests with an input-rule.
Also, you should review the lease time. In school environment i think 6h is fine.

What type of access medium are you using? WiFi?
In case of Switches check if they are manageable - if yes set mac learning to one mac per port.

Give some more informations, please ;-)
 
sshorba
just joined
Topic Author
Posts: 2
Joined: Wed Jan 22, 2014 1:41 am

Re: Strange things in my DHCP leases. Hacks?

Wed Jan 22, 2014 7:28 pm

The MikroTik units are sitting between the school network and a 100Mb/s fiber optic WAN connection back to the county office. There's no NAT or any advanced routing taking place, all that is done on a Cisco ME3400 which is set up and maintained by the county office. The network consists of mainly older Cisco switches and uses a class A address scheme with a 24 bit subnet mask. There is a managed wireless system from Ruckus as well. This information holds true with both sites.
The MikroTik boxes aren't really doing much other than DHCP at this point.
 
plisken
Forum Guru
Forum Guru
Posts: 2511
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Strange things in my DHCP leases. Hacks?

Wed Jan 22, 2014 10:08 pm

Hé redflag237
how to drop packets with source Mac 00:00:00:00:00:00