Core/Warden: Base implementation for Warden functionality
Note: The default config file action for clients failing the checks can be changed for each check via the characters.warden_action table Credits to TOM_RUS
This commit is contained in:
@@ -129,6 +129,8 @@ include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/Spells
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/Spells/Auras
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/Tools
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/Warden
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/Warden/Modules
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/Weather
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/World
|
||||
${CMAKE_SOURCE_DIR}/src/server/authserver/Server
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
# PERFORMANCE SETTINGS
|
||||
# SERVER LOGGING
|
||||
# SERVER SETTINGS
|
||||
# WARDEN SETTINGS
|
||||
# PLAYER INTERACTION
|
||||
# CREATURE SETTINGS
|
||||
# CHAT SETTINGS
|
||||
@@ -472,6 +473,7 @@ LogFileLevel = 0
|
||||
# 1048576 - Anything related to loot
|
||||
# 2097152 - Anything related to guilds
|
||||
# 4194304 - Anything related to transports
|
||||
# 8388608 - Anything related to Warden anti cheat
|
||||
#
|
||||
# Simply add the values together to create a bitmask.
|
||||
# For more info see enum DebugLogFilters in Log.h
|
||||
@@ -1430,6 +1432,82 @@ AccountInstancesPerHour = 5
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
# WARDEN SETTINGS
|
||||
#
|
||||
# Warden.Enabled
|
||||
# Description: Enable Warden anticheat system.
|
||||
# Default: 0 - (Disabled)
|
||||
# 1 - (Enabled)
|
||||
|
||||
Warden.Enabled = 0
|
||||
|
||||
#
|
||||
# Warden.NumMemChecks
|
||||
# Description: Number of Warden memory checks that are sent to the client each cycle.
|
||||
# Default: 3 - (Enabled)
|
||||
# 0 - (Disabled)
|
||||
|
||||
Warden.NumMemChecks = 3
|
||||
|
||||
#
|
||||
# Warden.NumOtherChecks
|
||||
# Description: Number of Warden checks other than memory checks that are added to request
|
||||
# each checking cycle.
|
||||
# Default: 7 - (Enabled)
|
||||
# 0 - (Disabled)
|
||||
|
||||
Warden.NumOtherChecks = 7
|
||||
|
||||
#
|
||||
# Warden.LogFile
|
||||
# Description: Client check fails will be logged here.
|
||||
# Default: "" - (Disabled)
|
||||
# "Warden.log" - (Enabled)
|
||||
#
|
||||
|
||||
Warden.LogFile = ""
|
||||
|
||||
#
|
||||
# Warden.ClientResponseDelay
|
||||
# Description: Time (in seconds) before client is getting disconnecting for not responding.
|
||||
# Default: 600 - (10 Minutes)
|
||||
# 0 - (Disabled, client won't be kicked)
|
||||
|
||||
Warden.ClientResponseDelay = 600
|
||||
|
||||
#
|
||||
# Warden.ClientCheckHoldOff
|
||||
# Description: Time (in seconds) to wait before sending the next check request to the client.
|
||||
# A low number increases traffic and load on client and server side.
|
||||
# Default: 30 - (30 Seconds)
|
||||
# 0 - (Send check as soon as possible)
|
||||
|
||||
Warden.ClientCheckHoldOff = 30
|
||||
|
||||
#
|
||||
# Warden.ClientCheckFailAction
|
||||
# Description: Default action being taken if a client check failed. Actions can be
|
||||
# overwritten for each single check via warden_action table in characters
|
||||
# database.
|
||||
# Default: 0 - (Disabled, Logging only)
|
||||
# 1 - (Kick)
|
||||
# 2 - (Ban)
|
||||
|
||||
Warden.ClientCheckFailAction = 0
|
||||
|
||||
#
|
||||
# Warden.BanDuration
|
||||
# Description: Time (in seconds) an account will be banned if ClientCheckFailAction is set
|
||||
# to ban.
|
||||
# Default: 86400 - (24 hours)
|
||||
# 0 - (Permanent ban)
|
||||
|
||||
Warden.BanDuration = 86400
|
||||
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
# PLAYER INTERACTION
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user