Closed smfreegard closed 7 years ago
To reproduce, have the max_unrecognized_commands plugin installed then intentionally send 10 unrecognized commands:
[INFO] [12006FF9-D9E7-453D-85D3-110E4E673FB4] [max_unrecognized_commands] max: 10, count: 10, fail:Unrecognized command: asd,, Unrecognized command: asd,, Unrecognized command: asd,, Unrecognized command: asd,, Unrecognized command: asd,, Unrecognized command: asd,, Unrecognized command: asd,, Unrecognized command: asd,, Unrecognized command: asd,, Unrecognized command: asd,, Unrecognized command: , [INFO] [12006FF9-D9E7-453D-85D3-110E4E673FB4] [max_unrecognized_commands] Closing connection. Too many bad commands. [INFO] [12006FF9-D9E7-453D-85D3-110E4E673FB4] [core] hook=unrecognized_command plugin=max_unrecognized_commands function=hook_unrecognized_command params="" retval=DENYDISCONNECT msg="Too many bad commands" [INFO] [12006FF9-D9E7-453D-85D3-110E4E673FB4] [core] hook=deny plugin=karma function=hook_deny params=904 retval=OK msg="" [INFO] [12006FF9-D9E7-453D-85D3-110E4E673FB4] [core] deny(soft?) overriden by deny hook [INFO] [12006FF9-D9E7-453D-85D3-110E4E673FB4] [core] hook=unrecognized_command plugin=karma function=hook_unrecognized_command params="" retval=DENY msg="very bad karma score: -18" 500 very bad karma score: -18
That's a feature. If you don't prefer that behavior, add max_unrecognized_commands to karma.ini[deny_excludes].plugins.
karma.ini[deny_excludes].plugins
To reproduce, have the max_unrecognized_commands plugin installed then intentionally send 10 unrecognized commands: