aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-05-08Add FT_EUI64 Field TypeAlexis La Goutte23-261/+459
* 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 svn path=/trunk/; revision=37015
2011-05-07From Jens Osterkamp:Jaap Keuter2-6/+151
The following patch adds some code to decode the EVB TLV being standardized in the upcoming IEEE 802.1Qbg draft 0. svn path=/trunk/; revision=37014
2011-05-06Move fpinf dereference after NULL check.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=37012
2011-05-06Huzaifa Sidhpurwala of Red Hat Security Response Team discovered that weGerald Combs1-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. svn path=/trunk/; revision=37011
2011-05-06From Tamás Regõs:Anders Broman1-1412/+1408
Make it possible to load Tango AVP:s if you have them. svn path=/trunk/; revision=37010
2011-05-06 VALS(& -> VALS(Anders Broman8-37/+37
svn path=/trunk/; revision=37009
2011-05-06Add note about ::/96 being deprecated.Jakub Zawadzki1-0/+23
svn path=/trunk/; revision=37008
2011-05-06Use strtoul() rather than sscanf to parse octal and hex numbers inGuy Harris1-4/+4
escape sequences; sscanf is a bit heavyweight, and using strtoul() also squelches some "return value ignored" warnings. svn path=/trunk/; revision=37007
2011-05-06Prefix the message class names with RELOAD_ to prevent collisions.Jeff Morriss1-9/+9
svn path=/trunk/; revision=37006
2011-05-06From Ed Day via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5890 :Jeff Morriss8-447/+574
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. svn path=/trunk/; revision=37005
2011-05-06From Peter Paluch via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5893 :Jeff 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. svn path=/trunk/; revision=37004
2011-05-06From Marc Petit-Huguenin via ↵Jeff 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. svn path=/trunk/; revision=37003
2011-05-05Forgot to remove my editor's tabs before committing...Jeff Morriss1-6/+6
svn path=/trunk/; revision=37002
2011-05-05Fix false positive compiler warnings:Jakub Zawadzki1-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 svn path=/trunk/; revision=37001
2011-05-05Introduce ip6_to_str_buf_len (little cleaner version of inet_ntop6 from ↵Jakub Zawadzki4-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. svn path=/trunk/; revision=37000
2011-05-05Apply rev 14059 to non-Windows: update the display with new packets every 500Jeff Morriss1-17/+24
msec (instead of every 1000msec). svn path=/trunk/; revision=36999
2011-05-05Subtract (not add!) preamble length from remaining buffer length.Jakub Zawadzki1-2/+3
svn path=/trunk/; revision=36998
2011-05-05Fix decoding of CP56Time2a timestamp. Resolves bug 5889.Chris Maynard1-2/+2
svn path=/trunk/; revision=36997
2011-05-05Cleanup: replace se_alloc+memcpy combo with single se_memdup().Jakub Zawadzki5-17/+8
svn path=/trunk/; revision=36996
2011-05-05More GUIManager stuff.Anders Broman13-26/+234
svn path=/trunk/; revision=36995
2011-05-05packet-xtp.h used only in packet-xtp.c; Move packet-xtp.h contents to ↵Bill Meier3-160/+129
packet-xtp.c svn path=/trunk/; revision=36994
2011-05-05Don't assign to unused variable: Coverity 1132 [UNUSED].Bill Meier1-2/+2
svn path=/trunk/; revision=36993
2011-05-05Fix two cases of assignment to unused variables: Coverity 1030 & 1031 [UNUSED];Bill Meier1-7/+5
Also: #include <stdio.h> not req'd. svn path=/trunk/; revision=36992
2011-05-05Fix two unused variable assignments: Coverity 1140.Bill Meier1-50/+48
Also: fix some indentation. svn path=/trunk/; revision=36991
2011-05-04Fix 3 memory leaks: unused g_malloc(): Coverity 1148-1150 [UNUSED];Bill Meier1-4/+0
svn path=/trunk/; revision=36990
2011-05-04Fix Coverity 1191: DEADCODE;Bill Meier1-206/+206
Use consistent indentation. svn path=/trunk/; revision=36989
2011-05-04Cleanup: g_malloc can't return NULL, remove checks for them.Jakub Zawadzki4-13/+0
XXX, should this code use g_try_malloc instead? svn path=/trunk/; revision=36988
2011-05-04From Nick Glass via bug #5887: DACP (apple remote) enhancement to DAAPStephen Fisher3-0/+84
dissector. Me: Add Nick to AUTHORS file. svn path=/trunk/; revision=36987
2011-05-04Cleanup: replace sizeof(arr)/sizeof(arr[0]) with shorter array_length(arr)Jakub Zawadzki9-13/+11
svn path=/trunk/; revision=36986
2011-05-04More GUIManager stuff.Anders Broman4-198/+302
Note Use GUI manager needs to be set in gui_stet_menu.h too, to use it. svn path=/trunk/; revision=36985
2011-05-04From Pascal Quantin:Anders Broman3-13/+68
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. svn path=/trunk/; revision=36984
2011-05-04Once we start printing an "opened up" (tshark -O) tree, print the entireJeff Morriss1-3/+6
subtree. Otherwise subitems whose abbreviation doesn't match the protocol name (such as text items) won't get printed. svn path=/trunk/; revision=36983
2011-05-03More GUIManager stuff.Anders Broman8-14/+144
svn path=/trunk/; revision=36982
2011-05-03More GUIManager stuff.Anders Broman7-10/+126
svn path=/trunk/; revision=36981
2011-05-03Packet editor:Jakub Zawadzki1-26/+106
- support for FT_IPv4 svn path=/trunk/; revision=36980
2011-05-03From Jose Pico via bug #5884: Corrected export_object smb segmentationStephen Fisher5-39/+33
fault svn path=/trunk/; revision=36979
2011-05-03Do some prep work on GUIManager code, if you enable it it will break as the ↵Anders Broman1-0/+25
menus.c changes are not commited. svn path=/trunk/; revision=36978
2011-05-03Do some prep work on GUIManager code, if you enable it it will break as the ↵Anders Broman4-0/+81
menus.c changes are not commited. svn path=/trunk/; revision=36977
2011-05-03Wrap text of description for -O.Chris Maynard1-1/+2
svn path=/trunk/; revision=36976
2011-05-03Note what NetMon 3 actually uses various types for.Guy Harris1-5/+5
For the ones that are used for raw IP, use WTAP_ENCAP_RAW_IP. (Yes, NetMon checks for v4 vs. v6 for all of them.) svn path=/trunk/; revision=36975
2011-05-03Set the pseudo-header regardless of whether we have a trailer or not.Guy Harris1-42/+47
svn path=/trunk/; revision=36974
2011-05-03It appears that, in NetMon 802.11 captures, management frames have anGuy Harris2-104/+183
FCS and data frames don't have an FCS; I don't know about control frames. svn path=/trunk/; revision=36973
2011-05-03Squelch a compiler warning - but note, in a comment, a real problem theGuy Harris1-1/+2
warning points out. svn path=/trunk/; revision=36972
2011-05-03Fix indentation (tab stops are not guaranteed to be every 4 spaces).Guy Harris1-352/+352
svn path=/trunk/; revision=36971
2011-05-03From Tom Brezinski - fix for bug 5869:Guy Harris5-231/+453
This patch incorporates the following fixes from the patch attached to bug 5671 with changes as noted below: 1.) Files where the packet header and packet data are noncontiguous are handled improperly, resulting in read misalignment and ultimately the error message, "Observer: bad record: Invalid magic number 0xXXXXXXXX." This bug is caused by not obeying the packet_entry_header.offset_to_frame field. 2.) Daylight savings time is not properly accounted for in files using local time encoding. 3.) As of Observer/GigaStor v13.10 (bug 5671 incorrectly stated v14), timestamps in the file format changed from local time encoding to GMT encoding. Wiretap has been changed to support reading both formats. Patch submitted with bug 5671 added a separate file type to allow writing local format. This patch does not add the separate file type and always writes GMT. 4.) The wtap_dumper.bytes_dumped field is not being properly incremented as data is written to files. This patch also incorporates the following additional enhancements / fixes not in bug 5671: 1.) Support for reading BFR files which contain Fibre Channel captures. Test file Fibre_Channel_Capture.bfr attached. 2.) Support for modified file header used in upcoming v15. New header file format takes an unused byte from the version string to allow for a larger offset to the first packet to be specified. Test file V15_Lrg_Hdr_Test.bfr is attached, it is also a fuzz test as the number of TLV items given in the header is less then the actual. 3.) It was found that if the number of TLV items given in the header was larger then present it would fail to open the file. Test file V9_Num_TLVs_Too_Big.bfr is attached. svn path=/trunk/; revision=36970
2011-05-03Don't bother checking for gzgets(), as we don't use it, and don't evenGuy Harris2-90/+61
need to use its presence in zlib as a proxy for "not the crufty old zlib that comes with some versions of X11". Do, however, check for inflatePrime() there, instead, just in case the crufty old zlib that comes with some versions of X11 lack it; this is to prevent the configure script from assuming a shiny new zlib by testing with a non-X11 program, causing the build to fail when you build Wireshark. svn path=/trunk/; revision=36969
2011-05-03One bit suffices for the "columnized" and "colorized" flags in theGuy Harris1-5/+5
packet list store, and there's one PacketListRecord for every packet, so that can save some space... ...especially if we move them after all the pointers, rather than before the pointers, so they don't collectively take up 8 bytes on an LP64 or LLP64 platform due to pointers having to be 8-byte aligned. svn path=/trunk/; revision=36968
2011-05-03TShark doesn't need column text attached to each frame; move col_textGuy Harris6-52/+33
and col_text_len from the frame_data structure to the PacketRecord structure. svn path=/trunk/; revision=36967
2011-05-03Fix a comment.Guy Harris1-1/+1
svn path=/trunk/; revision=36966
2011-05-02From Peter Paluch via bug #5877: EIGRP dissector enhancement for RS/EOTStephen Fisher2-1/+18
flags Me: Add Peter to AUTHORS file. svn path=/trunk/; revision=36965