Commit Graph

27471 Commits

Author SHA1 Message Date
Pascal Quantin 0bd1190393 BGP: fix a variable underflow
Bug: 13557
Change-Id: I882c8a7161ff233e289a413579ed51c3b8f43c36
Reviewed-on: https://code.wireshark.org/review/20940
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-06 04:50:06 +00:00
Pascal Quantin 899f989113 WASSP: replace a DISSECTOR_ASSERT() by an expert info
Bug: 13555
Change-Id: I052600eee1e0bf0f036e419bc9df7ff228941883
Reviewed-on: https://code.wireshark.org/review/20937
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-05 21:47:05 +00:00
Pascal Quantin 462fba965a LAPSat: remove a useless assert
If the length is bigger than the captured length, an excpetion will be thrown anyway

Bug: 13554
Change-Id: Icf0f2b049847ec945efdf42815b49c4e6040e19d
Reviewed-on: https://code.wireshark.org/review/20936
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-05 21:45:27 +00:00
Simon Zhong f53333f433 BGP: Update BGP Path Attributes with latest IANA assignment.
Change-Id: I6f66a5d51677db6cfea279c322ef9f976452de90
Reviewed-on: https://code.wireshark.org/review/20930
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-05 21:44:45 +00:00
Pascal Quantin a00b971b07 TAPA: replace DISSECTOR_ASSERT() calls by expert info
Bug: 13553
Change-Id: I01d35c7e68bfee6d30da63cb804dd9913bb5a7a2
Reviewed-on: https://code.wireshark.org/review/20932
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-04-05 20:08:39 +00:00
Guy Harris 357cfd3b03 A bunch of "{Mac} OS X" -> "macOS" changes.
Avoid anachronisms, however; there was no "macOS 10.0" or even "OS X
10.0", for example.  It was "Mac OS X" until 10.8 (although 10.7 was
sometimes called "OS X" and sometimes called "Mac OS X"), and it was "OS
X" from 10.8 to 10.11.

Change-Id: Ie4a848997dcc6c45c2245c1fb84ec526032375c3
Reviewed-on: https://code.wireshark.org/review/20933
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-04-05 19:16:22 +00:00
Michal Labedzki c0184059d1 Bluetooth: HCI_CMD: Implement all remaining commands
Commands:
  Set Connectionless Slave Broadcast Data
  Read Synchronization Train Parameters
  Write Synchronization Train Parameters
  Read Secure Connections Host Support
  Write Secure Connections Host Support
  Read Authenticated Payload Timeout
  Write Authenticated Payload Timeout
  Read Local OOB Extended Data
  Read Extended Page Timeout
  Write Extended Page Timeout
  Read Extended Inquiry Length
  Write Extended Inquiry Length

Change-Id: If6d7a7b5405c9b9bd708553d56c6bd372b0b293b
Reviewed-on: https://code.wireshark.org/review/20891
Petri-Dish: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michal Labedzki <michal.labedzki@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-05 10:53:44 +00:00
Pascal Quantin 48a614da2e LTE RRC: add description of FGI 42 bit
Change-Id: Ie72e82c26eddef9ca99b7da801cc85e54ba5158e
Reviewed-on: https://code.wireshark.org/review/20924
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-04-05 09:09:34 +00:00
Michael Mann 9f71c86880 A few more BASE_UNIT_STRING cases.
Change-Id: Ic443f773d19e63aad59292bfb540f58bda565241
Reviewed-on: https://code.wireshark.org/review/20917
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
2017-04-05 07:13:17 +00:00
Michael Mann 70eeeff25c packet-etch.c: Optimize proto_item_append_text use
Change-Id: I0272b7160fa2207fd4bba40d9d4b59ab920c6298
Reviewed-on: https://code.wireshark.org/review/20916
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
2017-04-05 07:06:10 +00:00
Michal Labedzki 76edea174f Bluetooth: HCI_CMD: Fix master-slave role
Initiator is always master. Only Role switch event may change it.
Improve "Accept Connection Request" to avoid users confusion
by using new specification description:
0x00 Become the Master for this connection. The LM will perform the role switch.
0x01 Remain the Slave for this connection. The LM will NOT perform the role switch.

Field "Role" is now splitted from: "bthci_cmd.role"
and it name is "bthci_cmd.acr.role".

Change-Id: I98e3641b9ba9d2fd6c97808e4772beb4265018fd
Reviewed-on: https://code.wireshark.org/review/20894
Petri-Dish: Michal Labedzki <michal.labedzki@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michal Labedzki <michal.labedzki@wireshark.org>
2017-04-05 07:05:27 +00:00
Michael Mann cf54564508 packet-geneve.c: Convert print_flags to proto_tree_add_bitmask
Change-Id: Ibf3ed8885737dcec2f59ba640ff202097195322d
Reviewed-on: https://code.wireshark.org/review/20915
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-05 04:48:50 +00:00
Alistair Leslie-Hughes 697ea9affa dpnet: Dissect command frame packets
Change-Id: I00305d1a2d6f3d0f260f5ca6352e7f40ea3e878b
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Reviewed-on: https://code.wireshark.org/review/20876
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-05 04:32:34 +00:00
Simon Zhong f9c800adfe ISIS: Adjust header field names to align with ISO 10589:2002.
Change-Id: Id495f1ca5a7ea2081b6ed35690ad94978c17ec6f
Reviewed-on: https://code.wireshark.org/review/20808
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-05 04:30:05 +00:00
Alexis La Goutte 919b26323b dpnet: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Ic3831f8d4e174a56c3b3f6ca2428496e9b307d05
Reviewed-on: https://code.wireshark.org/review/20901
Reviewed-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-05 03:44:00 +00:00
Pascal Quantin e46a8fc9cc E.212: fix a typo
Thanks Gerald

Change-Id: I9e076e2b83e0868620cb943cd29e93f0495bc913
Reviewed-on: https://code.wireshark.org/review/20913
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-04-04 22:06:24 +00:00
Jaap Keuter 0852b7b57c EAPOL-MKA: Implement updates from IEEE standards
Alignment with IEEE 802.1X-2010
- Addition of Announcement

Alignment with IEEE 802.1X-2010 EAPOL-MKA
- Interpretation of algorithm agility value
- Interpretation of confidentiality offset values
- Interpretation of (wrong) cipher suite ID
- Padding handling for more parameter sets
- Improved robustness malformed frames
- Flexible SAK size handling
- Addition of Announcement parameter set
- Split ICV from ICV indicator
- Handle unknown parameter set

Additions for IEEE 802.1Xbx-2014
- Allow version 2 handling
- Addition of XPN parameter set

Change-Id: If7a36de6bb3b5148bfd1bd890e4490c045fba40d
Reviewed-on: https://code.wireshark.org/review/20899
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-04 18:11:19 +00:00
Guy Harris 2a8bcfe86c White space and style cleanups.
Get rid of extra blank lines.

Clean up indentation.

Use the same style for switch statements inside cases for the main
switch statement in dissect_dns_answer() that's used for the main switch
statement.

Change-Id: I77da88a9ffcbf176d27e16222e75c778202c651b
Reviewed-on: https://code.wireshark.org/review/20907
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-04-04 18:05:59 +00:00
Nicolas Bertin 20edef4915 NOE: fix "Context" field decoding of EVT_CONTEXT_SWITCH message (was "Unknown" instead of "Call Server" or "Presentation Server")
Change-Id: I85e2980d5cb4adb4f5806dbc215df016c094c75e
Reviewed-on: https://code.wireshark.org/review/20904
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-04 17:42:42 +00:00
Michal Labedzki 7f32349815 Bluetooth: HCI_CMD: Implement a lot of remaining commands
Commands:
  Enhanced Setup Synchronous Connection
  Enhanced Accept Synchronous Connection Request
  Truncated Page
  Truncated Page Cancel
  Set Connectionless Slave Broadcast
  Set Connectionless Slave Broadcast Receive
  Start Synchronization Train
  Receive Synchronization Train
  Remote OOB Extended Data Request Reply
  Set MWS Channel Parameters
  Set External Frame Configuration
  Set MWS Signaling
  Set MWS Transport Layer
  Set MWS Scan Frequency Table
  Set MWS Pattern Configuration
  Set Reserved LT_ADDR
  Delete Reserved LT_ADDR
  Set Triggered Clock Capture
  AMP Test
  Write Secure Connections Test Mode

Fix copy-paste issue:
Implementation for "Get MWS Transport Layer Configuration"
was in: "Set Triggered Clock Capture"

Change-Id: I4a2119278b1f3a7e1a3ec87f499d9aa43e8b8a96
Reviewed-on: https://code.wireshark.org/review/20890
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-04 15:05:10 +00:00
Pascal Quantin 386dd82bff ICMPv6: use a single field for RPL Secure Algorithm
Bug: 13551
Change-Id: If652f2c7c351cca271e9b08708db7c0b47b82932
Reviewed-on: https://code.wireshark.org/review/20872
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-04-04 12:07:37 +00:00
Alexis La Goutte 077f99f8de RTPS: fix no previous prototype for function 'rtps_util_add_timestamp' [-Wmissing-prototypes]
Change-Id: I2757f6442b9f3d37897225a90dd6d848e4a9c373
Reviewed-on: https://code.wireshark.org/review/20889
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-04 11:33:40 +00:00
Michal Labedzki 174dc4b363 Bluetooth: HFP: Fix "Parameters" field highlight
It seems that "Parameters" highlight only one byte instead of all
parameters. Fix that before someone requests to fix that.

Change-Id: If056f16ffbfc234e5d6443fb43b34bc107df964f
Reviewed-on: https://code.wireshark.org/review/20898
Petri-Dish: Michal Labedzki <michal.labedzki@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-04 11:33:01 +00:00
Michal Labedzki 34fa55cbb2 Bluetooth: HCI: Fix tracking for "Read Clock Offset"
Fix missing information about command-event(response) tracking.

Change-Id: I060ae71f8efb774d4d04693e58f750dec442c046
Reviewed-on: https://code.wireshark.org/review/20896
Petri-Dish: Michal Labedzki <michal.labedzki@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-04 11:32:17 +00:00
Michal Labedzki 889752a294 Bluetooth: PBAP: Fix two Application Parameters fields
Application Parameters:
  vCard Selector
  Data Filter

Both are splitted to two 4-bytes subfield, so there is a need to
move offset for second field.

Change-Id: I66c106f5455bff8789f25c683301276b1e484e65
Reviewed-on: https://code.wireshark.org/review/20892
Petri-Dish: Michal Labedzki <michal.labedzki@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-04 11:31:35 +00:00
Michal Labedzki ae7ac4441e Bluetooth: HFP: Fix expert info for reserved field in +BRSFs
It seems to be issue introduced while implementing
features from new specification - add new bits in bitmask field
without correcting expert info condition.

Change-Id: I5a4fb4147971f565cfb5dd1abf4e5616ce9da4c5
Reviewed-on: https://code.wireshark.org/review/20895
Petri-Dish: Michal Labedzki <michal.labedzki@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-04 11:29:36 +00:00
Michal Labedzki 4543d339e3 Bluetooth: HCI_CMD: Fix wrong field name
Interval -> Window

Change-Id: Ic40811a87fd301a07e2a9af60b152feeab395ead
Reviewed-on: https://code.wireshark.org/review/20893
Petri-Dish: Michal Labedzki <michal.labedzki@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-04 11:28:11 +00:00
Nicolas Bertin c449ca037f NOE: update protocol definitions
Change-Id: I3cf8b006d792b8c866297aa6c06d9d7b005307fe
Reviewed-on: https://code.wireshark.org/review/20881
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-04 04:07:52 +00:00
Pascal Quantin bc40ae8075 WLCCP: ensure that offset is always incremented in dissect_wlccp_tlvs()
Bug: 13549
Change-Id: I4613d1e2708a65b6e9968a5a920bd1b15366ffe0
Reviewed-on: https://code.wireshark.org/review/20871
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-04 02:20:52 +00:00
Martin Kaiser bf524d95f3 wbxml: don't THROW() an exception from a dissector
If the offset is out of bounds, we can simply continue and
proto_tree_add_...() will throw an exception for us.
While at it, wrap some long lines and remove obsolete coments about
g_malloc()ed memory (the dissector has been converted to wmem).

Change-Id: Icd36418f07c0cf33c5fe906a8a2d3160789ee1f2
Reviewed-on: https://code.wireshark.org/review/20856
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-04 01:57:51 +00:00
Pascal Quantin 965cd913bf E.212: update list to Operational Bulletin No. 1121 (1.IV.2017)
Change-Id: Ic04f30108deb004281569eb225e42a9515430db0
Reviewed-on: https://code.wireshark.org/review/20882
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-03 21:34:20 +00:00
Stig Bjørlykke 9d7ce7aa8f ieee802154: Add missing parenthesis in incorrect FCS
Change-Id: Iea1855c00dbceac340bc0f65f23fdb1cb74250ec
Reviewed-on: https://code.wireshark.org/review/20883
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2017-04-03 19:40:52 +00:00
Martin Kaiser 877b9a0d52 tcp: (trivial) remove some unnecessary if (tree) checks
Doing the checks ourselves doesn't save a lot of time.

Change-Id: Icd96d6487ba88bc8a0f9d475e8f569803b40cf1a
Reviewed-on: https://code.wireshark.org/review/20859
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-03 13:51:41 +00:00
Pascal Quantin 7b0e5f87ce MAC-LTE: enhance a bit dissection of Bandwidth Reduced related packets
Change-Id: I12fac09c982b78b16df1ca93cbae8850a4e214ed
Reviewed-on: https://code.wireshark.org/review/20879
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-04-03 13:02:54 +00:00
Stig Bjørlykke d99112d393 Use col_append_str() for fixed strings
Change from col_append_fstr() to col_append_str() when
appending strings without formatting.

Change-Id: I8975704c246f2b9a1301ed5f96273aa9d61c6f44
Reviewed-on: https://code.wireshark.org/review/20857
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-03 05:32:17 +00:00
Pascal Quantin a3444529e5 GTPv2: fix dissection of TWAN PLMN-ID
Bug: 13552
Change-Id: I8c854eb30fd025a286f3823526c7f26acc8a758c
Reviewed-on: https://code.wireshark.org/review/20873
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-03 05:26:24 +00:00
Guy Harris 12434e9678 Fix dissection of Get Info requests.
If the length of the input buffer is zero, it means there *is* no input
buffer; don't use the offset of that buffer plus the length as the
offset past the end of the end of the packet, as both will probably be
zero.  Also, for a request to get quota info, report a warning if
there's no input buffer, as MS-SMB2 seems to say there must be one.

If the length of the input buffer is *not* zero, ignore the iput buffer
for requests other than requests to get quota info or full extended
attribute info, as MS-SMB2 says a server should do that.  Otherwise,
make sure the offset of the input buffer is past the end of the
fixed-length part of the request and the offset+length doesn't overflow
or go past the end of the message.

While we're at it, for some routines that return a "next offset", use
that return value rather than wiring in the length in the caller.

Bug: 12954
Change-Id: If3d8846f5e03d0d7cdfe10ddfacb347bd0915a5a
Reviewed-on: https://code.wireshark.org/review/20874
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-04-02 22:34:47 +00:00
Pascal Quantin bc48169614 DNS: add an expert info if buffer is too short to compute a key id
Bug: 13548
Change-Id: I4c018ae7a46ebb3e667004293b3f6e180f9d693f
Reviewed-on: https://code.wireshark.org/review/20855
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-02 18:00:59 +00:00
Pascal Quantin cf7979c657 WSP: fix addition of X-Wap-Tod header in tree
Bug: 13546
Change-Id: Ie1e78cc7ada338b17a21a32714fed4816724a4f8
Reviewed-on: https://code.wireshark.org/review/20850
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-02 17:59:05 +00:00
Pascal Quantin a68cb9e90f PacketBB: fix hf_packetbb_addr_value[3] field type
Bug: 13545
Change-Id: Ic2dff0eeb2d312f573696cba9376cc004be17af9
Reviewed-on: https://code.wireshark.org/review/20852
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-02 17:58:24 +00:00
Pascal Quantin b0b39a737a PEEKREMOTE: treat header size as a signed integer
Bug: 13544
Change-Id: If04ad8e71f06c289673492db3ed916e85cfc55e5
Reviewed-on: https://code.wireshark.org/review/20853
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-02 17:57:36 +00:00
Pascal Quantin f564e2d735 MIH: fix subtree addition in dissect_dev_states()
Bug: 13547
Change-Id: Ib3eed331178284758953db5300ce6ea651d7dddd
Reviewed-on: https://code.wireshark.org/review/20854
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-02 17:56:25 +00:00
Stig Bjørlykke 9d1f2efa51 Use col_append_sep_str() for fixed strings
Change from col_append_sep_fstr() to col_append_sep_str() when
appending strings without formatting.

Change-Id: I315aca9b815c204a5bc78f7326402c40d1325f0e
Reviewed-on: https://code.wireshark.org/review/20846
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-02 16:40:28 +00:00
Pascal Quantin 8350873a46 BGP: remove some true_false_string values obsoletes after gf998923
Change-Id: I10753353d0593b736630118ccf0a797d48e087b8
Reviewed-on: https://code.wireshark.org/review/20847
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-04-02 14:54:12 +00:00
Stig Bjørlykke fe2857d8e5 tcp: Add separator to Info column when segmented
Prefix the Info column entry "[TCP segment of a reassembled PDU]"
with a space if the column is not empty.

Change-Id: If4fc46b2d8a2d261044767c534da34e2d27435f8
Reviewed-on: https://code.wireshark.org/review/20845
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-02 08:06:23 +00:00
Simon Zhong f998923bae BGP: Remove redundant text in Path Attributes.
Also added display of lower-order four bits of the Attribute Flags ("unused").

 Current implementation of displaying path attribute flags shows flag description twice if the flag was set.

 For example, with Optional and Length set, the attribute flags were displayed as follows:

             Flags: 0x90, Optional, Length: Optional, Non-transitive, Complete, Extended Length
                 1... .... = Optional: Optional
                 .0.. .... = Transitive: Non-transitive
                 ..0. .... = Partial: Complete
                 ...1 .... = Length: Extended length

 Now they are displayed as follows:

            Flags: 0x90, Optional, Extended-Length, Non-transitive, Complete
                1... .... = Optional: Set
                .0.. .... = Transitive: Not set
                ..0. .... = Partial: Not set
                ...1 .... = Extended-Length: Set
                .... 0000 = Unused: 0x0

Change-Id: Iec3c92ac2383dd3f736598b089a74f0f3c165bae
Reviewed-on: https://code.wireshark.org/review/20732
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-02 06:53:05 +00:00
Nick 7a1679b4fe ACN with blobs and magic bullet
Bug: 13315
Change-Id: I2322e5f08fefbe6979cf4bed46596ac6636cccf9
Reviewed-on: https://code.wireshark.org/review/19542
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-04-02 06:47:42 +00:00
Stig Bjørlykke 235ee14d28 ssl: Fix Info column separator
Always prefix Info column entries with comma if the column is
not empty.

Bug: 13539
Change-Id: I47b43841b092671fe5a74c99ec8aaa15f144bced
Reviewed-on: https://code.wireshark.org/review/20844
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-01 23:33:16 +00:00
Guy Harris de032c63e0 Check before setting the length of a protocol item.
Don't assume that 8 + {32-bit unsigned integer} won't overflow.  Use
tvb_ensure_bytes_exist() to ensure that the data in question is present;
it also checks for overflows.

Also, set the length after we've succeeded in dissecting the item - if
we throw an exception, it's because we don't have all the data, so the
tvb_ensure_bytes_exist() would have failed, but this way we at least get
to dissect what data we *do* have.

Change-Id: If27a2e3ed7978c2051ccb2ddba0d498255d0e350
Reviewed-on: https://code.wireshark.org/review/20840
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-04-01 19:28:39 +00:00
Alistair Leslie-Hughes 420da27a13 Add DirectPlay 8 Enumation Query/Response packets
Bug: 13541
Change-Id: Ie8133be9ef7b3943d8cf66c5c4fe024250912253
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Reviewed-on: https://code.wireshark.org/review/20820
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-01 09:51:48 +00:00