]> git.deb.at Git - rhonda/impostor.git/commit
Added an RPC packet size anti-cheat check with config (#731)
authorChristina <122680126+HayashiUme@users.noreply.github.com>
Sun, 21 Jun 2026 09:17:05 +0000 (17:17 +0800)
committerGitHub <noreply@github.com>
Sun, 21 Jun 2026 09:17:05 +0000 (11:17 +0200)
commit2cad4ffa1488fe6de8adbe10350f18325ddf0bdc
tree91eb9ad94ef56268b539c708175a642c8fc6f5e0
parente9437e781bf47c0759df1fe451a64f57365258d5
Added an RPC packet size anti-cheat check with config (#731)

* Added an RPC packet size anti-cheat

* Support PackedGameDataTo

* Move packet size check to HazelConnection

* Update PacketSizeLimit to 1153 and add anti-cheat docs

* Change default to value determined on officials

Thanks Niko for doing the research
---------

Co-authored-by: miniduikboot <mini@duikbo.at>
Co-authored-by: NikoCat233 <139348239+NikoCat233@users.noreply.github.com>
docs/Server-configuration.md
src/Impostor.Api/CheatCategory.cs
src/Impostor.Api/Config/AntiCheatConfig.cs
src/Impostor.Server/Net/Client.cs
src/Impostor.Server/Net/Hazel/HazelConnection.cs
src/Impostor.Server/Net/Matchmaker.cs
src/Impostor.Server/config.json