Commit Graph

18759 Commits

Author SHA1 Message Date
Michael Mann bfcc63972e Remove ppid member from packet_info structure and just pass it to SCTP subdissectors. There are no subdissectors currently in Wireshark source that use the ppid member so any third party dissectors need to update accordingly.
svn path=/trunk/; revision=53424
2013-11-19 01:07:28 +00:00
Guy Harris fe2cd1d08a Terminate a value_string array.
svn path=/trunk/; revision=53420
2013-11-18 23:27:06 +00:00
Alexis La Goutte 785ebdc13c From Matt Texier Enhance BGP Dissector : AS_PATH
Full rewrite of BGP AS_PATH attribut using items and a clearer (and documentated !) heuristic

From me
Fix indent

svn path=/trunk/; revision=53419
2013-11-18 22:02:50 +00:00
Guy Harris 418a98cd8b It's incremented, so not a const.
Clean up indentation while we're at it.

svn path=/trunk/; revision=53418
2013-11-18 21:42:43 +00:00
Alexis La Goutte e069d1c9ea From Peter Wu
Add RFC6066 CertificateUrl TLS extension

This is not supported by OpenSSL or NSS, the extension itself seems
unsafe, but some implementations seem to support it[1].

Untested, no capture available.

 [1]: http://www.ietf.org/mail-archive/web/tls/current/msg02535.html

svn path=/trunk/; revision=53417
2013-11-18 20:27:04 +00:00
Alexis La Goutte 123e3d9203 From Peter Wu
Add status_request_v2 TLS extension dissection (RFC6961)

Besides adding status_request_v2 support, this patch moves the
Certificate Status Type from the OCSP Status subtree to its parent
(the extension tree). This is needed because this type applies to all
OCSPResponse fields.

The check for "tree != NULL" seems unnecessary here, it was not
clarified in the original patch so I removed it.

From me
Fix typo
Remove unneeded tvb_ensure_bytes_exist
Use proto_tree_add_item

svn path=/trunk/; revision=53416
2013-11-18 20:26:55 +00:00
Alexis La Goutte 954584d31b From Peter Wu
Add TLS StatusRequest (RFC6066) ClientHello extension recognition

Only empty Responder ID lists and empty Request Extensions are
implemented. I could not really find existing clients or servers that
populate these.

This status_request extension has a different signature for a
ClientHello and ServerHello, in the latter the extension_data field
must be empty. Therefore an additional parameter is added to
dissect_ssl3_hnd_hello_ext.

From me :
Fix typo

svn path=/trunk/; revision=53415
2013-11-18 20:26:46 +00:00
Alexis La Goutte 22f57a900b From Peter Wu
Support for EncryptedExtensions handshake type (a.k.a. NextProtocol)

Based on https://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04

From me
Fix warning found by fix-encoding-args

svn path=/trunk/; revision=53414
2013-11-18 20:26:37 +00:00
Martin Kaiser 6188141e3e fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9448
pass data parameter to afp dissector

svn path=/trunk/; revision=53410
2013-11-18 11:16:32 +00:00
Guy Harris 87fb87b769 I guess "v4" is 1.3 and "v5" is 1.4. I'm sure there's a reason why that
makes sense of a sort....

svn path=/trunk/; revision=53409
2013-11-18 07:58:16 +00:00
Guy Harris 9965f29399 You don't get to have three separate protocols all with the name
"OpenFlow 1.3".

svn path=/trunk/; revision=53408
2013-11-18 07:54:48 +00:00
Anders Broman adc82b16ba From Zoltán Lajos Kis:
Start of OpenFlow 1.4 dissector.

svn path=/trunk/; revision=53405
2013-11-18 06:24:27 +00:00
Martin Kaiser 7d39211e62 add a cast to fix compiler warning
svn path=/trunk/; revision=53401
2013-11-17 17:51:59 +00:00
Pascal Quantin b4b5d00712 Fix the number of highlighted bytes in case of unaligned PER constrained integer
svn path=/trunk/; revision=53400
2013-11-17 17:00:11 +00:00
Pascal Quantin 1c73d047b3 From Chris Bontje via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9442 :
DNP3 bug fix for analog data sign bit bandling

svn path=/trunk/; revision=53399
2013-11-17 16:40:25 +00:00
Pascal Quantin d28beab722 From Chris Bontje via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9435 :
SEL Fast Message bug fix for signed 16-bit integer fast meter messages

svn path=/trunk/; revision=53398
2013-11-17 15:57:51 +00:00
Pascal Quantin 55a9182c00 From Peter Lemenkov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9441 :
Fix Notify IPv6 address parsing in RTPproxy dissector

svn path=/trunk/; revision=53394
2013-11-17 14:48:55 +00:00
Pascal Quantin 3ddf37e930 From Peter Lemenkov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9440 :
RTPproxy: use proto_item_append_text instead of rewriting the entire item's text

svn path=/trunk/; revision=53393
2013-11-17 14:32:40 +00:00
Alexis La Goutte 374683f052 Fix indent (2 spaces) and remove trailing whitespace
svn path=/trunk/; revision=53392
2013-11-17 14:28:42 +00:00
Pascal Quantin c25fab0718 From Peter Lemenkov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9430 :
Fix empty ToTag in RTPproxy's Offer/Update command

svn path=/trunk/; revision=53391
2013-11-17 14:14:41 +00:00
Martin Kaiser 768d2777a3 use explicit casts to fix compilation on OS X
svn path=/trunk/; revision=53386
2013-11-17 14:02:54 +00:00
Pascal Quantin 101c3cd268 From Peter Lemenkov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9429 :
Fix Notify info parsing in RTPproxy dissector

svn path=/trunk/; revision=53385
2013-11-17 13:59:06 +00:00
Martin Kaiser 2510118bc5 From Abhik Sarkar:
dissector for Kyoto Tycoon binary protocol

from me:
make port range preference work
highlight the correct bytes for records
remove trailing commas
correct(?) 64->32 cast

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9418

svn path=/trunk/; revision=53383
2013-11-17 13:36:21 +00:00
Pascal Quantin ea45be32c5 Add a way to retrieve a PER variable bit string length
svn path=/trunk/; revision=53382
2013-11-17 13:31:32 +00:00
Guy Harris db25270df8 Move the epan/filesystem.c routines to wsutil; they're not specific to
packet dissection, they're specific to the entire Wireshark suite of
programs.

svn path=/trunk/; revision=53377
2013-11-17 02:55:14 +00:00
Jakub Zawadzki bc8d5a1e61 Fix previous commit + rename to bitswap.
svn path=/trunk/; revision=53375
2013-11-16 22:44:29 +00:00
Jakub Zawadzki 004220fb63 Exporting/importing variables cause problems, so create function to do bitswaping.
svn path=/trunk/; revision=53374
2013-11-16 22:31:07 +00:00
Martin Kaiser e542bd8a78 dissect operator tune status, reorder some defines
svn path=/trunk/; revision=53371
2013-11-16 17:23:46 +00:00
Martin Kaiser f161482f47 dissect extended event usage
svn path=/trunk/; revision=53370
2013-11-16 17:22:56 +00:00
Martin Kaiser 65a96c1c59 interpret the flags for EIT p/f, EIT sch usage
svn path=/trunk/; revision=53369
2013-11-16 14:17:06 +00:00
Pascal Quantin 28886d126b Clear protocol column when the dissector is known
svn path=/trunk/; revision=53368
2013-11-16 14:08:03 +00:00
Pascal Quantin 13672dc1e8 Put "GSM SIM" in protocol column
svn path=/trunk/; revision=53367
2013-11-16 13:15:44 +00:00
Jakub Zawadzki 3b9f6dfab4 Move bitswap.[ch] from epan to wsutil.
svn path=/trunk/; revision=53365
2013-11-16 09:16:57 +00:00
Jakub Zawadzki 4f78d3c69b Don't include <epan/bitswap.h> when not needed
svn path=/trunk/; revision=53364
2013-11-16 09:11:26 +00:00
Jakub Zawadzki d84c4ef2ad Remove svn:executable property from packet-finger.c packet-whois.c
svn path=/trunk/; revision=53363
2013-11-16 08:56:44 +00:00
Chris Maynard 09916263a0 Add a basic finger dissector.
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9432

svn path=/trunk/; revision=53362
2013-11-16 03:21:06 +00:00
Bill Meier a848b341ac Create/use extended-value-strings to reference certain value-strings;
Constify a character array;
Fix a typo in a coment;
Tweak some whitespace;

svn path=/trunk/; revision=53360
2013-11-16 02:53:12 +00:00
Bill Meier 3e5b82ddcc Constify a character array;
Add forward declarations for proto_register_...() & proto_reg_hand_off_...();
Remove a boilerpalte comment;
Tweak some whitespace;
Add editor modelines.


svn path=/trunk/; revision=53359
2013-11-16 02:48:43 +00:00
Bill Meier d973799957 Constify a character array;
'localize' some variables;
Remove some unneeded initializers;
Move proto_reg_handoff_...() to the end of the file as per convention;
Add forward declarations for proto_register_...() & proto_reg_hand_off_...();
Reformat some long lines;
Tweak some whitespace;
Add editor modelines.

svn path=/trunk/; revision=53358
2013-11-16 02:46:04 +00:00
Bill Meier 5eac1781ff Constify two character arrays;
'#if 0' variable 'set but never used' & related code;
'localize' some variables;
Remove some unneeded initializers;
Tweak some whitespace;
Add editor modelines.

svn path=/trunk/; revision=53357
2013-11-16 02:36:53 +00:00
Bill Meier 0892ff63fa Change editor modelines to reflect actual indentation used in file (4 spaces);
Replace a few tabs with spaces;
Fix some spelling in comments;
Tweak some whitespace.


svn path=/trunk/; revision=53355
2013-11-16 02:30:02 +00:00
Jakub Zawadzki ea73d4a55c Avoid calling find_dissector(), cache result of [new_]register_dissector()
svn path=/trunk/; revision=53353
2013-11-16 01:10:05 +00:00
Pascal Quantin 70b9ce2b48 Dissect USB Com Network Control Model requests
svn path=/trunk/; revision=53349
2013-11-15 23:16:25 +00:00
Guy Harris 23e55c696e To quote GCC, "uninitialized const 'zeroes' is invalid in C++". I guess
that must be true, and that there's a reason why it's invalid....

svn path=/trunk/; revision=53336
2013-11-15 01:20:34 +00:00
Bill Meier 2fb674f739 Create/use value_string_ext to reference a value-string-array.
Define an array as const.


svn path=/trunk/; revision=53334
2013-11-15 00:15:20 +00:00
Bill Meier 530d88d874 Let's try putting the 'const' in the right place...
svn path=/trunk/; revision=53332
2013-11-14 23:54:09 +00:00
Bill Meier bc17e76462 Create/use value_string_ext to reference certain value-string-arrays.
Define an array as const.
Add editor modelines.
Do some minor whitespace & formatting style changes.

svn path=/trunk/; revision=53330
2013-11-14 23:11:12 +00:00
Jakub Zawadzki b5916f0f12 Expand CHECK_DISPLAY_AS_X ('this macro looks like a hack') macro in packet-ieee80211.c, remove it.
svn path=/trunk/; revision=53327
2013-11-14 22:40:40 +00:00
Bill Meier 64f4e13fff Create/use value_string_ext to reference certain value-string-arrays.
Define an array as const.
Remove some unneeded initializers.
Add editor modelines.
Do some minor whitespace changes.

svn path=/trunk/; revision=53325
2013-11-14 22:26:08 +00:00
Martin Kaiser 7226846846 share Data Broadcast IDs between MPEG descriptor and DVB-CI
svn path=/trunk/; revision=53323
2013-11-14 21:49:23 +00:00