This plugin fixes an issue in SRCDS that could allow an attacker to lag your server. It lets you see the attacker's IP when an attack happens. And also logs the IP address (cstrike/addons/daf/daf.log) if logging is enabled.
Note: It is recommended, not to use it with similar plugins, for example DoS Protect and zBlock.
Installation :
CVARs :
Open cstrike/cfg/autoexec.cfg and add the line
Credits :
Note: It is recommended, not to use it with similar plugins, for example DoS Protect and zBlock.
Installation :
- Download the DAF_v3_Windows.zip file attached to this post.
- Extract the content of the zip file and put it into cstrike folder of your server.
- Restart your server.
- Type plugin_print in server console to check if the plugin is loaded or not.
Code:
daf_status - Shows currently blocked Attacker's IP addresses from the attacks
daf_reset - Resets all the blocked IP addresses
// The version of the DoS Attack Fix plugin
// Do not modify this
// Default: "Version 3 of SourceOP.com DoS Attack Fix Plugin"
daf_version "Version 3 of SourceOP.com DoS Attack Fix Plugin"
// Enable/Disable DoS Attack Fix plugin
// 0 - Disabled, 1 - Enabled
// Default: "1"
daf_enable "1"
// Enable/Disable logging of new attackers IP to file (addons/daf/log.txt)
// 0 - Disable logging, 1 - Enable logging
// Default: "0"
daf_log "1"
// Enable/Disable blocking of all A2C_PRINT packets
// 0 - Disabled, 1 - Enabled
// Default: "0"
daf_block_alla2cprint "1"
// Enable/disable blocking of high volumes of A2C_PRINT packets
// 0 - Disabled, 1 - Enabled
// Default: "1"
daf_block_a2cprint_spam "1"
// Enable/disable blocking of A2C_PRINT packets with strange characters
// 0 - Disabled, 1 - Enabled
// Default: "1"
daf_block_a2cprint_nonprintable "1"
// Do not modify this
// Default: "Version 3 of SourceOP.com DoS Attack Fix Plugin"
daf_version "Version 3 of SourceOP.com DoS Attack Fix Plugin"
// Enable/Disable DoS Attack Fix plugin
// 0 - Disabled, 1 - Enabled
// Default: "1"
daf_enable "1"
// Enable/Disable logging of new attackers IP to file (addons/daf/log.txt)
// 0 - Disable logging, 1 - Enable logging
// Default: "0"
daf_log "1"
// Enable/Disable blocking of all A2C_PRINT packets
// 0 - Disabled, 1 - Enabled
// Default: "0"
daf_block_alla2cprint "1"
// Enable/disable blocking of high volumes of A2C_PRINT packets
// 0 - Disabled, 1 - Enabled
// Default: "1"
daf_block_a2cprint_spam "1"
// Enable/disable blocking of A2C_PRINT packets with strange characters
// 0 - Disabled, 1 - Enabled
// Default: "1"
daf_block_a2cprint_nonprintable "1"
exec daf.cfg
.Credits :
- Drunken F00l