Back to browse
GitHub Repository

Lag Switch Detector and Blocker

0 starsPython

GTAO and Red Dead Online lag switch detector and blocker (anti-cheat)

by sovande·Mar 6, 2026·2 points·0 comments

AI Analysis

●●SolidNiche GemSolve My Problem

Lag-switch detector for RDO/GTAO that sits between your Mac and console.

Strengths
  • Clever use of packet timing metadata to detect connection manipulation without decryption
  • Targets a real, unsolved problem on console where lag-switching dominates cheating
  • Clear technical explanation of the vulnerability (P2P mesh with exposed IPs)
Weaknesses
  • macOS-only blocking implementation; Windows/Linux support requires developer effort
  • Niche audience limited to console players willing to run macOS bridge hardware
Category
Target Audience

Console GTA Online and Red Dead Online players on macOS

Similar To

Fair Fight anti-cheat systems · BattlEye (reactive detection)

Post Description

Red Dead Redemption 2 is a beautiful game, and its PvP used to be genuinely fun if you didn't take it too seriously. That has changed. Both RDO and GTA Online lobbies are full of cheaters, and on console, lag switching is the go-to method. A lag switcher briefly halts their own connection, moves and shoots while your hits get dropped, then reconnects. You land a clean headshot and it doesn't register. Their shots land fine. Die, respawn, repeat.

Both games use P2P mesh networking, so every player connects directly to every other player. Your IP is exposed to the entire lobby, and anyone can manipulate their connection to gain a combat advantage. Rockstar has never added anti-cheat to console.

Killswitch sits on a Mac bridging your router and console, monitoring packet timing on the primary game port (UDP 6672). All game traffic is encrypted, so detection relies entirely on metadata and timing gaps between packets. When an IP's gap score crosses a threshold, it gets blocked via the macOS PF firewall. Blocking doesn't kick them from the session. The mesh relays their game state through other players, but it adds enough latency to neutralize most of the advantage. You're essentially lag switching them back.

The README and NOTES file have more details.

Similar Projects

Security●●Solid

DayTap – A privacy-first dead man's switch iOS app

The UX is delightfully minimal — one big "I'm OK" button, configurable guardians, and a check-in window — and the author leaned on Claude Code plus multi-role LLM reviews to shore up gaps in their Swift work, which is an interesting workflow experiment. The privacy-forward touches shown on the landing page (encrypted, no GPS) are promising, but critical backend details and delivery guarantees are missing, and the core idea is familiar rather than novel.

Niche GemShip It
mitch292
103mo ago