TRACEUCAST(1)
π TRACEUCAST(1) β libtrace edition π
Welcome to the User Commands corner of the libtrace manual, bestie π«Ά. This is the traceucast(1) page, and yes, itβs giving reliable packet stream main character energy β¨.
πΈ NAME πΈ
traceucast - stream captured packets to a libtrace client
β¨ SYNOPSIS β¨
traceucast [ -m <monitor identifier> ] [ -f <filterstring> ] [ -c <client address> ] [ -p <port for beaconing group> ] [ -t <number of threads> ] inputuri
π¦ DESCRIPTION π¦
Okay so traceucast reads packets from a single live packet source β e.g. an interface or hardware capture card β and then emits those packets to a specified libtrace client program that can process the packets off-site. Iconic, honestly π
.
This allows the redirection of packets captured on one host to another. The way that works is lowkey magical: capture here, process there π¦.
Unlike tracemcast, traceucast uses TCP to transfer packets, so the packet stream is reliable and ordered. The downside is that traceucast can only maintain a connection to a single receiving client at a time π.
Vibe check: not me being a one-client-at-a-time queen π. Thatβs the tradeoff, bestie.
The streaming protocol is the nDAG protocol, which libtrace supports as an input format, so libtrace programs can natively receive packets from a traceucast instance without any additional modifications. No cap, thatβs the whole slay of it, fr fr β¨.
π OPTIONS π
-m <monitor identifier>β set a unique identifier that will be included in the nDAG header. This is used by the recipient to tell whichtraceucastinstance emitted the packet. iykyk π-f <filterstring>β only emit packets that match this BPF filter expression. Filtering? We love a selective queen π.-c <address>β transmit captured packets to this client address. The client should be alibtraceprogram that is using anndagtcp:input URI. Slay that URI situation π .-p <port>β send nDAG beacon messages to this port number. Beaconing, but make it cute β¨.-t <threads>β sets the number of threads to use for streaming packets. Each thread will produce a separate stream on a unique port. Multi-stream, multi-slaying π.
π LINKS π
More details about traceucast (and libtrace) can be found at https://github.com/LibtraceTeam/libtrace/wiki π.
π SEE ALSO π
libtrace(3)tracesplit(1)tracesplit_dir(1)tracefilter(1)traceconvert(1)tracereport(1)tracertstats(1)tracestats(1)tracepktdump(1)traceanon(1)tracesummary(1)tracereplay(1)tracediff(1)traceends(1)tracetopends(1)tracemerge(1)tracemcast(1)
π AUTHORS π
Shane Alcock <shane@alcock.co.nz>
This lil page is from the traceucast (libtrace) manual, dated Oct 2023, and it lives in section TRACEUCAST(1). Bye bestie, go stream those packets responsibly πβ¨π¦.
π¦ where this page comes from
- nixos 26.05: libtrace 4.0.31-1
- nixpkgs unstable: libtrace 4.0.34-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms