28.06.2014, 11:42
(
Last edited by Nicow; 28/06/2014 at 05:55 PM.
)
2) During the attacks I tried to think of something to block each IP connecting to the server. The following scripts recognizes a massive incoming connections coming in packs, and then blocking their IP address. As the BlockIpAddress() function doesn't kicking the IP from the player slot, and it's still in use, the script is saving a list of the IPs it blocked in a file, and then loading them when the server starts. So, the purpose of the script is collecting attacker used IPs and blocking them AT START OF THE SERVER, or collect them when it's still running. Additionally with the script, i've added a file containing a quite large collection of attacker IPs (250k+). You can use it with the script. Note that loading the IPs at start may take time, and the server will be 'off' until it's loading the IPs (probably for 15min+-). However, the script is printing loading messages after each block of 10% of the IPs. The script however, became less useful when we figured out that the IPs may be responding but they aren't real. You're free to try the script. Note that I blocked IPs with the new function and not with samp.ban option. a large samp.ban file size caused my server a lot of troubles such as long lags. Download: https://www.sendspace.com/file/x4fnh1 / http://www54.zippyshare.com/v/24562439/file.html |
i was maybe rude, but its to see if someone response, if someone care and read, but no one response.
This is totaly useless http://pastebin.com/b92UsCUe http://forum.sa-mp.com/showthread.ph...08#post3091908 Max |
Yeah, when it's ready, try to understand us
And it's being tested on a server which is not receiving that kind of attacks. cf uptime - Amazing EDIT: We tried to block all countries except the one of our players and it worked. Now the attacker is using french IPs to flood, nice spoofing, this is fucking annoying [17:58:05] Incoming connection: 109.222.247.29:62189 [17:58:05] Incoming connection: 82.243.150.150:57930 [17:58:05] Incoming connection: 92.181.225.17:53225 [17:58:05] Incoming connection: 78.120.76.83:53130 [17:58:05] Incoming connection: 92.173.31.131:61052 [17:58:06] Incoming connection: 78.227.98.241:58783 [17:58:06] Incoming connection: 78.235.139.227:50102 [17:58:06] Incoming connection: 86.203.45.24:58312 [17:58:06] Incoming connection: 109.239.153.235:61918 [17:58:06] Incoming connection: 92.156.171.69:58642 [17:58:06] Incoming connection: 82.64.14.40:56612 [17:58:06] Incoming connection: 88.219.182.70:57565 [17:58:07] Incoming connection: 176.140.122.168:55470 [17:58:08] Incoming connection: 109.21.153.157:52380 [17:58:08] Incoming connection: 176.135.242.150:56214 [17:58:10] Incoming connection: 109.218.213.21:51005 [17:58:11] Incoming connection: 82.242.227.230:55309 [17:58:14] Incoming connection: 78.238.133.159:50542 [17:58:14] Incoming connection: 2.6.198.233:55981 [17:58:14] Incoming connection: 92.179.163.171:60076 [17:58:14] Incoming connection: 109.16.66.67:54861 [17:58:14] Incoming connection: 109.135.62.101:55818 |