[Wireshark-dev] 4 Bytes too much in tvb

2010-10-25 Thread Michael Biener Biener
Hello everybody, I implemented a dissector plugin for a special protokoll used in my Company, I Use tcp_dissect_pdus to reassemble the tcp Pakcets. Everthyng is working fine when Sending Data from CLient to Server, all Protokollitems shown well in the Wireshark tree. But on the response form

Re: [Wireshark-dev] Wireshark or protocol bug? (HTTP MI ME multipart)

2010-10-25 Thread Jaap Keuter
Hi, I see no problem here. It loads fine in Wireshark 1.4.1. What I do see, and which is a bug in Wireshark, is that it doesn't treat it as multipart/mixed, as stated in RFC 2046, Section 5.1.3: Any multipart subtypes that an implementation does not recognize must be treated as being of

[Wireshark-dev] SVN revision 36640 and heuristic dissectors

2010-10-25 Thread Pascal Quantin
Hi, since revision 34640, none of UDP heuristic dissectors I use (LTE-MAC, LTE-RLC or LTE-PDCP) work: all the frames are decoded as ADwin configuration protocol. When looking at the code in function dissect_adwin_config() (file packet-adwin-config.c), the heuristic seems a bit weak: [...]

Re: [Wireshark-dev] SVN revision 36640 and heuristic dissectors

2010-10-25 Thread Jeff Morriss
Pascal Quantin wrote: Hi, since revision 34640, none of UDP heuristic dissectors I use (LTE-MAC, LTE-RLC or LTE-PDCP) work: all the frames are decoded as ADwin configuration protocol. When looking at the code in function dissect_adwin_config() (file packet-adwin-config.c), the

Re: [Wireshark-dev] SVN revision 34640 and heuristic dissectors

2010-10-25 Thread Pascal Quantin
Hi, 2010/10/25 Jeff Morriss jeff.morriss...@gmail.com Pascal Quantin wrote: Hi, since revision 34640, none of UDP heuristic dissectors I use (LTE-MAC, LTE-RLC or LTE-PDCP) work: all the frames are decoded as ADwin configuration protocol. When looking at the code in function

Re: [Wireshark-dev] SVN revision 34640 and heuristic dissectors

2010-10-25 Thread Pascal Quantin
Hi 2010/10/25 Pascal Quantin pascal.quan...@gmail.com Hi, 2010/10/25 Jeff Morriss jeff.morriss...@gmail.com Pascal Quantin wrote: Hi, since revision 34640, none of UDP heuristic dissectors I use (LTE-MAC, LTE-RLC or LTE-PDCP) work: all the frames are decoded as ADwin configuration

Re: [Wireshark-dev] SVN revision 34640 and heuristic dissectors

2010-10-25 Thread Jeff Morriss
Pascal Quantin wrote: Hi 2010/10/25 Pascal Quantin pascal.quan...@gmail.com mailto:pascal.quan...@gmail.com Hi, 2010/10/25 Jeff Morriss jeff.morriss.ws http://jeff.morriss.ws@gmail.com http://gmail.com Pascal Quantin wrote: Hi,

Re: [Wireshark-dev] 4 Bytes too much in tvb

2010-10-25 Thread Christopher Maynard
Michael Biener Biener mbie...@... writes: Any Idea? did I Something wrong? What does your call to tcp_dissect_pdus() look like? Is it something like tcp_dissect_pdus(tvb, pinfo, tree, TRUE, 14, get_qcom_message_len, dissect_qcom);?

Re: [Wireshark-dev] nmake problem (cl.exe)

2010-10-25 Thread Christopher Maynard
Lange Jan-Erik jan-erik.la...@... writes: cl -WX -D_U_= /Zi /W3 /MD /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DWIN32_LEAN_AND_MEAN /DMSC_VER_REQUIRED=1500 /D_BIND_TO_CURRENT_CRT_VERSION=1 /MP lemon.c causes the error cl: Command line error D8021: invalid numeric arument

[Wireshark-dev] Building pruned-down version of tshark

2010-10-25 Thread Tharaneedharan Vilwanathan
Hi All, I am new to wireshark development and this mailing list. I am porting wireshark to an embedded platform. I managed to cross-compile wireshark (tshark, mainly) and run it on the 32-bit PowerPC target. However, the executables and shared libraries take about 80MB. Please see the file sizes

Re: [Wireshark-dev] Dissecting TCP PDUs

2010-10-25 Thread Christopher Maynard
Alexander Koeppe forma...@... writes: I have seen captures where e.g. several NetBIOS PDUs has been dissected as an individual branch of the protocol tree. Those PDUs aren't displayed under the TCP tree as mentioned above. Another protocol e.g. FIX (which is quite new), is being dissected as

Re: [Wireshark-dev] Building pruned-down version of tshark

2010-10-25 Thread Christopher Maynard
Tharaneedharan Vilwanathan vdhar...@... writes: I am trying to reduce the size. I would like to explore various ways like remove support for some protocols (USB, ATM, etc) and do static build, etc. I did see some pointers related to this but it looks like they are outdated. You might try

Re: [Wireshark-dev] Building pruned-down version of tshark

2010-10-25 Thread Guy Harris
On Oct 25, 2010, at 12:18 PM, Christopher Maynard wrote: TYou can also try building --with-plugins=no ...which you might have to do *anyway* if you want a static build: static means 100% static (rather than statically link with some libraries), and 100% static means, at least on some UN*Xes,

Re: [Wireshark-dev] slow when loading big pcaps

2010-10-25 Thread cco
On Wed, Oct 20, 2010 at 04:07:22AM -0700, Guy Harris wrote: On Oct 20, 2010, at 3:42 AM, cco wrote: why is wireshark so slow when loading up 500 MB pcaps? Are you saying that the time taken to read a file, as a function of the size of the file, is discontinuous, with a jump at about

Re: [Wireshark-dev] slow when loading big pcaps

2010-10-25 Thread Anders Broman
cco skrev 2010-10-25 21:25: On Wed, Oct 20, 2010 at 04:07:22AM -0700, Guy Harris wrote: On Oct 20, 2010, at 3:42 AM, cco wrote: why is wireshark so slow when loading up500 MB pcaps? Are you saying that the time taken to read a file, as a function of the size of the file, is discontinuous,

Re: [Wireshark-dev] Building pruned-down version of tshark

2010-10-25 Thread Tharaneedharan Vilwanathan
Hi Christopher/Guy, Thanks for the quick response. Let me give it a try. Regards dharani On Mon, Oct 25, 2010 at 12:18 PM, Christopher Maynard chris.mayn...@gtech.com wrote: Tharaneedharan Vilwanathan vdhar...@... writes: I am trying to reduce the size. I would like to explore various

[Wireshark-dev] non-ASCII stuff in manuf

2010-10-25 Thread Jeff Morriss
I noticed this weekend that there's a bunch of non-ASCII characters in the manuf file. Of course this doesn't present well in the GUI (or in tshark output). I found 2 easy options to fix it: 1) use encode(): ~~~ sub shorten { my $origmanuf = shift; $origmanuf = encode(ascii,

Re: [Wireshark-dev] Wireshark lua (wslua) and bit fields - how to do it?

2010-10-25 Thread Tony Trinh
No problem. I think I can better help you if you outlined the spec for the 64-bit field and told me what exactly you wanted to do with it, but I'll try to help based on what you've told me so far... Currently, masking a uint64 does not work (at least I couldn't do it on my machine). You can only

Re: [Wireshark-dev] non-ASCII stuff in manuf

2010-10-25 Thread Guy Harris
On Oct 25, 2010, at 1:19 PM, Jeff Morriss wrote: I noticed this weekend that there's a bunch of non-ASCII characters in the manuf file. Non-UTF-8, or non-ASCII? Non-UTF-8 won't work well in the GUI, or in TShark output if your locale doesn't use the encoding in question as the text

Re: [Wireshark-dev] Wireshark or protocol bug? (HTTP MIME multipart)

2010-10-25 Thread Kaul
On Mon, Oct 25, 2010 at 3:30 PM, Jaap Keuter jaap.keu...@xs4all.nl wrote: Hi, I see no problem here. It loads fine in Wireshark 1.4.1. What I do see, and which is a bug in Wireshark, is that it doesn't treat it as multipart/mixed, as stated in RFC 2046, Section 5.1.3: Any multipart

Re: [Wireshark-dev] non-ASCII stuff in manuf

2010-10-25 Thread Jeff Morriss
Guy Harris wrote: On Oct 25, 2010, at 1:19 PM, Jeff Morriss wrote: I noticed this weekend that there's a bunch of non-ASCII characters in the manuf file. Non-UTF-8, or non-ASCII? Non-UTF-8 won't work well in the GUI, or in TShark output if your locale doesn't use the encoding in

Re: [Wireshark-dev] I want to print the string tvb-real_data on the ubuntu terminal

2010-10-25 Thread Guy Harris
On Oct 24, 2010, at 2:25 AM, 刘昆 wrote: tvb-real_data is a pointer.And I guess the contents of this pointer should be the payload of the packet just as const guint8 *) 0x8b53042 GET http://www.baidu.com/ HTTP/1.1\r\nHost: www.baidu.com\r\nUser-Agent: Mozilla/5.0 (X11; U; Linux i686;

Re: [Wireshark-dev] non-ASCII stuff in manuf

2010-10-25 Thread Guy Harris
On Oct 25, 2010, at 3:13 PM, Jeff Morriss wrote: The manuf entry for that is (escaped): 00:50:C2:0A:20:00/36J\xC3\xAF\xC2\xBF\xC2\xBDgerCom And, actually, Wireshark displays it pretty much like Unidecode() does: Ji?1/2gerC And so does Safari - if I do

Re: [Wireshark-dev] non-ASCII stuff in manuf

2010-10-25 Thread Guy Harris
On Oct 25, 2010, at 4:19 PM, Guy Harris wrote: Jäger Computergesteuerte Messtechnik. Interesting. The entry for their OUI has it right, but the entry for their multicast address range has it wrong: $ egrep gerCom manuf* manuf:00:22:71 JägerCompu # Jäger Computergesteuerte

Re: [Wireshark-dev] I want to print the string tvb-real_data on the ubuntu terminal

2010-10-25 Thread 刘昆
于 2010年10月26日 06:39, Guy Harris 写道: On Oct 24, 2010, at 2:25 AM, 刘昆 wrote: tvb-real_data is a pointer.And I guess the contents of this pointer should be the payload of the packet just as const guint8 *) 0x8b53042 GET http://www.baidu.com/ HTTP/1.1\r\nHost: www.baidu.com\r\nUser-Agent:

[Wireshark-dev] buildbot failure in Wireshark (development) on OSX-10.6-x64

2010-10-25 Thread buildbot-no-reply
The Buildbot has detected a new failure of OSX-10.6-x64 on Wireshark (development). Full details are available at: http://buildbot.wireshark.org/trunk/builders/OSX-10.6-x64/builds/1124 Buildbot URL: http://buildbot.wireshark.org/trunk/ Buildslave for this Build: osx-10.6-x64 Build Reason:

[Wireshark-dev] buildbot failure in Wireshark (development) on OSX-10.5-x86

2010-10-25 Thread buildbot-no-reply
The Buildbot has detected a new failure of OSX-10.5-x86 on Wireshark (development). Full details are available at: http://buildbot.wireshark.org/trunk/builders/OSX-10.5-x86/builds/1509 Buildbot URL: http://buildbot.wireshark.org/trunk/ Buildslave for this Build: osx-10.5-x86 Build Reason: