Re: [Wireshark-dev] Troubles With Reassembly

2009-04-23 Thread gogrady
Hello Guy, Just to recap, this is what i have / want: BNP header 1+multimessage begin BNP header 2+multimessage middle 1 BNP header 3+multimessage middle 2 BNP header 4+multimessage end turns into BNP header 1+multimessage begin+multimesssage middle 1+multimessage middle 2+multimessage

Re: [Wireshark-dev] using simple ASN.1 example with asn2wrs

2009-04-23 Thread Stephen Fisher
On Fri, Apr 17, 2009 at 03:55:19PM +0200, Christopher White (WTA) wrote: > So the asn2wrs tool does generate suitable dissectors for current > wireshark versions? Yes. Steve ___ Sent via:Wireshark-dev mailing list Ar

Re: [Wireshark-dev] Adding a protocol under ONC-RPC

2009-04-23 Thread Andrew Kleinerman
Thank you very much! I appreciate the advice/clarifications, I'll dig into packet-rwall :-) Andrew On Thu, Apr 23, 2009 at 1:47 PM, Guy Harris wrote: > > On Apr 23, 2009, at 1:24 PM, Andrew Kleinerman wrote: > >> My current project is integrating a small protocol into Wireshark for >> analysis

Re: [Wireshark-dev] Adding a protocol under ONC-RPC (disregard previous)

2009-04-23 Thread Guy Harris
On Apr 23, 2009, at 1:35 PM, Andrew Kleinerman wrote: > My current project is integrating a small protocol into Wireshark for > analysis and I feel a little out of my depth. The protocol is sent > over TCP on a non-standard port and uses the Sun XDR RPC. I went > through the step-by-step guide

Re: [Wireshark-dev] text2pcap_ several protocols file

2009-04-23 Thread Reinhard Speyerer
Jeff Morriss wrote: > > SOLTANI FATEN wrote: >> Hi all, >> I have a text file which contains a MTP3 frames MTP3. To convert this >> file into a pcap file and to decode it thereafter by Wireshark, I used: >> "text2pcap -l 141 inputFile.txt outputFile.pcap". >> But now I wish to decode a file whic

Re: [Wireshark-dev] Adding a protocol under ONC-RPC

2009-04-23 Thread Guy Harris
On Apr 23, 2009, at 1:24 PM, Andrew Kleinerman wrote: > My current project is integrating a small protocol into Wireshark for > analysis and I feel a little out of my depth. The protocol is sent > over TCP on a non-standard port and uses the Sun XDR RPC. Do you mean "use XDR" or "use RPC"? If

[Wireshark-dev] Adding a protocol under ONC-RPC (disregard previous)

2009-04-23 Thread Andrew Kleinerman
Hello, My current project is integrating a small protocol into Wireshark for analysis and I feel a little out of my depth. The protocol is sent over TCP on a non-standard port and uses the Sun XDR RPC. I went through the step-by-step guide of creating a basic dissector, and Wireshark will recogn

Re: [Wireshark-dev] Adding a protocol under ONC-RPC

2009-04-23 Thread Andrew Kleinerman
Oops, sorry, that was accidentally sent it the middle of writing, please disregard. Andrew On Thu, Apr 23, 2009 at 1:24 PM, Andrew Kleinerman wrote: > Hello, > > My current project is integrating a small protocol into Wireshark for > analysis and I feel a little out of my depth.  The protocol is

[Wireshark-dev] Adding a protocol under ONC-RPC

2009-04-23 Thread Andrew Kleinerman
Hello, My current project is integrating a small protocol into Wireshark for analysis and I feel a little out of my depth. The protocol is sent over TCP on a non-standard port and uses the Sun XDR RPC. I went through the step-by-step guide of creating a basic dissector, and Wireshark will recogn

Re: [Wireshark-dev] dissector_add(tcp.proto... / where to find parameter for dissector_add()

2009-04-23 Thread Guy Harris
On Apr 23, 2009, at 3:41 AM, eddi...@gmx.de wrote: > I want to dissect all TCP and UDP-Protocols (actually I only want to > dissect Protocols with a special data length, but tvb_length(tvb) > doesn't work before initializing.) tvb_length() doesn't return the data length of a packet; it retur

Re: [Wireshark-dev] Re : dissector_add(tcp.proto... / where to find parameter for dissector_add()

2009-04-23 Thread Guy Harris
On Apr 23, 2009, at 8:16 AM, yvanmmailbox-...@yahoo.fr wrote: > I'm almost a beginner so maybe I'm wrong, but here is what I suppose: > udp.proto doesn't exists; if you want to dissect all frames that > contain udp protocol, you should use: > dissector_add("ip.proto", 0x11, red_handle) > but in

Re: [Wireshark-dev] text2catapult

2009-04-23 Thread Martin Mathieson
Vincent Helfre also created a similar log file format (see bug 3114) that could maybe be extended to handle your protocols - it might be cleaner to use that. I believe he's converted it into a wiretap plugin, so those sources may no longer be up-to-date. Just a thought, Martin On Thu, Apr 23, 200

Re: [Wireshark-dev] cat.exe has encountered a problem and needs to close

2009-04-23 Thread Harsha
On Wed, Apr 22, 2009 at 7:08 PM, Bill Meier wrote: > Harsha wrote: >> On Wed, Apr 22, 2009 at 4:33 PM, Harsha wrote: >>> Hi all, >>> >  > >> >> If someone as a suggestion for the problem, I will be still happy to >> try. That way we know what the root cause is. >> > > I don't know why the cat.ex

Re: [Wireshark-dev] text2catapult

2009-04-23 Thread Martin Mathieson
If you send a short file with an example of each protocol you want to support, I can try to convert it (by hand) to show you how it might be done. Martin On Thu, Apr 23, 2009 at 5:00 PM, SOLTANI FATEN < faten.solt...@alcatel-lucent.com> wrote: > Hi everyone > I have a text file which includes an

[Wireshark-dev] text2catapult

2009-04-23 Thread SOLTANI FATEN
Hi everyone I have a text file which includes an arbitrary mixture off protocols, which I want to convert it into a format readable by Wireshark. But I do not know which one? I know that catapult can include an arbitrary mixture off protocols, but the problem, that I do not know the structure of th

Re: [Wireshark-dev] text2pcap_ several protocols file

2009-04-23 Thread Jeff Morriss
SOLTANI FATEN wrote: > > Hi all, > I have a text file which contains a MTP3 frames MTP3. To convert this > file into a pcap file and to decode it thereafter by Wireshark, I used: > "text2pcap -l 141 inputFile.txt outputFile.pcap". > But now I wish to decode a file which contains both of IP and

Re: [Wireshark-dev] Tr : Dissector preferences reuse

2009-04-23 Thread Jeff Morriss
yvanmmailbox-...@yahoo.fr wrote: > I 'm working on 2 plugin dissectors, and I wish to know if it's possible > (and if yes, how) to reuse preferences from one plugin to another. I > need to reuse only a part of the preferences (which is an UAT table, so > pretty long and boring to define) from

[Wireshark-dev] Re : dissector_add(tcp.proto... / where to find parameter for dissector_add()

2009-04-23 Thread yvanmmailbox-web
Hi Eddie, I'm almost a beginner so maybe I'm wrong, but here is what I suppose: udp.proto doesn't exists; if you want to dissect all frames that contain udp protocol, you should use: dissector_add("ip.proto", 0x11, red_handle) but in this case you lose the UDP dissection (and your dissection will

Re: [Wireshark-dev] tcp_dissect_pdus Does not work

2009-04-23 Thread Michael Tüxen
Hi, what is the value of HEADER_LENGTH? Best regards Michael On Apr 23, 2009, at 7:06 AM, mirta...@cs.ubc.ca wrote: > Hi, > > I am developing a dissector for MPICH over TCP and trying to use > tcp_dissect_pdus. But unfortunately I am getting a blank screen. My > code > looks like this: > > vo

[Wireshark-dev] wireshark file format

2009-04-23 Thread SOLTANI FATEN
Hi I'm searching for a file format (readable by Wireshark) where I can put ISUP (MTP3), RANAP(MTP3) and SIP (IP) data in the same time. Regards ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.o

[Wireshark-dev] pinfo->private_data usage

2009-04-23 Thread Tamazov, Artem
Hello, Am I correct that it is OK to use pinfo->private_data to pass information to sub-dissectors? Should dissector save pinfo->private_data and restore it after calling all sub-dissectors it needs? I've seen plenty of dissectors which do not follow this rule and going to fix them. To Wiresha

Re: [Wireshark-dev] [Wireshark] Data bit by bit

2009-04-23 Thread yami
Microsoft Network Monitor [1] also uses a kind of packet description language. And a lot of such scripts are shipped with the binary. Perhaps, you can take a look at it too. [1] http://blogs.technet.com/netmon/ On Wed, Apr 22, 2009 at 4:23 PM, POINTEAU Remy < remy.point...@tech.viveris.com> wrot

[Wireshark-dev] dissector_add(tcp.proto... / where to find parameter for dissector_add()

2009-04-23 Thread Eddie . 1
Hello, I'm writing a dissector and there is a Problem: I want to dissect all TCP and UDP-Protocols (actually I only want to dissect Protocols with a special data length, but tvb_length(tvb) doesn't work before initializing.) So I tryed dissector_add("udp.proto", 0x11, red_handle) to dissect all

Re: [Wireshark-dev] Adding Buffer Stream View

2009-04-23 Thread didier
Hi, Le mercredi 22 avril 2009 à 20:06 +, gogr...@wi.rr.com a écrit : > well my function is in the dll that i export for my dissector to use. here's > the code: > > (_AppendMultiMsg)( target, bnpLength ); // adds current tvb to the buffer > in my dll > multiMsgSize = (_GetMultiMsg

[Wireshark-dev] Tr : Dissector preferences reuse

2009-04-23 Thread yvanmmailbox-web
Hi, Is there someone that can answer to my questions and solve my problem? Thanks a lot! Yvan - Message transféré De : "yvanmmailbox-...@yahoo.fr" À : wireshark-dev@wireshark.org Envoyé le : Mardi, 21 Avril 2009, 11h37mn 26s Objet : Dissector preferences reuse Hi all, I 'm workin

Re: [Wireshark-dev] tcp_dissect_pdus Does not work

2009-04-23 Thread Graham Bloice
mirta...@cs.ubc.ca wrote: > Hi, > > I am developing a dissector for MPICH over TCP and trying to use > tcp_dissect_pdus. But unfortunately I am getting a blank screen. My code > looks like this: > > void > dissect_mpich_tcp_nonepm (tvbuff_t * tvb, packet_info * pinfo, proto_tree > * tree) > { > t

[Wireshark-dev] text2pcap_ several protocols file

2009-04-23 Thread SOLTANI FATEN
Hi all, I have a text file which contains a MTP3 frames MTP3. To convert this file into a pcap file and to decode it thereafter by Wireshark, I used: "text2pcap -l 141 inputFile.txt outputFile.pcap". But now I wish to decode a file which contains both of IP and MTP3 frames. How can I do that.