timvisee / lazymc

💤 Put your Minecraft server to rest when idle.
GNU General Public License v3.0
552 stars 14 forks source link

Seems like drop_banned_ips drops all connections #43

Closed tW4r closed 1 year ago

tW4r commented 1 year ago

Haven't tested this yet, but looking at the code, it seems like [server] drop_banned_ips config value just drops all connections instead of only banning the IP:

https://github.com/timvisee/lazymc/blob/be74e053f4380bb291cc62f5db4875c1f8ad297d/src/service/server.rs#L85-L90

timvisee commented 1 year ago

Woah! That's super bad. Good catch!

timvisee commented 1 year ago

Fixed by #44

timvisee commented 1 year ago

I've quickly released v0.2.9 to get this out to the public as soon as possible.

It is releasing here: https://gitlab.com/timvisee/lazymc/-/pipelines/777105544

Thanks again.