[Plugin] Custom Query Flood Check
#10

Quote:
Originally Posted by Paulice
View Post
Then what's the point? The exploit sends multiple cookie requests, blocking would do nothing. Thus, querying still freezing or being delayed.
The current exploit floods the server with fake player connections AND queries from multiple spoofed IPs. Cookies are there for preventing that nasty 0.3z server full attack, while query flood is being 'detected' internally (vanilla SA-MP server) by this code: https://github.com/spmn/samp-custom-...inal-check.pwn
As you can see, if you receive multiple queries from different IPs in less than 25ms, the server will stop responding to queries, thus making server appear offline in SA-MP browser.

So, this plugin's purpose is to allow owners to make changes to that query flood check function WITHOUT having to manually patch it in server memory. (eg: lower the time check, write another detection algo or even deactivate the flood check by returning 0 in OnQueryFloodCheck callback)
Reply


Messages In This Thread
Custom Query Flood Check - by Spmn - 28.08.2017, 20:53
Re: Custom Query Flood Check - by nGen.SoNNy - 28.08.2017, 22:09
Re: Custom Query Flood Check - by Crystallize - 28.08.2017, 22:24
Re: Custom Query Flood Check - by Spmn - 29.08.2017, 08:05
Re: Custom Query Flood Check - by Omirrow - 29.08.2017, 15:02
Re: Custom Query Flood Check - by Paulice - 29.08.2017, 15:59
Re: Custom Query Flood Check - by Spmn - 29.08.2017, 16:56
Re: Custom Query Flood Check - by Omirrow - 29.08.2017, 17:10
Re: Custom Query Flood Check - by Paulice - 29.08.2017, 17:28
Re: Custom Query Flood Check - by Spmn - 29.08.2017, 17:46
Re: Custom Query Flood Check - by connork - 29.08.2017, 20:32
Re: Custom Query Flood Check - by Paulice - 29.08.2017, 21:25
Re: Custom Query Flood Check - by Spmn - 30.08.2017, 18:56
Re: Custom Query Flood Check - by Morpheus1992 - 03.09.2017, 16:39
Re: Custom Query Flood Check - by Paulice - 03.09.2017, 17:10
Re: Custom Query Flood Check - by Spmn - 03.09.2017, 19:14
Re: Custom Query Flood Check - by youmasterd7 - 10.06.2018, 23:53
Re: Custom Query Flood Check - by rorrobryan - 03.09.2018, 02:57
Re: Custom Query Flood Check - by rorrobryan - 07.01.2019, 15:41

Forum Jump:


Users browsing this thread: 2 Guest(s)