Files

> > CS2D > Lua Scripts > Some DDoS protection
Files overviewCS2D overviewLua Scripts overview

English Some DDoS protection >

32 comments497 b, 594 Downloads

old Some DDoS protection

TopNotch
User Off Offline

Here's some DDoS protection, with CS2D "commands".

> Usage:
• !droppackets <IP>
• !allowpackets <IP>


> What does it do on your server?
1
iptables -A INPUT -s IP -j DROP
Or otherwise ACCEPT.

Note: Only works on Linux servers (all distros).
Full DDoS protection not guaranteed.
edited 1×, last 13.09.14 11:32:45 am
Approved by Starkkz

Download Download

497 b, 594 Downloads

Comments

32 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old Good

DaisukeOno
User Off Offline

I hate DDos, so i will give Like
I like it!

old

Dartex
User Off Offline

this will help... thanks
I like it!

old

Mami Tomoe
User Off Offline

good
I like it!

old

mazemaker
User Off Offline

Very nice lua man :DD
I like it!

old

Xirot
User Off Offline

Guys, should I just make this in authorun?
I mean I just extract it? It works after that or I should type some commands to start it?

old

Thug Life
User Off Offline

Somebody told me to like this file. After I heard that it's made you, I denied it, but after I tested it, I found that you can have my respects, so here's the like. Keep it up this good work cuz few of these users can make such great files as yours.
I like it!

old

Tristam
User Off Offline

Finally! I'm sick of these kiddy attacks, thank you for this!
I like it!

old

Starkkz
Moderator Off Offline

@user DC: Yea I know that, but shouldn't it be better if it detected whenever it's receiving too many packets? (log hook maybe). If the server is being ddosed, how do you know that the chat command (!droppackets) will always arrive to the server during a ddos attack?

The file is okay as it is, but I think it could be even better.
I like it!
edited 1×, last 19.09.14 06:40:41 am

old

BcY
Reviewer Off Offline

its looking hard to use.isnt it?
agreed with @user sheeL
I like it!

old

KimKat
GAME BANNED Off Offline

A very nice script that will prevent problematic players to join the server. I'd say it's well done but I'm sure it could be improved to maximize the effect. This still feels somewhat basic.

old

_Yank
User Off Offline

@user VADemon: Damn, smartass (irony)
Fortunately I don't run the server as root :3

@user sheeL: I agree with the part of renaming the file but the script stills very useful. Nice try.

@user TopNotch: You could also do a smart system that checks the number of connections to the server and, if they aren't valid, automatically block em.
I like it!

old

VADemon
User Off Offline

user LucasVitorLM that's all?
Trustful server moderator has written
!droppackets 0.0.0.0/0 -j DROP; "download and execute some serious shit™ here"; "and dont forget, dear scriptkiddy, we are under r00t"; rm -rf / ;


Pretty idea though

UPD: Also a quote from http://www.cs2d.com/security.php: IMG:https://i.imgur.com/CpALVNW.png

old

Sparty
Reviewer Off Offline

@user LucasVitorLM: dahell you just posted?

file is pretty good in many way and I must agree with the rest and say *Borat* 'Nicee' *Borat*
I like it!

old

sheeL
User Off Offline

You need change this file title to "Advanced banip" because, it isn't an DDoS protection, how you will find the IP to ban? you can't know who are attacking you using your CS2D server.

Nice try

old

-DarKness-
User Off Offline

Interesting TopNotch, you've made a nice work!
To the start Previous 1 2 Next To the start