iw4x / iw4x-client

GNU General Public License v3.0
113 stars 35 forks source link

Feat: Native integration with Fail2Ban for Linux server Hosters #78

Closed diamante0018 closed 7 months ago

diamante0018 commented 8 months ago

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?

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?

Rackover commented 8 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

diamante0018 commented 8 months ago

Yeah.. My bad.