Commit Graph

23960 Commits

Author SHA1 Message Date
Martin Kaiser cb1cb946d3 From Jakub
support DVB-SI character tables (EN 300 468) in a generic way

From me
move things to charsets.c/.h
distinguish between single and multi byte encoding for some tables
(so that the highlighted bytes match the displayed value)
no character table byte -> length 0, use default table

svn path=/trunk/; revision=53886
2013-12-09 20:46:27 +00:00
Jakub Zawadzki 3ae2e5ece2 Fix warnings
svn path=/trunk/; revision=53885
2013-12-09 20:15:47 +00:00
Martin Kaiser 8aebe15965 fix compilation without GNUTLS and libgcrypt
move from_hex_char() and from_hex() outside ifdef gnutls
add dummy ssl_generate_pre_master_secret()

this should fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9529

svn path=/trunk/; revision=53884
2013-12-09 17:51:48 +00:00
Chris Maynard edce8204d1 Reject the packet if data is NULL.
svn path=/trunk/; revision=53883
2013-12-09 16:32:15 +00:00
Chris Maynard 494d32ad2a Reject the packet if data is NULL.
svn path=/trunk/; revision=53882
2013-12-09 15:45:59 +00:00
Jörg Mayer 3be739ac8b Add TLV 16 (Interface name)
svn path=/trunk/; revision=53881
2013-12-09 11:54:05 +00:00
Irene Rüngeler a2b2dd4b28 Add a function and an enum to register an uat preference for QT only.
svn path=/trunk/; revision=53880
2013-12-09 10:07:33 +00:00
Pascal Quantin 293e390c61 Use an item for USSD text
svn path=/trunk/; revision=53879
2013-12-09 08:56:06 +00:00
Irene Rüngeler 2f79fbda38 Fix clang warning.
svn path=/trunk/; revision=53878
2013-12-09 07:34:52 +00:00
Anders Broman b693f74b89 - Forward declaration of register functions.
svn path=/trunk/; revision=53877
2013-12-09 06:50:09 +00:00
Anders Broman 0d46cdae53 - Forward declaration of register functions.
svn path=/trunk/; revision=53876
2013-12-09 06:20:42 +00:00
Jakub Zawadzki f91eba752b Fix some warnings: cast discards `__attribute__((const))' qualifier from pointer target type
svn path=/trunk/; revision=53875
2013-12-08 23:16:06 +00:00
Anders Broman 6e2465b94e - Forward declaration of register functions.
svn path=/trunk/; revision=53873
2013-12-08 22:11:18 +00:00
Anders Broman 4124b7aa17 - Forward declaration of register functions.
svn path=/trunk/; revision=53872
2013-12-08 22:02:12 +00:00
Pascal Quantin a944c8ef7a Remove proto_tree_add_unicode_string()
svn path=/trunk/; revision=53869
2013-12-08 20:15:07 +00:00
Pascal Quantin 93398e794e Use STR_UNICODE display instead of proto_tree_add_unicode_string() in the remaining dissectors
svn path=/trunk/; revision=53867
2013-12-08 20:03:15 +00:00
Jakub Zawadzki 2dd25c2c48 check licence: fix FSF address.
svn path=/trunk/; revision=53866
2013-12-08 20:00:19 +00:00
Jakub Zawadzki b61dd3c68d Encoding table for ISO/IEC 8859-2: make code points in the range 0x80-0x9F map to 0x80-0x9F (Guy Harris).
svn path=/trunk/; revision=53865
2013-12-08 19:55:46 +00:00
Jakub Zawadzki 64456261b9 Improve netlink dissection:
- add standard message types
- add dissection for WS_RTM_*NEIGH
- add BASE_CUSTOM functions to print bitfields

svn path=/trunk/; revision=53864
2013-12-08 19:30:33 +00:00
Pascal Quantin fab9e52055 Try to please OSX-10.5-x86 buildbot
svn path=/trunk/; revision=53863
2013-12-08 18:46:38 +00:00
Anders Broman 5db045212e - Forward declaration of register functions.
svn path=/trunk/; revision=53862
2013-12-08 16:50:07 +00:00
Anders Broman 8983ae005a - Forward declaration of register functions.
svn path=/trunk/; revision=53861
2013-12-08 16:40:49 +00:00
Anders Broman c9884f573a - Forward declaration of register functions.
svn path=/trunk/; revision=53860
2013-12-08 15:52:29 +00:00
Anders Broman b630ccec17 - Forward declaration of register functions.
svn path=/trunk/; revision=53859
2013-12-08 15:40:10 +00:00
Anders Broman b7d62057f3 ../../epan/address.h:63:17: warning: comma at end of enumerator list [-pedantic]
svn path=/trunk/; revision=53856
2013-12-08 15:14:32 +00:00
Jakub Zawadzki 17a94af10e netlink-route: extend Interface IP address dissections
+ try to fix make dist

svn path=/trunk/; revision=53854
2013-12-08 13:28:01 +00:00
Jakub Zawadzki d6ca0073b0 Fix buildbot:
packet-netlink-route.c:672: warning: request for implicit conversion from 'void *' to 'struct packet_netlink_data *' not permitted in C++

svn path=/trunk/; revision=53853
2013-12-08 12:43:46 +00:00
Jakub Zawadzki fa01b39f33 Add more LINUX_AF_* values, create value_string_ext for them. Use it in netlink, nflog.
svn path=/trunk/; revision=53852
2013-12-08 12:42:10 +00:00
Jakub Zawadzki 4af107edfe Make VALUE_STRING_EXT_INIT use G_N_ELEMENTS macro instead of array_length.
array_length() requires including packet.h

svn path=/trunk/; revision=53851
2013-12-08 12:34:56 +00:00
Jakub Zawadzki 6e928c41d9 Add initial dissectors for netlink, and netlink route subsystem.
svn path=/trunk/; revision=53850
2013-12-08 12:01:32 +00:00
Alexis La Goutte 006f84a565 From Deon van der Westhuysen via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9452
Patch: Stats_tree enhancements for sorting, averages and burst rate

Add sort, save-as and new columns to Qt ui, remove old functions

stats_tree.c / stats_tree_priv.h: Make all columns sortable. Remove unneeded functions stats_tree_get_strs_from_node, stats_tree_branch_to_str and stats_tree_is_sortable_column.

stats_tree_stat.c: Set all columns sortable.

stats_tree_dialog.cpp / stats_tree_dialog.h: Add new stats_tree columns. Make columns sortable. Remove copy to csv and copy to yaml buttons. Add copy to clipboard as plain text and save as buttons.

stats_tree_dialog.ui: Remove copy to csv and copy to yaml buttons. Add copy to clipboard as plain text and save as buttons. Only define one column in ui, rest are added dynmically.

From me : fix trailing whitespace

svn path=/trunk/; revision=53848
2013-12-08 11:09:54 +00:00
Alexis La Goutte 4ed05f22b8 Remove trailing whitespace
svn path=/trunk/; revision=53847
2013-12-08 11:09:43 +00:00
Alexis La Goutte 4a33c88940 Fix indent (use 4 spaces) and add modelines
svn path=/trunk/; revision=53846
2013-12-08 11:09:30 +00:00
Michael Mann 34ac4010c5 RLC dissector cannot assemble PDUs with SNs skipped and wrap-arounded. Bug 9505 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9505)
From Nobuyuki Tsushima

svn path=/trunk/; revision=53845
2013-12-08 02:48:24 +00:00
Michael Mann 30b49ceb50 IPsec ESP: add AES-GCM decryption. Bug 8395 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8395)
Insert Any 64bit authnetication option so AES-GCM with 8 byte ICV

From Alexandru Juncu

svn path=/trunk/; revision=53844
2013-12-08 02:27:52 +00:00
Michael Mann 6c5a93d7d1 Fix invalid read and correct PSK upper bound. Bug 9512 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9512)
From Peter Wu.

svn path=/trunk/; revision=53843
2013-12-08 02:12:48 +00:00
Michael Mann 21ca76a3ad dtls: fix buffer overflow in mac check. Bug 9512 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9512)
From Hauke Mehrtens

svn path=/trunk/; revision=53842
2013-12-08 01:52:02 +00:00
Michael Mann 20e0d853ce Fix signed/insigned mismatch in ErlDP dissector. Bug 9525 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9525)
From Peter Lemenkov

svn path=/trunk/; revision=53841
2013-12-08 01:35:39 +00:00
Guy Harris e1c994f55f It's ISO 8859-1, not "ISO 18859-1", at least according to ANSI/ASHRAE
Standard 135-2004.

Use tvb_get_string_enc() wherever possible.

svn path=/trunk/; revision=53840
2013-12-08 01:28:00 +00:00
Guy Harris b4b18b314a Expand a comment.
svn path=/trunk/; revision=53839
2013-12-08 01:21:58 +00:00
Michael Mann 5c4a125202 Correctly update the data length of the SCSI payload within ISCSI. Bug 9521 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9521)
From Yaniv Kaul

svn path=/trunk/; revision=53838
2013-12-08 01:15:55 +00:00
Guy Harris 562348fbb8 Add ENC_ISO_8859_1.
Move the Wikipedia links for the code page layouts in front of the
tables whose contents reflect the code page layouts.

svn path=/trunk/; revision=53837
2013-12-08 01:05:35 +00:00
Michael Mann 0f05597ab1 DTLS decryption enhancements. Bug 9499 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9499)
From Hauke Mehrtens

1. dtls: set ssl_set_server() in DTLS dissector so wireshark knows if this is client or server
2. SSL: add decrypt support for CCM and CCM_8 Ciphers per rfc 6655
3. dtls: add psk decrypt support

svn path=/trunk/; revision=53836
2013-12-08 00:58:06 +00:00
Chris Maynard 7d10a416a3 Reject the packet if data is NULL.
svn path=/trunk/; revision=53835
2013-12-07 23:27:36 +00:00
Guy Harris 3c2bd00ccf Note what the two new character encoding tables in charsets.c are.
svn path=/trunk/; revision=53833
2013-12-07 22:45:37 +00:00
Jakub Zawadzki c193f9c9e4 Use strutil xml_escape() function
svn path=/trunk/; revision=53832
2013-12-07 19:46:05 +00:00
Guy Harris a2b9f02e59 Fix some cases where STR_UNICODE was used with FT_DOUBLE.
svn path=/trunk/; revision=53831
2013-12-07 19:43:59 +00:00
Jakub Zawadzki 333fea4fb9 Add missing consts.
svn path=/trunk/; revision=53829
2013-12-07 17:49:41 +00:00
Martin Kaiser fa5083e8af make SAC message padding filterable
svn path=/trunk/; revision=53828
2013-12-07 17:40:02 +00:00
Jakub Zawadzki 7ab18667e5 Drop proto_tree_add_unicode_string() from IP, IPv6, JSON dissectors.
Set .display to STR_UNICODE (instead of STR_ASCII).

svn path=/trunk/; revision=53827
2013-12-07 15:48:35 +00:00