Re: [Wireshark-dev] Decompress Data

2011-10-10 Thread Marcel Haas
On Fri, 7 Oct 2011 09:34:53 -0600, Stephen Fisher st...@stephen-fisher.com wrote: On Fri, Oct 07, 2011 at 11:31:24AM +0200, Marcel Haas wrote: I have some packets witch are compress witz zlib. I want to uncompress them. Take a look at the tvb_uncompress() or tvb_child_uncompress()

Re: [Wireshark-dev] Decompress Data

2011-10-10 Thread Marcel Haas
On Fri, 7 Oct 2011 09:34:53 -0600, Stephen Fisher st...@stephen-fisher.com wrote: On Fri, Oct 07, 2011 at 11:31:24AM +0200, Marcel Haas wrote: I have some packets witch are compress witz zlib. I want to uncompress them. Take a look at the tvb_uncompress() or tvb_child_uncompress()

[Wireshark-dev] Decompress Data

2011-10-07 Thread Marcel Haas
And i have the next problem. Damn wireshark kick my ass :) I have some packets witch are compress witz zlib. I want to uncompress them. I read the dev-guid about transformed data but i dont have a clue. I were testing some stuff but with no good result. Can someone help me with that ? thx and

Re: [Wireshark-dev] Decompress Data

2011-10-07 Thread Max Dmitrichenko
2011/10/7 Marcel Haas inf...@fh-worms.de: And i have the next problem. Damn wireshark kick my ass :) I have some packets witch are compress witz zlib. I want to uncompress them. I read the dev-guid about transformed data but i dont have a clue. I were testing some stuff but with no good

Re: [Wireshark-dev] Decompress Data

2011-10-07 Thread Marcel Haas
On Fri, 7 Oct 2011 13:51:13 +0400, Max Dmitrichenko dmitr...@gmail.com wrote: 2011/10/7 Marcel Haas inf...@fh-worms.de: And i have the next problem. Damn wireshark kick my ass :) I have some packets witch are compress witz zlib. I want to uncompress them. I read the dev-guid about transformed

Re: [Wireshark-dev] Decompress Data

2011-10-07 Thread fab12
I have a example from my plugin if it may help: unsigned char Ip_Buffer[2000]; /* Get the buffer bytes to decompress */ tvb_memcpy(tvb, Ip_Buffer, (*bitoffset)/8,lgpdubit/8); /* * Decompress it: * Decompressed buffer is output in Op_Buffer,

Re: [Wireshark-dev] Decompress Data

2011-10-07 Thread Marcel Haas
On Fri, 7 Oct 2011 13:21:15 +0200, fa...@freesurf.fr wrote: I have a example from my plugin if it may help: unsigned char Ip_Buffer[2000]; /* Get the buffer bytes to decompress */ tvb_memcpy(tvb, Ip_Buffer, (*bitoffset)/8,lgpdubit/8); /* * Decompress

Re: [Wireshark-dev] Decompress Data

2011-10-07 Thread Stephen Fisher
On Fri, Oct 07, 2011 at 11:31:24AM +0200, Marcel Haas wrote: I have some packets witch are compress witz zlib. I want to uncompress them. Take a look at the tvb_uncompress() or tvb_child_uncompress() functions in epan/tvbuff.c. An example of tvb_child_uncompress() is in the HTTP