TRACE-SUMMARY(1)

πŸ“¦
version 6.0.4 Β· 2 versions
, in epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸ’– TRACE-SUMMARY(1) πŸ’–

okay bestie, welcome to the trace-summary manual page β€” she's a User Command, she's iconic, she's about to tell you everything about your network traffic. no cap. πŸ¦‹


✨ NAME ✨

trace-summary β€” generate network traffic summaries πŸ‘‘


🌸 SYNOPSIS 🌸

trace-summary [options] [input-file]

πŸ’… DESCRIPTION πŸ’…

trace-summary generates break-downs of network traffic, and honestly? it's giving data. we're talking lists of the top hosts, protocols, ports, etc. β€” the whole main character lineup. ✨

and if you want, she can also generate output separately for incoming vs. outgoing traffic, per subnet, and per time-interval. like, she's flexible. she contains multitudes. πŸ’œ

per default, she assumes the input-file to be a libpcap trace file. that's the default vibe. BUT β€” if it's a Zeek connection log, use -c. and if input-file is not given at all? she just reads from stdin. no biggie. she writes her output to stdout. periodt. πŸ’–


πŸŽ€ OPTIONS πŸŽ€

  • --version β€” show program's version number and exit. short, sweet, slays.
  • -h, --help β€” show this help message and exit. she's helping! 🫢
  • -b, --bytes β€” count fractions in terms of bytes rather than packets/connections. bytes btw. πŸ“
  • -c, --conn-summaries β€” input file contains Zeek connection summaries. (yes, the -c from the description. told you.)
  • --conn-version=CONN_VERSION β€” when used with -c, specify '1' for use with Bro version 1.x connection logs, or '2' for use with Bro 2.x format. '0' tries to guess the format. she'll figure it out, she's smart like that 🧠✨
  • -C, --chema β€” for packets: include only TCP, ignore when seq==0. no thoughts, just TCP πŸ”₯
  • -e, --external β€” ignore strictly internal traffic. we don't care about the internal drama πŸ’€
  • -E EXCLUDENETS, --exclude-nets=EXCLUDENETS β€” excludes CIDRs in file from analysis. not invited to the party πŸ™ˆ
  • -i ILEN, --intervals=ILEN β€” create summaries for time intervals of given length (seconds, or use suffix of 'h' for hours, or 'm' for minutes). time slots, but make it fashion ⏰
  • -l LOCALNETS, --local-nets=LOCALNETS β€” differentiate in/out based on CIDRs in file. who's home and who's visiting 🏠
  • -n TOPX, --topn=TOPX β€” show top <n>. the ranking. the leaderboard. the moment πŸ‘‘
  • -p PORTS, --ports=PORTS β€” include only ports listed in file. VIP list only πŸ’…
  • -P STOREPORTS, --write-ports=STOREPORTS β€” write top total/incoming/outgoing ports into file. receipts, saved to disk 🧾
  • -r, --resolve-host-names β€” resolve host names. give those numbers a glow-up ✨
  • -R tag, --R=tag β€” write output suitable for R into files <tag.*>. for the stats girlies πŸ“Š
  • -s FACTOR, --sample-factor=FACTOR β€” sample factor of input. scale it, bestie
  • -S SAMPLE, --do-sample=SAMPLE β€” sample input with probability (0.0 < prob < 1.0). a little taste, not the whole meal πŸ“
  • -m, --save-mem β€” do not make memory-expensive statistics. your RAM said please 😭
  • -t, --tcp β€” include only TCP. TCP only, we're exclusive πŸŽ€
  • -u, --udp β€” include only UDP. UDP only, equally exclusive 🌈
  • -U MINTIME, --min-time=MINTIME β€” minimum time in ISO format (e.g. 2005-12-31-23-59-00). nothing before this, ok? ⏳
  • -v, --verbose β€” show top-n for every interval. she's chatty and we love her πŸ—£οΈπŸ’–
  • -V MAXTIME, --max-time=MAXTIME β€” maximum time in ISO format. and nothing after this either πŸ›‘

πŸ¦‹ AUTHOR πŸ¦‹

trace-summary was written by The Zeek Project <info@zeek.org>. legends only. 🫢


and that's the whole page, bestie!! trace-summary, November 2014, straight from the User Commands section β€” go forth and summarise your traffic, you absolute icon πŸ’œβœ¨

πŸ“¦ where this page comes from