Skip to content

[Bug]: Please consider whitelisting local and private IP ranges in malform traffic detection by default #137

Description

@fakeboboliu

Describe the bug you're experiencing

When the server relies on local programs or routers for forwarding and other processing,

blocking the IP address 127.0.0.1/192.168.0.1/etc can lead to destructive consequences (for example, blocking all join requests because they all originate from the same local/router IP address), and this may go unnoticed for a while (appearing only as a single line in the logs).

Connectivity was widely introduced for its analysis and repair features, and is described as a painless, problem-solving lightweight mod:

Lightweight mod which solves several connection problems like ....... It also offers commands to analyze network traffic and a bunch of debugging utilities, advanced error logging, packet logging etc.

However, the default intervention of this feature has led to many network-layer operations being incorrectly blocked, resulting in penalties for players.

Reproducability

Just forward the game port through the router, and soon everyone will be blocked

Mod up to date

  • Before submitting this issue I updated to the newest version and reproduced it

Minecraft version

1.20.1

Modloader version

Forge

Logs

[co.co.Connectivity/]: Ignoring further traffic from: 127.0.0.1 for repeated malformed traffic.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions