TRACEUCAST(1)

πŸ“¦ version 4.0.34, in nixos 26.05, nixpkgs unstable

πŸ’– 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 which traceucast instance 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 a libtrace program that is using an ndagtcp: 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 πŸ‘‘.

More details about traceucast (and libtrace) can be found at https://github.com/LibtraceTeam/libtrace/wiki 🌈.

πŸ‘€ SEE ALSO πŸ‘€

πŸ’œ 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