Closed diamante0018 closed 7 months ago
Looking at the diff this seems to have a dependency on https://github.com/iw4x/iw4x-client/pull/76 so i'll wait to have 76 in, then you can rebase and merge this as an independant feature, looks good otherwise
Yeah.. My bad.
What does this PR do?
Allows the user to harden their servers from unwanted attacks such as RCon password brute force. This PR adds a few prints to critical sections of the code where I think a possible attacker may attempt to send invalid data.
How does this PR change IW4x's behaviour?
/var/iw4x.log
(taken from fail2ban docs. For testing I used to change it touserraw/logs/iw4x.log
.Anything else we should know?
I used these fail2ban configs and I tested them well enough confirming they work out of the box https://git.alterware.dev/AlterWare/iw4x-fail2ban
Once this PR merged I encourage the creation of a similar repo or otherwise distribute the files under this github org
Add any other context about your changes here.
Did you check all the boxes?