# Connection threshold settings
connection:
threshold: 10 # Maximum connections per timeWindow
timeWindow: 10000 # Time window in milliseconds (10 seconds)
blockDuration: 60000 # Block duration in milliseconds (60 seconds)
# DDoS Detection settings
detection:
packetRateThreshold: 100 # Packets per second threshold
connectionBurstThreshold: 5 # Connections per second threshold
connectionPatternThreshold: 10 # Suspicious connection pattern threshold
totalAttackScoreThreshold: 100 # Score threshold for attack detection
analysisInterval: 30000 # Analysis interval in milliseconds
# Analytics settings
analytics:
enableMachineLearning: true # Enable machine learning analytics
saveAnalyticsData: true # Save analytics data to disk
anomalyThreshold: 3 # Threshold for anomaly detection
minDataPointsForAnalysis: 10 # Minimum data points before analysis
patternMatchThreshold: 80 # Pattern matching threshold percentage
# Notification settings
notifications:
ingame:
enabled: true # Enable in-game notifications
notificationLevel: 1 # 1=critical only, 2=important, 3=all
discord:
enabled: true # Enable Discord webhooks
webhookUrl: "YOUR_WEBHOOK_URL" # Discord webhook URL
username: "NeonDDoS Alert" # Bot username
avatarUrl: "" # Bot avatar URL
email:
enabled: false # Enable email notifications
smtpHost: "smtp.example.com" # SMTP server
smtpPort: 587 # SMTP port
smtpAuth: true # Require authentication
smtpStartTLS: true # Use TLS
username: "
[email protected]" # SMTP username
password: "password" # SMTP password
from: "
[email protected]" # From address
recipients: "
[email protected]" # To address(es)
# Traffic prioritization settings
traffic-prioritization:
enabled: true # Enable traffic prioritization
dynamicBandwidthAllocation: true # Enable dynamic bandwidth allocation
maxLowPriorityRequestsPerSecond: 20 # Max requests per second for low priority
maxConnectionsPerSecond: 100 # Max total connections per second
prioritySyncInterval: 5000 # Priority sync interval in milliseconds
highLoadMode: balanced # Mode during high load: strict/balanced/permissive
minPlayerBandwidthPercent: 80 # Minimum bandwidth for verified players
# TCP filtering settings
tcp-filter:
enabled: true # Enable TCP filtering
maxSynPerSecond: 5 # Max SYN packets per second from one IP
maxHalfOpenConnections: 20 # Max half-open connections per IP
enableSynCookies: true # Use SYN cookies for SYN flood mitigation
# GeoIP filtering settings
geoip:
enabled: false # Enable GeoIP filtering
whitelist-mode: false # false = blacklist, true = whitelist
database-path: "" # Custom GeoIP database path
# Machine learning settings
machine-learning:
enabled: true # Enable machine learning
adaptiveThresholds: true # Enable adaptive thresholds
trainingIntervalMinutes: 30 # Training interval in minutes
minDataPointsForTraining: 100 # Minimum data points for training
detectionThreshold: 0.75 # ML detection threshold (0.0-1.0)
modelSaveDirectory: "models" # Directory to save ML models