Wireshark-dev: Re: [Wireshark-dev] problem in adding message in wireshark tree
From: Awadhesh Kumar <awadhesh.usa@xxxxxxxxx>
Date: Tue, 27 Oct 2009 18:53:42 +0530
Hi,
 
Thanks for the updates. I have updated the following latest build of wireshark

wireshark-1.3.1-SVN-30713.tar.gz 26-Oct-2009 15:52 19M

from wireshark site. From this build UDP length is coming correct on each call of disectors for a packet.
 
But again I am facing another problem in this build, I have to add the packet description for each packet as below
 
pinfos.cols.info = "Alarm Packet"
 
but this message is not getting added for each packet. But if I use my LUA disectors file with old wireshark build this is working properly.
 
 The old version of wireshark with which this is working  but udp length is not working is
 
[root@ggns2spw02 plugins]# wireshark --version
wireshark 1.0.6
Copyright 1998-2009 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled with GTK+ 2.12.1, with GLib 2.14.2, with libpcap 1.0.0, with libz
1.2.3, with POSIX capabilities (Linux), without libpcre, without SMI, without
ADNS, with Lua 5.1, with GnuTLS 1.6.3, with Gcrypt 1.2.4, with MIT Kerberos,
without PortAudio, without AirPcap.
NOTE: this build doesn't support the "matches" operator for Wireshark filter
syntax.
Running on Linux 2.6.23.1-42.fc8, with libpcap version 1.0.0.
Built using gcc 4.1.2 20070925 (Red Hat 4.1.2-33).
 
The current version with which pinfo.cols.info is not working but udp length is working is
 
[root@ggns2spw01 plugins]# wireshark --version
wireshark 1.3.1-SVN-30713
Copyright 1998-2009 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled with GTK+ 2.12.1, with GLib 2.14.2, with libpcap 1.0.0, with libz
1.2.3, with POSIX capabilities (Linux), without libpcre, without SMI, without
c-ares, without ADNS, with Lua 5.1, without Python, with GnuTLS 1.6.3, with
Gcrypt 1.2.4, with MIT Kerberos, without GeoIP, without PortAudio, without
AirPcap, with new_packet_list.
NOTE: this build doesn't support the "matches" operator for Wireshark filter
syntax.
Running on Linux 2.6.23.1-42.fc8, with libpcap version 1.0.0, GnuTLS 1.6.3,
Gcrypt 1.2.4.
Built using gcc 4.1.2 20070925 (Red Hat 4.1.2-33).
 
Is there any bug in wireshark due to this it is not showing the "pinfo.cols.info" message in wireshark tree.

 
 
Regards
Awadhesh.
 
 
2009/10/27 Stig Bjørlykke <stig.bjorlykke@xxxxxxxxx>
On 26. okt. 2009, at 19.20, Awadhesh Kumar wrote:

> I want to handle the exception in following if failed in lua when I
> am calling above API.
>
>                 stmpsecuritytree:add(buffer(0,1)," STMP Message
> length: " .. udp_len_f());

Hi,

I think you got hit by bug 4058 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4058
), which we have fixed in the latest trunk.  Are you able to test one
of the latest snapshots from http://www.wireshark.org/download/automated/
 ?


--
Stig Bjørlykke


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe