nDPI/wireshark/tshark
2024-07-19 11:22:35 +02:00
..
lib Lua tshark class and examples 2021-04-25 11:40:53 +02:00
count_tcp_example.lua Lua tshark class and examples 2021-04-25 11:40:53 +02:00
flows_example.lua Lua tshark class and examples 2021-04-25 11:40:53 +02:00
README.md Performed some grammar and typo fixes (#2511) 2024-07-19 11:22:35 +02:00

Tshark Lua Class

This directory implements a Lua class that leverages on tshark for parsing packets

Lib

This directory contains the implementation of the tshark class that contains three simple and self-explanatory methods:

  • function tshark:open(pcap_file_or_dev, filter)
  • function tshark:close()
  • function tshark:read()

Examples

In this directory you can find simple code examples that show how to use the tshark class including counting packets and flow traffic accounting.