ModernUO/Projects/Server/Network/NetState
Kamron Batman a4522b9d43
fix: Fixes stalled connections and infinite throttle (#1796)
> [!Warning]
> **Developer Warning**
> The `PacketThrottle` callback return value is now reversed. `true` indicates the connection is _throttled_.

### Summary
- Fixes an issue where connections get stalled forever
- Fixes an issue where the throttler is not working properly
- Removes account attack limiter
- Rewrites IP limiter
- Removes IP restrictions (they weren't used, and not practical)
- Fixes issue where IP limiter was counting before firewall was blocking.

View without whitespace:
https://github.com/modernuo/ModernUO/pull/1796/files?diff=split&w=1
2024-05-27 21:32:55 -07:00
..
DumpNetStates.cs fix: Adds more NetState dumping for debug (#1795) 2024-05-27 12:10:27 -07:00
NetState.ClientVersion.cs fix: Removes support for v4 Client and old gump packet. (#1739) 2024-04-24 19:39:37 -07:00
NetState.cs fix: Fixes stalled connections and infinite throttle (#1796) 2024-05-27 21:32:55 -07:00
ProtocolChanges.cs fix: Removes support for v4 Client and old gump packet. (#1739) 2024-04-24 19:39:37 -07:00