0x01 S01PacketPong

Echoes back the exact client timestamp from C01PacketPing. The client calculates round-trip latency from the difference.

Clientbound (Server → Client) · STATUS · net/minecraft/network/status/server/S01PacketPong.java

Published 2026-06-18 · Updated 2026-10-14

statusserverpinglatency
Comprehensive 8/8

Fields

FieldTypeDescription
clientTimelong (8 bytes)The exact same timestamp the client sent in C01PacketPing

Wire Encoding

FieldTypeNotes
Client TimelongEchoed back from C01PacketPing, same System.currentTimeMillis() value

MCP References

MCPNetHandlerStatusClient.handlePong()

Handler Interface

HNDINetHandlerStatusClient

Notes

The final packet in the STATUS handshake. After receiving this, OldServerPinger closes the connection and stores the computed latency (pingToServer = currentTime - echoedTime).

Vanilla Source

S01PacketPong.java44 lines · MCP 1.8.9Original ↗
1
package net.minecraft.network.status.server;
2
3
import java.io.IOException;
4
import net.minecraft.network.Packet;
5
import net.minecraft.network.PacketBuffer;
6
import net.minecraft.network.status.INetHandlerStatusClient;
7
8
public class S01PacketPong implements Packet<INetHandlerStatusClient>
9
{
10
    private long clientTime;
11
12
    public S01PacketPong()
13
    {
14
    }
15
16
    public S01PacketPong(long time)
17
    {
18
        this.clientTime = time;
19
    }
20
21
    /**
22
     * Reads the raw packet data from the data stream.
23
     */
24
    public void readPacketData(PacketBuffer buf) throws IOException
25
    {
26
        this.clientTime = buf.readLong();
27
    }
28
29
    /**
30
     * Writes the raw packet data to the data stream.
31
     */
32
    public void writePacketData(PacketBuffer buf) throws IOException
33
    {
34
        buf.writeLong(this.clientTime);
35
    }
36
37
    /**
38
     * Passes this Packet on to the NetHandler for processing.
39
     */
40
    public void processPacket(INetHandlerStatusClient handler)
41
    {
42
        handler.handlePong(this);
43
    }
44
}

Deobfuscated MCP 1.8.9 source of S01PacketPong, fetched directly from Marcelektro/MavenMCP-1.8.9 (net/minecraft/network/status/server/S01PacketPong.java) at build time and verified present.

Deep Dive

Role in the protocol

The final packet of the STATUS handshake. NetHandlerStatusServer.processPing answers C01PacketPing with new S01PacketPong(packetIn.getClientTime()), echoing the client's timestamp untouched. OldServerPinger's anonymous handler computes the server-list latency as pingToServer = Minecraft.getSystemTime() - echoedTime and closes the channel with a "Finished" ChatComponentText. The packet carries no other data, so the entire exploit surface is the timing relation between send and echo.

Vanilla handling

The handler is the anonymous INetHandlerStatusClient that OldServerPinger installs per destination. handleServerInfo stores the response and sends C01PacketPing; handlePong then measures the round trip and closes. RealmsServerStatusPinger mirrors the same two-handler shape for the Realms list. Server side, processPing is stateless: any C01PacketPing in STATUS state gets its timestamp echoed verbatim, with no correlation or deduplication.

Why clients touch it

The corpus has exactly one non-vanilla reference: Rise 5.99 StaffAlert imports S01PacketPong at line 22, and the import is unused (the module's logic only touches S02PacketChat and the Hypixel API). Every other hit across the 8 clients is vanilla. The practical conclusion is that no module in the corpus touches STATUS ping at all: server-list latency display stays fully vanilla, and the PingSpoof-style modules in these clients all operate on the PLAY-state keepalive (S00PacketKeepAlive/C00PacketKeepAlive) instead.

Exploit surface

Delaying or dropping S01PacketPong would only corrupt the local server list entry (frozen or stale ping), with no server-visible effect and no anti-cheat consequence; none of the 8 clients bothers. The server-side surface is the echo itself: processPing is unauthenticated and unthrottled, so a proxy or plugin that wants to fingerprint clients can measure ping intervals, and a flood of C01PacketPing generates an equal flood of S01 replies. For clients, the packet is a dead end.

Server-Side Handling

NetHandlerStatusServer.processPing echoes the clientTime long verbatim via S01PacketPong. No validation, no rate limit, no connection state tracking: the handler is a pure reflector. The client closes the connection immediately after the echo, so the server never sees a follow-up packet in the STATUS state.

Protocol Analysis

Wire layout: a single long (8 bytes), the client's System.currentTimeMillis() captured at C01PacketPing send time. The client computes latency locally as now minus echoed value; clock skew is irrelevant because both timestamps are client-side. STATUS state runs before encryption, so the timestamp is readable by any on-path observer, which is how proxies estimate client-server distance.

Anti-Cheat Landscape

None. STATUS ping is outside play state and no anti-cheat samples it. The measurement only feeds the server-list GUI. A client faking its list ping would fool nobody but its own user, which is presumably why the 8 clients never implemented it.

implementation Implementation Cases

The STATUS latency echo. Pure vanilla in 7 of 8 clients; the only module hit is an unused S01PacketPong import in Rise 5.99 StaffAlert. Ping spoofing in these clients targets the PLAY-state keepalive, not the server list.

StaffAlert (Rise 5.99)

Hypixel staff-ban tracker. Its reference to this packet is an import only; the module does not use S01PacketPong.

The corpus hit is line 22, `import net.minecraft.network.status.server.S01PacketPong;`. The module's actual logic listens for S02PacketChat (captures the Hypixel API key from chat), sends /api new until the key is set, then polls api.hypixel.net/punishmentstats on a timer thread and notifies on staff-ban deltas. The S01PacketPong, S02PacketLoginSuccess, C00Handshake and S40PacketDisconnect imports are all dead.

Source: Rise 5.99, dev/rise/module/impl/other/StaffAlert.java

Vanilla hook: None for this packet; the module hooks PacketReceiveEvent for S02PacketChat and UpdateEvent for the API polling.
Irrelevant here: the import is never exercised. The dead import is likely a leftover from an earlier design that detected staff via status pings.
Variations: No other client has any module reference to S01PacketPong; Memeware, Nekoware, Sigma, Spicy, Tenacity and both Rise 6.x builds are vanilla-only for this packet.
All 8 clients ship the stock OldServerPinger/RealmsServerStatusPinger/NetHandlerStatusServer. Rise 5.99 alone adds the dead import in StaffAlert; Rise 6.x and Tenacity rename handler params to final but keep behavior identical.

anticheat Anti-Cheat Checks

The STATUS pong has an empty corpus: zero of the 50 anticheats reference S01PacketPong or PacketStatusOutPong. The echo runs before encryption and world state, carries a single client timestamp, and feeds only the server-list latency display, so there is nothing for a server-side anticheat to measure or flag. Ping spoofing that anticheats do care about targets the play-state keepalive, not this packet.

Wiki Cross-Reference

STATUS id 0x01: single long echoing the exact C01 ping timestamp; client computes list ping as now minus echoed value.

Stateless reflector with no validation; feeds only the server-list latency display, never play-state checks.

MCP 1.8.9 S01PacketPong implements Packet dispatching to INetHandlerStatusClient.handlePong; wire serde is readPacketData/writePacketData via readLong.

1.8.9 callers: NetHandlerStatusServer.processPing sends new S01PacketPong (line 48): https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/server/network/NetHandlerStatusServer.java

Cross-checked against minecraft.wiki (CC BY-SA 3.0) for 1.8.9 accuracy.

Vanilla Internals

Full 1.8.9 logic-class sources that send or handle this packet, stored verbatim.