aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2011-05-08There is no guarantee that, just because there's a UAT item for a givenguy1-5/+14
LINKTYPE_USERn encapsulation with a protocol name - even if the protocol name was valid at the time the entry was made, it might not be valid now (e.g., if you no longer have a plugin), *and* the protocol lookup done in the UI is case-insensitive but the lookup done later is case-sensitive (this needs to be cleaned up somehow). For now, just handle the case where encap->payload_proto is NULL. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37020 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-08[Automatic manuf, services and enterprise-numbers update for 2011-05-08]gerald1-16/+236
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37017 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-08Add FT_EUI64 Field Typealagoutte21-260/+439
* Remove proto_tree_add_eui64 function from 802.15.4 Dissector * Replace print_eui64/print_eui64 by eui64_to_str/get_eui64_name * Update Documentation (README.dev) * Add new function in libwireshark.def * Support of encoding for tvb_eui64_to_str * Use FT_EUI64 for ICMPv6, CAPWAP, Zbee ... dissector git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37015 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-07From Jens Osterkamp:jake2-6/+151
The following patch adds some code to decode the EVB TLV being standardized in the upcoming IEEE 802.1Qbg draft 0. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37014 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-06Move fpinf dereference after NULL check.darkjames1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37012 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-06Huzaifa Sidhpurwala of Red Hat Security Response Team discovered that wegerald1-4/+2
could dereferene a NULL pointer if we had a corrupted Diameter dictionary. Additionally, it was possible to push an invalid input buffer onto the include stack. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37011 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-06 VALS(& -> VALS(etxrab8-37/+37
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37009 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-06Add note about ::/96 being deprecated.darkjames1-0/+23
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37008 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-06Use strtoul() rather than sscanf to parse octal and hex numbers inguy1-4/+4
escape sequences; sscanf is a bit heavyweight, and using strtoul() also squelches some "return value ignored" warnings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37007 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-06Prefix the message class names with RELOAD_ to prevent collisions.morriss1-9/+9
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37006 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-06From Ed Day via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5890 :morriss2-28/+68
ASN.1 files in trunk/asn1/qsig contain syntax errors that prevent them from being compiled by a standard ASN.1 compiler. A patch of modified files is attached along with General-Error-List.asn which was missing completely. From me: add the new asn file to the list of source files. Add SVN Id tag to the new file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37005 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-06From Peter Paluch via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5893 :morriss1-14/+46
Add support for VTP Join messages. From me: rather than add the first and last VLANs with separate hf_ variables and the masked ones with proto_tree_add_text(), use one hf_ variable for all the VLAN IDs. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37004 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-06From Marc Petit-Huguenin via ↵morriss2-129/+110
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5894 : - Use "RELOAD" everywhere. - Fix invalid variable name "reload_framing.probe_information.type". - Fix various names to match the spec. - Dissect the X.509 certificate embedded in RELOAD messages. - Use tls_signature_algorithm and tls_hash_algorithm tables in packet-ssl-utils. From me: take out the tabs. Keep the long dissector name when registering the protocols. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37003 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-05Fix false positive compiler warnings:darkjames1-5/+6
address_to_str.c:157: warning: 'cur.len' may be used uninitialized in this function address_to_str.c:157: warning: 'best.len' may be used uninitialized in this function git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37001 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-05Introduce ip6_to_str_buf_len (little cleaner version of inet_ntop6 from ↵darkjames4-10/+110
wsutil/inet_ntop.c) and use it instead of inet_ntop(AF_INET6, ...) - Add MAX_IP6_STR_LEN define. - use MAX_IP6_STR_LEN as a buffer size when ip6_to_str_buf() is used. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37000 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-05Subtract (not add!) preamble length from remaining buffer length.darkjames1-2/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36998 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-05Fix decoding of CP56Time2a timestamp. Resolves bug 5889.cmaynard1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36997 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-05Cleanup: replace se_alloc+memcpy combo with single se_memdup().darkjames5-17/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36996 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-05packet-xtp.h used only in packet-xtp.c; Move packet-xtp.h contents to ↵wmeier3-160/+129
packet-xtp.c git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36994 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-05Don't assign to unused variable: Coverity 1132 [UNUSED].wmeier1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36993 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-05Fix two cases of assignment to unused variables: Coverity 1030 & 1031 [UNUSED];wmeier1-7/+5
Also: #include <stdio.h> not req'd. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36992 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-04Cleanup: g_malloc can't return NULL, remove checks for them.darkjames3-9/+0
XXX, should this code use g_try_malloc instead? git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36988 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-04From Nick Glass via bug #5887: DACP (apple remote) enhancement to DAAPsfisher2-0/+83
dissector. Me: Add Nick to AUTHORS file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36987 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-04Cleanup: replace sizeof(arr)/sizeof(arr[0]) with shorter array_length(arr)darkjames9-13/+11
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36986 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-04From Pascal Quantin:etxrab1-9/+34
Add an expert check for the MS Classmark 2 decoding in UE EUTRA Capability message and a few missing message type display in the column text. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36984 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-03It appears that, in NetMon 802.11 captures, management frames have anguy1-0/+7
FCS and data frames don't have an FCS; I don't know about control frames. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36973 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-03TShark doesn't need column text attached to each frame; move col_textguy2-5/+0
and col_text_len from the frame_data structure to the PacketRecord structure. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36967 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-02From Peter Paluch via bug #5877: EIGRP dissector enhancement for RS/EOTsfisher1-1/+17
flags Me: Add Peter to AUTHORS file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36965 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-02Fix the (fuzzed) memory allocation failure reported in ↵morriss1-5/+15
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5880 : Don't attempt to reassemble a message if the length of the fragment is negative. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36964 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-02Support content-type x-gzip and x-deflate, as described in RFC2616 asstig1-3/+4
equivalent to gzip and deflate. This fixes bug 5882. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36963 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-01[Automatic manuf, services and enterprise-numbers update for 2011-05-01]gerald1-4/+180
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36959 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-30Check our PDU length. Fixes the infinite loop found in bug 5876.gerald1-0/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36958 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-29Add "Wireshark ... Copyright ...".wmeier1-0/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36953 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-29#include <epan/prefs.h> not req'd since there are no prefs.wmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36952 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-29Remove two unneeded forward declarations.wmeier1-2/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36951 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-29Reformat long lines in hf[] definition for readability;wmeier1-142/+293
Replace hf[] "blurbs" by NULLs since the text of the blurb more or less matches the label text. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36950 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-29Use proto_tree_add_item() when it saves us from having to retrieve the valuemorriss1-50/+35
and without causing us to potentially run into bug 3834. Add a couple hf entries for things that had been added with add_text(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36946 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-29If we're in a message return (UDTS or XUDTS), set pinfo->in_error_pkt to helpmorriss1-115/+118
make it obvious to the user that this is an error message. Fix up some indentation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36945 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-28From Pascal Quantin:etxrab2-21/+35
the dissection of the UE capabilities when the RAT type is set to geran-cs (the value part of Classmark 2 starts at the third byte). Moreover it adds a subtree to enhance the display of Mobile Station Classmark 2 and 3 and MS Radio Access Capability IEs. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5867 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36943 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-28Array indices are integers, not Booleans. (The code is the same, givenguy1-11/+12
that TRUE is #defined as 1 and FALSE is #defined as 0, but let's not depend on that.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36942 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-28Remove an XXX comment;wmeier1-2/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36941 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-28External subdissectors should be called regardless of 'if(tree)'.wmeier1-23/+28
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36940 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-28Add missing $Id$ and "Wireshark ... Copyright ..."wmeier2-0/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36939 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-28Remove an unneeded forward declaration (fixes compiler error);wmeier1-3/+2
Move a global variable to be local to proto_reg-handoff... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36938 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-28Add missing "Wireshark .... Copyright ..".wmeier1-0/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36937 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-28Convert what appears to be the use of "4 space tabs" to spaces.wmeier1-925/+925
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36936 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-28#include <stdio.h> not req'd;wmeier1-315/+327
Define all internal fcns as static; fragment_table_init() & reassembled_table_init() need to be called form a registered_init fcn; proto_register... and proto_reg_handoff should be at the end of the file as per Wireshark convention; proto_reg_handoff .... doesn't need 'if (initialized)...'; proto_register... doesn't need 'if (proto_mux27010 == -1)...' git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36935 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-28Add SVN Id tag. Don't use deprecated dissector_add().morriss1-145/+147
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36932 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-28Try to fix:darkjames1-1/+1
value_string.c(175) : warning C4244: '=' : conversion from '__int64' to 'gint', possible loss of data git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36931 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-28Change value_string_ext->_vs_match to return value_string struct (instead of ↵darkjames2-48/+48
strptr), Now index can be easily calculated so remove idx pointer from all match functions. Just in case change names if someone is using wireshark internals. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36930 f5534014-38df-0310-8fa8-9805f1628bb7