DiffuseHyperion / InertiaAntiCheat

Stop people from using unwanted mods on your server!
Other
15 stars 6 forks source link

BUG: Linux incompatibility #41

Open PixelatedTsunami opened 1 week ago

PixelatedTsunami commented 1 week ago

Describe the bug When joining a server setup with Inertia on Linux (I use Arch), the server does not initiate the connection with the client and the connection gets stuck on "Negotiating". Additional info; I use Prism Launcher with these mods: https://drive.google.com/file/d/1QPM7-6E9TykXc0lTo833EfAvuRv8Qk7-/view?usp=sharing

To Reproduce Steps to reproduce the problem:

  1. Download mods for the game on a Linux distribution (I've only tested on Arch)
  2. Connect to a Inertia-enabled server
  3. hopefully it's not just me DX

Expected behavior I expect the client to get stuck on "Negotiating Connection" before disconnection with a timeout

Screenshots If applicable, add screenshots to help explain your problem.

Server information (please complete the following information):

Mod config

# IMPORTANT!
# Please check https://github.com/DiffuseHyperion/InertiaAntiCheat/wiki/Modern-(Version-1.0.0-and-above) on how to configure this mod.
# You will likely need https://iac.diffusehyperion.com/ in the process of configuring this mod.
[mods]
# The method to check client's mod list.
# If you prefer blacklisting/whitelisting certain mods from being used, use "individual".
# If you prefer ensuring client's have a modpack installed, use "group".
# Accepted types: "individual", "group"
method = "individual"
# The hashing algorithm for the mod to use.
# MD5 is the fastest but most insecure.
# SHA256 is the slowest but most secure.
# Accepted algorithms: "MD5", "SHA1", "SHA256"
algorithm = "MD5"
# The kick message to show to clients when they try to connect without InertiaAntiCheat installed.
vanillaKickMessage = "You were kicked for not sending a response to the anti-cheat!\nThis is probably due to missing the anti-cheat client mod.\nInstall it here: https://modrinth.com/mod/inertiaanticheat"
# The kick message to show to clients when they fail the modlist check.
deniedKickMessage = "You were kicked by the anti-cheat!\nThis is due to having illegal mods.\nPlease contact your server administrator for more details."

[mods.individual]
# Immediately kick players who have these mods in their modlist.
# The mod checks (and kicks) for blacklisted mods first.
blacklist = ["09e4c6d9a8a8797e164665717ee9e725", "df51aa801d9541fa6c1235110b568234"]
# Immediately kick players who do not have these mods in their modlist.
whitelist = []

[mods.group]
# The hash for the server to check against.
# You can add multiple hashes into the list, and the server will check against all of them.
hash = []
# Allow certain mods to be used by players, in addition to your modpack.
# This allows players to make use of optional client mods if you allow it.
softWhitelist = []

[motd]
# Whether to show an icon on client's server list indicating that InertiaAntiCheat is installed.
showInstalled = true
# The names of blacklisted mods to report to clients.
# Clients will be able to see these mod names in their server browser.
# You may choose to put arbituary names, extra names, fake names or no names at all here.
# Setting this to be an empty list will cause the icon to not show up.
blacklist = ["Banned mods: ", "None"]
# The names of whitelisted mods to report to clients.
# Clients will be able to see these mod names in their server browser.
# You may choose to put arbituary names, fake names or no names at all here.
# Setting this to be an empty list will cause the icon to not show up.
whitelist = ["Whitelisted mods: ", "None"]
# The name of the modpack to report to clients.
# Clients will be able to see the modpack name in their server browser.
# Setting this to be an empty list will cause the icon to not show up.
hash = ["Requires modpack: ", "Modpack Name"]

[debug]
# Show additional information in server logs.
debug = false
# do not touch pls :)
version = 7

Additional context I was setting up a server using Inertia to blacklist meteor and wurst with plans to also blacklist mini map mods when I realized I could not join the server. I got my friend to download the mods directly from the exported .mrpack file and being on windows he made it in just fine. I can only assume it has something to do with me running on Linux as obscure issues have popped up with similar things before most notably with Distant Horizons. All I know at the moment is that with all the same configurations my friend on windows made it in just fine and I did not. The server is hosted with Pebblehost with a manually setup fabric jar.

PixelatedTsunami commented 1 week ago

Quick addition before I go to sleep, some notable mods the server is running are: c2me-fabric-mc1.21-0.2.0+alpha.11.106, krypton-0.2.8, and modernfix-fabric-5.18.3+mc1.21

Don't know if that's necessary but hope it helps!

DiffuseHyperion commented 5 days ago

Sorry for the late reply. I don't really have a linux device to test this mod on, and school just started for me so it will take some time for me to get back on this issue. I'll try to see what's causing the issue when I have the time, hope you understand :)