SA-MP Forum
February 09, 2010, 11:05:06 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Hosted tab listings available from serverFFS
 
   Home   Help Login Register  
Pages: [1] 2
  Print  
Author Topic: [S:B:R] Server Flood Protection v1.0  (Read 8188 times)
Ramjet.
Gangsta
****
Posts: 587


View Profile WWW
« on: May 27, 2007, 09:31:29 AM »

[S:B:R] Server Flood Protection v1.0



As the SA-MP community, server owners and players are currently fed up with the abrasive usage of Denial of Service attacks, server flooding/crashing and timeout's, Sacky, Betamaster and myself formed an alliance to build [S:B:R] Server Flood Protection (Sacky:Betamaster:Ramjet).

S:B:R requires the samp01b-r2 server package for operation (we hold no liability for the older packages).

A prime example of a flood attack can be found here.



Features:

  • Flood Log: Logs the time and date of a flooding attempt.
  • Administration Center: Maintain your server with an Administration Center.
  • Non ASCII Protection: Stops timeouts and crashing with text filtration (Credits to Y_Less).
  • Informs Player's of bannage and places a message in the console.

Administration Center:

The administration center allows you to change settings remotely, without the need for drastic measures. You must be logged into RCON before you can gain privileges to it.

Administration Center Commands:

/fmenu [startservice/stopservice/maxfloods/version/credits]



Download Mirror's:

Rapidshare
Sendspace
Megaupload
Pastebin

Cheers,
Ramjet.


« Last Edit: May 27, 2007, 10:32:13 AM by Ramjet:SU » Logged

Visit my website!




Quote from: #cp.clan
<&dugi> i thought that my signature would be original
<&dugi> but i noticed that simon has the same
Pixels^
High-roller
*****
Posts: 3041



View Profile WWW
« Reply #1 on: May 27, 2007, 10:51:53 PM »

Just had a look at it. Very nice script. One thing though, timers are killed after gamemode restart. Make a check on onplayerdisconnect that checks if 0 people are on, and then kill the timer. Then make a check in onplayerconnect that checks if the person joined is the only people on the server and then start the timer up again.
Logged

Tomorrow, GTA:V comes out
Day after tomorrow, MTA: SA comes out.

[INC]pBank
[GM]Drag Script
[INC]pTeleport
[INC]pIntChat
[INC]Raptor Admin
Sacky
High-roller
*****
Posts: 1447


View Profile
« Reply #2 on: May 28, 2007, 02:31:46 AM »

No if you looked closely you would see the timer is initiated like this:

PAWN Code:
public OnPlayerConnect(playerid) {
if(!PropertyExists("SBR_AntiFlood_Timer")) {
PropertySet("SBR_AntiFlood_Timer", "Active");
SetTimer("AFTimer", 1000, true);
}

Properties are cleared when reloading the GMX the same way as timers are, so this will work fine
Logged

Humble Beginnings
wharfshrimp
Little Clucker
*
Posts: 3


View Profile WWW
« Reply #3 on: June 01, 2007, 12:54:42 PM »

doesn't work
Logged

BeckzyBoi
High-roller
*****
Posts: 4084


View Profile
« Reply #4 on: June 01, 2007, 12:58:52 PM »

Have you tested it with someone actually attacking the server or just assuming it works?
Logged




T3rminator
Big Clucker
**
Posts: 123


View Profile WWW
« Reply #5 on: June 01, 2007, 01:00:06 PM »

I don't think this works i have it running and my server keeps getting attacked by these

[join] taJusA has joined the server (3:83.58.233.83)
[join] xPBGt68cnbG4 has joined the server (4:83.58.233.83)
[join] hf7QY has joined the server (5:83.58.233.83)
[join] hvdMaSq8X23y has joined the server (6:83.58.233.83)
[join] oXhvr has joined the server (7:83.58.233.83)
[join] w7WfS3c78L2U0g has joined the server (10:83.58.233.83)
[join] gWq0m2Ol2U4WS has joined the server (11:83.58.233.83)
[join] j15Slbxc has joined the server (255:255.255.255.255)

Can anyone help me out ?

I've added them ip's to my banlist
« Last Edit: June 01, 2007, 01:03:37 PM by DaKa » Logged

[UO] Ultimate Ownage : 83.133.125.167:9270
Gamemode - Warzone 0.1
Ramjet.
Gangsta
****
Posts: 587


View Profile WWW
« Reply #6 on: June 02, 2007, 04:27:15 AM »

Please make sure you are running the samp01b-r2 server package; if you are not then it will not function correctly.

Also, it does take a while for it to actually catch the attacker, but if your more worried about speed rather than players accidentally walking in whilst an attack is in place and them being banned, change MAX_FLOODS in the script to whatever value you want, or alternatively use Administration Center whilst in-game.

I am confident that this is the most versatile anti-flooding script currently available, it defiantly works as I've tested it hundreds of times with different crashers, so this isn't the problem.

Cheers,
Ramjet.
Logged

Visit my website!




Quote from: #cp.clan
<&dugi> i thought that my signature would be original
<&dugi> but i noticed that simon has the same
T3rminator
Big Clucker
**
Posts: 123


View Profile WWW
« Reply #7 on: June 03, 2007, 11:44:17 AM »

I contacted gta-host about it they have fixed it Tongue
Logged

[UO] Ultimate Ownage : 83.133.125.167:9270
Gamemode - Warzone 0.1
bonitinho
Little Clucker
*
Posts: 32


View Profile
« Reply #8 on: June 19, 2007, 02:29:24 PM »

[S:B:R] Server Flood Protection v1.0 Not work, my server are crash with [S:B:R] Server Flood Protection v1.0 work
Logged
Seif_
Godfather
******
Posts: 6575


View Profile
« Reply #9 on: June 19, 2007, 03:43:34 PM »

C:\Program Files\Rockstar Games\GTA San Andreas\sampsvr\gamemodes\src\xgm.pwn(6) : fatal error 100: cannot read from file: "dprops"

Compilation aborted.Pawn compiler 3.0.3367         Copyright (c) 1997-2005, ITB CompuPhase


1 Error.

This is the error I get...
Logged

|- Latest Release -|
bonitinho
Little Clucker
*
Posts: 32


View Profile
« Reply #10 on: June 19, 2007, 03:51:34 PM »

lacks the dprops.inc in the directory pawno/include....



[S:B:R] Server Flood Protection v1.0 Not work, my server are crash with [S:B:R] Server Flood Protection v1.0 work
Logged
Ramjet.
Gangsta
****
Posts: 587


View Profile WWW
« Reply #11 on: June 20, 2007, 06:56:59 AM »

[S:B:R] Server Flood Protection v1.0 Not work, my server are crash with [S:B:R] Server Flood Protection v1.0 work

S:B:R requires the samp01b-r2 server package for operation (we hold no liability for the older packages).

Cheers,
Ramjet.
Logged

Visit my website!




Quote from: #cp.clan
<&dugi> i thought that my signature would be original
<&dugi> but i noticed that simon has the same
bonitinho
Little Clucker
*
Posts: 32


View Profile
« Reply #12 on: June 20, 2007, 06:07:39 PM »

Yes I have samp01b-r2 server package but not work
Logged
T-N-Z
Big Clucker
**
Posts: 144



View Profile WWW
« Reply #13 on: July 16, 2007, 02:52:07 PM »

it's don't works on 0.2 Sad
plz update version
« Last Edit: July 16, 2007, 03:52:59 PM by T-N-Z » Logged

kaisersouse
Global Moderator
High-roller
*****
Posts: 4631



View Profile
« Reply #14 on: October 11, 2007, 02:51:04 PM »

T-N-Z: I thought a lot of the protection (flood, ASCII exploit, etc) this script provides is now built-in to .2.2. I could be wrong though.


Logged

Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF one | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!