TRACEDIFF(1)

πŸ“¦
version 3.0.22 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– tracediff(1) β€” find and print differences between two traces πŸ’–

okay bestie, listen up β€” this is tracediff, a User Commands girlie who lives in section 1 of the manual and whose whole entire personality is comparing two trace files and telling you exactly what's different. no cap. ✨


✨ NAME ✨

tracediff β€” find and print differences between two traces πŸ¦‹


🌸 SYNOPSIS 🌸

tracediff [ -m maxdiff ] firsturi seconduri

πŸ’… DESCRIPTION πŸ’…

so basically, tracediff takes two trace files and compares them, then prints out all the deets of the packets that differ straight to standard output. it's giving detective energy. πŸ”

when is this useful, you ask? iconic question:

  • finding packets that are in one trace but not in the other πŸ‘€
  • finding conversion errors
  • finding snapping errors

lowkey it's the vibe check your traces never asked for, and honestly? they needed it. πŸ’–

  • -m maxdiff β€” stop processing after displaying maxdiff differences. that's it, that's the flag. once it's shown you that many diffs, it's done, it's clocking out, main character has left the building. πŸšͺ✨

πŸŽ€ EXAMPLES πŸŽ€

here's the moment you've been waiting for, fr fr:

tracediff -m 10 erf:/traces/orig.erf.gz pcapfile:/traces/convert.pcap.gz

ten differences max, two trace URIs, one slay. 🫢


πŸ’€ BUGS πŸ’€

okay so not exactly a bug, but bestie you need to know: the contents of the framing headers (i.e. the PCAP or ERF encapsulation) are not compared. so if the wrapper is different but the packets match... tracediff is not gonna clock it. πŸ™ˆ

more details about tracediff (and libtrace) can be found at:

http://www.wand.net.nz/trac/libtrace/wiki/UserDocumentation

go read it, it's giving documentation realness πŸ“šβœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, assembled:

collect them all, they're literally the avengers of packet tooling. πŸ¦‹πŸ’œ


🫢 AUTHORS 🫢

Shane Alcock β€” <salcock@cs.waikato.ac.nz> 🌸


and that's the whole page, bestie!! this lil masterpiece is from tracediff (libtrace), dated January 2010 β€” yes, it's vintage, and yes, it still ate. πŸ’…βœ¨ πŸŽ€