DDoSGuard icon

DDoSGuard -----

Protect your server of DDOS atacks



DDoSGuard 2.0 - Proxy Integration Update
Additions.
  • Proxy Support
  • Introduced the allow-proxies option in the config.yml.
  • If allow-proxies is enabled, the plugin will allow connections from IP addresses that might be considered proxies.
  • Added a isProxy(String ip) method to check if an IP is a proxy (default implementation is simple, but can be expanded for more advanced detection).
  • IP Whitelist
  • Implemented a whitelisted-ips option in the configuration file to allow specific IPs to connect, bypassing other restrictions.
  • Logic added to always allow connections from IPs listed in the whitelist.
  • Custom Kick Messages
  • Added a custom kick message for connections detected as proxies (proxy-kick-message).
  • Configured a standard kick message (kick-message) for cases where the connection limit has been exceeded.
Updates
  • Configuration file translated to English (config.yml):
  • The options in the config.yml were translated and adjusted for clarity in English.
  • Added the allow-proxies option and documented the customized kick messages.

Config.yml:
Code (YAML):
# DDoSGuard Configuration

# Maximum number of simultaneous connections allowed per IP.
max-connections
: 3

# Allow connections from proxies (true/false).
allow-proxies
: false

# List of IPs that are whitelisted and not affected by connection limits.
whitelisted-ips
:
 - "127.0.0.1"
  - "192.168.0.1"

# Message sent to players when too many connections are detected from the same IP.
kick-message
: "Too many simultaneous connections from your IP."

# Message sent to players if proxy connections are not allowed.
proxy-kick-message
: "Proxy connections are not allowed."
 
----------, Nov 16, 2024
Resource Information
Author:
----------
Total Downloads: 66
First Release: Nov 14, 2024
Last Update: Nov 16, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings