Epic Perfect World

Server disconnections/lag

Offline GamerGall

  • avatar
  • Member
Thx Agatio, we know you always do the best for us here.
****************************************
Make love, not war, less blood  ****
****************************************

Offline Ray

  • avatar
  • Member
I thought the lag and d/c was just me. I hope the server gets back up. I love you guys.  :D

Offline xDaemon

  • Beginner
Here is a little script to protect the server for all know FLOOD/SPAM/DDOS,

basically this script says to the ddoser i don't want to play with you.

Of course if the attack its grater then your bandwidth it wont stop them.

But however you can do this:

netstat -an | grep :53 (to see the ips that ddos your server then you go add manual).

Basicly no firewall can stop a ddos but however it can be done by a human hand here is an example of a blackhole:

Code:

route add 209.62.76.146 reject
or

Code:

ip route add blackhole 209.62.76.146/29
Depends on your configuration.

Now below you will see the scripts that actually blocks all kind of attacks from harming your pc or scanners spam flood etc.



Firewall.sh using iptables:
Code:
#Flash IPTABLES
iptables -F

#This rule accepts connection.
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

#This rule enables local-host connection
iptables -A INPUT -i lo -j ACCEPT

#This rule allows connections to port 29000 if the connection its
#state new which a normal pc would connect and not a spammer or a
#flooder pc.
#duplicate line below if you need more ports open a new port
iptables -A INPUT -m tcp -p tcp -m state --state NEW --dport 29000 -j ACCEPT

#This rule accepts all connections from a host in any port
#you can use this to acces your mysql server or whatever managing site
#you have including ssh connection and ftps
#Replace 0.0.0.0 with your ip to allow SSH connection
iptables -A INPUT -m tcp -p tcp -s 0.0.0.0 -j ACCEPT

#This rule drops all coonection that is not in state new(illegal)
#or not predefined by this firewall including ddos syn flood etc.
iptables -A INPUT -j DROP

So basic all scripts i seen on many forums including this one has a script with 20+ lines that dose a worst job then this one @_@.

Make sure you have this lines un-commented in
/etc/sysctl.conf

Code:
net.ipv4.icmp_echo_ignore_all=0
# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.all.rp_filter=1

# Uncomment the next line to enable TCP/IP SYN cookies
net.ipv4.tcp_syncookies=1


# Ignore ICMP broadcasts
net.ipv4.icmp_echo_ignore_broadcasts = 1

# Ignore bogus ICMP errors
net.ipv4.icmp_ignore_bogus_error_responses = 1

# Do not accept ICMP redirects (prevent MITM attacks)
net.ipv4.conf.all.accept_redirects = 0
_or_

# Do not send ICMP redirects (we are not a router)
net.ipv4.conf.all.send_redirects = 0

# Do not accept IP source route packets (we are not a router)
net.ipv4.conf.all.accept_source_route = 0
After you un-commented the lines please open ssh(putty) and type:

Code:

sysctl -p
to apply the changes you made to sysctl

PLEASE NOTE ALL THE ABOVE SCRIPTS ARE TESTED 100% UNDER DDOS AND OTHER TYPE OF FLOODS IF THEY DOESN'T WORK ITS BECAUSE YOU DID SOMETHING WRONG!!!

Source
Last Edit: May 17, 2012, 10:28 am by xDaemon

Offline Angel

  • avatar
  • CoffeeFANCLUBB <3
  • 私は天使です - Watashi wa tenshi desu~!
*sigh* and the problem has gone on for more than 9 hours  :'(

Offline deadlykiss

  • avatar
  • Beginner
best thing to do is hire a company that can handle the problem in no time and its so damn cheap now
on another game server we used this company which was easy and fast way to stop all the ddos crap
http://www.dosarrest.com/ they got many ways u can pick from to help stable the server i hope this help

Offline Pacific

  • avatar
  • Member
Ive seen this problem several times in the pass the so called unknown source is blue dragon. They always begin ddos when server start riding there asses to be honest I know a couple of there ddoser's there complete idiots. By the way 9 hours is nothing vendetta has been down for 3 days from bd ddos attacks im guessing there attacking the top 10 servers due to more people leaving pwi and coming to private servers.
Pacific-Demon Mage
FlasH-Demon Sin

Offline Angel

  • avatar
  • CoffeeFANCLUBB <3
  • 私は天使です - Watashi wa tenshi desu~!
goddamn i love agatio's posts.. he has 699 posts bwhahahaha go check XD

Offline l33t

  • Member
still down! i hope this wont cause server reset  :'(


IGN:Taranta
Class: BM
Guild: AsToooG!!

Offline Angel

  • avatar
  • CoffeeFANCLUBB <3
  • 私は天使です - Watashi wa tenshi desu~!
still down! i hope this wont cause server reset  :'(

wait wait.. server reset??? whats thatt

Offline Spadey/Habs

  • Member
I would not be surprised at all if those attackers we re hired my PWI.I know like 40 peoples from the Dreamweaver server who jump on EPW and most of them are cash players...soo it would not be a surprise xD
Last Edit: May 17, 2012, 11:08 am by Spadey

Offline Angel

  • avatar
  • CoffeeFANCLUBB <3
  • 私は天使です - Watashi wa tenshi desu~!
I would not be surprised at all if those attackers we re hired my PWI.I know like 40 peoples from the Dreamweaver server who jump on EPW and most of them are cash players...soo it would not be a surprise xD

then why not blue dragon network? they even just realised patch 110

Offline ZER0

  • Member
I hate blue dragon their site is shit and their server is shit the whole company is bullshit >:(

Offline Serph

  • avatar
  • Member
Think about this too:
When Blue Dragon was on the top of xtreme top 100 there were no DDoS attacks...when they lost the first position (happened more than once) the DDoSing starts.
There are so many proofs.
Plus, Dina is known for doing this kind of stuff, she also did one year ago with PW Chronicles and PW Vendetta, she even left a message in their forum saying it was her.

Offline Allizkrad

  • avatar
  • Member
  • Characters: Allizkrad
  • Faction: HellRazor
lol if is really the Dragon server that is doing this , or some of their players this might be the reason , is alink to their foruns with an event that gives 2k DNVP if they get 1st in the voting system
http://forum.dragon-network.co/t4393-eventvote-for-your-server
lol they will do anything for it lol apperently

Offline DeadAngel

  • avatar
  • Member
ah so they also screwed up the voting as well?