HomeBlogSeriesAbout
  • featured
  • all
  • go
  • redis
  • services
  • algorithm
  • data structure
  • k8s
  • network
  • linux
  • sockets
  • blockchain
  • poc
  • python
  • genai
  • eBPF
  • kernel
  • rust
  • reflections
  • engineering
  • yolo
  • notes
  • c
  • zig
  • mu-online
  • 6 March 2026
  • Featured

    Cracking the Login: Encryption Layers, Domain Modeling, and Sessions in Rust

    Implementing the MU Online login flow in Rust: peeling back three encryption layers (SimpleModulus, XOR32, XOR3), building a domain model with Ports and Adapters, and wiring up a session state machine to take a player from credentials to the game world.

    rustnetworkmu-onlinefeatured
    27 min
    Cracking the Login: Encryption Layers, Domain Modeling, and Sessions in Rust
  • 21 February 2026
  • Featured

    MU Online in Rust: Hardening the Foundation, runtime, Timeouts, and Packet Size Limits

    Before diving into login and encrypted packets, we harden the server foundation. We introduce mu-runtime for generic TCP handling, implement read/write timeouts, and add max packet size enforcement to protect against slowloris and memory exhaustion attacks.

    rustnetworkmu-onlinefeatured
    15 min
    MU Online in Rust: Hardening the Foundation, runtime, Timeouts, and Packet Size Limits
  • 18 February 2026
  • Featured

    From Nostalgia to Code: Building a MU Online Server in Rust

    Driven by nostalgia for MU Online, we use OpenMU as a reference to build a server from scratch in Rust. In this first episode, we decode the binary protocol, understand packet framing and encryption, explore the ConnectServer/GameServer architecture, and implement just enough to see the legendary login screen appear.

    rustnetworkmu-onlinefeatured
    29 min
    From Nostalgia to Code: Building a MU Online Server in Rust
    rocket

    © 2023 KungFuDev made with love / cd 💜

    Heavily inspired/copied from shuttle.rs