AntiDDoS Defence
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 14
- Joined: Sat Jul 18, 2009 9:39 pm
AntiDDoS Defence
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?
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?
-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: AntiDDoS Defence
what if they flood the login port and crash your loginserver? 

-
- Posts: 14
- Joined: Sat Jul 18, 2009 9:39 pm
Re: AntiDDoS Defence
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...
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...
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: AntiDDoS Defence
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?
You blocking the connections not the traffic.. you have 100 mbp/s bandwidth when they flooding u with more what you will do?

- netvirus
- Advanced User
- Posts: 408
- Joined: Sun Aug 02, 2009 3:43 pm
- Location: Russia
- Contact:
- ThePhoenixBird
- L2j Inner Circle
- Posts: 1857
- Joined: Fri May 27, 2005 5:11 pm
Re: AntiDDoS Defence
Rent a host with Cisco DDoS Protection.
-
- Posts: 215
- Joined: Mon Apr 30, 2007 10:00 pm
- Location: Bulgaria
Re: AntiDDoS Defence
you can protect against ddos with iptables.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?
- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
Re: AntiDDoS Defence
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
and TCPVIEW is useful to check if you are being ddosed: http://technet.microsoft.com/en-us/sysi ... 97437.aspx
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: AntiDDoS Defence
@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?
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

p.s. i received a 2.7 GBP/s flood
-
- Posts: 335
- Joined: Wed Nov 04, 2009 7:51 am
Re: AntiDDoS Defence
you can stop ddos only if you can config the ips 

- Aikimaniac
- L2j Inner Circle
- Posts: 3048
- Joined: Sun Aug 07, 2005 11:42 pm
- Location: Slovakia
Re: AntiDDoS Defence
LOLbigbro wrote:you can protect against ddos with iptables.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?


- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
Re: AntiDDoS Defence
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
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

- Aikimaniac
- L2j Inner Circle
- Posts: 3048
- Joined: Sun Aug 07, 2005 11:42 pm
- Location: Slovakia
Re: AntiDDoS Defence
imho biggest botnets are IM client networks like ICQ...MSN...Skype...im pretty sure there are ways how to use them for their ownerMELERIX 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

-
- Posts: 335
- Joined: Wed Nov 04, 2009 7:51 am
Re: AntiDDoS Defence
you can block ips but what you do with the traffic when hits your ips ?
-
- L2j Veteran
- Posts: 629
- Joined: Fri Apr 18, 2008 9:09 pm
Re: AntiDDoS Defence
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
Its the main perk that a gamer-developer has
