Re: [Wireshark-dev] FW: ANSI MAP / TCAP dissector hooks

2006-08-22 Thread Andreas Fink
I have attached a capture file with the following:SCTPM2UAMTP3 (ITU)SCCPTCAP (ANSI)ANSI MAPI think no one expects this type of stack because ANSI MAP usually rides on ANSI MTP3, not ITU MTP3.So you obviously have a mixed case here which was not foreseen.Andreas FinkFink Consulting GmbH-

Re: [Wireshark-dev] FW: ANSI MAP / TCAP dissector hooks

2006-08-22 Thread Anders Broman
Hi, I was more thinking along the lines of having all TCAP users listed and then "assign" ssn ranges to them. Something like: GSM MAP ssn[ ] ANSI MAP ssn [ ] RANAP ssn [ ] RNSAP ssn [ ] BSSAP ssn [ ] CAMEL ssn [ ] INAP [ ] ... At least you'd have them all in one place... Brg Anders -Ursprung

Re: [Wireshark-dev] How many tree items is too many?

2006-08-22 Thread ronnie sahlberg
i have several large DCERPC pdus that contain hundreds of thousands of items when reassembled and dissected. On 8/22/06, Gilbert Ramirez <[EMAIL PROTECTED]> wrote: > Make the limit high, to guard against infinite loops. Not too low, as > if we were trying to impose some design on the dissector.

Re: [Wireshark-dev] FW: ANSI MAP / TCAP dissector hooks

2006-08-22 Thread Michael Lum
I think you're right. I had it implemented that way originally. I had a preference for TCAP to be either ITU or ANSI. I believe GSM MAP has to be carried on ITU TCAP and ANSI MAP on ANSI TCAP but maybe there were issues with other protocols on top of TCAP that caused problems. I don't know the

Re: [Wireshark-dev] FW: ANSI MAP / TCAP dissector hooks

2006-08-22 Thread Anders Broman
Hi, There is a problem when ssn's overlap. I originally had ANSI MAP and GSM MAP overlapping but still got it decoded as ANSI MAP, changing the GSM MAP preference got it to not decode then changing the ANSI MAP Preference again got proper decoding. Perhaps the whole preference setting should be do

Re: [Wireshark-dev] new dissector for ETHERNET Powerlink

2006-08-22 Thread David Büchi
Thank you! I'll write the wiki page within the next few days. Regards, David Anders Broman schrieb: > Checked in. > Could you please add an entry on the Protocols page on the wireshark wiki > and upload the sample capture to the SampleCaptures page. > > Brg > Anders > > -Ursprungligt medd

Re: [Wireshark-dev] [patch] new dissector for ETHERNET Powerlink

2006-08-22 Thread Anders Broman
Checked in. Could you please add an entry on the Protocols page on the wireshark wiki and upload the sample capture to the SampleCaptures page. Brg Anders -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För David Büchi Skickat: den 22 augusti 2006 10:53 Till: w

Re: [Wireshark-dev] FW: ANSI MAP / TCAP dissector hooks

2006-08-22 Thread Michael Lum
There may be a couple of problems here. The capture file contains ANSI MAP not GSM MAP. -- Michael Lum Principal Software Engineer 4600 Jacombs Road+1.604.276.0055 Richmond, B.C. Canada V6V 3B1 UTStarcom Canada, Inc. CDMA Division -Original Message- Fro

Re: [Wireshark-dev] memory allocation assertion failure reading 219MB file with 1.2Million packets

2006-08-22 Thread Ravi Kondamuru
Thanks for the wiki link.In the workarounds highlighed, I feel that point 3 (Split the capture file into several smaller ones) can be made more appealing by programatically limiting the amount of data (packets/ memory consumed/ load time) wireshark already read/ used. Wireshark does something simi

Re: [Wireshark-dev] How many tree items is too many?

2006-08-22 Thread Gilbert Ramirez
Make the limit high, to guard against infinite loops. Not too low, as if we were trying to impose some design on the dissector. So even a number like 10,000 is good. That will guard against infinite loops, and [hopefully] won't break a good dissector. --gilbert On 8/22/06, Gerald Combs <[EMAIL P

[Wireshark-dev] How many tree items is too many?

2006-08-22 Thread Gerald Combs
Would it make sense to place a maximum limit on the number of items in a protocol tree? Right now, if a dissector tries to add a large number of items to the tree (e.g. during an infinite loop) Wireshark will happily oblige until the system runs out of memory. If so, what's a good number? 500? 1

Re: [Wireshark-dev] Loop in packet-q2931.c

2006-08-22 Thread Gerald Combs
Checked in. Thanks! [EMAIL PROTECTED] wrote: > Hello, > > > I found a loop in the q2931 dissector, whereas I was dissecting Ranap > Traces with a bad wireshark configuration. > Wireshark did crash, after eating all the memory. > > Here is a small patch to solve this issue > << > svn diff

[Wireshark-dev] New date format for the iostat dissector to merge multiple files

2006-08-22 Thread Florent . Drouin
Hello, This patch provide new date formats for the statistics generated with tshark. If you are capturing multiple files, you can merge the stats to generate a gnuplot graph. The format of the date is determined with the "-t" option. The default format is the relativ one. For relative:

[Wireshark-dev] Loop in packet-q2931.c

2006-08-22 Thread Florent . Drouin
Hello, I found a loop in the q2931 dissector, whereas I was dissecting Ranap Traces with a bad wireshark configuration. Wireshark did crash, after eating all the memory. Here is a small patch to solve this issue << svn diff epan/dissectors/packet-q2931.c Index: epan/dissectors/packet-q2931

Re: [Wireshark-dev] Patch for "Channel needed" in bssmap Paging

2006-08-22 Thread Florent . Drouin
Hello, Currently, I have no Traces for LSA, but I will try to find one. Best regards Florent << Checked in With some further changes to APDU and LSA Identifier dissection. Could you verify the LSA dissection? If you could donate some traces with APDu:s included perhaps dissection of the

Re: [Wireshark-dev] FW: ANSI MAP / TCAP dissector hooks

2006-08-22 Thread Jeff Morriss
Anders Broman wrote: > Hi, > As far as I know the only change was to use range rather than a single > ssn value in the preferences of ANSI MAP, probably you got owerlaping ssn > definitions in your preferences ( CAMEL ,GSM MAP, RANAP ... ) what does > it say at the ssn entry in the SCCP part of th

Re: [Wireshark-dev] memory allocation assertion failure reading 219MB file with 1.2Million packets

2006-08-22 Thread Jeff Morriss
Guy Harris wrote: > Ravi Kondamuru wrote: > >> My question: >> Is there a known limit on the number of packets that wireshark can deal >> with in a single file? > > The number of packets that Wireshark (or, I suspect, any network > analyzer) can deal with is limited; due to a number of factor

[Wireshark-dev] And again BER errors while decoding H248 packets

2006-08-22 Thread Oleg Kostenko
Hello, Some time ago Eugene Tarlovskij posted the message about BER errors while decoding H248 packets. Here are the links to his posts: http://www.wireshark.org/lists/ethereal-dev/200605/msg01641.html http://www.wireshark.org/lists/ethereal-dev/200605/msg01723.html The solution he pro

Re: [Wireshark-dev] call_dissector() is eating memory

2006-08-22 Thread Oleg Kostenko
Hello Ronnie, Thanks for your help. My application is a simple tool that receives the protocol name and raw data via the standard input, passes them to libwireshark and writes the decoded message tree in XML form to the standard output. The tool is not published yet, and no description is availa

Re: [Wireshark-dev] [patch] new dissector for ETHERNET Powerlink

2006-08-22 Thread David Büchi
Thanks a lot for your review! I tried to change the code according to your suggestion, see the attached patch. Best Regards, David -- David BuechiZurich University of Applied Sciences Winterthur Dipl. Ing. FH Institute of Embedded Systems InES Realtime Comm