Skip to content

drop the 3 way handshake ack#69

Open
Outfluencer wants to merge 4 commits intomainfrom
3way-handshake-hack
Open

drop the 3 way handshake ack#69
Outfluencer wants to merge 4 commits intomainfrom
3way-handshake-hack

Conversation

@Outfluencer
Copy link
Owner

We can drop the ack of the 3 way handshake, and by doing so we ensure the tcp stack of linux will see the minecraft packet data tcp packets as first packets with the ack flag set, the backend tcp stack will now only accept connections that have send at least an minecraft handshake packet

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modifies the XDP Minecraft TCP filter to drop the final ACK of the TCP 3-way handshake so the backend only observes the first ACK-bearing packets when they also carry Minecraft handshake data.

Changes:

  • Adjusts endianness handling for EtherType, TCP ports, and TCP sequence number parsing.
  • Moves TCP payload boundary calculation earlier and enforces a payload bounds check against data_end.
  • Changes the AWAIT_ACK state to transition to AWAIT_MC_HANDSHAKE and then drop the packet (intended to drop the handshake ACK).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Outfluencer and others added 3 commits February 11, 2026 23:31
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Outfluencer Outfluencer added the feature Feature request label Feb 11, 2026
@Outfluencer Outfluencer self-assigned this Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant