Commit Graph

50532 Commits

Author SHA1 Message Date
Jakub Zawadzki 113b078a4d Add new string proto encoding for windows-1250 (ENC_WINDOWS_1250)
- Move windows-1250 to unicode encoding table to charset.c
- Add tvb_get_string_unichar2, tvb_get_stringz_unichar2 functions which recode tvb-string to UTF-8.

svn path=/trunk/; revision=53819
2013-12-07 10:10:03 +00:00
Jakub Zawadzki b3c93326bc Remove #if 0 inverse_bit_mask8 array.
It was only used by tvb_get_bits_buf (removed in r53183).

svn path=/trunk/; revision=53818
2013-12-07 09:14:35 +00:00
Anders Broman cc71d217a6 - Make local functions static.
- Forward declaration of register function.

svn path=/trunk/; revision=53817
2013-12-07 08:34:39 +00:00
Michael Mann cc5543f824 Bluetooth enhancements. Bug 9446 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9446)
Bluetooth: SCO: Add Source/Destination addresses 
Bluetooth: HCRP: Use information from SDP to decoding PSM payload

From Michal Labedzki

svn path=/trunk/; revision=53816
2013-12-07 01:01:31 +00:00
Jakub Zawadzki c1ef044de5 Move tvb_uncompress() to tvbuff_zlib.c
svn path=/trunk/; revision=53815
2013-12-06 23:23:44 +00:00
Alexis La Goutte 895f83b37d Fix indent (use 4 spaces) Remove trailing whitespace Add Modelines
svn path=/trunk/; revision=53814
2013-12-06 16:41:05 +00:00
Alexis La Goutte e820340996 Add Modelines info
svn path=/trunk/; revision=53813
2013-12-06 16:40:55 +00:00
Alexis La Goutte d5c3c081d9 Fix (-W)unused-const-variable error found by Clang
svn path=/trunk/; revision=53812
2013-12-06 16:40:44 +00:00
Pascal Quantin 138cb0e1f1 Update svn properties
svn path=/trunk/; revision=53811
2013-12-06 16:37:20 +00:00
Irene Rüngeler ae37302c39 Add assoc_index to the properties that can be filtered.
Find the association for each packet.

svn path=/trunk/; revision=53810
2013-12-06 14:45:06 +00:00
Alexis La Goutte d1e904b518 From Thomas ERSFELD (GSoC13)
Hiding monitor column when not available

svn path=/trunk/; revision=53809
2013-12-06 10:24:58 +00:00
Alexis La Goutte f9c27ac0d8 Fix warning when launch Qt Port
QMetaObject::connectSlotsByName: No matching signal for on_tbInterfaces_hideEvent(QHideEvent*)
QMetaObject::connectSlotsByName: No matching signal for on_tbInterfaces_showEvent(QShowEvent*)
Object::connect: No such slot CaptureInterfacesDialog::tableItemPressed(QTableWidgetItem *)
Object::connect:  (sender name:   'tbInterfaces')
Object::connect:  (receiver name: 'CaptureInterfacesDialog')

svn path=/trunk/; revision=53808
2013-12-06 10:24:50 +00:00
Alexis La Goutte 8cfb238ad4 Fix ui/qt/capture_interfaces_dialog.ui: Warning: The name 'layoutWidget' (QWidget) is already in use
svn path=/trunk/; revision=53807
2013-12-06 10:24:41 +00:00
Alexis La Goutte 7a5cf63f04 Fix wireshark/epan/dissectors/packet-j1939.c:313: multiple definition of `proto_register_devicenet'
svn path=/trunk/; revision=53806
2013-12-06 08:37:48 +00:00
Alexis La Goutte 04a8ed2140 Fix packet-j1939.c:160:42: error: declaration of 'address' shadows a global declaration [-Werror=shadow]
svn path=/trunk/; revision=53805
2013-12-06 08:09:56 +00:00
Alexis La Goutte f5136e3753 Fix unused parameter 'pinfo'
svn path=/trunk/; revision=53804
2013-12-06 08:04:09 +00:00
Michael Mann 643f9efce2 Add DeviceNet and J1939 dissectors. Both run on top of CAN (not necessarily always SocketCAN, but it did provide a good test environment)
svn path=/trunk/; revision=53802
2013-12-06 04:33:58 +00:00
Jörg Mayer b2be51c76d Only try to fix absolute Unix paths.
svn path=/trunk/; revision=53801
2013-12-05 22:50:42 +00:00
Martin Kaiser 13fb0f313c int -> gboolean
svn path=/trunk/; revision=53800
2013-12-05 21:35:25 +00:00
Martin Kaiser 1f9d8c5726 dissect Operator Profile's error flag
svn path=/trunk/; revision=53799
2013-12-05 21:32:05 +00:00
Martin Mathieson f251011478 Include epan/conv_id.h - some of the buildbot machines have errors without it
svn path=/trunk/; revision=53798
2013-12-05 15:06:21 +00:00
Martin Mathieson eb85d08557 Make launching TCP graphs from conversations window work again, by supplying stream and direction when graph is first created
svn path=/trunk/; revision=53797
2013-12-05 14:45:03 +00:00
Guy Harris 125a17f8e5 Initialize the error-reporting routines before scanning for plugins, as
the code to scan for them uses those routines.

This means epan_init() no longer takes those routines as arguments -
which is just as well, given that the mechanism in question is no longer
part of libwireshark, but is part of libwsutil.

This should fix bug 9508.

svn path=/trunk/; revision=53796
2013-12-05 09:30:22 +00:00
Pascal Quantin 78c11720bb Remove non-ASCII character
svn path=/trunk/; revision=53795
2013-12-05 06:48:13 +00:00
Pascal Quantin 5331c54b10 Try to please OSX-10.5-x86 buildbot
svn path=/trunk/; revision=53794
2013-12-05 06:46:58 +00:00
Pascal Quantin 03085a5c9a Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9503 :
Fix dissection of STK SEND SHORT MESSAGE proactive command

svn path=/trunk/; revision=53793
2013-12-05 06:23:17 +00:00
Michael Mann 8d0dc9f935 CAN protocols have a CAN ID and up to 8 bytes of data. How the CAN ID and data are presented is the responsibility of the previous layer. Make the interface be passing the CAN ID in dissector data and have the (up to) 8 bytes be the tvb. CAN protocols should treat the CAN ID as "generated" data.
svn path=/trunk/; revision=53792
2013-12-05 03:36:49 +00:00
Jakub Zawadzki 0ccb4a7ef4 Regenerate ASN.1 dissectors
It seems that around r53700 GenericChargingDataTypesV1171.asn was called 3GPPGenericChargingDataTypesV1171.asn.

svn path=/trunk/; revision=53791
2013-12-04 23:59:31 +00:00
Jörg Mayer 6244f2fa32 Finally successfully built with the msvc2010 GUI a Debug
and a RelWithDebInfo build, after adding the missing path
to the cygwin tools.

svn path=/trunk/; revision=53790
2013-12-04 22:07:26 +00:00
Anders Broman d576ba0796 - Forward declaration of register functions.
svn path=/trunk/; revision=53789
2013-12-04 21:35:53 +00:00
Anders Broman bbc4a2981c Try to fix a bunch of [-Wmissing-prototypes]
svn path=/trunk/; revision=53788
2013-12-04 21:33:38 +00:00
Jörg Mayer 53394aca2c Fix
[  5%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-diameter.c.o
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-diameter.c: In function ‘dissect_diameter_avp’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-diameter.c:621:37: error: ‘avp_str’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  if (avp_str) proto_item_append_text(avp_item," val=%s", avp_str);
                                     ^
cc1: all warnings being treated as errors
make[2]: *** [epan/CMakeFiles/epan.dir/dissectors/packet-diameter.c.o] Error 1


svn path=/trunk/; revision=53787
2013-12-04 21:32:16 +00:00
Anders Broman 1a7c42d40a - Make local functions static.
- Forward declaration of register function.

svn path=/trunk/; revision=53786
2013-12-04 21:12:16 +00:00
Anders Broman 5c40dde043 "RFC 6733 [5] specifies the Experimental-Result AVP containing Vendor-Id AVP and Experimental-Result-Code AVP. The Experimental-Result-Code AVP (AVP Code 298) is of type Unsigned32 and contains a vendor-assigned value representing the result of processing a request."
This means we have to store the value of the Vendor Id AVP in the grouped  Experimental-Result AVP to be able to dissect the value of 
Experimental-Result-Code according to the vendor specified values(if known). This patch implements that with a dissector table to register vendor dissectors for the result code.

svn path=/trunk/; revision=53785
2013-12-04 20:55:52 +00:00
Chris Maynard a8ed2cf767 From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9446 - r53051 introduced an incorrect DISSECTOR_ASSERT(acl_data), which led me to believe that acl_data must not be NULL. Except for the removal of the DISSECTOR_ASSERT(acl_data), this patch basically reverts r53735 and r53743, as acl_data can be NULL.
svn path=/trunk/; revision=53784
2013-12-04 15:59:29 +00:00
Alexis La Goutte 50989f30a3 From Matt Texier
Enhance BGP Dissector : Communities

Use proto_tree_add_item

From me
Missing space for well known community

svn path=/trunk/; revision=53783
2013-12-04 15:13:24 +00:00
Tomas Kukosa 0a626c33c8 Ply parser updated to 3.5 (from GitHub github.com/dabeaz/ply)
svn path=/trunk/; revision=53782
2013-12-04 14:45:32 +00:00
Alexis La Goutte 9252681be6 Add also heuristic for HTTP
svn path=/trunk/; revision=53781
2013-12-04 13:55:53 +00:00
Jörg Mayer cf82d056f2 Create all binaries in one directory. After running setpath.bat
wireshark etc should now work, the basic stuff at least.

Known problems/todos:
- The plugins are not searched for in the current directory,
  so find out how to let Wireshark know to search for the
  plugins
- Other supporting files are missing (COPYING.txt, AUTHORS*, ...)
- Your missing feature could be listed here ;)

 Ciao
   Jörg

svn path=/trunk/; revision=53780
2013-12-04 10:41:38 +00:00
Alexis La Goutte 2e0fbbfe26 Regenerate dissector after change to add prototype
svn path=/trunk/; revision=53779
2013-12-04 09:53:51 +00:00
Alexis La Goutte 6b10f16ca8 From Anders request Add prototype for corba/idl dissector
svn path=/trunk/; revision=53778
2013-12-04 09:53:21 +00:00
Stig Bjørlykke 470a022c6d Fix for dissecting cdt without having a tree.
svn path=/trunk/; revision=53777
2013-12-04 09:39:19 +00:00
Jörg Mayer 55546d5123 On Windows:
- Add instructions how to build zlib
- Add information how to build with msbuild


svn path=/trunk/; revision=53776
2013-12-04 09:10:35 +00:00
Jörg Mayer c0663d9df5 - Include config.h
- Merge two ifdef _WIN32 sections

svn path=/trunk/; revision=53775
2013-12-04 07:39:37 +00:00
Jakub Zawadzki b75354ebe8 Avoid including <epan/epan.h> in dissectors.
svn path=/trunk/; revision=53774
2013-12-03 23:49:51 +00:00
Pascal Quantin 477add4506 Dissect comprehension-tlv address object
svn path=/trunk/; revision=53773
2013-12-03 23:08:50 +00:00
Guy Harris 9812f55dbb Include <epan/dfilter/dfilter.h> in files that use display filter
routines.

svn path=/trunk/; revision=53772
2013-12-03 23:08:46 +00:00
Jakub Zawadzki 2118d75b45 missing stdlib.h include for wslua.
svn path=/trunk/; revision=53771
2013-12-03 22:59:29 +00:00
Jakub Zawadzki 5afbad4179 Rename struct _epan_dissect_t to epan_dissect.
svn path=/trunk/; revision=53770
2013-12-03 22:26:07 +00:00
Jakub Zawadzki 65db82872c When including <epan/prefs.h> don't force inclusion of <epan/uat.h>
svn path=/trunk/; revision=53769
2013-12-03 22:16:49 +00:00