capturetheflag icon indicating copy to clipboard operation
capturetheflag copied to clipboard

How the ban list is handled?

Open farooqkz opened this issue 2 years ago • 7 comments

Hello. I was thinking about an Application level firewall for Minetest. But before that, I wanted to know how ban list is handled? And does it cause lags or something?

farooqkz avatar Feb 27 '23 19:02 farooqkz

This is how the server handles bans: https://github.com/shivajiva101/sban

What would the point of a firewall be?

LoneWolfHT avatar Feb 27 '23 20:02 LoneWolfHT

I believe an application level firewall written in Rust can help reduce load on the server. It would even be possible that another server do the firewall thing so that the load on the main server will be reduced.

farooqkz avatar Feb 28 '23 11:02 farooqkz

bump

farooqkz avatar Jun 27 '23 18:06 farooqkz

I want to still give players a ban reason, even if it's a permanent ban. sban does cause a decent amount of lag with lots of players joining/quitting, but I think a different solution is in order, maybe moving a lot of the ban code into an async thread and keeping the player out of the game until they're processed

LoneWolfHT avatar Jun 29 '23 18:06 LoneWolfHT

An application level firewall can give them the ban reason.

farooqkz avatar Jun 29 '23 18:06 farooqkz

If you can manage that go ahead then

LoneWolfHT avatar Jun 29 '23 19:06 LoneWolfHT

If you can manage that go ahead then

I gave the idea but currently I am too much occupied with other stuff for some time.

farooqkz avatar Jun 29 '23 21:06 farooqkz