AntiDDoS Defence

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Biowoolf
Posts: 14
Joined: Sat Jul 18, 2009 9:39 pm

AntiDDoS Defence

Post by Biowoolf »

Sry if my idea is not in that topic what needed.
and sry for my english.
I just want to share with u by my idea.

So...

it can help, i think, if u have problem with a flood of game server port and u have a server on linux\unix machine.

u need to authorize on login. then login add your ip to iptables filter, which allow you to connect.

first of all u need to deny all connections to 7777 port (deny all what is not allowed - this MUST be 1st rule in ip tables).

Any discussion?
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: AntiDDoS Defence

Post by Probe »

what if they flood the login port and crash your loginserver? :D
Biowoolf
Posts: 14
Joined: Sat Jul 18, 2009 9:39 pm

Re: AntiDDoS Defence

Post by Biowoolf »

well login server must have autorestart system - it starting much faster than game server and u can have it on different pc and players on game server will not notice that it is attack on server...

U can make some config like

DDoSdefence = true
#it won't work on windows!! add rule to iptables to deny all connections on 7777 port

something like this...
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: AntiDDoS Defence

Post by UnAfraid »

You cannot block ddos attack only with iptables.
You blocking the connections not the traffic.. you have 100 mbp/s bandwidth when they flooding u with more what you will do? :D
Image
User avatar
netvirus
Advanced User
Advanced User
Posts: 408
Joined: Sun Aug 02, 2009 3:43 pm
Location: Russia
Contact:

Re: AntiDDoS Defence

Post by netvirus »

To call to the provider :D
FidoNet - iddqd
User avatar
ThePhoenixBird
L2j Inner Circle
L2j Inner Circle
Posts: 1857
Joined: Fri May 27, 2005 5:11 pm

Re: AntiDDoS Defence

Post by ThePhoenixBird »

Rent a host with Cisco DDoS Protection.
bigbro
Posts: 215
Joined: Mon Apr 30, 2007 10:00 pm
Location: Bulgaria

Re: AntiDDoS Defence

Post by bigbro »

ThE_PuNiSheR wrote:You cannot block ddos attack only with iptables.
You blocking the connections not the traffic.. you have 100 mbp/s bandwidth when they flooding u with more what you will do? :D
you can protect against ddos with iptables.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: AntiDDoS Defence

Post by MELERIX »

for windows server you can use http://www.peerblock.com to block a ip list, a single ip, or ip ranges.

and TCPVIEW is useful to check if you are being ddosed: http://technet.microsoft.com/en-us/sysi ... 97437.aspx
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: AntiDDoS Defence

Post by UnAfraid »

@bigbro belive its impossible to stop that ddos that i received my ISP cut me because they cant handle with the it so you will stop it only with iptables? :D you will stop the connections but the traffic who will stop it ? you? and how? only ISP make some shaped tunnels and filter those ips to use that tunnel ..

p.s. i received a 2.7 GBP/s flood
Image
Lupu1
Posts: 335
Joined: Wed Nov 04, 2009 7:51 am

Re: AntiDDoS Defence

Post by Lupu1 »

you can stop ddos only if you can config the ips ;)
User avatar
Aikimaniac
L2j Inner Circle
L2j Inner Circle
Posts: 3048
Joined: Sun Aug 07, 2005 11:42 pm
Location: Slovakia

Re: AntiDDoS Defence

Post by Aikimaniac »

bigbro wrote:
ThE_PuNiSheR wrote:You cannot block ddos attack only with iptables.
You blocking the connections not the traffic.. you have 100 mbp/s bandwidth when they flooding u with more what you will do? :D
you can protect against ddos with iptables.
LOL :) DDOS isnt meant for 10 bots attack but botnet like 500k zombies :D
Image
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: AntiDDoS Defence

Post by MELERIX »

anyway is really hard and rare to see a botnet working today (is not like in the 90's).

generally... is just a single guy with 2 o 3 dedicated machines making the flood to specific ports, so is easy to block him if you know from where the connections come.

and does not matter if he is using a proxy, because you can ban all the ip ranges of the proxy if you need, and obviously... the guy can't use every proxy of the world to make flood, because some proxy don't allow to do that :P
User avatar
Aikimaniac
L2j Inner Circle
L2j Inner Circle
Posts: 3048
Joined: Sun Aug 07, 2005 11:42 pm
Location: Slovakia

Re: AntiDDoS Defence

Post by Aikimaniac »

MELERIX wrote:anyway is really hard and rare to see a botnet working today (is not like in the 90's).

generally... is just a single guy with 2 o 3 dedicated machines making the flood to specific ports, so is easy to block him if you know from where the connections come.

and does not matter if he is using a proxy, because you can ban all the ip ranges of the proxy if you need, and obviously... the guy can't use every proxy of the world to make flood, because some proxy don't allow to do that :P
imho biggest botnets are IM client networks like ICQ...MSN...Skype...im pretty sure there are ways how to use them for their owner :D
Image
Lupu1
Posts: 335
Joined: Wed Nov 04, 2009 7:51 am

Re: AntiDDoS Defence

Post by Lupu1 »

you can block ips but what you do with the traffic when hits your ips ?
Nik
L2j Veteran
L2j Veteran
Posts: 629
Joined: Fri Apr 18, 2008 9:09 pm

Re: AntiDDoS Defence

Post by Nik »

if its DDoS from a botnet, pray that it will stop, cuz you cant stop it, your ISP cant stop it... no one can, except the attacker.
Playing a game where you know how every single mechanism works is quite satisfying.
Its the main perk that a gamer-developer has :D
Post Reply