Layer4 Dstat — Live Network-Layer Traffic
A Layer4 Dstat is a real-time graph of raw network traffic — the TCP/UDP bandwidth and packet rate hitting a target during a volumetric DDoS test. This guide explains what a Layer4 Dstat measures, how it differs from a Layer7 Dstat, and how to read one.
What is a Layer4 Dstat?
A Layer4 Dstat measures traffic at the transport layer (OSI Layer 4): raw TCP/UDP volume expressed in bits per second (bps / Gbps) and packets per second (pps). It is the standard way to visualize volumetric floods such as UDP, SYN and amplification attacks, whose goal is to saturate the target's bandwidth or exhaust its network stack. Most people simply call this a Layer 4 DDoS graph.
Unlike an application metric, a Layer4 Dstat does not care what the requests contain — it counts the sheer volume of packets and bytes arriving on the wire. That makes it the right lens for capacity attacks, where impact is determined by raw throughput rather than request logic.
Layer4 Dstat vs Layer7 Dstat
A Layer4 Dstat is measured in bandwidth and packets and reflects link / device saturation; a Layer7 Dstat is measured in requests per second (RPS) and reflects how application protections (WAF, JS challenges, CAPTCHA, rate limits) hold up. The two answer different questions and are usually defended in different ways — Layer 4 upstream by scrubbing and capacity, Layer 7 at the edge by filtering.
How to read a Layer4 Dstat
Watch two series: throughput (bps / Gbps) shows how much bandwidth the flood consumes, and packet rate (pps) shows how hard the network stack is being pushed — small-packet floods can exhaust pps long before they fill the pipe. A sustained high plateau means the target is absorbing the load; a sharp drop usually means a link saturated or upstream mitigation kicked in.
Related Live Dstat Examples (Layer 7)
- Request Count DstatFree live Request Count Dstat: a real-time Layer7 graph of raw HTTP requests per second hitting an unprotected endpoint. No registration, refreshes every few seconds.
- Cloudflare DstatFree live Cloudflare Dstat: real-time graph of requests behind Cloudflare, broken down into allowed 200s, bypassed and blocked — see what actually gets through.
Layer4 Dstat FAQ
What does a Layer4 Dstat measure?
Raw transport-layer traffic: bandwidth in bits per second (bps / Gbps) and packets per second (pps). It reflects volumetric load rather than application requests.
What is the difference between a Layer4 Dstat and a Layer7 Dstat?
A Layer4 Dstat tracks bandwidth and packets (volumetric attacks); a Layer7 Dstat tracks HTTP/HTTPS requests per second (application attacks). Layer 4 is about saturating the network, Layer 7 about overwhelming the application.
Why watch packets per second as well as bandwidth?
Small-packet floods can exhaust the packets-per-second capacity of routers and firewalls long before they saturate raw bandwidth, so pps often reveals impact that a Gbps figure alone hides.