Giter Site home page Giter Site logo

fas's Introduction

FAS

Chinese | English

A anti-attack and anti-spam plugin

Note: Since only BukkitAPI is used, it is not possible to achieve perfect defense, but the server version can be 1.5 or even the latest version.

Introduce

This project was previously written, was used for low version of the bot attack defense, but because our 1.5.2 Minecraft server is not open, and then only a few small updates.

Dependencies

Feature

Can be used for defense:

  • Fast/slow/bypass bot attacks (single ip)
  • Distributed bot attacks
  • Motd attack
  • Play normally while being attacked
  • Spam

Performance indicators(0.4.2):

5000bot/s attack

  • 1Core 2G 5m lag but not crashing!!!(AMD EPYC 7K62 2.6GHz)
  • 2Core 4G 20m Tolerable lag(Intel Platinum 8374C IceLake 2.7/3.3GHz)

Performance indicators(Under 0.4.0):

The following test results are derived under 1.8.8 and E5 (the specific generation I forget, probably E5-2470, probably 3.1-3.3ghz)

1000bot/s attack

  • 1Core 2G lag
  • 3Core 6G smooth
  • 4Core 8G Smooth

5000bot/s attack

  • 1Core 2G disaster(server crash)
  • 4Core 8G last ten seconds of the attack lagged (total 30s)

2000connect/s motd attack

  • 5mbps smooth

Note:This is only my impression of the data

Acknowledgements:

  • Thanks to JetBrains for the IntelliJ IDEA Community Edition and kotlin language support.
  • Thanks to DeepL for translation support.
  • Thanks to MCStorm for providing free stress tests.(XD)

fas's People

Contributors

hsn8086 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.