orig_bytes

The conn.log field counting the payload bytes sent by the side that opened a connection; resp_bytes counts what the other side sent back.

In more detail

Orig is short for originator, the host that started the connection, and resp for responder. A normal workstation receives far more than it sends, so a host whose orig_bytes to one outside address are large and many times its resp_bytes may be uploading data. The counts cover payload only and may be missing or approximate on some connections, in which case Zeek writes a dash.

Examples

totals[pair][0] += count(r["orig_bytes"])
Exercise: add a DNS connection with orig_bytes of 40000000 and explain why that pattern matters

Related terms

Taught in

References