aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-jxta.c
AgeCommit message (Collapse)AuthorFilesLines
2005-07-29Include <epan/emem.h> to declare ep_alloc().guy1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15136 f5534014-38df-0310-8fa8-9805f1628bb7
2005-07-28ememify some more tvb_get_string() callssahlberg1-17/+6
one memleak in vnc related to tvb_get_string() closed. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15130 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-20From Mike Duigou:etxrab1-178/+202
In order to get filtering of conversations and > endpoints to work from the endpoints and conversations windows I found > it necessary to add a new AT_URI address type and a SAT_JXTA. This also > necessitated a change to to_str.c to avoid a buffer overflow problem. > Please review these changes carefully. > > Also includes some changes to the jxta dissector to fix filtering on > generated fields and some changes to the types used for ints/unsigned ints. > > Fixes a bug with the processing of messages containing namespaces. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14716 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-16From Peter Kovar: fix an incorrect assignment that caused a compilationguy1-1/+1
error with GCC 4. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14660 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-16Squelch some unitialized variable warnings.guy1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14652 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-10just to get things straight: a dissector should *never* do any g_assert() calls!ulfl1-5/+5
in a simple approach, I've replaced all g_assert() and g_assert_not_reached() calls by their exception throwing counterparts DISSECTOR_ASSERT() and DISSECTOR_ASSERT_NOT_REACHED() this will replace application crash by showing a dissector bug, which is the desired behaviour there were some g_assert calls in the protocol registering functions, which might not be acting as expected now, but to be able to simply search for g_assert in the future I've replaced that calls too one g_assert remained, the one when someone throws an unknown exception "into" packet_frame.c, but IMHO this one should remain. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14608 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-06From Mike Duigou:etxrab1-135/+185
a patch which adds support for displaying jxta conversations and endpoints from the 'Statistics' menu. Also adds : - a generated field to Welcome messages to indicate whether this welcome is from the initiator or the receiver. You can filter on this field with 'jxta.welcome.initiator==[0|1]' - Marks the source and destination fields of message added in the last patch as generated fields. (Saw it being done for some other protocol). - Cleans up dissection of Message which used to assume it would dissected more than one set of hdr/message per tvbuff. Now it only attempts to dissect one. - Uses GMemChunk for tap info and for conversation data rather than g_malloc() There's still a major leakage of g_malloc()ed the c-strings which are used in jxta addresses. Any suggestions for how these can be allocated such that they can be freed re-init is called would be appreciated. For address objects whose data ptr doesn't point into a tvbuff it's not clear what the lifecyle of an address object is. - Fixes a bug with filling in the of the transport layer conversation data. >= vs. > git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14558 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-03From Mike Duigou:etxrab1-31/+313
Extends the jxta dissector to add higher level conversation tracking, improved display, tapping and fixes a bug which caused some conversations to get lost. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14534 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-25jxta updatessahlberg1-9/+10
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13904 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-20remove some MSVC warningsulfl1-8/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13824 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-15jxta updates from duigousahlberg1-463/+1058
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13762 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-05From Mike Duigou updates to JXTAsahlberg1-35/+122
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13602 f5534014-38df-0310-8fa8-9805f1628bb7
2005-02-18usage of tcp_dissect_pdu is brokensahlberg1-0/+7
comment it out to stop it from dumping core. jxta people will have to fix this properly later. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13426 f5534014-38df-0310-8fa8-9805f1628bb7
2005-01-07Use BASE_NONE, not FT_NONE, for the "base" value of an FT_STRING field.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12987 f5534014-38df-0310-8fa8-9805f1628bb7
2005-01-07Get rid of duplicate "element signature" field.guy1-65/+39
Clean up indentation. The signatures are 4-byte strings - treat them as such. Don't hide fields - dissectors should show what all bytes, other than perhaps padding bytes, are. Don't use the tvb_format_text-ified versions of strings as the value - Ethereal already deals with non-printable characters when displaying them. When creating a subset tvbuff that runs to the end of the parent, use -1 as the length, don't calculate the length ourselves. Use "tvb_reported_length()", not "tvb_length()", in loops that parse the entire packet. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12986 f5534014-38df-0310-8fa8-9805f1628bb7
2005-01-07From Mike Duigou: JXTA protocol support.guy1-0/+548
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12982 f5534014-38df-0310-8fa8-9805f1628bb7