Critical! -
Lorenc_ - 18.04.2012
Some aggressive punk just wanted to mess around with my server and decided to "crash" it by mass spamming the chat box. Somehow, his by-passed the anti-spam and sent over 40 msgs per second.
Код:
[20:16:15] [chat] [jaxyjk]: A# Problem? #A
[20:16:15] [chat] [jaxyjk]: B# #B
[20:16:15] [chat] [jaxyjk]: C# #C
[20:16:15] [chat] [jaxyjk]: D# #D
[20:16:15] [chat] [jaxyjk]: E# uMad?! #E
[20:16:15] [chat] [jaxyjk]: F# #F
[20:16:15] [chat] [jaxyjk]: G# #G
[20:16:15] [chat] [jaxyjk]: H# #H
[20:16:15] [chat] [jaxyjk]: I# #I
[20:16:15] [chat] [jaxyjk]: J# Problem? #J
then after:
Код:
[20:16:52] [chat] [jaxyjk]: 1015101510151015====!!]--[ jaxyjk ]--[!!====1015101510151015
[20:16:52] [chat] [jaxyjk]: 1016101610161016====!!]--[ jaxyjk ]--[!!====1016101610161016
[20:16:52] [chat] [jaxyjk]: 1017101710171017====!!]--[ jaxyjk ]--[!!====1017101710171017
[20:16:52] [chat] [jaxyjk]: 1018101810181018====!!]--[ jaxyjk ]--[!!====1018101810181018
[20:16:52] [chat] [jaxyjk]: 1019101910191019====!!]--[ jaxyjk ]--[!!====1019101910191019
[20:16:52] [chat] [jaxyjk]: 1020102010201020====!!]--[ jaxyjk ]--[!!====1020102010201020
[20:16:52] [chat] [jaxyjk]: 1021102110211021====!!]--[ jaxyjk ]--[!!====1021102110211021
[20:16:52] [chat] [jaxyjk]: 1022102210221022====!!]--[ jaxyjk ]--[!!====1022102210221022
[20:16:52] [chat] [jaxyjk]: 1023102310231023====!!]--[ jaxyjk ]--[!!====1023102310231023
[20:16:52] [chat] [jaxyjk]: 1024102410241024====!!]--[ jaxyjk ]--[!!====1024102410241024
[20:16:52] [chat] [jaxyjk]: 1025102510251025====!!]--[ jaxyjk ]--[!!====1025102510251025
[20:16:52] [chat] [jaxyjk]: 1026102610261026====!!]--[ jaxyjk ]--[!!====1026102610261026
[20:16:52] [chat] [jaxyjk]: 1027102710271027====!!]--[ jaxyjk ]--[!!====1027102710271027
and spammed that about 4000 times.
He then decided to simply just bot attack my server with another friend, which failed as I have protection for it. And yeah, that's all. Could you possibly add something something that will block messages sent more then 10 times in a second?
To mention, the server crashed after that, however it reloaded again.
Thank you.
MODS, PLEASE MESSAGE ME IF YOU ARE GOING TO REMOVE THIS.
Re: Critical! -
MP2 - 18.04.2012
Problem with your anti-spam..? >.>
Re: Critical! - Moh_ - 18.04.2012
hmm it's weird but i have a similar problem.
i have reaction tests in my server and there is a player that types it correctly and he never win.
when i/others type everything is fine o.O
that never happened in 0.3d.
so i think that sometimes the player can type in the chat without being detected by the antispam/adminchat/reaction tests etc
i have no idea xD
(everything is inside the GM)
Re: Critical! -
MP2 - 18.04.2012
Is your anti-spam in a filterscript?
Re: Critical! -
Lorenc_ - 18.04.2012
I'm not even going to respond to your comments MP2.
__
Kalcor, please limit chatting per second to like 2 lines.
Re: Critical! -
Amit_B - 18.04.2012
When returning 0 in OnPlayerText, your message never be sent, so I do agree with MP2 - no one have reported this (when a lot of servers - big ones - using the 0.3e version) so it looks like a problem with your anti-spam script.
Limiting the chat lines per seconds will just add another script from SA-MP side which can easily scripted by Pawn scripters. I guess SA-MP doesn't need to choose the chat spamming limits for server - they need to do it themselves.
Re: Critical! -
Lorenc_ - 18.04.2012
My assumption is that they're using a modification that edits the sa-mp query mechanism in some way allowing access to spamming afaik. You can even try and spam in my server, it will say you must wait 0.75 seconds lol.
Re: Critical! -
Jack_Wilson - 18.04.2012
This could be due to the amount of time each text is processed.
EDIT: I doubt it would be really, it's your script.
Re: Critical! -
Lorenc_ - 18.04.2012
I'm certain that it's not. All I ask for for sending limitations per second, two is enough. It's quite frankly anyone can send more then two in a second.
Re: Critical! - Moh_ - 18.04.2012
Quote:
Originally Posted by Moh_
hmm it's weird but i have a similar problem.
i have reaction tests in my server and there is a player that types it correctly and he never win.
when i/others type everything is fine o.O
that never happened in 0.3d.
so i think that sometimes the player can type in the chat without being detected by the antispam/adminchat/reaction tests etc
i have no idea xD
(everything is inside the GM)
|
and this?
i don't have filterscripts with onplayertext callback.
its everything in the gamemode