Hi, what can I do? I created rules in the bridge to block the mac. Because when it takes 5 minutes maximum blocks the router and restarts and so continuously.
Put WPA2-EAP authentication on your WiFi with the same user/pass as used on PPPoE (to reduce user confusion).
So the user first connects to your WIFi using their credentials, then once successful they establish the PPPoE with those same credentials.
This solves the problems caused by having open WiFi.
It is nearly impossible to do such analysis via a forum.
You know your own network, you know what is happening, and you post a screenshot saying there is an attack.
Could be, but for all purposes it could just be a paying customer with a problematic connection.
You will have to research those things yourself.
The very first thing I’d do would be to set the pado-delay parameter of /interface pppoe-server server to something like 2000 (I believe it’s milliseconds). If the client implementation is not crazy, this should make it re-send the PADI less frequently than six times a second. It won’t neccessarily make it wait all those 2 seconds, it may not be that patient, but it’s worth trying anyway.
Regardless whether the above helps or not, I’d check whether the requests coming from that MAC bear a valid username and password. This should be better visible in the log of the RADIUS server than in the Mikrotik’s one, but activating the debug using /system logging add topics=pppoe may be sufficient to see something useful in Mikrotik’s log.
if they don’t, it is either an illegal user, or a legal one who has made a typo when entering the credentials. An illegal one is unlikely to be so stubborn, a legal one would probably have already come and asked why the connection doesn’t come up. When the authentication is done locally against /ppp secret, its failure is logged as error, but I don’t know how it looks like when RADIUS is used, so maybe you need the debug to see authentication errors in this case.
if they do, the connections should be establishing well, because to get to the stage of PPPoE connection established, a bi-directional exchange must have taken place before (the server receives PADI, answers with PADO, and the client sends a PADR based on reception of the PADO). So in that case, the connections must be breaking at some later stage, possibly due to some issue with address configuration constraints not compatible between the client and the server. Again, a debug will tell you more about what is going on after the authentication phase completes successfully.
Even if delaying PADO doesn’t help, the CPU load comes from the complete handling of the PPPoE incoming connection; just dropping six frames per second using a single rule in /interface bridge filter is nothing that should make your CPU sweat. So while you are not analysing the behaviour, that rule should prevent the reboots from happening.
Thank you very much, I have been very helpful, I’m going to put on all the challenged to 2000ms and with that I have already lowered the CPU a lot, I have also found the attacker, it seems a firmware problmea of a sxt lite AC 5
Might not be your case, but many users are having problems with pppoe-client looping.
Who knows, it might be the same in your case, a stuck in a loop mikrotik router trying to connect to your pppoe server.
See: http://forum.mikrotik.com/t/frequent-pppoe-terminations/108212/1 for example.