Re: [Wireshark-dev] RPM error

2008-03-16 Thread taraniteja.vishwanatha
Thank you, Jeff and Reinhard...I have built the rpm successfully From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Morriss Sent: Sunday, March 16, 2008 6:31 PM To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] RPM error

[Wireshark-dev] RPM error

2008-03-16 Thread taraniteja.vishwanatha
Hi , If I try to build the rpm with gtk 1 version , it is taking gtk 2 by default. Then we tried to remove gtk-2 and glib-2 libraries from /usr/lib and /usr/include. We are getting the following error: Even after configuring with -disable -gtk2 , wondering why is it checking for gtk version >

[Wireshark-dev] RPM generation with gtk 1

2008-03-15 Thread taraniteja.vishwanatha
Hi , I have a requirement to compile wireshark in gtk-1.2.10. I have given --disable gtk2 in the configure options and I am able to generate the executable. Its working fine. Now , I have a problem with building the rpm. It is getting built with gtk 2 by default, as I have both gtk 1 and 2 in

[Wireshark-dev] Problems in installing rpm

2008-03-13 Thread taraniteja.vishwanatha
Hi, I am using RHEL 4 32 bit m/c. I wanted wireshark to compile with gtk-1.2.10. It got compiled and installed. Even building the rpm dint have any problem. But when I tried to install the rpm , I am getting the following error: error: Failed dependencies: libiconv.so.2 is needed by

Re: [Wireshark-dev] Problems in my plugin in the new wiresharkversion ( wireshark-0.99.7)

2008-02-18 Thread taraniteja.vishwanatha
Hi , I have compiled ,made the necessary changes in the makefiles too. I can see its getting registered/recognised by wireshark.But it is not able to filter and capture the data . From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sébastien Tand

[Wireshark-dev] Problems in my plugin in the new wireshark version ( wireshark-0.99.7)

2008-02-18 Thread taraniteja.vishwanatha
Hi , My plugin had got compiled and installed in wireshark-0.99.5. Now, when I tried to install the plugin in wireshark-0.99.7, it is getting registered but it is not filtering and displaying packets. My observations are : 1. In the proto_reg_handoff_xxx(void) function , void proto_r

Re: [Wireshark-dev] Problems in compiling a plugin inwireshark-0.99.7

2008-02-14 Thread taraniteja.vishwanatha
Hi , I did not do it..Its working after after running ./autogen.sh Thnx :-) BR, Tarani From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sébastien Tandel Sent: Thursday, February 14, 2008 6:05 PM To: Developer support list for Wireshark Subj

Re: [Wireshark-dev] Problems in compiling a pluginin wireshark-0.99.7

2008-02-14 Thread taraniteja.vishwanatha
Hi , Its working ..thnx :) BR, Tarani > -Original Message- > From: [EMAIL PROTECTED] [mailto:wireshark-dev- > [EMAIL PROTECTED] On Behalf Of Jaap Keuter > Sent: Friday, February 15, 2008 1:37 AM > To: Developer support list for Wireshark > Subject: Re: [Wireshark-dev] Problems in compil

Re: [Wireshark-dev] Problems in compiling a plugin in wireshark-0.99.7

2008-02-14 Thread taraniteja.vishwanatha
Hi , One more observation.. When I am configuring with the comand : ./configure -prefix=/path Config.status creates the makefiles tht we mention in the configure.in file and displays a message like this: config.status: creating plugins/m2m/Makefile I don't see this message for my plugin

[Wireshark-dev] Problems in compiling a plugin in wireshark-0.99.7

2008-02-14 Thread taraniteja.vishwanatha
Hi , To include and compile a new plugin : 1. I have included Makefile.am, makefile.common, makefile.nmake in the plugin/xxx directory 2. Also in the makefile.am and makefile.nmake in the plugins 3. also in the makefile.am and configure.in the wireshark directory I hope the

Re: [Wireshark-dev] Problems in calling a message from RANAPdissector

2008-01-24 Thread taraniteja.vishwanatha
Hi Anders, I ve tried to include the function "dissect_resetResource" and also gave it a new tvb, but not much improvement. I have exported some messages in the ranap.cnf file like reset, initial ue etc. The improved code : ranap_tvb = tvb_new_real_data(buf,offset,offset); tvb_set_chil

[Wireshark-dev] Problems in calling a message from RANAP dissector

2008-01-22 Thread taraniteja.vishwanatha
Hi , I have my test dissector , running over SUA , in TLV ( tag length value) format. In one of the messages, I want to add an existing RANAP ( asn.1 format) message along with the other parameters of my protocol. The coding of one of the messages in which I have called RANAP message goes like t

Re: [Wireshark-dev] Compilation error in asn.1 file

2008-01-07 Thread taraniteja.vishwanatha
Thanx a ton AndersI ll have to slightly modify the code now.. > -Original Message- > From: [EMAIL PROTECTED] [mailto:wireshark-dev- > [EMAIL PROTECTED] On Behalf Of Anders Broman > Sent: Friday, January 04, 2008 3:48 PM > To: 'Developer support list for Wireshark' > Subject: Re: [Wire

Re: [Wireshark-dev] Compilation error in asn.1 file

2008-01-03 Thread taraniteja.vishwanatha
Hi Yin, I have checked the gsmmap, ansi_map and inap ( TC users of TCAP).I have written my implementation in a separate mail. I would be happy if you can check and give me some suggestions. BR, Tarani From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] O

Re: [Wireshark-dev] Compilation error in asn.1 file

2008-01-03 Thread taraniteja.vishwanatha
Hi Anders, I am sorry , I don't have any trace of the protocol. It s still in the development phase. That is the reason we are facing so many issues. We have gone through inap , gsmmap and ansi_map code and implemented in the following manner: static void dissect_xxx(tvbuff_t *tvb, packet_info

Re: [Wireshark-dev] Compilation error in asn.1 file

2008-01-03 Thread taraniteja.vishwanatha
Hi Anders, I was able to compile my asn successfully. There are three different opcodes mentioned for three different operations. Each operation contains an argument / parameter part and a result. As you have rightly said, I have to call my Argument methods ( dissect_xxxArg) and result methods

Re: [Wireshark-dev] Compilation error in asn.1 file

2007-12-26 Thread taraniteja.vishwanatha
Hi Anders, Yeah you got right. This runs on top of the ANSI-TCAP layer.I am writing a separate asn for this file. I did not import any operations from ANSI-TCAP. I feel there should be an identifier which TCAP identifies this dissector and its operations( I don't have that still).Can you plea

Re: [Wireshark-dev] Compilation error in asn.1 file

2007-12-26 Thread taraniteja.vishwanatha
Hi , Let me explain you in detail. I have a protocol defined in asn.1 format , whose operations and parameters look like the ones mentioned below: Operation Code=1 Class=1 ASN.1 Formal Description xxxRequest ::= OPERATION PARAMETER SEQUENCE { aaa (2) AAA, bbb (3) BBB } RESULT reqresul

Re: [Wireshark-dev] Compilation error in asn.1 file

2007-12-24 Thread taraniteja.vishwanatha
Hi , There has to be a PDU added before DEFINITIONS in the .asn file. I don't have it but used it from existing asn files, though it is different for each file. After that I am getting the following error: __main__.ParseError: LexToken(ASSIGNMENT,'::=',1,468) I think it is giving

[Wireshark-dev] Compilation error in asn.1 file

2007-12-23 Thread taraniteja.vishwanatha
Hi , I have written .asn and .cnf files for my dissector. I have created a nominal template.c and template .h files as I suppose the asn2wrs compiler would generate the functions and declarations. I also suppose I should add the variable declarations and function definitions after the compila

Re: [Wireshark-dev] Installation error in wireshark-0.99.6

2007-12-12 Thread taraniteja.vishwanatha
Thnx it got installed > -Original Message- > From: [EMAIL PROTECTED] [mailto:wireshark-dev- > [EMAIL PROTECTED] On Behalf Of Guy Harris > Sent: Wednesday, December 12, 2007 4:40 AM > To: Developer support list for Wireshark > Subject: Re: [Wireshark-dev] Installation error in wiresha

Re: [Wireshark-dev] Installation error in wireshark-0.99.6

2007-12-10 Thread taraniteja.vishwanatha
Hi , I have done make clean. Then I configured, compiled and was able to install successfully.I don't know what happenned the first time. Thnx anyways > -Original Message- > From: [EMAIL PROTECTED] [mailto:wireshark-dev- > [EMAIL PROTECTED] On Behalf Of Stephen Fisher > Sent: Tuesday, De

[Wireshark-dev] Installation error in wireshark-0.99.6

2007-12-10 Thread taraniteja.vishwanatha
Hi, I tried to install wireshark-0.99.6. I could could configure and compile it successfully. When I tried to install it using "make install", I got the following error: test -z "/home/eth/plugin_dev/wireshark_tsrp/wireshark-0.99.6_exe/lib" || mkdir -p -- "/home/eth/plugin_dev/wireshark

Re: [Wireshark-dev] Regarding inclusion of operationsandparametersinANSI TCAP

2007-12-10 Thread taraniteja.vishwanatha
Thanks Anders ...I was using an older version. I shall look into it and get back to you in case of any queries. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anders Broman Sent: Monday, December 10, 2007 4:48 PM To: Developer support list for

Re: [Wireshark-dev] Regarding inclusion of operations andparameters inANSI TCAP

2007-12-10 Thread taraniteja.vishwanatha
Hi , I agree to that it shoud not be a part of ANSI MAP. In the file tcap.asn, a generic format is mentioned regarding the ansi operations, parameters , both with and without sequence and results.When we write our dissector, we don't have the asn file for it, so we want to use a already existi

[Wireshark-dev] Regarding inclusion of operations and parameters in ANSI TCAP

2007-12-10 Thread taraniteja.vishwanatha
Hi, We have a "xxx" protocol which is a Transaction User of ANSI TCAP. We have some operations, parameters and results defined for it.We have to include it in the ANSI part of tcap.asn. Can somebody please suggest me a way?? BR, Tarani The information contained in this electronic me

Re: [Wireshark-dev] Steps to include a plugin in asn.1 format

2007-11-26 Thread taraniteja.vishwanatha
Thanks Anders From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anders Broman Sent: Monday, November 26, 2007 2:00 PM To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Steps to include a plugin in asn.1 format Hi, Still u

Re: [Wireshark-dev] Steps to include a plugin in asn.1 format

2007-11-25 Thread taraniteja.vishwanatha
Hi , I have test protocol in asn.1 format. I want to include it in Wireshark and test how does it work?? It runs over TCAP. PS: I am aware of the procedure to include a general plugin in wireshark. //Tarani From: [EMAIL PROTECTED] [mailto:[EMAIL P

[Wireshark-dev] Steps to include a plugin in asn.1 format

2007-11-25 Thread taraniteja.vishwanatha
Hi , Can somebody tell me the steps to include a plugin in asn.1 format. The protocol runs over TCAP. I could not find the procedure in README. BR, Tarani The information contained in this electronic message and any attachments to this message are intended for the exclusive use of t

[Wireshark-dev] error

2007-11-19 Thread taraniteja.vishwanatha
Hi , Error : /usr/bin/ld: .libs/packet-chp.o: relocation R_X86_64_PC32 against `dissect_csse_header' can not be used when making a shared object; recompile with -fPIC Can somebody please clarify?? BR, Tarani The information contained in this electronic message and any attac

Re: [Wireshark-dev] Steps to port wireshark to windows xp, vista and solaris

2007-09-24 Thread taraniteja.vishwanatha
Thnx jaap :) > -Original Message- > From: [EMAIL PROTECTED] [mailto:wireshark-dev- > [EMAIL PROTECTED] On Behalf Of Jaap Keuter > Sent: Tuesday, September 25, 2007 10:42 AM > To: Developer support list for Wireshark > Subject: Re: [Wireshark-dev] Steps to port wireshark to windows xp, vi

[Wireshark-dev] Problem in linking some libraries and headers

2007-09-11 Thread taraniteja.vishwanatha
Hi , We have to work on a proprietary dissector/plugin. It has a Makefile in which libraries and headers which are to be linked with wireshark are mentioned. How and where do we add those libraries in the makefiles of the plugin directory to link them to wireshark??? BR, Tarani Th

[Wireshark-dev] Problems in decoding two different protocol headers

2007-09-05 Thread taraniteja.vishwanatha
Hi , There are 2 protocols X and Y. X runs over UDP. Y runs over X. A payload packet consists some headers of X and some headers of Y. I am dissecting Y, and X has been dissected by somebody else , who do not wish to share the source code. As per my understanding: 1. There shoul

[Wireshark-dev] Problems in display of RANAP messages

2007-05-02 Thread taraniteja.vishwanatha
Hi , I want to include some RANAP ( asn.1 format) messages in my dissector. I have seen the way H245 messages are included in MEGACO. On similar lines, I have written the following code: dissect_xxx_reset(tvbuff_t *tvb,int offset ,proto_tree *xxx_tree,packet_info *pinfo) { guint8 *buf =

Re: [Wireshark-dev] Including ASN.1 format coding in a C dissector

2007-04-24 Thread taraniteja.vishwanatha
Hi , Can you specify which .cnf file, because we don't have a .cnf file in my plugin directory.. Also , do we need to make any changes in makefie.am, makefile.common etc?? Regards, Tarani From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [Wireshark-dev] Including ASN.1 format coding in a C dissector

2007-04-23 Thread taraniteja.vishwanatha
Hi , The ID of your packet-ranap-template.h file: $Id: packet-ranap-template.h 18228 2006-05-27 22:09:07Z etxrab $ * Also packet-ranap-exp.h is included in the file packet-ranap-template.h. I am unable to find the cause for the error. Please help.. Regards, Tarani ___

Re: [Wireshark-dev] Including ASN.1 format coding in a C dissector

2007-04-23 Thread taraniteja.vishwanatha
Hi , I had to include some RANAP messages in my dissector. I have included in the following way: dissect_xxx_msg(tvbuff_t *tvb,int offset,proto_tree *macic_tree,packet_info *pinfo) { guint8 *buf = ep_alloc(10240); tvbuff_t *ranap_tvb; int i; asn1_ctx_t actx; offset = add_IE_indi

Re: [Wireshark-dev] Including ASN.1 format coding in a C dissector

2007-04-13 Thread taraniteja.vishwanatha
Hi Anders, To include the RANAP messages in my dissector, I have done the following: 1.In ranap.cnf under #.EXPORTS, I have added the message id s which I want to export. 2.In packet-ranap.h, I have included the corresponding functions of the messages which I want to add. 3.In my dissect

Re: [Wireshark-dev] Including ASN.1 format coding in a C dissector

2007-04-12 Thread taraniteja.vishwanatha
Hi Anders, Thanks for the information. The dissector is propreitary , hence I cant include it in Wireshark. I will include RANAP messages in the way you have mentioned. But then , I will have a tough time forming packets for testing . Any clue how can I form the packets. Thanks in adv

[Wireshark-dev] Including ASN.1 format coding in a C dissector

2007-04-11 Thread taraniteja.vishwanatha
Hi , I have written a dissector for a protocol which has a coding standard of Tag-Length-Value. Now in this dissector , I have to add some messages of RANAP protocol which has a coding standard in ASN.1 format.Already the dissector for RANAP is available in the wireshark. Now: 1.Can I cal

[Wireshark-dev] Segmentation fault in dissector

2007-03-27 Thread taraniteja.vishwanatha
Hi , We are using a 32 bit machine and dissector is working fine. The same dissector when used in a 64 bit m/c is giving problems. I would like to know how is it going to get affected in the change of environment, because initially it did not even compile properly .While testing in a 64 bit ma

[Wireshark-dev] Compilation errors

2007-03-20 Thread taraniteja.vishwanatha
Hi , I have written a dissector, compiled and tested it( no problems). But the same dissector when used by somebody else at a different location is giving compilation problems. They are using the same OS (RHEL 4) and the same compiler version as ours. It is giving the following error:

[Wireshark-dev] Generating a wireshark RPM

2007-03-14 Thread taraniteja.vishwanatha
Hi , I downloaded wireshark-0.99.5a source code. I have included my dissector in the wireshark. I want to generate a rpm for the same. Can somebody explain the detail steps to generate a rpm?? BR, //Tarani The information contained in this electronic message and any attachme

[Wireshark-dev] Problems in configuration

2007-03-01 Thread taraniteja.vishwanatha
Hi , We have developed a plugin , tested it thoroughly and placed it in clearcase( configuration management tool). When we checked out the wireshark directory and tried to configure , it gave the following error: configure: running /bin/sh './configure' --prefix=/home/eth/plugin_dev_v

[Wireshark-dev] Compilation problems in the dissector

2007-02-22 Thread taraniteja.vishwanatha
Hi, After successfully executing make and make install, when we tried to run the wireshark (using ./ wireshark) We are getting the following error: undefined symbol: dissect_eci The code is as follows: Forward declarations static int dissect_eci(tvbuff_t *,int ,proto_tree *);

[Wireshark-dev] Problems while displaying the digits in the packet

2007-01-19 Thread taraniteja.vishwanatha
Hi , We have a parameter IMSI in our protocol . It has the following format : 7 6 5 4 3 2 1 0 octet Number of digits 3 IMSI digit 2 IMSI digit 1 4 IMSI digit 4 IMSI digit 3 5 IMSI digit 2n IMSI digit 2n-1 n+3 typedef struct dgt_set_t { unsigned char out[15]; }

[Wireshark-dev] How to dissect bit information

2006-12-18 Thread taraniteja.vishwanatha
Hi Anders/ Steve , This is with regards to the mail posted by vikash "How to dissect bit information". As you have suggested we can get the desired bit/bits by masking the remaining bits.But the problem we are facing is there is a set of values assosiated with each bit / bits.In Wireshark, t

[Wireshark-dev] Dificulties in dissecting some packets

2006-12-13 Thread taraniteja.vishwanatha
Hi , I have encountered some problems when dissecting the packets for a protocol.I am mentioning 3 different scenarios 1. In the below case , the octet is split into parts and each part viz x , y and z take different values. I am not able to understand how to go about it.

[Wireshark-dev] How to test a newly added plugin????

2006-10-22 Thread taraniteja.vishwanatha
Hi ,   I  have added a plugin for a protocol which runs on top of SUA layer. But we do not have the environment to test the plugin. The client may provide us with a capture file but we cannot test all the scenarios ( all the messages and packet formats) with that. Please let me know the