Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sphere protection
Author Message
Runcuks
Journeyman
*

Posts: 179
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Nov 2012
Reputation: 0



Post: #1
Sphere protection
Hey guys! (Wave) i wanted to know how to protect sphere server from hacker attacks? Becouse last time i run live server it started to lag like 10 mins in 2 hour, its becouse of hackers or server?
11-03-2014 05:05 PM
Find all posts by this user Like Post Quote this message in a reply
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 9 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #2
RE: Sphere protection
Can be anything... from server issues, Internet connection up to your mentioned attacks (but I don't think anybody is trying to DDoS your server).

Watch how often it happens and when, then start eliminating certain areas.
11-03-2014 08:15 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #3
RE: Sphere protection
you must take care at every step you take inside and outside sphere (ingame scripts, SQL database engines, external server network, etc) because they can use everything against you

it could be even a huge DDoS attack to your server network to even a simple ingame script that you press a simple button and the shard freeze for about 3 seconds (where a retarded player found this problem and now he will keep pressing this button forever with a no delay macro just to freeze your server)
11-04-2014 03:07 AM
Find all posts by this user Like Post Quote this message in a reply
Runcuks
Journeyman
*

Posts: 179
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Nov 2012
Reputation: 0



Post: #4
RE: Sphere protection
Ok, thanks.
11-04-2014 03:14 AM
Find all posts by this user Like Post Quote this message in a reply
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 9 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #5
RE: Sphere protection
When you mentioned lags... Any ideas how to track source of lag in sphere itself? What script may cause it if you generaly know that it lasts only for a few minutes and it's irregular.

Experimental flags in sphere.ini, too high interation in loop shouldn't cause that. Where else put some debugs? Or an application that tracks what the sphere/any app does? How is each thread loaded and how it acts?[/align]
11-05-2014 09:37 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #6
RE: Sphere protection
Script profiler can help for expensive functions or events
11-05-2014 08:43 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 9 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #7
RE: Sphere protection
Mmm, do you mean time difference at the beginning and end of code block? Put it in every single trigger and function, right?
(This post was last modified: 11-07-2014 05:40 PM by Alaric.)
11-07-2014 01:10 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)