Re: [Wireshark-dev] lua functions

2007-10-01 Thread Илья Куделин
thanx for answer. it's sound decoder Sorry but I been very busy lately. Most lua functions are just wrappers for functions of wireshark's API. Don't use the Lua wrappers, use the very same C functions they use instead, you can use the code in them instead! you can take the code in

Re: [Wireshark-dev] lua functions

2007-10-01 Thread Илья Куделин
Sorry but I been very busy lately. Most lua functions are just wrappers for functions of wireshark's API. Don't use the Lua wrappers, use the very same C functions they use instead, you can use the code in them instead! you can take the code in wslua_retap_packets() and

Re: [Wireshark-dev] lua functions

2007-10-01 Thread Luis EG Ontanon
You should use the functions the lua interface uses not the lua wrappers themselves. In the case of retap_packets you can call it as: cf_retap_packets(cfile, FALSE); But you should do that from a gui action *_stat.c in the gtk/ dir as it would only work in wireshark (it won't work for tshark).

Re: [Wireshark-dev] lua functions

2007-10-01 Thread Илья Куделин
In the case of retap_packets you can call it as: cf_retap_packets(cfile, FALSE); But you should do that from a gui action *_stat.c in the gtk/ dir as it would only work in wireshark (it won't work for tshark). in which lib i can fund this function. because, the compiler says

[Wireshark-dev] Repeated crashes after update to GTK 2.12.0

2007-10-01 Thread Peter Johansson
After having updated the GTK version to 2.12.0 (using nmake -f makefile.nmake setup) I run into crashes when running Wireshark. I have rebuilt all the sources and the problem remains. Unfortunately Wireshark does not crash every time, just sometimes. I have two scenarios: 1. Crashes occurr once

Re: [Wireshark-dev] Repeated crashes after update to GTK 2.12.0

2007-10-01 Thread Graham Bloice
Peter Johansson wrote: After having updated the GTK version to 2.12.0 (using nmake -f makefile.nmake setup) I run into crashes when running Wireshark. I have rebuilt all the sources and the problem remains. Unfortunately Wireshark does not crash every time, just sometimes. I have two

Re: [Wireshark-dev] Repeated crashes after update to GTK 2.12.0

2007-10-01 Thread Peter Johansson
2007/10/1, Graham Bloice [EMAIL PROTECTED]: Peter Johansson wrote: After having updated the GTK version to 2.12.0 (using nmake -f makefile.nmake setup) I run into crashes when running Wireshark. I have rebuilt all the sources and the problem remains. Unfortunately Wireshark does not

Re: [Wireshark-dev] Repeated crashes after update to GTK 2.12.0

2007-10-01 Thread Graham Bloice
Peter Johansson wrote: 2007/10/1, Graham Bloice [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Peter Johansson wrote: 2007/10/1, Graham Bloice [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Peter Johansson

[Wireshark-dev] MIKEY plugin

2007-10-01 Thread Filippo Margiotta
Hi All, I would like to write a plugin to decipher the Enrcrypted Data in the KEMAC payload of the MIKEY dissector. How I should write the plugin in order to decipher the Field only when the plugin is present? I know hot to extend the existent code of wireshark but I don't know ho to expand the

Re: [Wireshark-dev] Repeated crashes after update to GTK 2.12.0

2007-10-01 Thread Peter Johansson
2007/10/1, Graham Bloice [EMAIL PROTECTED]: Peter Johansson wrote: 2007/10/1, Graham Bloice [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Peter Johansson wrote: 2007/10/1, Graham Bloice [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

Re: [Wireshark-dev] Repeated crashes after update to GTK 2.12.0

2007-10-01 Thread Graham Bloice
Peter Johansson wrote: So, I have built adns and then built Wireshark again. All my crash problems remain the same. I'll see if I can find time to purse this further. Hmm. Are you sure you built a release version? Check the timestamp of the files adns_dll.* in

Re: [Wireshark-dev] MIKEY plugin

2007-10-01 Thread Jaap Keuter
Hi, as far as I know there's no way to do that. All you can do is implement the commented-out code in dissecto_payload_kemac. Thanx, Jaap Filippo Margiotta wrote: Hi All, I would like to write a plugin to decipher the Enrcrypted Data in the KEMAC payload of the MIKEY dissector. How I