[Wireshark-dev] changing the time

2013-01-30 Thread Natalie Shapira
Hi everybody, It's my first question so, nice to meet you! I'm writing new dissector (plugin). I want to change the time of the packet. I tried to change pinfo->fd->rel_ts.secs and pinfo->fd->rel_ts.nsecs. It looks like I did it BUT, after sorting, not all packets are in the exact place. Do you

Re: [Wireshark-dev] changing the time

2013-01-30 Thread Anders Broman
Hi, Those are the timestamps of packet arrival there should be no need to change them from a dissector - sounds like a bad idea to me. Regards Anders From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Natalie Shapi

Re: [Wireshark-dev] changing the time

2013-01-30 Thread Natalie Shapira
I have no choice. It's a workaround for a hardware bug. On Wed, Jan 30, 2013 at 11:05 AM, Anders Broman wrote: > ** > Hi, > Those are the timestamps of packet arrival there should be no need to > change them from a dissector - sounds like a bad idea to me. > Regards > Anders > >

Re: [Wireshark-dev] changing the time

2013-01-30 Thread Natalie Shapira
Anyway, you gave me other idea. What about making new column of my_timestamp and sort by that column... Do I have the ability to add a new column from a dissector? On Wed, Jan 30, 2013 at 11:46 AM, Natalie Shapira wrote: > I have no choice. It's a workaround for a hardware bug. > > On Wed, Jan 3

Re: [Wireshark-dev] changing the time

2013-01-30 Thread Evan Huus
You can add the new timestamp as a regular dissected field. Wireshark allows you to create columns out of arbitrary fields in dissected packets. Cheers, Evan On Wed, Jan 30, 2013 at 4:51 AM, Natalie Shapira wrote: > Anyway, you gave me other idea. What about making new column of my_timestamp > a

[Wireshark-dev] Permission to use the icon

2013-01-30 Thread Evgeny
Hello We work on Windows Package Manager ( http://code.google.com/p/windows-package-manager/) released under GNU GPL license. It helps to find and install software, keep a system up-to-date and uninstall it if no longer necessary. I'd like to ask for permission to copy the 'Wireshark' icon (wires

[Wireshark-dev] Having issues with wireshark dissector installation

2013-01-30 Thread Arshad
Hello, I am a newbie to programming. I am having issues with compiling the a basic dissector that I created as per the developer guide. I have the code but I am not able to compile it. I tried the steps to build it, but having issues with compiling it. I tried from WIndows to compile it and follow

Re: [Wireshark-dev] Having issues with wireshark dissector installation

2013-01-30 Thread Graham Bloice
On 30 January 2013 17:10, Arshad wrote: > Hello, > > I am a newbie to programming. I am having issues with compiling the a > basic dissector that I created as per the developer guide. I have the code > but I am not able to compile it. I tried the steps to build it, but having > issues with compil

Re: [Wireshark-dev] Having issues with wireshark dissector installation

2013-01-30 Thread Ed Beroset
-Original Message- >From: Graham Bloice >Sent: Jan 30, 2013 12:41 PM >To: Developer support list for Wireshark >Subject: Re: [Wireshark-dev] Having issues with wireshark dissector >installation > >On 30 January 2013 17:10, Arshad wrote: > >> Hello, >> >> I am a newbie to programmi

Re: [Wireshark-dev] Having issues with wireshark dissector installation

2013-01-30 Thread Arshad
Thanks! I will try those. In the mean time can I get some information on how to implement the same in Ubuntu environment? Thanks On Wed, Jan 30, 2013 at 11:55 AM, Ed Beroset wrote: > > > > -Original Message- > >From: Graham Bloice > >Sent: Jan 30, 2013 12:41 PM > >To: Developer suppor

Re: [Wireshark-dev] Having issues with wireshark dissector installation

2013-01-30 Thread Graham Bloice
On 30 January 2013 18:00, Arshad wrote: > Thanks! I will try those. In the mean time can I get some information on > how to implement the same in Ubuntu environment? > > Thanks > > > What doesn't work? I haven't tried it but I think you make make sure all the build requirements are there by usin

[Wireshark-dev] Win7 - 64 bit build

2013-01-30 Thread Alex Lindberg
I was having issues compiling a x64 build of Wireshark on a Win7x64 bit PC.  I followed the instructions to the letter as referenced in the Win build page:     http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html All to no avail.  After reinstalling several times and googling for mo

[Wireshark-dev] A very minor Q re checkAPIs '"name for hf... has trailing space ...' error checking

2013-01-30 Thread Bill Meier
I've been doing a small update to checkAPIs.pl. Among other things: I changed the code to remove comments from the source code string before calling check_hf_entries() since the check doesn't detect an hf... entry if it contains a comment. I now get: Error: the name for hf_ppi_vector_rot_x

Re: [Wireshark-dev] A very minor Q re checkAPIs '"name for hf... has trailing space ...' error checking

2013-01-30 Thread Evan Huus
On Wed, Jan 30, 2013 at 6:38 PM, Bill Meier wrote: > I've been doing a small update to checkAPIs.pl. > > Among other things: I changed the code to remove comments from the source > code string before calling check_hf_entries() since the check doesn't detect > an hf... entry if it contains a commen

Re: [Wireshark-dev] Win7 - 64 bit build

2013-01-30 Thread Ed Beroset
Alex Lindberg wrote: I was having issues compiling a x64 build of Wireshark on a Win7x64 bit PC. I followed the instructions to the letter as referenced in the Win build page: http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html All to no avail. After reinstalling several t

Re: [Wireshark-dev] [Wireshark-commits] rev 47381: /trunk-1.8/epan/dissectors/ /trunk-1.8/epan/dissectors/: packet-tcp.c

2013-01-30 Thread Evan Huus
Two points of interest here: - The original fix in trunk was a coverity fix and wasn't backported at the time (I assume) because it wasn't known to fix an actual crash. Should we have some sort of policy to avoid this, by e.g. backporting fixes for all coverity issues when possible? - The exact c

Re: [Wireshark-dev] changing the time

2013-01-30 Thread Natalie Shapira
Thanks. Eventually I override pinfo->fd->rel_ts pinfo->fd->del_dis_ts It looks good. If I would have problems again, I will create separate column. BTW, can you think about dissector who did it (adding column)? so I could use it as an example.. Natalie. On Wed, Jan 30, 2013 at 2:44 PM, Evan Huu