The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
botnet & zombi attack sphere lag & exploding.
Author Message
Coruja
Sphere Developer
*****

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

Dimension Shard

Post: #9
RE: botnet & zombi attack sphere lag & exploding.
question already answered on github, but anyway here's an copy/paste of the text (maybe it could be useful to someone):

Quote:you're under an DDoS attack on layer 7, unfortunately there's nothing we/you can do on sphere-side. To block an DDoS attack you will need an advanced knowledge in network security, and depending on the attack scale you will also need an big $$ to pay anti-DDoS protections

basically, an global network have many layers (1 to 7)
-layer 1: is the infected/attacker PC
-layer 3: is your datacenter
-layer 7: is your application (Sphere)

if connections are reaching your application (layer 7) this means that they passed through all the others layers without being been blocked. So you must block these connections on these others layers to prevent they reach your application. You can't simply block them on Sphere or on the PC firewall, because the PC will keep receiving hundreds of connections per second and will keep wasting CPU/RAM/network to block all these connections. So you will need an external anti-DDoS protection to prevent all these connections to reach your server

if you're lucky, maybe your datacenter can offer an basic anti-DDoS protection for cheap price and this will be enough to block the attack. Or you can move to another datacenter that offer this cheap protection (like OVH). But if the attack is really huge and keep coming 24h/day, you will have to pay an advanced DDoS protection from an anti-DDoS leader company (F5, Incapsula, Arbor, Akamai, etc) for about U$500 ~ U$2000 (per month)

EDIT: on Sphere you can also disable LOGM_CLIENTS_LOG setting on sphere.ini, this will make Sphere not show clients connecting/disconnecting anymore and it will save some CPU because Sphere won't keep freezing writing huge logs at each second. But should not be used as "protection", it will only reduce the attack drawbacks. The best way to mitigate DDoS attacks is using anti-DDoS protections to block the connections before it reach your server
10-04-2017 04:49 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: botnet & zombi attack sphere lag & exploding. - Coruja - 10-04-2017 04:49 AM

Forum Jump:


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