[Wireshark-dev] my dissector breaks with updated 1.6 source and libs

2011-07-08 Thread Brian Oleksa
Wiresharkers I have updated to the latest sources today as well as the latest libs. I put my dissector in place and it crashes. It ran just fine on 1.4.X What are the major changes...?? WHY is this always a problem. Where can I get help with fixing my problems..?? Thanks, Brian ___

[Wireshark-dev] basic data type question

2011-05-23 Thread Brian Oleksa
If I have a field that I am trying to dissect that has a max field size of 8192 bits. What data structure should I put this into..?? Perhaps FT_BYTES, FT_UINT_BYTES . Thanks, Brian ___ Sent via:Wireshark-

Re: [Wireshark-dev] dissecting bit

2011-05-18 Thread Brian Oleksa
hanks, Brian On 5/18/2011 3:55 PM, Chris Maynard wrote: Brian Oleksa writes: It is good to know not to waste my time anymore with the proto_tree_add_bits_item() anymore. Well, you could fix bug 4478, then it wouldn't be a waste, assuming your data is little-endian with MSB 0 bit orderin

Re: [Wireshark-dev] dissecting bit

2011-05-18 Thread Brian Oleksa
{ "GPI", "vmf.gpi", FT_UINT8, BASE_DEC, NULL, 0x80, NULL, HFILL}}, Thanks, Brian On 5/18/2011 11:06 AM, Chris Maynard wrote: Brian Oleksa writes: I am trying to dissect bits but am running into a problem when bytes start to over lap (meaning the bit sets

Re: [Wireshark-dev] dissecting bit

2011-05-18 Thread Brian Oleksa
wrote: On Wed, May 18, 2011 at 10:19:36AM -0400, Brian Oleksa wrote: Below is all the my current code base and screen shots. Also attached is the layout of the packet: Please don't write in HTML and don't send screenshots to the mailing list, it might be only 323 kB or 100 kB, bu

Re: [Wireshark-dev] dissecting bit

2011-05-18 Thread Brian Oleksa
NULL, HFILL}}, { &hf_vmf_fpi, { "FPI", "vmf.fpi", FT_UINT8, BASE_DEC, NULL, 0x10, NULL, HFILL}}, { &hf_vmf_gpi, { "GPI", "vmf.gpi", FT_UINT8, BASE_DEC, NULL, 0x80, NULL, HFILL}},

[Wireshark-dev] wireshark dev e-mail list

2011-05-17 Thread Brian Oleksa
Is the wireshark dev e-mail list down..?? Just wondering. Thanks, Brian ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/opt

Re: [Wireshark-dev] dissecting bits versus bytes

2011-05-09 Thread Brian Oleksa
kith On Sat, May 7, 2011, Brian Oleksa said: Anders Yes I was able to figure this out. <4 bits> <1 bit> <2 bits> <1 bit> 0xf 0x1 0x30x1 but then you have to shift the results: 0xf0 0x8 0x60x1 to make roo

Re: [Wireshark-dev] dissecting bits versus bytes

2011-05-06 Thread Brian Oleksa
x to the actual byte I am on, but the individual bit index as well. How would I do this within the wireshark code..? Thanks, Brian On 5/6/2011 11:23 AM, Anders Broman wrote: -Original Message- From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.o

Re: [Wireshark-dev] dissecting bits versus bytes

2011-05-06 Thread Brian Oleksa
(0x) Thanks, Brian On 5/6/2011 9:51 AM, Anders Broman wrote: -Original Message- From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Brian Oleksa Sent: den 6 maj 2011 15:22 To: Developer support list for Wireshark Subject: [Wireshark-de

[Wireshark-dev] dissecting bits versus bytes

2011-05-06 Thread Brian Oleksa
I am used to getting a spec sheet of a packet that needs to be dissected and most of the time each part of the packet is in bytes. For example: The first byte in the packet is the version number. So this is what I would do. proto_tree_add_item(myproto_sub_tree, hf_myproto_version, tvb,

[Wireshark-dev] network byte order

2011-05-05 Thread Brian Oleksa
Most network traffic is in network byte order and uses Big-Endian. I am trying to dissect a packet that uses Little-Endian. Before I write my own "bit decoder"...is there any built in functions that will "convert" Little-Endian to Big-Endian for me..?? Thanks, Brian ___

Re: [Wireshark-dev] Missing file from website

2011-03-17 Thread Brian Oleksa
Here are a couple of places you can try: http://www.oldversion.com/Wireshark.html#download http://www.oldapps.com/wireshark.php Thanks, Brian On 3/16/2011 12:44 PM, We The People wrote: May I ask were to obtain this required file please ? wireshark-setup-0.99.0.exe Reference: http://www.

Re: [Wireshark-dev] tree view structuring

2011-01-06 Thread Brian Oleksa
sageNumber, tvb, offset, 2, FALSE); offset += 2; //Last Known Transmitted Block for In Progress Message proto_tree_add_item(helen_sub_tree, hf_helen_lastKnownTranmittedBlockAlaresControl, tvb, offset, 4, FALSE);

Re: [Wireshark-dev] tree view structuring

2011-01-05 Thread Brian Oleksa
offset += 2; //Last Known Transmitted Block for In Progress Message proto_tree_add_item(helen_sub_tree, hf_helen_lastKnownTranmittedBlockAlaresControl, tvb, offset, 4, FALSE); offset += 4;

[Wireshark-dev] tree view structuring

2011-01-05 Thread Brian Oleksa
I would like to do a little bit more structuring with my tree views. Is it possible to have a tree within a tree..?? Right now I have alot of data within one packet. So when I expand the plus sign in wireshark I get a ton of data on the screen. I would like to break up some of this data and p

Re: [Wireshark-dev] formatting help

2011-01-05 Thread Brian Oleksa
Andy Thanks for the input. FT_GUID works great..!!! Brian On 1/5/2011 11:28 AM, news.gmane.com wrote: "Brian Oleksa" wrote in message news:4d24796b.4050...@darkcornersoftware.com... I would like to format a UUID that has a size of 16. Did you consider to use FT_GUID

[Wireshark-dev] formatting help

2011-01-05 Thread Brian Oleksa
Wiresharkers I would like to format a UUID that has a size of 16. I am currently doing it like this: (I am splitting them up for now) //Source Session Key proto_tree_add_item(helen_sub_tree, hf_helen_sessionkeyPart1, tvb, offset, 8, FALSE); offset += 8; //Source Session Key

Re: [Wireshark-dev] basic question

2010-11-01 Thread Brian Oleksa
Chris Thanks.I figured there was something else I was missing. So I guess I should use the following to grab 4 bytes..?? guint32 tvb_get_ntohl(tvbuff_t*, gint offset); Thanks, Brian On 11/1/2010 11:24 AM, Christopher Maynard wrote: > Brian Oleksa writes: > >> Will this wo

[Wireshark-dev] basic question

2010-11-01 Thread Brian Oleksa
Wiresharkers I have the following code (which works perfect): msecs_since_the_epoch = tvb_get_ntoh64(tvb, offset); t.secs = msecs_since_the_epoch / 1000; t.nsecs = (msecs_since_the_epoch % 1000)*100; /* milliseconds to nanosecon

Re: [Wireshark-dev] .so and .la files

2010-10-05 Thread Brian Oleksa
Eloy No problem. I removed the .la file and the dissector still seams to work just fine. I am going to deploy it without the .la file. Unless somebody else says differently. Thanks, Brian On 10/5/2010 2:04 PM, Eloy Paris wrote: > On 10/05/2010 01:57 PM, Eloy Paris wrote: > > [...] > >> Cu

[Wireshark-dev] .so and .la files

2010-10-05 Thread Brian Oleksa
I noticed in the /usr/local/lib/wireshark/plugin/1.4.0 directory that there is a protocol.so and a protocol.la file. I know the .so file is neededbut is the .la file needed..?? The reason I asked this...is because if I want to give my dissector to somebody to use on their machine..I need t

Re: [Wireshark-dev] building my dissector on linux

2010-10-05 Thread Brian Oleksa
> Did you add your dissector to the reqired files in Linux? > Compare with an existing plugin. > Regards > Anders > > -Original Message- > From: wireshark-dev-boun...@wireshark.org > [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Brian Oleksa > Sen

Re: [Wireshark-dev] building my dissector on linux

2010-10-05 Thread Brian Oleksa
is as this is a hack as well..?? Thanks, Brian On 10/5/2010 11:36 AM, Jeff Morriss wrote: > Brian Oleksa wrote: >>Jeff >> >> Yes...I just reran ./autogen.sh again (with my plugin in place) and I >> still get the same result. >> >> I did not overwrit

Re: [Wireshark-dev] building my dissector on linux

2010-10-05 Thread Brian Oleksa
cd into my dissector directory and do a make...I get the same error as last time. Any other thoughts is greatly appreciated. Thanks, Brian On 10/5/2010 10:44 AM, Jeff Morriss wrote: > Brian Oleksa wrote: >>Jeff >> >> This is exactly what I did. >> >> I go

Re: [Wireshark-dev] building my dissector on linux

2010-10-05 Thread Brian Oleksa
en with my dissector in the plugins director) when I start wireshark. Thanks for your help. Brian On 10/5/2010 9:02 AM, Jeff Morriss wrote: > Brian Oleksa wrote: >> Wiresharkers >> >> I got my dissector working just fine on Windows. Now I want to get it >> working o

[Wireshark-dev] building my dissector on linux

2010-10-04 Thread Brian Oleksa
Wiresharkers I got my dissector working just fine on Windows. Now I want to get it working on Linux. On my Linux machine, I got the latest sources and did the following: ./autogen.sh ./configure make make install Then I do a ./wireshark and wireshark starts up just fine. I tried to just copy

Re: [Wireshark-dev] error

2010-09-30 Thread Brian Oleksa
All I think I just found a potential problem. I was trying to run my dissector on wireshark version 1.4.0. I just downloaded and installed (win32) 1.2.11 and it worked fine. So why can't I use my dissector with version 1.4.0..?? Thanks, Brian On 9/30/2010 10:10 AM, Brian Oleksa

[Wireshark-dev] error

2010-09-30 Thread Brian Oleksa
All I got wireshark to build and my dissector builds just fine too. But when I go to run it, I get the following error: 10:04:33 Err Field 'System Tx Time' (helen.SystemTxTime) is a FT_ABS UTE_TIME but is being displayed as BASE_NONE instead of as a time Why does this code work on m

[Wireshark-dev] where is the best place to do the calculation

2010-07-21 Thread Brian Oleksa
Wiresharkers Where is the best place to do the calculation..?? I just put it in the proto_tree_add_item sectionbut I am getting an error. Here is the java code: double latitude = (double) BitByteUtil.getUnsignedInt(buffer) / 100 - 90.0; Here is my C (wireshark code): { &hf_

Re: [Wireshark-dev] Creating a Wireshark installer with my dissector in it

2010-06-11 Thread Brian Oleksa
e is available: > $ make rpm-package > > Personally I don't have experience with RPM packaging, so I'm not aware of > the > status of RPM support. But there have not been complaints, so I expect it to > work. > > Thanks, > Jaap > > On 06/10/2010 12:10

Re: [Wireshark-dev] Creating a Wireshark installer with my dissector in it

2010-06-10 Thread Brian Oleksa
rience with RPM packaging, so I'm not > aware of the > status of RPM support. But there have not been complaints, so I > expect it to work. > > Thanks, > Jaap > > On 06/10/2010 12:10 AM, Brian Oleksa wrote: > > > > Japp >

Re: [Wireshark-dev] Creating a Wireshark installer with my dissector in it

2010-06-09 Thread Brian Oleksa
t; debian-package > > Thanks, > Jaap > > On 06/09/2010 10:45 PM, Brian Oleksa wrote: > >> Gerald / All >> >> I got it to work. This is what I was missing. >> >> Add >> >> File "..\..\plugins\xxx\xxx.dll" >&g

Re: [Wireshark-dev] Creating a Wireshark installer with my dissector in it

2010-06-09 Thread Brian Oleksa
* Can an installer be made for Linux as well...?? Thanks, Brian Gerald Combs wrote: > Brian Oleksa wrote: > >> All >> >> I have created a wireshark dissector and it works great. When I am out >> in the field I like to use this dissector. But first I have to i

[Wireshark-dev] Creating a Wireshark installer with my dissector in it

2010-06-09 Thread Brian Oleksa
All I have created a wireshark dissector and it works great. When I am out in the field I like to use this dissector. But first I have to install wireshark on each laptop then drop my .dll in the plugins directory. I am just trying to cut out a step and create the installer with my dissector i

Re: [Wireshark-dev] time question

2010-04-08 Thread Brian Oleksa
offset += 4; Thanks, Brian Anders Broman wrote: > Brian Oleksa skrev 2010-04-08 16:41: > >> Wiresharkers >> >> I am trying to dissect the time in a particular packet. Here is it's format: >> >> "The time is the source compu

[Wireshark-dev] time question

2010-04-08 Thread Brian Oleksa
Wiresharkers I am trying to dissect the time in a particular packet. Here is it's format: "The time is the source computer's system time in Greenwich Mean Time (GMT)." The size is 32 bits or 4 bytes. What is the best method to use to dissect this time..?? I tired this...but did not have any l

[Wireshark-dev] basic question

2010-03-29 Thread Brian Oleksa
Wiresharkers I have been writing all my dissectors based on the port it will be broadcasting on. For example: static int global_test_port = 1; void proto_reg_handoff_test(void) { static gboolean isinitialized = FALSE; if (!isinitialized) { testdata_handle = find_di

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-25 Thread Brian Oleksa
do if it was null..?? Thanks, Brian Jakub Zawadzki wrote: > On Wed, Mar 24, 2010 at 09:59:36AM -0400, Brian Oleksa wrote: > >> So I did some more troubleshooting only to find the following: >> The dissector crashes in WinXP but not on my Fedora Core 9 box. This is >>

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-25 Thread Brian Oleksa
and fix regardless of whether you change your dissector > into a heuristic one or not. > > - Chris > > > -Original Message- > From: wireshark-dev-boun...@wireshark.org > [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Brian Oleksa > Sent: Thursday, Ma

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-25 Thread Brian Oleksa
ou to correctly display any new codes that your dissector > had not yet supported. Maybe you want to take a look at that too. > > - Chris > > > -Original Message- > From: wireshark-dev-boun...@wireshark.org > [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Br

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-24 Thread Brian Oleksa
Guy / Bill / Chris / Jakub / Mike So I did some more troubleshooting only to find the following: The dissector crashes in WinXP but not on my Fedora Core 9 box. This is weird. Using editcap... I was able to find the frame on windows to which wireshark crashed on (which was frame 17641). I ope

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-23 Thread Brian Oleksa
.. I will use the debugger. Thanks, Brian Bill Meier wrote: > Brian Oleksa wrote: > >> Bill >> >> Ok...so I found out that it crashes on frame 17641. >> >> It only took a couple of minuets to find it. But now what do I do with >> this info..?? >

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-23 Thread Brian Oleksa
Bill Ok...so I found out that it crashes on frame 17641. It only took a couple of minuets to find it. But now what do I do with this info..?? Thanks, Brian Bill Meier wrote: > Brian Oleksa wrote: > >> Bill >> >> Can you collaborate on this a little more..?? >&

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-23 Thread Brian Oleksa
..which is right around frame # 16813. For example: C:\wireshark\editcap test.pcap -r 16813-2 is this what you do..?? Thanks, Brian Bill Meier wrote: > Brian Oleksa wrote: > >> Guy >> >> The 70% that I can load has a bunch of helen packets in it and ever

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-23 Thread Brian Oleksa
to use the debugger to dig deeper into this one. Thanks, Brian Guy Harris wrote: > On Mar 23, 2010, at 5:40 PM, Brian Oleksa wrote: > > >> The snaplen was set to 150 when using tshark. >> I see a Frame that says (for example): Frame 7 (341 bytes on wire, >>

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-23 Thread Brian Oleksa
next step..?? Thanks for your help Brian Guy Harris wrote: > On Mar 21, 2010, at 9:14 PM, Brian Oleksa wrote: > > >> But I was able to run the pcap file and stop the loading process before >> it crashed and one thing that I noticed >> was in the info column it sai

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-23 Thread Brian Oleksa
acket capture). A dissector also needs to cope with this. > > Regards, Martin > > martinvisse...@gmail.com <mailto:martinvisse...@gmail.com> > > > On Wed, Mar 24, 2010 at 2:42 AM, Brian Oleksa > <mailto:olek...@darkcornersoftware.com>> wrote: > > Chris &g

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-23 Thread Brian Oleksa
nalyzer so I happily accept the > terms of the GPL. > > - Chris > > > -----Original Message- > From: wireshark-dev-boun...@wireshark.org > [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Brian Oleksa > Sent: Tuesday, March 23, 2010 11:42 AM > To: De

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-23 Thread Brian Oleksa
k-dev-boun...@wireshark.org] On Behalf Of Brian Oleksa Sent: 23 March 2010 12:23 To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Packet Size limited during capture message Chris I just found out that this was captured using tshark.but nobody knows what the snaplen was. So my qu

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-23 Thread Brian Oleksa
Chris I just found out that this was captured using tshark.but nobody knows what the snaplen was. So my questions is My code is working correctly thenAnd that this was just a bad judgment of the wrong snaplen..correct..?? Thanks, Brian Maynard, Chris wrote: > "Packet Size

Re: [Wireshark-dev] wireshark decode as..??

2010-03-22 Thread Brian Oleksa
uot;data"); helen_handle = create_dissector_handle(dissect_helen, proto_helen); dissector_add("udp.port", ports[i], helen_handle); } } initialized = TRUE; } wsgd wrote: > Perhaps you call create_dissector_handle for each port ? > > Olivier > &

Re: [Wireshark-dev] wireshark decode as..??

2010-03-22 Thread Brian Oleksa
202, 59203, 59204, 59205, 59206, 59207, 59209, 59210}; Is this a problem..?? How do I get around this..?? Thanks, Brian Guy Harris wrote: > On Mar 22, 2010, at 1:04 PM, Brian Oleksa wrote: > > >> When I right click on a packet and select decode asunder the >> transpor

[Wireshark-dev] wireshark decode as..??

2010-03-22 Thread Brian Oleksa
Wiresharkers When I right click on a packet and select decode asunder the transport tab... there is like 14 of my protocols in the selection box. (so I see the word HELEN 14 times in a row) Does anybody know why this is..?? Thanks, Brian _

Re: [Wireshark-dev] Packet Size limited during capture message

2010-03-22 Thread Brian Oleksa
Chris All I did was create this dissector. All of the customers (whom are running our software) use this dissector that I created. The customer has captured 1000's of packets using this dissector with no problem. They sent me this .pcap file and told me that it crashes and I noticed the "P

[Wireshark-dev] Packet Size limited during capture message

2010-03-21 Thread Brian Oleksa
Wiresharkers When I run a pcap file with my dissector in place wireshark crashes (win32.dll error). But I was able to run the pcap file and stop the loading process before it crashed and one thing that I noticed was in the info column it said "Packet Size limited during capture". I never saw

Re: [Wireshark-dev] malformed packet

2010-03-04 Thread Brian Oleksa
Jakub That worked..!! Thank you very much. Brian Jakub Zawadzki wrote: > On Wed, Mar 03, 2010 at 03:17:43PM -0500, Brian Oleksa wrote: > >> /* * BEGIN LICENSE BLOCK * >> * Version: DCSPL 1.1 >> * >> * The contents of this file are subject to t

Re: [Wireshark-dev] malformed packet

2010-03-03 Thread Brian Oleksa
wireshark-dev list? That way the changes of getting a response are greater since I am just not seeing what can be wrong :-( Cheers, Eloy Paris.- netexpect.org On 03/03/2010 03:13 PM, Brian Oleksa wrote: Eloy / Wiresharkers I think I may have narrowed down my malformed packet problembu

[Wireshark-dev] malformed packet

2010-03-02 Thread Brian Oleksa
Does anybody know why I am getting a malformed packet..?? The data in the wireshark gui looks perfect (I hard coded the packet so I am seeing what I am expecting to see)... but at the end of every packet there is this ugly pink "Malformed Packet". Anybody have any ideas..?? Thanks, Brian _

[Wireshark-dev] multiple dissectors

2010-02-18 Thread Brian Oleksa
Wiresharkers Right now I have basically 2 dissectors in one C file. For example: I havevoid dissect_test void dissect_test2 All in the same file called packet-testing.c Which means I have 2 of the following methods as well: void proto_reg_handoff_test(void) void proto_reg_han

Re: [Wireshark-dev] Malformed packet

2010-02-18 Thread Brian Oleksa
ave you or anybody seem this behavior in the past..?? Thanks, Brian Brian Oleksa wrote: > Mike > > Unfortunately.. I do not have a debugger available. > > It doesn't appear to be reading beyond the end of the packetbut > without a debugger handy... I am not sure how

Re: [Wireshark-dev] Malformed packet

2010-02-18 Thread Brian Oleksa
Message- > From: wireshark-dev-boun...@wireshark.org > [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Brian Oleksa > Sent: 18 February 2010 15:49 > To: Developer support list for Wireshark > Subject: [Wireshark-dev] Malformed packet > > > Why would I be getting a Malfor

[Wireshark-dev] Malformed packet

2010-02-18 Thread Brian Oleksa
Why would I be getting a Malformed Packet error..?? I wrote a dissector where I am dissecting several packets to which I am very happy with the outcome in the wireshark gui. I am getting exactly what I am expecting to get (as I hard coded the data in the packets). But at the end of every packe

Re: [Wireshark-dev] Dissector Portability

2010-02-17 Thread Brian Oleksa
came with distribution ,is there > a way to plugin this dissector into that machine.so that they need not > install wireshark again. > > Regards > Chiru > > On Wed, Feb 17, 2010 at 7:29 PM, Brian Oleksa > <mailto:olek...@darkcornersoftware.com>> wrote: > >

Re: [Wireshark-dev] Dissector Portability

2010-02-17 Thread Brian Oleksa
Chiru Yesif you developed your dissector on your local linux machine...once you compiled it... it will create a .so file. This .so file can be given to someone that is running Fedora with wireshark installed and they can then run your dissector. All they have to do is put the .so file in t

Re: [Wireshark-dev] dissection question

2010-02-16 Thread Brian Oleksa
, { &hf_helen_outgoingBytes, { "Outgoing Bytes", "helen.outgoingBytes", FT_FLOAT, BASE_DEC, NULL, 0x0, NULL, HFILL}}, }; static const value_string helen_router_status[] = { { 0, "Good"}, { 1, "Stale / Not

[Wireshark-dev] dissection question

2010-02-16 Thread Brian Oleksa
Hello All What I am really looking to do is the following: proto_tree_add_item(helen_sub_tree, hf_helen_routername, tvb, offset, *sizeofroutername*, FALSE); But putting in the "sizeofroutername" does not seem to work and does indeed through off the rest of the packet. When I "hardcode" the v

Re: [Wireshark-dev] preliminary code submission

2010-02-10 Thread Brian Oleksa
INT8, BASE_DEC, VALS(helen_gps_status), 0x00, "GPS Status", HFILL}}, [...] } void dissect_helen(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { [...] /* Status: */ if ((fieldsAvail & 1) != 0) { guint8 status; stat

Re: [Wireshark-dev] preliminary code submission

2010-02-03 Thread Brian Oleksa
need to fix my IDE to get the correct formatting. Perhaps once last quick look..?? Attached is the updated file. Thanks again for the great feedback..!! Brian Jakub Zawadzki wrote: Hi, On Wed, Feb 03, 2010 at 01:05:32PM -0500, Brian Oleksa wrote: Jakub Thanks for this feedback. It is

Re: [Wireshark-dev] preliminary code submission

2010-02-03 Thread Brian Oleksa
edback Brian Jakub Zawadzki wrote: Hi, On Wed, Feb 03, 2010 at 11:44:40AM -0500, Brian Oleksa wrote: Again... any feedback is appreciated. - Inconsistent indentation (you use sometimes \t sometimes spaces) - C++ comments style. - using value_string struct is more proper way

[Wireshark-dev] preliminary code submission

2010-02-03 Thread Brian Oleksa
Wiresharkers I have been plugging away on bringing my wireshark dissector up to specs to adhere to the wireshark coding standards. I appreciate all the help that was given to me via this wireshark developers mailing list. I believe that I am up to par with the coding specs and would like to

[Wireshark-dev] starting the actual packet counting using wireshark functions

2010-01-28 Thread Brian Oleksa
Wiresharkers I have stripped out alot of my own code and started to use the built in routines that is provided by wireshark. As you can see below... my original way of starting the packet counting process is not correct and I understand that it is not guaranteed to work for all tvbuffs. Which

[Wireshark-dev] duplicate outcome in tree

2010-01-27 Thread Brian Oleksa
Wiresharkers When I print out the ipv4 address in the tree... I get the following: IPv4: 192.168.2.8 (192.168.2.8) Why am I getting double ip addresses in the output..?? Here is my code: { &hf_helen_ipv4, { "IPv4", "helen.ipv4address", FT_IPv4, BASE_NONE, NULL, 0x0,

Re: [Wireshark-dev] ipv6 address help

2010-01-26 Thread Brian Oleksa
: > On 26. jan. 2010, at 20.57, Brian Oleksa wrote: > > >> I am now trying to do the same for ipv6 addresses (unfortunately.. I do >> not have a way to test it)but I would like to get the code in place. >> > > Why do you still use the _format_value func

[Wireshark-dev] ipv6 address help

2010-01-26 Thread Brian Oleksa
Wiresharkers I was able to successfully dissect my ipv4 address by using the built in routines. guint32 addr; addr = tvb_get_ipv4(tvb,offset); proto_tree_add_ipv4_format_value(helen_sub_tree, hf_helen_ipv4, tvb, offset, 4,

Re: [Wireshark-dev] filtering not working

2010-01-26 Thread Brian Oleksa
Thanks, Brian Stig Bjørlykke wrote: > On Tue, Jan 26, 2010 at 3:58 PM, Brian Oleksa > wrote: > >> proto_tree_add_string_format(helen_sub_tree, hf_helen_flowname, tvb, >> offset, 8, 0, >> "Flowname: %s", flowname); >> > > You feed proto

[Wireshark-dev] filtering not working

2010-01-26 Thread Brian Oleksa
Wiresharkers My filtering does come up in the GUI wireshark window (when I type in helen.)...but when I hit the "apply" button on (for example: ) helen.flowname =="SA_EX ".. I get no matches. Here is what I have in the code: static gint hf_helen_flowname = -1; static gint ett_helen_flowname

Re: [Wireshark-dev] string manipulation

2010-01-25 Thread Brian Oleksa
his hf_item look like..?? Would it look something like this..?? { &hf_helen_nos, { "nos", "helen.len", FT_UINT8, BASE_DEC, NULL, 0x0, "nos", HFILL}}, Thanks, Brian Guy Harris wrote: > On Jan 25, 2010, at 1:11 PM, Brian Ole

[Wireshark-dev] string manipulation

2010-01-25 Thread Brian Oleksa
snprintf) is greatly appreciated. Thanks, Brian Guy Harris wrote: > On Jan 21, 2010, at 11:59 AM, Brian Oleksa wrote: > > >> But how I start the initial counting process is I do the following: >> >> guint8 * ptr = (guint8*) tvb->real_data; >> >

Re: [Wireshark-dev] getting the time

2010-01-21 Thread Brian Oleksa
1:25 AM, Brian Oleksa wrote: It is a pointer into the data that I have constructed based on the data in the packet. So what do you have to do to the raw data in the packet to construct that buffer? ___ Sent via:Wi

Re: [Wireshark-dev] getting the time

2010-01-21 Thread Brian Oleksa
these bytes) I had to swap them first to make sense out of them. Thanks, Brian Guy Harris wrote: > On Jan 21, 2010, at 11:09 AM, Brian Oleksa wrote: > > >> It points to the actual byte that I am at (which is the beginning of the >> 8 bytes that I need for time). >>

Re: [Wireshark-dev] getting the time

2010-01-21 Thread Brian Oleksa
Guy It points to the actual byte that I am at (which is the beginning of the 8 bytes that I need for time). Does this help..?? Thanks, Brian Guy Harris wrote: > On Jan 21, 2010, at 10:57 AM, Brian Oleksa wrote: > > >>if ((fields

Re: [Wireshark-dev] getting the time

2010-01-21 Thread Brian Oleksa
tvb, offset, 8, 0, "TIME %d", t.secs); offset += 8; } Thanks, Brian Guy Harris wrote: > On Jan 20, 2010, at 1:34 PM, Brian Oleksa wrote: > > >> I forgot to add the format of the time stamp that

Re: [Wireshark-dev] getting the time

2010-01-20 Thread Brian Oleksa
Guy I just confirmed that this is UTC time. Sorry for the confusion. Thanks, Brian Guy Harris wrote: > On Jan 20, 2010, at 1:34 PM, Brian Oleksa wrote: > > >> I forgot to add the format of the time stamp that I am trying to get. >> >> ms since the epoch (jan 1

Re: [Wireshark-dev] getting the time

2010-01-20 Thread Brian Oleksa
rote: > On Jan 20, 2010, at 1:34 PM, Brian Oleksa wrote: > > >> I forgot to add the format of the time stamp that I am trying to get. >> >> ms since the epoch (jan 1, 1970) as a 8 byte network byte order integer >> >> Is there built in functions that can be

[Wireshark-dev] getting the time

2010-01-20 Thread Brian Oleksa
Sorry I forgot to add the format of the time stamp that I am trying to get. ms since the epoch (jan 1, 1970) as a 8 byte network byte order integer Is there built in functions that can be used..?? Thanks, Brian ___ Sent via

Re: [Wireshark-dev] how to submit code to wireshark..??

2010-01-19 Thread Brian Oleksa
Ulf Thank you for the reply. This is excellent news and I am glad to hear this. Thank you Brian Ulf Lamping wrote: > Am 20.01.2010 02:36, schrieb Brian Oleksa: > >> Japp and Chris >> >> Thank you for the reply. >> >> I really understand that you must f

Re: [Wireshark-dev] how to submit code to wireshark..??

2010-01-19 Thread Brian Oleksa
at way it won't get lost and can be reviewed and discussed when time > permits. > Mind you this means free time for the core developers, which sometimes is in > short supply. > > Further stuff is written in doc/README.developer, the Wiresrhark Developers > Guide and the Wiki. >

[Wireshark-dev] how to submit code to wireshark..??

2010-01-19 Thread Brian Oleksa
eventually like to have our dissector be included in the wireshark distribution when downloaded. Is this possible..?? If so.. what are the steps that need to be taken..?? Thank you Brian Oleksa Dark Corner Software LLC www.darkcornersoftware.com

[Wireshark-dev] submitting code to wireshark to be part of distribution

2010-01-12 Thread Brian Oleksa
eventually like to have our dissector be included in the wireshark distribution when downloaded. Is this possible..?? If so.. what are the steps that need to be taken..?? Thank you Brian Oleksa Dark Corner Software LLC www.darkcornersoftware.com

[Wireshark-dev] submitting code to wireshark to be part of distribution

2010-01-12 Thread Brian Oleksa
eventually like to have our dissector be included in the wireshark distribution when downloaded. Is this possible..?? If so.. what are the steps that need to be taken..?? Thank you Brian Oleksa Dark Corner Software LLC www.darkcornersoftware.com

Re: [Wireshark-dev] wireshark GUI vs tshark

2009-11-23 Thread Brian Oleksa
core developers have access to it. > > - Chris > > -Original Message- > From: wireshark-dev-boun...@wireshark.org > [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Brian Oleksa > Sent: Monday, November 23, 2009 12:59 PM > To: Developer support list

Re: [Wireshark-dev] wireshark GUI vs tshark

2009-11-23 Thread Brian Oleksa
blem was detected. That's why Chris asked you some > more questions on the whole situation. Maybe we can help you further when > you look into them. > > Thanks, > Jaap > > On Mon, 23 Nov 2009 12:02:17 -0500, Brian Oleksa > wrote: > >> Chris >> >> I

Re: [Wireshark-dev] wireshark GUI vs tshark

2009-11-23 Thread Brian Oleksa
included so the core developers can analyze the error and find & fix the bug. - Chris -Original Message- From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Brian Oleksa Sent: Sunday, November 22, 2009 10:49 PM To: Developer support

[Wireshark-dev] wireshark GUI vs tshark

2009-11-22 Thread Brian Oleksa
Wiresharkers When I use my dissector with the GUI... everything works fine. The pcap file that I load comes right up with NO problems. I can filter (ip.dst==x.x.x.x) with no problems. But if I try to open that same pcap file with tshark using the following command: tshark -nr test.pcap ip.ds

[Wireshark-dev] building wireshark question

2009-08-23 Thread Brian Oleksa
Wiresharkers... Has anybody had any success building a 64 bit version of wireshark on a 32 bit machine using the Visual Studio 2008 Enterprise Edition cross compilers..?? I am able to build my wireshark dissector on my 32 bit machine with no problem using "vcvars32.bat". But now I am running

[Wireshark-dev] How to compile win64 version of my dissector using cross compilers

2009-07-24 Thread Brian Oleksa
Wiresharkers. I got the latest wireshark source and I was able to successfully to build it. I was successfully able to build my dissector under this new build (*using win32*). What are the steps to make a win64 build of my dissector using the cross compilers..?? Here is what I have tried

Re: [Wireshark-dev] wireshark.exe fails when I click on it

2009-07-24 Thread Brian Oleksa
I got it to work...!!! I was trying to run wireshark from the main directory. I found this on the web. >When you want to run it from the build environment you'll have >to go into the >gtk2 build directory and run from there. Thanks for the help..!! Brian Brian Oleksa w

[Wireshark-dev] wireshark.exe fails when I click on it

2009-07-24 Thread Brian Oleksa
I just looked and libwireshark.dll and wiretap-0.3.1.dll are in my wireshark directory. (see errors below). Why are they not being found..? Any thoughts...? Thanks, Brian Brian Oleksa wrote: Gerald I did a "rebase" like you suggestedand did a build and it worked..!

Re: [Wireshark-dev] wireshark fails when I build it

2009-07-24 Thread Brian Oleksa
ther. Any thoughts...?? Thanks, Brian Gerald Combs wrote: Brian Oleksa wrote: Anyway.here is the error that I am getting: perl perlnoutf.pl make-authors-short.pl < ../AUTHORS > AUTHORS-SHORT 24275 [main] perl 3980 child_copy: linked dll data write copy failed, 0xBD2000

  1   2   >