COWMODSКаталог модов

BetterLAN

Seamless intra-group networking for Minecraft. Connects players via any BetterLAN node service with military-grade End-to-End Encryption (E2EE) and real-time host approval.

Автор: kdrnn41058372обновлён 1 апр. 2026 г.
Механики игрыУправлениеОптимизация

Описание

BetterLAN - Play "LAN" with friends anywhere, securely.

Introduction

BetterLAN is a networking mod that completely redefines how you play Minecraft with your friends. Say goodbye to complex port forwarding, router settings, or heavy third-party VPNs like Hamachi. BetterLAN connects players via a lightweight central relay node, making remote worlds appear directly in your Vanilla Multiplayer server list as if you were sitting in the same room.

Key Features

Zero Configuration Networking: Just publish your single-player world to LAN. Friends in your configured "Group" will instantly see your world in their Multiplayer menu.

End-to-End Encryption (E2EE): All game traffic is encrypted locally before leaving your computer. The relay node only forwards encrypted bytes and cannot read your game data.

Host Control: Whenever someone tries to join your world, you get a clickable prompt in your chat to [Accept] or [Reject] their connection.

Presence System: See who in your friend group is currently online and check their ping to the node in real-time via the in-game Node Config UI.

Offline UUID Fixes: Built-in support to fix UUIDs for offline-mode auth, ensuring player inventories and stats remain consistent.

How to Use

Configure: Click the [Node Config] button on the Main Menu. Enter the Node IP/Port, and agree on a secret Group name and Password with your friends.

Host: Open your single-player world and click "Open to LAN". The mod will automatically sync your room to the cloud.

Join: Your friends go to the standard "Multiplayer" menu. Your world will magically appear in their list.

Verify & Play: When a friend double-clicks to join, both of you will see a 6-digit Security Fingerprint. Verify it via voice chat, and the host clicks [Accept] in the game chat to let them in!

Details & Security Architecture

BetterLAN is built with a zero-trust architecture to ensure your gameplay and data remain strictly private:

ECDH Key Exchange: When a connection is established, the Host and Guest generate temporary Elliptic-Curve (EC) key pairs and exchange public keys to derive a shared secret.

AES-CTR Encryption: All Minecraft packets are wrapped in an AES-CTR encryption layer using the derived shared secret.

MITM Protection (Fingerprinting): To prevent malicious relay nodes or network hijackers from performing Man-in-the-Middle (MITM) attacks, the mod displays a 6-digit hex fingerprint (a SHA-256 hash of the final AES session key) to both the Host and the Guest. If the fingerprints match on both screens, the mathematical guarantee is that the connection is absolutely secure and untampered with.

Галерея

Open LANMultiplayerRelay Node ConfigurationWhen the player tries to connect

Последние версии

Все версии →
release

BetterLAN 1.0.1

1.0.1
1 апр. 2026 г.803Minecraft: 1.20.1forge
Скачать
Что нового
# Version 1.0.1 - The Security Update ## New Features & Improvements: ### Anti-MITM Security Fingerprints: Added a state-of-the-art End-to-End Encryption (E2EE) verification system. When a guest attempts to join a host's LAN world, both players will now see a 6-digit Security Fingerprint (derived from the SHA-256 hash of the ECDH-exchanged AES session key). Players can verbally verify this code to guarantee 100% immunity against Man-in-the-Middle (MITM) attacks. ### Seamless UI Integration: The fingerprint waiting screen seamlessly overlays the Vanilla "Connecting to server..." screen, preserving the native connection lifecycle and cancel button functionality without interrupting the underlying Netty network pipeline. ### Host Approval System Enhancement: The host now receives the security fingerprint directly in the chat prompt when deciding to [Accept] or [Reject] an incoming connection. ## Bug Fixes: ### Fixed Server List Ghosting: Resolved an issue where offline LAN rooms were not properly removed from the Multiplayer server list due to I18n and formatting code mismatches. ### Fixed Network Daemon Deadlock: Fixed a critical issue where the background presence heartbeat thread would permanently freeze if the initial DNS resolution failed or if the player hadn't opened the config screen (Lazy-loading trap fixed). ### Connection Timeout Stability: Improved the TCP connection timeout logic to accurately drop dead connections and auto-reconnect without locking up the client.
release

BetterLAN 1.0.0

1.0.0
29 мар. 2026 г.32Minecraft: 1.20.1forge
Скачать
Что нового
# BetterLAN Release Notes: Security Refactoring and Architecture Upgrade _Removed v0.0.1 due to security vulnerabilities._ ## Cryptography & Security **Implemented True End-to-End Encryption (E2EE):** Introduced Elliptic-Curve Diffie-Hellman (ECDH) dynamic key exchange. Session keys are negotiated independently by both endpoints, providing Perfect Forward Secrecy (PFS) and stripping the relay node of any traffic decryption capabilities. **Fixed Stream Cipher Vulnerability:** Refactored the underlying encryptor to deprecate fixed Initialization Vectors (IV). A cryptographically strong 16-byte random IV is now generated per connection during the initial handshake, thoroughly mitigating key-stream reuse attacks. **Strengthened Key Derivation Function:** Replaced single-pass hashing with the industry-standard PBKDF2 algorithm (65,536 iterations with a static salt) to derive local encryption keys, significantly raising the threshold against brute-force and dictionary attacks. **Decoupled Authentication and Encryption Credentials:** The authentication token sent to the server is now a secondary SHA-256 hash of the AES key, eliminating the possibility of the server reverse-engineering the encryption key from the auth credentials. ## Network & Connection Logic **Introduced Zero-Trust Host Approval:** Removed automated connection mechanics. All external join requests are halted at the network protocol layer. The host must manually click "Accept" or "Reject" via the in-game chat to establish a physical data channel, fundamentally preventing unauthorized access and offline identity spoofing. **Developed Protocol Sniffer:** Added a protocol sniffer to the client's network layer to accurately distinguish between Minecraft protocol "Status Requests (Ping)" and "Join Game (Login)". Unauthorized players can successfully ping the server list, but actual join attempts are intercepted pending host approval. **Implemented Bilateral Latency Tracking:** Displaying each player's ping to the relay node alongside the calculated peer-to-peer latency between the host and the joining player. ## User Experience & UI (UX & UI) **Fixed Server List Flickering:** Optimized the underlying heartbeat mechanism. Memory states are no longer forcefully cleared upon short TCP closures, resolving the issue where the online player list and latency data would frequently flicker or reset to zero. **Fixed Erroneous Disconnect Prompts:** Optimized the read-blocking logic of the host listening channel, fixing the bug where the chat box would frequently display "Connection to relay node lost" warnings after opening to LAN. ## Relay Server Optimization (Go Backend) **Memory Leak Prevention:** Introduced a background daemon goroutine to periodically clean up zombie sessions left unprocessed by the host for over 60 seconds, preventing Out-Of-Memory (OOM) crashes. **Anti-DoS Protection:** Implemented LimitReader to restrict the maximum byte length of single-line reads. Combined with handshake timeout disconnects and TCP KeepAlive mechanisms, this prevents malicious oversized packets or dead connections from exhausting server resources.