Wireshark-dev: Re: [Wireshark-dev] Extract AIM data during capture?

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Sat, 27 Mar 2010 14:06:43 -0600
On Sun, Feb 14, 2010 at 10:17:16PM -0500, Shawn Mayer wrote:

> I am looking to use the AIM dissector currently available to save the 
> conversations occurring on my network as they occur. I only need to 
> "export" the information contained in the packets picked up by the AIM 
> Messaging protocol, from there I can do what I need.  My plan is to 
> have a separate window where once a conversation starts a button will 
> appear, allowing you to view the conversation, save it, log IP 
> information, ect. How should I go about doing this/what would be the 
> most effective way? Much thanks.

This sounds like a good candiate to implement in the Export Objects 
framework.  The main files are in gtk/export_object.c and .h.  The 
implementation I did is in gtk/export_object_http.c and someone else 
wrote gtk/export_object_dicom.c.  Take a look in 
epan/dissectors/packet-http.c for the tap I added to push the 
information to the export object feature when it is open.


-- 
Steve