Re: [Wireshark-dev] [Wireshark-commits] rev 27844: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-dect.c

2009-03-25 Thread Joerg Mayer
On Tue, Mar 24, 2009 at 06:08:43PM -0700, Guy Harris wrote:
 or, as translate.google.com says:
 
  I further noted that the b-field is not displayed correctly.
  Either g_snprintf broken, or we are unable to both the
  function to use.
  The string is made from 16x% .2 x + spaces together what
  My calculations of a maximum length of 144 characters + null byte  
  follows.
  therefore I have the string variable to 145 high and use again
  sprintf. here the patch to do so.
 
 So what was g_snprintf() doing that was wrong?  (The second argument  
 was correct in the calls - the total length of the buffer should be  
 passed, as that length includes the terminating null byte.)  And what  
 version of GLib was he using?

The problem seems to be that only the last two characters are shown instead
of the full length string. A problem with g_snprintf may be that it
doesn't like to use a rhs argument as its lhs result. sprintf supports
that.

 ciao
 Joerg
-- 
Joerg Mayer   jma...@loplof.de
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] [Wireshark-commits] rev27844: /trunk/epan/dissectors/ /trunk/epan/dissectors/:packet-dect.c

2009-03-25 Thread Anders Broman
 

-Original Message-
From: wireshark-dev-boun...@wireshark.org
[mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Joerg Mayer
Sent: den 25 mars 2009 10:24
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] [Wireshark-commits] rev27844:
/trunk/epan/dissectors/ /trunk/epan/dissectors/:packet-dect.c

On Tue, Mar 24, 2009 at 06:08:43PM -0700, Guy Harris wrote:
 or, as translate.google.com says:
 
  I further noted that the b-field is not displayed correctly.
  Either g_snprintf broken, or we are unable to both the function to 
  use.
  The string is made from 16x% .2 x + spaces together what My 
  calculations of a maximum length of 144 characters + null byte 
  follows.
  therefore I have the string variable to 145 high and use again 
  sprintf. here the patch to do so.
 
 So what was g_snprintf() doing that was wrong?  (The second argument 
 was correct in the calls - the total length of the buffer should be 
 passed, as that length includes the terminating null byte.)  And what

 version of GLib was he using?

The problem seems to be that only the last two characters are shown
instead of the full length string. A problem with g_snprintf may be that
it doesn't like to use a rhs argument as its lhs result. sprintf
supports that.

 ciao
 Joerg
Unfortunatly we have marked sprintf as 'depriceated'
Error: Found prohibited APIs in packet-dect.c: sprintf

Regards
Anders


___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 
mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


[Wireshark-dev] Trouble integrating plugins on wireshark 1.0.6

2009-03-25 Thread CORDUNIANU LAVINIA
Hello all,
I want to implement my plugins with the new wireshark 1.0.6 source. I've
done this following all the steps suggested on README.plugins. 
My problem is that when I start Wireshark I get a series of error
messages listed below indicating that some of the plug-in modules could
not be loaded. The C-code works fine (no plug in module errors) when
compiled and run and also the same plugins work fine with wireshark
1.0.0 .

I would greatly appreciate it if someone could take a look at the below
errors:
Couldn't load module
 /usr/local/install//lib/wireshark/plugins/1.0.6/interwac.so:
/usr/local/install//lib/wireshark/plugins/1.0.6/interwac.so:  undefined
symbol: bitbuf_attach_tvb
Couldn't load module
/usr/local/install//lib/wireshark/plugins/1.0.6/mac.so:
/usr/local/install//lib/wireshark/plugins/1.0.6/mac.so: undefined
symbol: bitbuf_read_at_offset

Thanks in advance for your help.
Lavinia.

___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Re: [Wireshark-dev] [Wireshark-commits] rev 27844: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-dect.c

2009-03-25 Thread Guy Harris

On Mar 25, 2009, at 2:23 AM, Joerg Mayer wrote:

 The problem seems to be that only the last two characters are shown  
 instead
 of the full length string. A problem with g_snprintf may be that it
 doesn't like to use a rhs argument as its lhs result.

Not that you should be doing that anyway.

What they're doing is attempting to append to a string buffer.

There's a somewhat ugly idiom, used in a number of places, to do that  
with g_snprintf(); it's probably faster, as you don't have to copy the  
string on top of itself.

Then again, if they want capital letters for hex digits, they could  
just use bytes_to_str() in most if not all of those cases, and if they  
want lower-case letters, they could use bytestring_to_str().  (Yes,  
having all those routines for this is overkill.)
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] [Wireshark-commits] rev 27844: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-dect.c

2009-03-25 Thread Joerg Mayer
On Wed, Mar 25, 2009 at 02:46:36AM -0700, Guy Harris wrote:
 On Mar 25, 2009, at 2:23 AM, Joerg Mayer wrote:
 
  The problem seems to be that only the last two characters are shown  
  instead
  of the full length string. A problem with g_snprintf may be that it
  doesn't like to use a rhs argument as its lhs result.
 
 Not that you should be doing that anyway.
 
 What they're doing is attempting to append to a string buffer.
 
 There's a somewhat ugly idiom, used in a number of places, to do that  
 with g_snprintf(); it's probably faster, as you don't have to copy the  
 string on top of itself.
 
 Then again, if they want capital letters for hex digits, they could  
 just use bytes_to_str() in most if not all of those cases, and if they  
 want lower-case letters, they could use bytestring_to_str().  (Yes,  
 having all those routines for this is overkill.)

I'll take a look at it tonight and somewhat rewrite that loop (which is
currently O(n^2) and should be O(n) anyway).

 Ciao
Joerg
-- 
Joerg Mayer   jma...@loplof.de
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] Trouble integrating plugins on wireshark 1.0.6

2009-03-25 Thread BARILLY YANN
Hi, 
 
If you are working with MSVC2008EE, it might be the problem I have met.
The compilation is not able to make valuable .dll and .dll.manifest
I went back to MSVC2005EE.
 
Look at these mails, if you find an answer : 
http://www.wireshark.org/lists/wireshark-dev/200811/msg00012.html
 
Yann


From: wireshark-dev-boun...@wireshark.org
[mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of CORDUNIANU
LAVINIA
Sent: Wednesday, March 25, 2009 10:42 AM
To: wireshark-dev@wireshark.org
Subject: [Wireshark-dev] Trouble integrating plugins on wireshark 1.0.6



Hello all, 
I want to implement my plugins with the new wireshark 1.0.6 source. I've
done this following all the steps suggested on README.plugins. 

My problem is that when I start Wireshark I get a series of error
messages listed below indicating that some of the plug-in modules could
not be loaded. The C-code works fine (no plug in module errors) when
compiled and run and also the same plugins work fine with wireshark
1.0.0 .

I would greatly appreciate it if someone could take a look at the below
errors: 
Couldn't load module 
 /usr/local/install//lib/wireshark/plugins/1.0.6/interwac.so:
/usr/local/install//lib/wireshark/plugins/1.0.6/interwac.so:  undefined
symbol: bitbuf_attach_tvb

Couldn't load module 
/usr/local/install//lib/wireshark/plugins/1.0.6/mac.so:
/usr/local/install//lib/wireshark/plugins/1.0.6/mac.so: undefined
symbol: bitbuf_read_at_offset

Thanks in advance for your help. 
Lavinia. 

___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

[Wireshark-dev] UAT access from within the registration functions

2009-03-25 Thread Abhik Sarkar
Hi All,

I want to read some data from a UAT while I am still in the registration
functions. Going through the documentation and the code, it seems that all
UAT tables are loaded when preferences are being read, and that if some
registration needs to be done after preferences have been loaded, then it
should be from inside proto_reg_handoff_protoname. My questions are:
- is my understanding correct?
- if not, is what I am trying to do possible at all?
I am trying to revise the patch which I submitted originally for
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3242

Thanks,
Abhik.
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Re: [Wireshark-dev] Memory Leak

2009-03-25 Thread gogrady
Hmm, we'll this is the first time i am working with memory and am just learning 
all about it. In those examples they seem to allocate and free in the same 
function, but i cant do that. In my dll i have one function that allocates 
memory and passes a char * back to the dissector to set a variable with it, 
then i have another function that frees it in the dll (pass it the char * and 
free it with free((void *)variable);) but that also gives me an error, so i'm 
not sure how and where to free the memory.

Greg


 Gianluca Varenni gianluca.vare...@cacetech.com wrote: 

=
If the memory is allocated within the DLL, it should be freed from within 
the DLL (i.e. you should provide a function exported by the DLL to free such 
memory).

Allocating memory with malloc in a DLL and free'ing it from outside the DLL 
is bad mojo.

http://msdn.microsoft.com/en-us/library/ms235460(VS.80).aspx

Have a nice day
GV

- Original Message - 
From: gogr...@wi.rr.com
To: wireshark-dev@wireshark.org
Sent: Tuesday, March 24, 2009 9:57 AM
Subject: [Wireshark-dev] Memory Leak


 Hi all,

 So in my dissector, i call a dll that allocates memory for information to 
 be returned back for output, but when i try and free the memory, i get an 
 error. I was wondering what the scope of the memory would be and where i 
 should free it, maybe i'm freeing it wrong. I allocate it in my dll after 
 if(tree) and free it at the end of the if statement. This is how i 
 allocate:

 char * change = (char *)malloc(string.GetLength()+1);
 memset(change,0,string.GetLength()+1);
 ::strncpy_s(change, string.GetLength()+1, string, string.GetLength());
 return change;

 and i just want to use free(variable); but i get:

 HEAP[wireshark.exe]: Invalid Address specified to RtlFreeHeap( 027E, 
 05E8F998 )
 Windows has triggered a breakpoint in wireshark.exe.

 This may be due to a corruption of the heap, which indicates a bug in 
 wireshark.exe or any of the DLLs it has loaded.

 This may also be due to the user pressing F12 while wireshark.exe has 
 focus.

 The output window may have more diagnostic information.

 pointing to the:
 ::strncpy_s(change, string.GetLength()+1, string, string.GetLength());
 line

 Thanks for any help,

 Greg
 ___
 Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
 Archives:http://www.wireshark.org/lists/wireshark-dev
 Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe 

___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] Trouble integrating plugins on wireshark 1.0.6

2009-03-25 Thread CORDUNIANU LAVINIA
 
Hello,

Thanks for the prompt reply. 

I actually forgot to mention that the problem appears on Linux (Centos).

Lavinia.



From: wireshark-dev-boun...@wireshark.org
[mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of BARILLY YANN
Sent: Wednesday, March 25, 2009 12:06 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Trouble integrating plugins on wireshark
1.0.6


Hi, 
 
If you are working with MSVC2008EE, it might be the problem I have met.
The compilation is not able to make valuable .dll and .dll.manifest
I went back to MSVC2005EE.
 
Look at these mails, if you find an answer : 
http://www.wireshark.org/lists/wireshark-dev/200811/msg00012.html
 
Yann


From: wireshark-dev-boun...@wireshark.org
[mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of CORDUNIANU
LAVINIA
Sent: Wednesday, March 25, 2009 10:42 AM
To: wireshark-dev@wireshark.org
Subject: [Wireshark-dev] Trouble integrating plugins on wireshark 1.0.6



Hello all, 
I want to implement my plugins with the new wireshark 1.0.6 source. I've
done this following all the steps suggested on README.plugins. 

My problem is that when I start Wireshark I get a series of error
messages listed below indicating that some of the plug-in modules could
not be loaded. The C-code works fine (no plug in module errors) when
compiled and run and also the same plugins work fine with wireshark
1.0.0 .

I would greatly appreciate it if someone could take a look at the below
errors: 
Couldn't load module 
 /usr/local/install//lib/wireshark/plugins/1.0.6/interwac.so:
/usr/local/install//lib/wireshark/plugins/1.0.6/interwac.so:  undefined
symbol: bitbuf_attach_tvb

Couldn't load module 
/usr/local/install//lib/wireshark/plugins/1.0.6/mac.so:
/usr/local/install//lib/wireshark/plugins/1.0.6/mac.so: undefined
symbol: bitbuf_read_at_offset

Thanks in advance for your help. 
Lavinia. 

___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Re: [Wireshark-dev] Memory Leak

2009-03-25 Thread Andy Lawman
Isn't your DLL written in C++? You're not mixing new  free are you? 
Storage got with new must be returned with delete, new [ ] with delete [ ] 
but only malloc() with free().

Andy. 




gogr...@wi.rr.com 
To
Developer support list for Wireshark wireshark-dev@wireshark.org
cc

bcc

Subject
Re: [Wireshark-dev] Memory Leak





gogr...@wi.rr.com
Please respond to : Developer support list for Wireshark 
wireshark-dev@wireshark.org
Sent by: wireshark-dev-boun...@wireshark.org 
25/03/2009 14:22


Hmm, we'll this is the first time i am working with memory and am just 
learning all about it. In those examples they seem to allocate and free in 
the same function, but i cant do that. In my dll i have one function that 
allocates memory and passes a char * back to the dissector to set a 
variable with it, then i have another function that frees it in the dll 
(pass it the char * and free it with free((void *)variable);) but that 
also gives me an error, so i'm not sure how and where to free the memory.

Greg


 Gianluca Varenni gianluca.vare...@cacetech.com wrote: 

=
If the memory is allocated within the DLL, it should be freed from within 
the DLL (i.e. you should provide a function exported by the DLL to free 
such 
memory).

Allocating memory with malloc in a DLL and free'ing it from outside the 
DLL 
is bad mojo.

http://msdn.microsoft.com/en-us/library/ms235460(VS.80).aspx

Have a nice day
GV

- Original Message - 
From: gogr...@wi.rr.com
To: wireshark-dev@wireshark.org
Sent: Tuesday, March 24, 2009 9:57 AM
Subject: [Wireshark-dev] Memory Leak


 Hi all,

 So in my dissector, i call a dll that allocates memory for information 
to 
 be returned back for output, but when i try and free the memory, i get 
an 
 error. I was wondering what the scope of the memory would be and where i 

 should free it, maybe i'm freeing it wrong. I allocate it in my dll 
after 
 if(tree) and free it at the end of the if statement. This is how i 
 allocate:

 char * change = (char *)malloc(string.GetLength()+1);
 memset(change,0,string.GetLength()+1);
 ::strncpy_s(change, string.GetLength()+1, string, string.GetLength());
 return change;

 and i just want to use free(variable); but i get:

 HEAP[wireshark.exe]: Invalid Address specified to RtlFreeHeap( 027E, 

 05E8F998 )
 Windows has triggered a breakpoint in wireshark.exe.

 This may be due to a corruption of the heap, which indicates a bug in 
 wireshark.exe or any of the DLLs it has loaded.

 This may also be due to the user pressing F12 while wireshark.exe has 
 focus.

 The output window may have more diagnostic information.

 pointing to the:
 ::strncpy_s(change, string.GetLength()+1, string, string.GetLength());
 line

 Thanks for any help,

 Greg
 
___
 Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
 Archives:http://www.wireshark.org/lists/wireshark-dev
 Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 
mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe 

___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 
mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 
mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe





IMPORTANT - CONFIDENTIALITY NOTICE - This e-mail is intended only for the 
use of the addressee/s above.  It may contain information which is 
privileged, confidential or otherwise protected from disclosure under 
applicable laws.  If the reader of this transmission is not the intended 
recipient, you are hereby notified that any dissemination, printing, 
distribution, copying, disclosure or the taking of any action in reliance 
on the contents of this information is strictly prohibited.  If you have 
received this transmission in error, please immediately notify us by reply 
e-mail or using the address below and delete the message and any 
attachments from your system. 

Amadeus Services Ltd, World Business Centre 3, 1208 Newall Road, Hounslow, 
Middlesex, TW6 2TA, Registered number 4040059___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Re: [Wireshark-dev] Memory Leak

2009-03-25 Thread gogrady
Hi Andy,

Yes it is written in C++, everytime i have new, i use delete in the same 
function in the dll. I have a function that uses malloc for a char * to return 
to the dissector setting a char * variable to use in proto_tree_add_text and 
then i want to send it back to the dll to a function that is:

void ReleaseBuffer( void * buffer )
{
 free(buffer);
}

casting the char * in the dissector call to this dll function.

Greg
 
 Andy Lawman alaw...@amadeus.com wrote: 

=
Isn't your DLL written in C++? You're not mixing new  free are you? 
Storage got with new must be returned with delete, new [ ] with delete [ ] 
but only malloc() with free().

Andy. 




gogr...@wi.rr.com 
To
Developer support list for Wireshark wireshark-dev@wireshark.org
cc

bcc

Subject
Re: [Wireshark-dev] Memory Leak





gogr...@wi.rr.com
Please respond to : Developer support list for Wireshark 
wireshark-dev@wireshark.org
Sent by: wireshark-dev-boun...@wireshark.org 
25/03/2009 14:22


Hmm, we'll this is the first time i am working with memory and am just 
learning all about it. In those examples they seem to allocate and free in 
the same function, but i cant do that. In my dll i have one function that 
allocates memory and passes a char * back to the dissector to set a 
variable with it, then i have another function that frees it in the dll 
(pass it the char * and free it with free((void *)variable);) but that 
also gives me an error, so i'm not sure how and where to free the memory.

Greg


 Gianluca Varenni gianluca.vare...@cacetech.com wrote: 

=
If the memory is allocated within the DLL, it should be freed from within 
the DLL (i.e. you should provide a function exported by the DLL to free 
such 
memory).

Allocating memory with malloc in a DLL and free'ing it from outside the 
DLL 
is bad mojo.

http://msdn.microsoft.com/en-us/library/ms235460(VS.80).aspx

Have a nice day
GV

- Original Message - 
From: gogr...@wi.rr.com
To: wireshark-dev@wireshark.org
Sent: Tuesday, March 24, 2009 9:57 AM
Subject: [Wireshark-dev] Memory Leak


 Hi all,

 So in my dissector, i call a dll that allocates memory for information 
to 
 be returned back for output, but when i try and free the memory, i get 
an 
 error. I was wondering what the scope of the memory would be and where i 

 should free it, maybe i'm freeing it wrong. I allocate it in my dll 
after 
 if(tree) and free it at the end of the if statement. This is how i 
 allocate:

 char * change = (char *)malloc(string.GetLength()+1);
 memset(change,0,string.GetLength()+1);
 ::strncpy_s(change, string.GetLength()+1, string, string.GetLength());
 return change;

 and i just want to use free(variable); but i get:

 HEAP[wireshark.exe]: Invalid Address specified to RtlFreeHeap( 027E, 

 05E8F998 )
 Windows has triggered a breakpoint in wireshark.exe.

 This may be due to a corruption of the heap, which indicates a bug in 
 wireshark.exe or any of the DLLs it has loaded.

 This may also be due to the user pressing F12 while wireshark.exe has 
 focus.

 The output window may have more diagnostic information.

 pointing to the:
 ::strncpy_s(change, string.GetLength()+1, string, string.GetLength());
 line

 Thanks for any help,

 Greg
 
___
 Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
 Archives:http://www.wireshark.org/lists/wireshark-dev
 Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 
mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe 

___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 
mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 
mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe





IMPORTANT - CONFIDENTIALITY NOTICE - This e-mail is intended only for the 
use of the addressee/s above.  It may contain information which is 
privileged, confidential or otherwise protected from disclosure under 
applicable laws.  If the reader of this transmission is not the intended 
recipient, you are hereby notified that any dissemination, printing, 
distribution, copying, disclosure or the taking of any action in reliance 
on the contents of this information is strictly prohibited.  If you have 
received this transmission in error, please immediately notify us by reply 
e-mail or using the address below and delete the message and any 
attachments from your system. 

Amadeus Services 

[Wireshark-dev] Problem with 1.1.3 sources - native-nmake

2009-03-25 Thread Carlos G Mendioroz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
somehow the 1.1.3 windows binary is missing the IAX2 analysis code from
my bug 3217. In finding what did I do wrong, I downloaded 1.1.3 sources
and tried a fresh compile, which ended shortly with a call from
tools/Makefile.nmake of ../native-nmake which is not there in the tar
file. (lemon build rule)

After fixing that [changed native-nmake to $(MAKE)], I had to manually
make lemon cause nmake somehow did not. (that sounds like the reason
the missing native-nmake was there in the first place, overflown command
line ?)

And after that I discovered why the menu does not show up.
The call to register_tap_listener_iax2_analysis() is missing
from wireshark-tap-register.c! Which is distributed and not
cleared by make distclean.

Further investigation revealed that the reason is that
gtk/Makefile.common has iax2_analysis.c in WIRESHARK_GTK_SRC
instead of WIRESHARK_TAP_SRC.

What should I do ?
- --
Carlos G Mendioroz  t...@acm.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEUEARECAAYFAknKwJQACgkQ7qM4U9dTH3975QCdFGASmY4kJSsiqlIB/0JPlzXe
E+UAmIBjBKltNshnQvdUtNc3bx/wjhk=
=44Ne
-END PGP SIGNATURE-
___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


[Wireshark-dev] HTTP reassembly?

2009-03-25 Thread Yang Ning
I noticed that for the http dissection, The http OK message is displayed at the 
end of stream as opposed to the begginning. 

Can someone point me in the right direction as to how wireshark is doing this? 

Where is the reassembly information is being stored? and where is the 
reassembly is taking place(tcp or http?) Where is it keeping track of all this? 
(pinfo?)





___
Sent via:Wireshark-dev mailing list wireshark-dev@wireshark.org
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe