Page 1 of 1

delete certain mac

Posted: Mon Sep 22, 2008 2:45 am
by Pepo
Hi all, i'm using mikrotik server and all is fine :(
but i want to ask you if someone can tell me how can i make some scripts that can deletes a specific mac address for my customers that attached to the server by built-in dhcp-server or through hotspot.
Also i want that script to prevent anyone from taking server's ip or mac.
:o

Re: delete certain mac

Posted: Mon Sep 22, 2008 9:43 am
by jorj
Hi all, i'm using mikrotik server and all is fine :(
but i want to ask you if someone can tell me how can i make some scripts that can deletes a specific mac address for my customers that attached to the server by built-in dhcp-server or through hotspot.
Also i want that script to prevent anyone from taking server's ip or mac.
:o
1. for the dhcp server create a static lease with some bogus ip, and deny access from that ip.
2. use pppoe.

Re: delete certain mac

Posted: Mon Sep 22, 2008 1:25 pm
by Pepo
thanks for you,
but i want you to tell me how and please give me a quick example.
Also I'm now using hotspot, please give me another solution for it.
thanks for you
:?

Re: delete certain mac

Posted: Mon Sep 22, 2008 1:44 pm
by normis
if you are using hotspot, then why do you need to ban by Mac ? you are already protected by the login page

Re: delete certain mac

Posted: Tue Sep 23, 2008 1:05 am
by Pepo
thanks mr. normis,
but i want to tell you that i can make that attack as i foreign, i mean that i can only attach my cable to the ethernet switch and go ahead my attack.
So i want you to help me by ban the server's mac address to be changed by any hacker's PC to let my server hanging.
:lol:

Re: delete certain mac

Posted: Tue Sep 23, 2008 8:34 am
by normis
If that is a hacker, he will have no problem changing his Mac.

Your options:

1. Maintain the ARP entries manually, and keep all your client MACs in the ARP list. If someone of them is acting bad - remove from ARP list. See manual about ARP

2. Secure access to your switches. Put a lock on the door where they are installed. Don't let anyone "just connect to your switch"

3. Use PPPoE instead of Hotspot if your area is really that unsafe. PPPoE is much more secure.

4. Use Firewall to stop attacks and control who can go where

5. Go wireless and force clients to use WPA2 encryption

Re: delete certain mac

Posted: Tue Sep 23, 2008 9:36 am
by jorj
...........
3. Use PPPoE instead of Hotspot if your area is really that unsafe. PPPoE is much more secure.
..............
That posts a whole new type of dangers for the network operator, much more difficult to escalate, and find the "smarties". :)

Re: delete certain mac

Posted: Tue Sep 23, 2008 9:48 am
by normis
there is no perfect world :)

Re: delete certain mac

Posted: Tue Sep 23, 2008 9:52 am
by jorj
there is no perfect world :)
:lol:

Yes, I mean, Pepo, don't complicate your life more than you can handle.
Find the bastard, get him out, and your' happier, than with his money and your headaches.
And do yourself a good: relax......