ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-users: [Wireshark-users] TCP Stream analysis using wireshark API

From: Pushkar Tiwari <pushkartiwari@xxxxxxxxx>
Date: Mon, 3 Jan 2011 16:26:43 -0800
Hi,
I am trying to write an application that can do TCP stream analysis from the input pcap file. I am interested in following parameters:
 - Total number of TCP streams
 - Source IP, Source Port, Dest IP, Dest Port of each stream
 - Stream length (inbound and outbound)
 - Application porotocol like HTTP if any
 - Querying PCAP file based on above parameters, like check if there is a stream with specified source IP and Port
 
Can I achieve all of these tasks using some Wireshark API in my program? If not any other library that can help to achieve it.
 
Thanks,
Pushkar