Elytrium / LimboFilter

Powerful bot filtering solution for Minecraft proxies. Built with LimboAPI.
https://elytrium.net/
GNU Affero General Public License v3.0
150 stars 42 forks source link

[BUG] #93

Closed sonogioo closed 6 months ago

sonogioo commented 7 months ago

Describe the bug Nothing too complicated, i just cant join my server cause of this error: When trying to join most of the time i get this error: internal exception:io.netty.handler.codec.Corrupted Frame Exception: length wider than 21-bit

(when uninstalling limbofilter it works fine and i can join)

To Reproduce Steps to reproduce the behavior:

  1. Standard Configs, no changes at all.
  2. Just try to join the server
  3. I Have this plugins:

Screenshot 2024-04-09 124043 Screenshot 2024-04-09 124038 Screenshot 2024-04-09 124028

Expected behavior When trying to join most of the time i get this error: internal exception:io.netty.handler.codec.Corrupted Frame Exception: length wider than 21-bit

Screenshots 2024-04-09_12 39 13

Server Info (please complete the following information):

velocity-dump-2024-04-09-10-38-36.json

DHCPCD9 commented 7 months ago

Download dev build of limbo plugins, if issue remains, send config here

sonogioo commented 7 months ago

Download dev build of limbo plugins, if issue remains, send config here

Tried, still persists, config of limbo filter here: (default)

version: "1.1.16"

Available serializers:

LEGACY_AMPERSAND - "&c&lExample &c&9Text".

LEGACY_SECTION - "§c§lExample §c§9Text".

MINIMESSAGE - "Example Text". (https://webui.adventure.kyori.net/)

GSON - "[{"text":"Example","bold":true,"color":"red"},{"text":" ","bold":true},{"text":"Text","bold":true,"color":"blue"}]". (https://minecraft.tools/en/json_text.php/)

GSON_COLOR_DOWNSAMPLING - Same as GSON, but uses downsampling.

serializer: LEGACY_AMPERSAND prefix: "LimboFilter &6>>&f"

Don't use \n, use {NL} for new line, and {PRFX} for prefix.

main:

Check if player's Minecraft client sends the network packet with the settings.

check-client-settings: true

Check if player's Minecraft client has a brand.

check-client-brand: true

If player's Minecraft client brand (e.g. fabric or forge) is set here, then this player will be kicked.

blocked-client-brands:

Limbo API configs: (default)

version: "1.1.22"

Available serializers:

LEGACY_AMPERSAND - "&c&lExample &c&9Text".

LEGACY_SECTION - "§c§lExample §c§9Text".

MINIMESSAGE - "Example Text". (https://webui.adventure.kyori.net/)

GSON - "[{"text":"Example","bold":true,"color":"red"},{"text":" ","bold":true},{"text":"Text","bold":true,"color":"blue"}]". (https://minecraft.tools/en/json_text.php/)

GSON_COLOR_DOWNSAMPLING - Same as GSON, but uses downsampling.

serializer: LEGACY_AMPERSAND prefix: "LimboAPI &6>>&f"

Don't use \n, use {NL} for new line, and {PRFX} for prefix.

main: check-for-updates: true max-chat-message-length: 256 max-brand-name-length: 64 max-unknown-packet-length: 2048 max-single-generic-packet-length: 4096 max-multi-generic-packet-length: 131072

Default max packet length (in bytes) that will be proceeded, other packets will be dropped.

Can be increased with Limbo#setMaxSuppressPacketLength

max-packet-length-to-suppress-it: 512

Discards all packets longer than compression-threshold. Helps to mitigate some attacks.

Needs compression-threshold to be 300 or higher to support 1.19 chat-signing, so it is disabled by default

discard-compression-on-login: false discard-compression-after-login: false

LimboAPI will consume more RAM if this option is enabled, but compatibility with other plugins will be better

Enable it if you have a plugin installed that bypasses compression (e.g. Geyser)

save-uncompressed-packets: true

Logging for connect and disconnect messages.

logging-enabled: true

Change the parameters below, if you want to reduce the RAM consumption.

Use VelocityTools to completely block Minecraft versions (https://github.com/Elytrium/VelocityTools/releases/latest).

Available versions:

1_7_2, 1_7_6, 1_8, 1_9, 1_9_1, 1_9_2, 1_9_4, 1_10, 1_11, 1_11_1, 1_12, 1_12_1, 1_12_2,

1_13, 1_13_1, 1_13_2, 1_14, 1_14_1, 1_14_2, 1_14_3, 1_14_4, 1_15, 1_15_1, 1_15_2,

1_16, 1_16_1, 1_16_2, 1_16_3, 1_16_4, 1_17, 1_17_1, 1_18, 1_18_2, 1_19, 1_19_1, 1_19_3,

1_20, 1_20_2, 1_20_3, LATEST

prepare-min-version: "1_7_2" prepare-max-version: "LATEST"

Helpful if you want some plugins proceed before LimboAPI. For example, it is needed to Floodgate to replace UUID.

pre-limbo-profile-request-plugins:

mdxd44 commented 6 months ago

please reopen and attach logs if this issue is still present on latest velocity and limbo* builds