mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 21:56:22 +00:00
feat(Core/Packet): Implement AntiDOS protection from Trinity (#2789)
* Implement AntiDOS protection from Trinity Co-authored-by: jackpoz <giacomopoz@gmail.com> Co-authored-by: Shauren <shauren.trinity@gmail.com> Co-authored-by: Vincent-Michael <trinity.michael_vincent@gmx.eu>
This commit is contained in:
@@ -3377,3 +3377,39 @@ ICC.Buff.Alliance = 73828
|
||||
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
#
|
||||
# Packet Spoof Protection Settings
|
||||
#
|
||||
# These settings determine which action to take when harmful packet spoofing is detected.
|
||||
#
|
||||
# PacketSpoof.Policy
|
||||
# Description: Determines the course of action when packet spoofing is detected.
|
||||
# Values: 0 - Log only
|
||||
# 1 - Log + kick
|
||||
# 2 - Log + kick + ban
|
||||
|
||||
PacketSpoof.Policy = 1
|
||||
|
||||
#
|
||||
# PacketSpoof.BanMode
|
||||
# Description: If PacketSpoof.Policy equals 2, this will determine the ban mode.
|
||||
# Values: 0 - Ban Account
|
||||
# 1 - Ban IP
|
||||
# Note: Banning by character not supported for logical reasons.
|
||||
#
|
||||
|
||||
PacketSpoof.BanMode = 0
|
||||
|
||||
#
|
||||
# PacketSpoof.BanDuration
|
||||
# Description: Duration of the ban in seconds. Only valid if PacketSpoof.Policy is set to 2.
|
||||
# Set to 0 for permanent ban.
|
||||
# Default: 86400 seconds (1 day)
|
||||
#
|
||||
|
||||
PacketSpoof.BanDuration = 86400
|
||||
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
Reference in New Issue
Block a user