l0ser140 / tzsp2pcap

Simple live TaZmen Sniffer Protocol (TZSP) to pcap converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tzsp2pcap

Introduction

This is a simple utility to listen for TaZmen Sniffer Protocol (TZSP) packets and output the contents on stdout in pcap format. It has only been lightly tested with Mikrotik RouterOS products, and may need alterations to work with other devices.

Example usage

tzsp2pcap -f | wireshark -k -i -
tzsp2pcap -o "file.pcap" -C 1000000 # rotate file every 1MB (file.pcap.1, file.pcap.2, etc)
tzsp2pcap -o "file_%s.pcap" -G 10 # create new file every 10 seconds (file_UNIXTIMESTAMP.pcap)
tzsp2pcap -o "file.pcap" -C 1000000 -z gzip # rotate file every 1MB and gzip it (file.pcap.1.gz, file.pcap.2.gz, etc)

About

Simple live TaZmen Sniffer Protocol (TZSP) to pcap converter

License:BSD 2-Clause "Simplified" License


Languages

Language:C 96.2%Language:Makefile 2.2%Language:Nix 1.6%