[Wireshark-dev] rawshark error

2010-02-09 Thread atdev.queries
Hi I am unable to get the output of Rawshark. I have a packet structure as below when decoded with Wireshark. Ethernet II 802.1Q VLAN IP When I execute the following I am getting following error: $ rawshark -d encap:105 -r packet-name -F ip.src -s 0 FT_IPv

[Wireshark-dev] rawshark error

2010-02-09 Thread atdev.queries
Hi I am unable to get the output of Rawshark. I have a packet structure as below when decoded with Wireshark. Ethernet II 802.1Q VLAN IP When I execute the following I am getting following error: $ rawshark -d encap:105 -r packet-name -F ip.src -s 0 FT_IPv4

Re: [Wireshark-dev] error while building rpm

2009-12-02 Thread atdev.queries
Hi Tomas, I could resolve it by using --libdir=/usr/lib64 and making %prefix/lib/* as %prefix/lib64/* in wireshark.spec.in file regards, Atdev From: wireshark-dev-boun...@wireshark.org on behalf of Kukosa, Tomas Sent: Thu 12/3/2009 12:50 PM To: Developer suppor

Re: [Wireshark-dev] crashing with ringbuffers

2009-12-01 Thread atdev.queries
Hi, Thank you for replying. I am using the same configuration and data rate to capture. regards, Atdev From: wireshark-dev-boun...@wireshark.org on behalf of Jeff Morriss Sent: Tue 12/1/2009 3:28 AM To: Developer support list for Wireshark Subject: Re: [Wireshar

[Wireshark-dev] XML query

2009-12-01 Thread atdev.queries
Hi, I have node which gives the output in XML format i.e., packet information encapsulated in XML format Now if I use Wireshark to capture at the node to see what information it is sending what packets I can observe. I know Wireshark captures packets in PCAP format. Is there any why using W

[Wireshark-dev] crashing with ringbuffers

2009-11-30 Thread atdev.queries
Hi All, I have migrated from wireshark-1.0.5 to wireshark-1.2.4 Previously I used GTK-1 for Wireshark-1.0.5 now I am using GTK-2 for wireshark-1.2.4 When I tried to capture using ringbuffers I was encountered with an error "The file x is not found". With a warning message in the shell

[Wireshark-dev] possiblity of capturing on multiple interfaces

2009-08-25 Thread atdev.queries
Hi All, Is it possible to capture on different interfaces available at once and get the output captured file using current Wireshark? Help me in doing it. Thanks in advance. Regards, Atdev. Please do not print this email unless it is absolutely necessary. The information contained in

[Wireshark-dev] file handling and path saving variable

2009-07-23 Thread atdev.queries
Hi All, I have a query regarding file handling in Wireshark. When already captured file is opened in Wireshark is there any variable which contains whole path and name of the file opened. If there is such variable please let me know where it is implemented. If there was no such arrangement mad

[Wireshark-dev] file handling and path saving

2009-07-23 Thread atdev.queries
Hi All, I have a query regarding file handling in Wireshark. When already captured file is opened in Wireshark is there any variable which contains whole path and name of the file opened. If there is such variable please let me know where it is in the code. If there was no such arrangement

[Wireshark-dev] error while building rpm

2009-06-16 Thread atdev.queries
Hi All, I have successfully able to compile Wireshark-1.0.5 on SUSE 10.2 x86_64 machine, but got following error while trying to build an rpm. + /usr/lib/rpm/brp-lib64-linux s...@suse.de: if you find problems with this script, drop me a note /tmp/wireshark-1.0.5-root/usr/lib/libwireshark.s

[Wireshark-dev] compiling wireshark for binaries to work on other platforms

2009-05-26 Thread atdev.queries
Hi All, At present I am working in Linux platform. Here I could build executables which can be installed in same flavor of Linux only. But I would like to know is there any way I could build executable that could be installed in other flavors of Linux too (such as ubuntu, suse). I have seen

[Wireshark-dev] capturing on multiple interfaces

2009-05-18 Thread atdev.queries
Hi, We all know Wireshark can capture on different interfaces, can it be able to capture on all interfaces at once using Wireshark? If 'No' is the answer can any one help me in understanding how capturing is done using Wireshark? I could change the implementation accordingly for my needs to c

[Wireshark-dev] capturing interface implementation

2009-05-18 Thread atdev.queries
Hi All, I would like to know how capturing happening in Wireshark i.e., which file contains the respective implementation to capture on various interfaces. Thanks in advance. Regards, Atdev. Please do not print this email unless it is absolutely necessary. The information contained in

[Wireshark-dev] capturing interface implementation

2009-05-17 Thread atdev.queries
Hi All, I would like to know how capturing happening in Wireshark i.e., which file contains the respective implementation to capture on various interfaces. Regards, Atdev. Please do not print this email unless it is absolutely necessary. The information contained in this electronic messa

[Wireshark-dev] text output from command line

2009-02-03 Thread atdev.queries
Hi all, You all know after loading a packet we could have the information of the loaded packets in text format (menu->export->as plain text file->xxx). Can we do the same from the command line? Is that possible? Regards, Atdev. Please do not print this email unless it is absolutely

Re: [Wireshark-dev] Query on loading packets usingcommand line options

2008-12-29 Thread atdev.queries
Hi All, Thank you Joan, it has really worked for me. Can anyone please suggest a player which works in linux environment because my wireshark setup is in linux system. Otherwise i need to use windows system to play the packets and linux system to capture them. regards, Atdev. _

Re: [Wireshark-dev] Query on loading packets using command lineoptions

2008-12-22 Thread atdev.queries
Hi All, I tried the following command to load the packets. $mergecap -w merge1_2.cap input1.cap input2.cap|wireshark -w chopped.cap -b filesize:200 -a files:4 -i 2 merge1_2.cap But i havn't got any file as chopped.cap after the execution. It simply loaded merge1_2.cap. Could any one explain me

Re: [Wireshark-dev] Query on loading packetsusing command line options

2008-12-22 Thread atdev.queries
Hi All, Thanks for all your support. My new query: is it possible to create the traffic using the existing packets i have and capture them using wireshark. What i mean exactly is with the packets available with me is it possible to create a traffic with in the system. And is it possible to run

Re: [Wireshark-dev] Query on loading packets using command line options

2008-12-18 Thread atdev.queries
Hi All, Thanks Joan and Gerald. Both of your approaches worked. But my New query is mergecap -w - file1.cap file2.cap |wiresahrk -k -i - shall give me the output unsaved, i need to explicitly save it . But what i need is save it to the XXX location as specified and into multiple files of say 200

Re: [Wireshark-dev] Query on loading packets using command lineoptions

2008-12-17 Thread atdev.queries
Hi, Abhik: Thanks for your advice. But my requirment is to load these packets one after the other for the same instance of wireshark. regards, Atdev. From: wireshark-dev-boun...@wireshark.org on behalf of Abhik Sarkar Sent: Wed 12/17/2008 1:36 PM To: Developer

[Wireshark-dev] Query on loading packets using command line options

2008-12-16 Thread atdev.queries
Hi all, When i tried to load the packets which i captured as $ wireshark -r packet1.pacp it has loaded me properly. But when i tried $ wireshark -r packet1.cap -r packet2.cap only second packet(packet2.cap) got loaded and not packet1.cap. Could any one please say me how to load two packets one

[Wireshark-dev] error G_MINNT32 undeclared

2008-12-15 Thread atdev.queries
Hi All, I tried to compile wireshark-1.0.5 and got an error. I have configured it as ./configure --disable-gtk2 --prefix=PATH; make error i got was to_str.c: In function `time_secs_to_str_buf': to_str.c:371: error: `G_MININT32' undeclared (first use in this functi

Re: [Wireshark-dev] How to append two tvb buffers?

2008-10-17 Thread atdev.queries
Hi Jaap, Thanks for your advice. I have tried doing the following and got an error while running wireshark. tvb1 = tvb_new_subset(tvb, offset, 1, 1); tvb2 = tvb_new_subset(tvb, offset, 1, 1); tvb_composite_append(tvb1 , tvb2); But i got the following error " [Dissector bug, protocol Z

[Wireshark-dev] How to append two tvb buffers?

2008-10-16 Thread atdev.queries
Hi All, I am developing a new plugin in which it contains the tvb buffer in the following format xx yy xx zz xx qw But I need not consider xx values and would like to have yy zz as one item in other buffer. For that I am thinking of taking yy in one subset and zz in another subset us

Re: [Wireshark-dev] error on building the package on solaris10

2008-08-26 Thread atdev.queries
Hi , Thanks Jaff , I could successfully build the package. Again, i tried to build the package with the different Package name. Now i changed the package name in configure file to Wireshark_Chandra and tried to build the package, then i got the following error: ## Building pkgmap from package

[Wireshark-dev] error on building the package on solaris10

2008-08-25 Thread atdev.queries
Hi all, I have configured Wireshark-1.0.0 as ./configure --disable-gtk2 --prefix=/export/home/exe and I am able to compile Wireshark-1.0.0 successfully on Solaris 10. But when I tried to build a package I got the following error: Whoops! Staging directory /export/home/wireshark-1.0.0/pack

Re: [Wireshark-dev] How to register the plugins

2008-07-15 Thread atdev.queries
It is a connection oriented message with CODT type I have commented the heur_dissect_add line in both the plugin and using only dissector_add to register the plugins. Now it is not dissecting the data portion either as xxx or yyy. It just displays as data shown below. SS7 SCCP-User

Re: [Wireshark-dev] How to register the plugins

2008-07-15 Thread atdev.queries
Hi It was my mistake, they are 90 and 91 only not 91 and 92 as stated first. Regards, Chandra. From: [EMAIL PROTECTED] on behalf of Abhik Sarkar Sent: Tue 7/15/2008 5:41 PM To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] How to register the

[Wireshark-dev] How to register the plugins

2008-07-15 Thread atdev.queries
Hi all, I wrote two plugins which run on sua layer. The plugins are xxx and yyy and their subsystem no. are 91 and 92 respectively. Now I registered the two protocols as For XXX plugin: static guint global_xxx_ssn = 90; Void proto_reg_handoff_xxx(void) { static

[Wireshark-dev] How to dissect the plugin

2008-07-10 Thread atdev.queries
Hi all, I wrote a plugin which got registered using a sccp.ssn number. Now seeing at bssap packet I wrote a packet for my plugin. But wireshark is unable to recognize the packet and showing it as sua (RFC 3868) CODT message. I just modified the Data (SS7 message) portion in according to my plu

[Wireshark-dev] How to build a relocatable rpm

2008-06-19 Thread atdev.queries
Hi all, I wrote a test plug-in following the steps from README.plugin which got compiled. I am successfully able to build the rpm. When I installed it normally it is working fine. But when I tried to install it different path it is installing but only the plugins which are in built are worki

Re: [Wireshark-dev] Unable to capture using wireshark

2008-06-18 Thread atdev.queries
Hi Jaap, Thanks for your response. I would like to see the traffic flowing to the network which I was connected. So for that I need to capture them; so to do the capset() operation it needs more permissions, so i tried to run it as super user(root), but it never responded, in the sense file

[Wireshark-dev] Unable to capture using wireshark

2008-06-18 Thread atdev.queries
Hi all, After downloading wireshark-0.99.7, I compiled it and installed it using command: ./configure --prefix=/path make make install When i run the executable it is working fine. But when I turned to super user and tried to capture the traffic by running the Wireshark it is hanging i

[Wireshark-dev] FW: RPM installation

2008-06-17 Thread atdev.queries
Hi all, I wrote a plugin and able to compile it, and make a rpm. When i installed the rpm in the default directory i.e., /usr the plugin which i wrote is working fine. But, when i installed it in other locations using the command: rpm -i --relocate /usr=/PATH All the plugins are working except

[Wireshark-dev] Wireshark crashing

2008-06-08 Thread atdev.queries
Hi all, I tried to compile Wireshark in Linux in which one of the plugin links with external libraries and it worked for me. When I tried to compile the same in windows2000 it got compiled but when I tried to run the Wireshark after copying the respective dll to the Wireshark-gtk2/plugins/0

[Wireshark-dev] request help for packet capture using libpcap

2008-05-06 Thread atdev.queries
Hello , I have been trying to write a small application using libpcap library. Purpose is to capture some live network packets(say 100 packets) and store them in a file (pcap_savefile). Please refer the attachment for the code. As per my understanding the pcap_savefile should be in "pcap" forma

Re: [Wireshark-dev] Unable to register over TCAP

2008-03-12 Thread atdev.queries
In the proto_register_xxx(void) , xxx_module = prefs_register_protocol(proto_xxx, proto_reg_handoff_xxx); hope the above statement will call proto_reg_handoff_xxx(void). proto_reg_handoff_xxx(void){ . xxx_handle = create_dissector_handle(dissect_xxx, proto_xxx); .. } This function i

Re: [Wireshark-dev] Unable to register over TCAP

2008-03-12 Thread atdev.queries
Hi, I had already included the packet_x.c in Makefile.common and also tried "rm epan/dissectors/register.c" but no luck. The proto_register_xxx function is working fine, but proto_reg_handoff is not. From: [EMAIL PROTECTED] on behalf of Luis EG Ontanon Sent:

[Wireshark-dev] Unable to register over TCAP

2008-03-12 Thread atdev.queries
Hi all , I have written a dissector ( ASN.1 format), which runs over ETSI-TCAP. Now,this dissector has an SCCP sub-system number.In general , the sub-dissectors running over ITU-TCAP( eg : camel , GSMMAP) are registered in the following way: In the proto_register_xxx(void): range_convert_str(&

Re: [Wireshark-dev] Compiling with a older GTK version

2008-03-10 Thread atdev.queries
Hi , I am installing the respective gtk and glib versions. The linux version is RHEL 4.But assuming GTK + allows to compile on the both the version simultaneously, I have given the ./configure with gtk2 disabled. I am getting the following error:\ checking for gtk-config... no checking for GTK

[Wireshark-dev] Compiling with a older GTK version

2008-03-10 Thread atdev.queries
Hi , I need to compile the Wireshark-0.99.5 on Linux ( 64 bit) with an older gtk version i.e gtk-1.2.12 . I would be needing the same version of glib version too. I have disabled the gtk2 option while executing ./configure ( --disable gtk2). Do I need to install these two versions only in th

[Wireshark-dev] dissect_add error for tcap.ssn

2007-12-28 Thread atdev.queries
Hello , I am trying to include a dissector using my asn.1 format for a test protocol which runs over TCAP layer. The test.asn file was written and compiled along with packet-test-template.c file in the ..wireshark/asn1/test directory . But I am facing a poblem , an error is displayed with re

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

2007-12-25 Thread atdev.queries
--- Begin Message --- 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

Re: [Wireshark-dev] error with packet.h

2007-12-07 Thread atdev.queries
--- Begin Message --- Hi Jaap, I'm using wireshark 0.99.5 version. The error log traces to initial lines of my source code of packet-test.c which goes as : #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include [Error

[Wireshark-dev] error with packet.h

2007-12-07 Thread atdev.queries
Hello , I tried including a file packet-test.c in the wireshark/plugin/test directory to understand the inclusion of dissection for a test protocol. But the compilation fails with the following error : Error : In file included from /home/eth/plugin_dev_xxx/wireshark_32bit_test/wireshark/epa

[Wireshark-dev] problem while configuring on solaris

2007-10-04 Thread atdev.queries
Hello , I have been trying to compile wireshark 0.99.5 version on solaris 5.8 . But while executing the ./configure command I'm getting an error : . . checking whether yytext is a pointer... yes checking for perl... /bin/perl checking for pod2man... no configure:

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

2007-09-24 Thread atdev.queries
Hi , We have used Linux 64 bit machine to compile and test our dissectors. Now we want the same to be done in Windows XP, Vista and Solaris environment. Can somebody please explain the steps or tell me where can I find the information regarding the same. BR, Tarani The information cont

[Wireshark-dev] configure fails on solaris

2007-09-24 Thread atdev.queries
Hi , I'm trying to build wireshark using the source 0.99.5 on my solaris system. But when I give ./configure --prefix=[exe directory path] , I'm getting an error as : configure: error: Header file pcap.h not found; if you installed libpcap from source, did you also do "make install-incl",

[Wireshark-dev] RPM build fails

2007-09-20 Thread atdev.queries
Hello , I 've created a dissector ( test disector ) and added it successfully into wireshark source . The dissector depends upon certain libraries , which I have included in the plugin/test directory My code compiles ( make is successful ) and I'm able to do 'make install' too . And the disse

[Wireshark-dev] rpm build fails

2007-09-20 Thread atdev.queries
Hello , I 've created a dissector ( test disector ) and added it successfully into wireshark source . The dissector depends upon certain libraries , which I have included in the plugin/test directory My code compiles ( make is successful ) and I'm able to do 'make install' too . And the disse