[Wireshark-dev] RFC: USBPcap

2013-03-20 Thread Tomasz Moń
Hello folks,

I am pleased to announce the USBPcap [1]. The project is not end-user
ready, but I think it's right time to ask you for comments.

USBPcap consists of two parts:
  * filter driver (USBPcap.sys)
  * user-mode application (USBPcapCMD.exe)

Filter driver attaches to every root hub in system and creates
\Device\USBPcapX control device object. Capture data is internally
stored in pcap format and can be retrieved using USBPcapCMD.exe.

The pcap format for USBPcap is not yet registered. Please provide
feedback before I will request the DLT from tcpdump. To get the idea
of the format, take a look inside USBPcapDriver/USBPcapBuffer.h file.

I have submitted proof-of-concept patch alongside with a sample
capture file to the bugzilla [2]. This patch hijacks the
WTAP_ENCAP_USER0 from the packet-user_encap.c.

Source code is available at github [3]. Pull requests are welcome. :-)

Regards,
Tomasz

[1] http://desowin.org/usbpcap
[2] https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8503
[3] http://github.com/desowin/usbpcap
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


[Wireshark-dev] extracting isup payload from sigtran / ss7 packets

2013-03-20 Thread Cristian Constantin
hi!

I attach a lua script that can extract and dump in a separate file
isup payloads from either sigtran or ss7 packets.

it is based on a script that manipulates ascii text from tcp packets found here:

http://ask.wireshark.org/questions/4639/extracting-soap-xml-payload?page=1#4835

it can be used as an example on how to extract and manipulate binary
fields from packets;
I did not find any other one when I was looking for it.
for using it you have to download and compile the struct.so module from here:

http://www.inf.puc-rio.br/~roberto/struct/

and make sure you read it through before you use it; it is full of
interesting comments documenting
the usage and so on...

bye now!
cristian


get_isup.lua
Description: Binary data
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Re: [Wireshark-dev] [Wireshark-commits] rev 48445: /trunk/ui/gtk/ /trunk/ui/gtk/: capture_dlg.c conversations_table.c gui_utils.c gui_utils.h hostlist_table.c

2013-03-20 Thread Bill Meier

On 3/20/2013 6:41 PM, ger...@wireshark.org wrote:

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=revrevision=48445

User: gerald
Date: 2013/03/20 03:41 PM




Gerald:

There recently was an issue in capture_if_dlg.c where the use of 
gtk_window_get_size() and gtk_window_resize() seemed not to work well on 
some platforms.


In the end, what seemed to work well was to use 
get_widget_get_preferred_size() and then gtk_window_set_default_size().


See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8468 for all the 
gory details.


The patch attached to the bug replaced the use of get_size/resize with 
get_preferred_size/set_default_size.


(Note that gtk_widget_get_preferred_size is defined as 
gtk_widget_size_request for GTK2 which means that the 3rd arg to 
gtk_widget_get_preferred_size() is always set to NULL).


#define gtk_widget_get_preferred_size(x,y,z) \
gtk_widget_size_request(x,y)

Bill


___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe