aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-06-06Fix some bugs & do extensive cleanup;Bill Meier6-7382/+7493
Bugs fixed: - Calling col_...() fcns or dissectors under 'if (tree)' - Potential buffer overflows (if bad data) - Misc incorrect data display issues Cleanup including; - Remove unneeded #includes - Fix excessive use of value_strings - Use extended value_strings & val_to_str_(ext_)const as appropriate - Optimize repeated fetches of the same data from a tvb - Do general code simplification - Remove or #if 0 unused code; - Add XXX comments for code which may be incorrect - Remove unneeded prefs callback to proto_reg_handoff...() - Remove unneeded use of check_col() - Define several functions as static - Move proto_reg_handoff...() to the end of the file - Fix whitespace (including "4 space tabs") - ... svn path=/trunk/; revision=43129
2012-06-05Add the GeoIP DLL.Gerald Combs2-0/+2
svn path=/trunk/; revision=43128
2012-06-05Just fix some clang analysis warningsJörg Mayer1-2/+2
svn path=/trunk/; revision=43126
2012-06-05Pass WTAP_VERSION to Qt. (WTAP_VERSION should probably match the GNUGerald Combs2-2/+3
toolchain version but that's a separate issue.) svn path=/trunk/; revision=43124
2012-06-051.7.2 → 1.9.0.Gerald Combs6-9/+9
svn path=/trunk/; revision=43120
2012-06-05Add YAMI and SDH.Gerald Combs1-1/+3
svn path=/trunk/; revision=43118
2012-06-05yami: dissect header messages, add parameter names to parent tree item.Jakub Zawadzki1-22/+62
svn path=/trunk/; revision=43117
2012-06-05Fix Coverity 702396: tvbr is ep_ allocated so it can't be NULL.Jeff Morriss1-7/+1
svn path=/trunk/; revision=43116
2012-06-05Fix Coverity 702397: reference tvbr *after* checking that it is not NULL.Jeff Morriss1-2/+5
svn path=/trunk/; revision=43115
2012-06-05Fix Coverity 702421: Handle the possibility that fvalue_to_string_repr()Jeff Morriss1-1/+6
may return NULL. svn path=/trunk/; revision=43114
2012-06-05Fix Coverity 703495: reference fpinf *after* checking that it is not NULL.Jeff Morriss1-11/+13
Also replace some 4 space tabs with spaces. svn path=/trunk/; revision=43113
2012-06-05packet-yami: cleanup, remove non-ASCII character.Jakub Zawadzki1-11/+16
svn path=/trunk/; revision=43112
2012-06-05packet-wreth: cleanupJakub Zawadzki1-22/+20
- make function and arrays static - comment out unused hf-entry. - comment out unused variable. svn path=/trunk/; revision=43111
2012-06-05Dissector for YAMI protocol.Jakub Zawadzki3-0/+570
svn path=/trunk/; revision=43110
2012-06-05From Roland Knall:Anders Broman1-18/+108
openSAFETY - Names for certain SOD objects, automatic SCM UDID detecion. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7335 svn path=/trunk/; revision=43109
2012-06-05Set SVN properties.Anders Broman1-17/+17
svn path=/trunk/; revision=43108
2012-06-05from Alex Lindberg:Anders Broman13-640/+727
Update to packet-h248.c and associated h248 dissecorts. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7332 svn path=/trunk/; revision=43107
2012-06-05From Andrew Kampjes:Anders Broman5-1/+307
SDH support for wireshark. - Added GPL license. - Removed not needed includes. - Skipped th .h file as it wasn't used. svn path=/trunk/; revision=43106
2012-06-05Casting a negative value to unsigned makes it positive; I'm not sureGuy Harris1-3/+16
that will do the right thing here. Instead, cast its negative (which is positive) to unsigned, use that value as the adjustment, and flip the signs of the subsequent adjustment operations. svn path=/trunk/; revision=43105
2012-06-05Add another cast to make it build on Win32.Anders Broman1-1/+1
svn path=/trunk/; revision=43104
2012-06-05Making "had" a ptrdiff_t caused warnings, even if it eliminated aGuy Harris1-1/+6
warning about assigning the difference between two (64-bit) pointers to a (32-bit) variable. That difference is guaranteed to fit in an unsigned int; make "had" an unsigned int, and cast the difference to unsigned int before assigning it to "had". svn path=/trunk/; revision=43103
2012-06-05From Jakub Zawadzki: when seeking backwards, if the seek will put you atGuy Harris1-1/+13
a position that's in our data buffer, just reposition within the buffer, don't do any seeks or I/O on the underlying file. This lets us do some backwards seeking on a pipe, to allow the rewind-and-try scheme we use to try to identify capture file types to work, at least for some capture file formats (those that have magic numbers at the beginning or have heuristics that don't require much data), on pipes, allowing, for example, TShark to read those formats from a pipe. svn path=/trunk/; revision=43102
2012-06-05If we do a Save or Save As with a move, don't reread the capture file,Guy Harris4-39/+336
just tweak the elements in the capture_file structure as necessary and poke the UI to update stuff such as the windows title. If we do a Save or Save As with a copy, don't reread the capture file, just close the old wtap, open a wtap for the copy, and tweak the elements in the capture_file structure as necessary and poke the UI to update stuff such as the windows title. Otherwise, don't do a full read-and-dissect pass on the capture file, just close the old wtap, open a wtap for the new file, tweak the elements in the capture_file structure as necessary and poke the UI to update stuff such as the windows title, and rescan the file to update the packet offsets (and cause Wiretap to regenerate, for a gzipped file, the information needed to support fast random access to the gzipped file). This should speed up Save and Save As a bit, as well as removing some glitches in the UI (e.g., you won't see the packet list disappear and reappear). svn path=/trunk/; revision=43101
2012-06-05From Adam Langley: Add support for decrypting ECDHE-RSA-RC4-SHA. ↵Anders Broman1-0/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7331 svn path=/trunk/; revision=43100
2012-06-05From Adam Langley: Add support for CLIENT_RANDOM lines in SSL keylog. ↵Anders Broman1-2/+57
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7330 svn path=/trunk/; revision=43099
2012-06-05From Alex Lindberg: Add preference to packet-ber.c to toggle BER warning on ↵Anders Broman1-2/+7
leading zero bits. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7328 svn path=/trunk/; revision=43098
2012-06-05From Adam Langley: Clean up code for handling keylog files. ↵Anders Broman1-104/+135
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7329 svn path=/trunk/; revision=43097
2012-06-05Fix some comments.Guy Harris1-2/+2
svn path=/trunk/; revision=43096
2012-06-05Distinguish between "failed" and "user stopped it" for "save as" andGuy Harris5-83/+223
"export specified packets". For "failed", let the user try again with a different file, in case it failed due to, for example, running out of space or quota (probably the most likely failure mode for writing, and trying to a different volume might be the best workaround). For "user stopped it", presumably they don't want to try again (the most likely reason is "it was taking too damn long"). Put "Exporting to: ...", not "Saving: ..." in the statusbar if we're doing "export specified packets". In process_specified_packets(), allow a null range pointer to be specified, meaning "save 'em all"; that avoids the possibly-expensive (with a large capture) operation of initializing the range. If a "safe save" atop an existing file fails or is stopped, get rid of the temporary file we created. svn path=/trunk/; revision=43095
2012-06-04Fix compilation.Gerald Combs1-2/+2
svn path=/trunk/; revision=43094
2012-06-04Add WSE Remote Ethernet & resort.Gerald Combs1-1/+3
svn path=/trunk/; revision=43093
2012-06-04 From Clement Marrast via ↵Alexis La Goutte1-0/+2002
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7260 New dissector for WSE Remote Ethernet protocol From me : * Fix Compilation under linux * Use proto_tree_add_item* * Make build-in dissector * Include Status.* and Codef.* in dissector * Reorder function (to respect Wireshark Codelines) * Add Modelines Info and fix indent (use 4 spaces) * Fix check* tools * Add Clement to AUTHORS With the dissector.... svn path=/trunk/; revision=43092
2012-06-04Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte5-10/+10
svn path=/trunk/; revision=43091
2012-06-04Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-2/+2
(Manual Fix, not found how to fix the generator...) svn path=/trunk/; revision=43090
2012-06-04Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte2-19/+21
svn path=/trunk/; revision=43089
2012-06-04Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+59
svn path=/trunk/; revision=43088
2012-06-04Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte2-16/+2
svn path=/trunk/; revision=43087
2012-06-04From Clement Marrast via ↵Alexis La Goutte3-0/+6
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7260 New dissector for WSE Remote Ethernet protocol From me : * Fix Compilation under linux * Use proto_tree_add_item* * Make build-in dissector * Include Status.* and Codef.* in dissector * Reorder function (to respect Wireshark Codelines) * Add Modelines Info and fix indent (use 4 spaces) * Fix check* tools * Add Clement to AUTHORS svn path=/trunk/; revision=43086
2012-06-04gtk3 libs for win are now available.Jörg Mayer1-6/+2
svn path=/trunk/; revision=43085
2012-06-04C++ -> C-style commentsPascal Quantin1-2/+2
svn path=/trunk/; revision=43084
2012-06-04Make it possible to build with GTK3 on WindowsAnders Broman3-11/+61
svn path=/trunk/; revision=43083
2012-06-04Add entries for Gluster.Gerald Combs1-0/+8
svn path=/trunk/; revision=43082
2012-06-04Use the modal version of the bad display filter alert box in the I/OGuy Harris8-36/+10
statistics window. Get rid of the non-modal version (it's not being used any more), and remove the now-redundant _modal from the modal version. svn path=/trunk/; revision=43081
2012-06-04Use the modal bad display filter alert dialog.Guy Harris1-1/+1
svn path=/trunk/; revision=43080
2012-06-04Clean up indentation.Guy Harris1-3/+3
svn path=/trunk/; revision=43079
2012-06-04Use the modal version of the bad display filter alert box.Guy Harris1-2/+2
svn path=/trunk/; revision=43078
2012-06-04And do the same with the color filter import and export dialogs (whichGuy Harris3-162/+118
really don't belong here - they have nothing to do with capture files). Absorb the test for the target file's existence into file_target_exist_ui(). svn path=/trunk/; revision=43077
2012-06-04And do the same with the merge dialog.Guy Harris1-166/+123
svn path=/trunk/; revision=43076
2012-06-04Clean up indentation.Guy Harris1-3/+3
svn path=/trunk/; revision=43075
2012-06-04Do with the open dialog what we've done with the save and "exportGuy Harris3-140/+135
selected packets" dialog. svn path=/trunk/; revision=43074