[Wireshark-dev] wireshark SVN version crashes

2008-03-31 Thread Toralf Förster
Today I run 2 times into a crash with this version: [EMAIL PROTECTED] ~/devel/results $ ~/devel/wireshark/trunk/wireshark -v wireshark 1.0.99 (SVN Rev 24760) Copyright 1998-2008 Gerald Combs <[EMAIL PROTECTED]> and contributors. This is free software; see the source for copying conditions. There

[Wireshark-dev] Wireshark 1.0 is now available

2008-03-31 Thread Gerald Combs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm proud to announce the release of Wireshark 1.0. This is the culmination of nearly ten years of hard work by a team of brilliant and talented developers. It is an honor to be able to work with these people. On behalf of the development team, I woul

Re: [Wireshark-dev] again openssl.

2008-03-31 Thread Joerg Mayer
On Wed, Mar 12, 2008 at 12:06:04AM +0300, Peter Volkov wrote: > Is openssl used anywhere in the code? I've grepped all sources for all > openssl headers and did not found any > places where they are included. Last time this question was asked the > answer was [1] mit-kerberos, but could you point m

Re: [Wireshark-dev] Okay to dissect more than one packet at the same time?

2008-03-31 Thread Eloy Paris
On Mon, Mar 31, 2008 at 07:14:08PM -0400, Eloy Paris wrote: > On Thu, Mar 27, 2008 at 04:32:02PM +0100, Luis EG Ontanon wrote: > > > I think you won't get very far that way... > > > > There's a lot of static variables used to keep state, so what's likely > > to happen is that the second call to

[Wireshark-dev] libwireshark documentation?

2008-03-31 Thread Eloy Paris
Is there any type of documentation for developers writing applications that use libwireshark services? I am prototyping an application that uses libwireshark for packet dissection and the only documentation that I've found is the source code itself. That is fine when there is no other documentatio

Re: [Wireshark-dev] Okay to dissect more than one packet at the same time?

2008-03-31 Thread Eloy Paris
Hi Luis, Thanks for the response... On Thu, Mar 27, 2008 at 04:32:02PM +0100, Luis EG Ontanon wrote: > I think you won't get very far that way... > > There's a lot of static variables used to keep state, so what's likely > to happen is that the second call to epan_dissect_new() will render > th

Re: [Wireshark-dev] Fw: modifying the eth-dissector

2008-03-31 Thread Maynard, Chris
I think something like the following should work for you: static dissector_handle_t ip_handle; static gboolean dissect_afdx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { ... if ( this_is_really_ip ) { next_tvb = tvb_new_subset(tvb, offset_to_ip, -1, -1); call

Re: [Wireshark-dev] callin simple_dialog in my dissector

2008-03-31 Thread Joerg Mayer
On Mon, Mar 31, 2008 at 07:32:22AM +, Praveen Kumar Jha wrote: > I am using proto_reg_handoff_xxx() function as call-back for the > preferences. > e.g. > xxx_module = prefs_register_protocol(proto_xxx, proto_reg_handoff_xxx); > > & registering a preference of uint type with xxx_module (say for

[Wireshark-dev] Fw: modifying the eth-dissector

2008-03-31 Thread valentin . ecker
Hi there again! I implemented my dissection for AFDX now with a heuristic_dissector (btw. is there a documentation that explaines the differences between heuristic registration and "normal"? ). Now i want to give the payload of the LLC Layer (=left data) to the IP-dissector by calling capture

Re: [Wireshark-dev] RTP raw file

2008-03-31 Thread TORKHANI Wajdi
Hi all, Yes i try it but still running fast; and it's very good if i recorded it in one way also very fast, i mean i record 10 sec. i find only 5 sec. without noise But when it recorded in both directions; there is a noise on the packets, and i record 10 sec. i find it 10 sec !!! - Origina

Re: [Wireshark-dev] callin simple_dialog in my dissector

2008-03-31 Thread Luis EG Ontanon
You might be surprised but someone has thought about the need reporting errors by dissectors before... The propper way reporting an error you want to call report_failure() from "epan/report_err.h". In wireshark (GUI) report_failure() will pop a window with the error message while in tshark it will

Re: [Wireshark-dev] callin simple_dialog in my dissector

2008-03-31 Thread Praveen Kumar Jha
Hi, Yeah! I am 100 % sure that I am going to use WIreshark in GUI mode ( and not the Tshark). I am using proto_reg_handoff_xxx() function as call-back for the preferences. e.g. xxx_module = prefs_register_protocol(proto_xxx, proto_reg_handoff_xxx); & registering a preference of uint type with xxx

Re: [Wireshark-dev] callin simple_dialog in my dissector

2008-03-31 Thread Guy Harris
Praveen Kumar Jha wrote: > I want to popup an error message in the handoff function of my dissector Unless you never ever ever ever ever ever ever ever expect to use TShark, no, you don't want to pop up an error message in the handoff function of your dissector, because there's no guarantee tha