zPeanut / Hydrogen

An open source, mixin based ghost client for Minecraft 1.8.9 built on Minecraft Forge.
MIT License
146 stars 15 forks source link

Add client brand spoofing #58

Open Riminaru opened 1 year ago

Riminaru commented 1 year ago

a client brand spoofing module is extremely useful on servers where modded clients like fabric or forge are prohibited

if such a module is already in the client then I'm deeply sorry for being blind

zPeanut commented 1 year ago

hmmm its not in the client right right now, id have to do some research on how servers handle their client connections because i couldnt think of a way. are there really servers which prohibit forge and similiar? is optifine even allowed on them? im pretty sure this is such an edge case scenario that its not worth the time investment, but you can convince me otherwise

Morten-Renner commented 1 year ago

It looks like some plugins that try to detect forge mods imitate being a forge server. I believe the forge protocol (if such a thing exists) communicates a mod list via a channel called FML|HS.

@zPeanut can we add a module that when active just blocks all FML communication?

Morten-Renner commented 1 year ago

@Lythuynhan does brand spoofing imply that the server should not know about Hydrogen or Forge in general? Because Hydrogen already isn't part of the mod list.

Riminaru commented 1 year ago

@Morten-Renner i'm saying that the server should not know that we're using Forge since some servers either have antiforge plugin or just have moderators checking people's client brand to prevent Forge clients from joining

they're worried about certain mods, especially hacked clients

Riminaru commented 1 year ago

@zPeanut @Morten-Renner also LiquidBounce has this thing Screenshot (2556)

while NightX has this Screenshot (2557)

yeah