TZSP2PCAP(1)

πŸ“¦ version 0.0~git20191215.4fb8147, in ubuntu stonking

πŸ¦‹ tzsp2pcap β€” the manual, but make it cute

okay so bestie, welcome to the tzsp2pcap manual page πŸ’– it's a User Command (section 1, iykyk), and it's genuinely one of those tiny little tools that just works. no drama, no bloat, just vibes and packet capture. let's get into it 🫢


✨ NAME ✨

tzsp2pcap β€” it listens for TZSP packets and spits them out in pcap format. that's it. that's the whole job. and it ate πŸ’…


🌸 SYNOPSIS 🌸

tzsp2pcap [OPTIONS]

πŸ’œ DESCRIPTION πŸ’œ

so tzsp2pcap is a simple utility β€” and when I say simple I mean it in the best way, lowkey elegant β€” that listens for TaZmen Sniffer Protocol (TZSP) packets and outputs their contents on stdout in pcap format. πŸŽ€

the way it's been tested with Mikrotik RouterOS products?? iconic. if you've got Mikrotik gear doing the TZSP thing, this is your girl fr fr. ✨


πŸŽ€ OPTIONS πŸŽ€

  • -f β€” output to stdout, in flush mode. yes bestie, flush mode. no buffering holding your packets hostage 🫢
  • *-o *FILE β€” output goes to the file you specify instead. your packets, your destination, main character choice πŸ’…
  • *-C *SIZE β€” rotate the file every SIZE bytes. like, for example, 1000000 gets you 1MB. (yes the example is literally in the original, I'm not making up numbers, I would never 😭)
  • *-G *SECONDS β€” make a brand new file every SECONDS seconds. time-based rotation, periodt ⏰
  • *-z *COMPRESSION β€” compress those rotated files. like, for example, gzip. slay πŸ—œοΈβœ¨

⭐ EXAMPLES ⭐

output to wireshark πŸ¦‹

tzsp2pcap -f | wireshark -k -i -

pipe it straight into wireshark and watch it go. chef's kiss. πŸ‘‘

rotate file every 1MB πŸ’–

tzsp2pcap -o "file.pcap" -C 1000000

create new file every 10 seconds 🌸

tzsp2pcap -o "file_%s.pcap" -G 10

not the %s in the filename doing the cute little templating thing. love that for us πŸŽ€

rotate AND compress πŸ”₯

tzsp2pcap -o "file.pcap" -C 1000000 -z gzip

both. at the same time. because why not πŸ’…

ngl bestie, there are no bug notes or warnings in this one, which is honestly a green flag 🌈

πŸ‘‘ AUTHOR πŸ‘‘

Andrew Childs <lorne@cons.org.nz> β€” thank you for the tool king πŸ«‘πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole manual, bestie, no notes πŸ’– this little page is from tzsp2pcap, February 2026 β€” stay hydrated, capture responsibly, and go get those packets πŸ§šβœ¨πŸ“

πŸ“¦ where this page comes from