64 Commits
Author SHA1 Message Date
Delusional Syndrome bf52365a1a Add friendcode && puid api (#743)
* Add friendcode && puid api

* Add Message 01/07 for client

* add anticheat
2026-10-05 21:00:43 +02:00
miniduikboot 8ee5796d89 fix typo 2026-10-02 22:13:22 +02:00
miniduikboot 7b77165421 Address review comments 2026-10-02 22:13:22 +02:00
2cad4ffa14 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>
2026-06-21 11:17:05 +02:00
miniduikboot 06f4f8bf00 Gate PackedGameDataTo behind AC check 2026-05-24 20:36:02 +02:00
miniduikboot 9169fab67d Update FAQ for AU3D 2025-06-02 22:52:45 +02:00
miniduikboot 8fb996b314 Update documentation for mandatory HTTPS
The new Unity version used by Among Us 16.0.5 disables the
"InsecureHttpOption", which blocks UnityWebRequests via HTTP. Therefore
all Impostor servers should now switch to HTTPS.

https://docs.unity3d.com/2022.3/Documentation/ScriptReference/InsecureHttpOption.html

Thanks to TianMengLucky for reporting this and NikoCat233 for
identifying the cause
2025-06-02 22:49:45 +02:00
miniduikboot 0ac0b1d403 Address review comments 2025-05-22 23:50:28 +02:00
miniduikboot fff9713697 Add new cheat category for InvalidObject checks
For some network objects, like PlayerControl, we expect that there is an
PlayerInfo object associated to them. If there isn't, throw an exception
in this AC category
2025-05-22 23:50:28 +02:00
miniduikbootandjs6pak 495dc01948 Add diagnostic http message (#663)
* Add diagnostic message to test HTTP server

This makes it possible to diagnose if the reverse proxy setup is working
correctly or if the game configuration is wrong

* Print console log as well

Only print it once to prevent console spam

* Update src/Impostor.Server/Http/HelloController.cs

Co-authored-by: js6pak <me@6pak.dev>

---------

Co-authored-by: js6pak <me@6pak.dev>
2025-01-26 18:00:03 +01:00
Bilibili_MengChu d94cf78a98 Update docs/Server-configuration.md File Description 2024-08-10 18:50:57 +02:00
miniduikboot c522dd9f88 Add compatibility option to allow host authority
There are various bugs in the 2024.6.18 implementation of host-authoritive
multiplayer such that I can't recommend players to use it. Fixing these
issues on the server side is impossible, and I can't smell remotely if
clients have applied the necessary fixes. The currently known bugs
include at least:

- Unable to join more than 8 players in a room
- Unable for new players to join if host switched from host authoritive
  to server authoritive
- Host is unable to kill if it is in a host authoritive game while it
  thinks it is in server authoritive mode

If Innersloth fixes this mode in future game patches, this option may be
reconsidered.
2024-07-27 18:49:04 +02:00
miniduikboot 46caeb76c2 Add new option to full config example
Some people were confused by config-full.json, thinking that this file
should be edited too. This is not the case and the values in this file
don't apply as it was only meant as an example, so rename the file to
make that more clear.

Also update this file to add the options from the Modular Anticheat
2024-07-27 17:05:34 +02:00
miniduikboot 414303b2c1 Documentation: Update .NET 7 to .NET 8 2024-04-28 18:31:34 +02:00
miniduikboot 28f3cb3b2e Make Impostor's AC modular (#559)
* Add extra configuration options for the anticheat

* Implement option to exempt hosts from AC checks

* Add AntiCheatConfig to InnerNetObject and friends

* Categorize calls in InnerNetObject.Anticheat

* Categorize other calls to ReportCheatAsync

* Update cosmetics AC handling

When Innersloth changed SetHat etc to SetHatStr as part of the cosmicube
update we accidentally created a few dead methods. Restore and update
the code.

* Push up cheat category to ReportCheatAsync

This makes it possible to log failed checks for diagnosis. Also much
cleaner now that we don't have to push AntiCheatConfig everywhere.
Should've done this immediately q.q

* Add back old version of ReportCheatAsync

some plugins used this method. affected plugins should rebuild after the
next impostor release

* Add documentation for modular anticheat

* Address comments

* Sort AntiCheatConfig keys

* Rework the option to allow cheating hosts

This option should actually be tristate: to not break host-only mods we
should disable the anticheat for hosts running host-only mods.

* Document CheatingHostMode

* Split Limits category in Color and Name Limits
2024-04-04 20:09:59 +02:00
miniduikboot 7b23d80978 Merge pull request #563 from Impostor/feature/net8
Upgrade to net8.0
2024-01-25 12:31:07 +01:00
js6pak 2cbfe159be Upgrade to net8.0 2024-01-25 00:51:06 +01:00
miniduikboot 3b514f82f2 Change default ListenIp of Http server to 0.0.0.0
We see that a lot of support tickets are caused by this default setting,
as it is one of the things that blocks connections to the server with no
obvious indication that this is happening. To make it easier for first
time users to set up Impostor, it is important that this setting is
changed.

Previously we also recommended against direct exposing due to security
reasons, but I believe this fear to be unfounded: Microsoft claims that
the Kestrel server is hardened against web server vulnerabilities and
supports its use both with and without a reverse proxy.[1]

We still recommend using reverse proxies if HTTPS support is needed, so
that section of documentation still remains. Setting the ListenIp to
127.0.0.1 is still recommended when using a reverse proxy to remove the
ability for people to connect directly, so we add it there as a recommendation.

[1]: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/when-to-use-a-reverse-proxy?view=aspnetcore-8.0
2024-01-10 19:17:38 +01:00
miniduikbootandjs6pak b5ea1d8864 Update docs to reflect http plugin merge (#546)
Co-authored-by: js6pak <me@6pak.dev>
2023-12-17 20:22:36 +01:00
miniduikboot 7b341bea14 Update docker container to I.Http 0.5
Also update the documentation to deal with the new default port and
clarify some stuff
2023-07-15 13:46:58 +02:00
miniduikboot c06916084e Rewrite Running-the-server.md
- Multi-server is removed from the intro
- Add Impostor.Http stuff
- Stress the importance of public ip
2023-01-30 00:04:55 +01:00
bkloosterboer 58c8bdec26 systemd template and instructions (#508)
* systemd template and instructions

* clarify some intsructions, change a few systemd paramters

* change targets
2023-01-22 23:29:22 +01:00
js6pak d667f99c9f Remove redirector (#502) 2022-12-18 22:44:25 +01:00
js6pak d5165a79f1 Upgrade to net7.0 2022-12-18 20:34:45 +01:00
js6pak b9e8def90d Switch to github actions (#492) 2022-09-01 19:28:41 +00:00
miniduikboot 2de08da14d Add documentation for the compatibility options 2022-08-29 20:57:16 +02:00
miniduikboot a0b5228e71 Improve setup documentation (#485)
- .NET download link was broken
- They also renamed their packages slightly, so update wording
- Add a note on port forwarding
- Add a note on setting up the region file
2022-08-29 20:56:34 +02:00
miniduikboot 4d11cf91ad Remove Auth- and AnnouncementsServer sections (#484) 2022-06-03 18:58:00 +00:00
js6pakandminiduikboot 6e4bb71289 Add Serilog.Settings.Configuration (#468)
* Add Serilog.Settings.Configuration

* Add docs section for logging

* Elaborate Serilog documentation

Co-authored-by: miniduikboot <mini@duikbo.at>
2022-06-03 20:31:52 +02:00
miniduikboot 380ba46f11 Upgrade to .NET 6 (#479)
* Upgrade to .NET 6

.NET 5 has gone EOL, so move to a supported version.

* Upgrade Docker container as well
* Update docs for .NET 6
* Re-add hack for System.IO.Pipelines
* Bump dependency versions
* Update the deps of the other projects too
* Only declare TargetFramework once
* Dockerfile: also copy over Directory.Build.props
* Cake: pick up target framework automatically
* Upgrade Cake as well
2022-05-25 19:52:22 +02:00
miniduikboot c63eb3b2d1 Improve docs (#435) 2021-07-25 19:53:43 +00:00
js6pak 11f2ffd24d Remove legacy regionInfo patcher 2021-07-05 18:27:59 +02:00
cchudant b73a46ff56 [skip ci] Rename dev branch in Running-the-server.md (#402) 2021-04-26 12:47:03 +00:00
js6pak f04bacf0de Update Server-configuration.md 2021-03-14 22:30:01 +00:00
js6pak d4bffd20ad [skip ci] Update Building-from-source.md 2021-03-03 09:05:33 +00:00
svennergrandSven Großmann 2ebd804d28 fixed wrong key to paths of libaries in markdownfile (#223)
Signed-off-by: Sven Großmann <svennergr@gmail.com>

Co-authored-by: Sven Großmann <git@grossmann.dev>
2020-12-31 02:31:03 +01:00
AeonLucid 35fab473ca Update Running-the-server.md 2020-12-10 15:59:32 +01:00
a653fe57fd Improving Documentation (#175)
* Update README.md

Removed outdated information
Added instructions for other devices

* Updated README to add Android 11 instructions

* Formatting

* Update Running-the-server.md

* Formatting

* Formatting

* Adding a more verbose explanation on configs

* Create TROUBLESHOOTING.md

* Option for windows users to use the website instead of the client

* Small tweaks to make docs more professional

* Fixing grammatical errors(Part 1)

* Fixing grammatical errors(Part 2)

* Fixing grammatical errors (Part 3)

* Update README.md

* Update README.md

* Fixing formatting

* Update README.md

Co-authored-by: AlexejheroYTB <alexejhero@gmail.com>

* Update README.md

Co-authored-by: AlexejheroYTB <alexejhero@gmail.com>

* Update README.md

Co-authored-by: AlexejheroYTB <alexejhero@gmail.com>

* Update docs/Running-the-server.md

Co-authored-by: AlexejheroYTB <alexejhero@gmail.com>

* Update docs/Server-configuration.md

Co-authored-by: AlexejheroYTB <alexejhero@gmail.com>

* Update docs/Server-configuration.md

Co-authored-by: AlexejheroYTB <alexejhero@gmail.com>

* Update docs/Server-configuration.md

Co-authored-by: AlexejheroYTB <alexejhero@gmail.com>

* Update docs/TROUBLESHOOTING.md

Co-authored-by: AlexejheroYTB <alexejhero@gmail.com>

* Update docs/TROUBLESHOOTING.md

Co-authored-by: AlexejheroYTB <alexejhero@gmail.com>

* Update docs/TROUBLESHOOTING.md

Co-authored-by: AlexejheroYTB <alexejhero@gmail.com>

* Update docs/TROUBLESHOOTING.md

Co-authored-by: AlexejheroYTB <alexejhero@gmail.com>

* Update README.md

Co-authored-by: AlexejheroYTB <alexejhero@gmail.com>

* Update README.md

* Update Server-configuration.md

* Update TROUBLESHOOTING.md

* Update TROUBLESHOOTING.md

* Update Server-configuration.md

* Update TROUBLESHOOTING.md

* Update TROUBLESHOOTING.md

* Update Server-configuration.md

Co-authored-by: AlexejheroYTB <alexejhero@gmail.com>
Co-authored-by: AeonLucid <aeonlucid@outlook.com>
2020-11-30 20:04:23 +01:00
Hmmbob ccedd77162 [Docs] Add docker-compose instructions (#180)
* Add docker-compose instructions

* Remove unused badge

* Add volume mapping

* Add some more volume mappings

* Restore badge
2020-11-25 07:16:13 +01:00
AeonLucid 8afb4aa3a6 Update docs 2020-11-12 04:51:59 +01:00
AeonLucid e308b7e3e6 Add enums to set Color/Hat/Pet/Skin 2020-10-27 01:28:28 +01:00
AeonLucid 9e55a9738b Fixes #81 - Adds hostname support to the config file 2020-10-26 19:43:20 +01:00
AeonLucid 9d520bf9a3 Move options to the top 2020-10-26 04:39:18 +01:00
AeonLucid 961bd90ef6 Change all events to use interfaces and move them to a better namespace 2020-10-26 04:37:42 +01:00
AeonLucid c749a84910 Move events to better directories 2020-10-26 00:17:47 +01:00
AeonLucid c6b5390844 Merge branch 'dev' into fix-issues 2020-10-25 23:43:10 +01:00
AeonLucid b527c251bd Fixes #71, improved configuration documentation 2020-10-25 23:42:51 +01:00
AeonLucid 89e2d2e172 Update Running-the-server.md 2020-10-25 23:28:21 +01:00
AeonLucid 5c0ce03c57 Update Running-the-server.md 2020-10-25 23:22:38 +01:00
AeonLucid 93394e7e77 Make ban for cheating configurable 2020-10-25 23:13:09 +01:00