aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2017-07-19X2AP: update version info in headerPascal Quantin2-2/+2
Change-Id: I5e5faf6cc389bc334c31ef0277858c9e99245b67 Reviewed-on: https://code.wireshark.org/review/22712 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-07-19ZigBee make ZCL Frame Control direction more descriptiveChris Brandson3-2/+5
Using just client or server as a direction is a source of confusion so made a more discriptive item Change-Id: I8675aba555b04f6ae8848cf9e1c720eb4b44b553 Reviewed-on: https://code.wireshark.org/review/22628 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-19ICMPv6: RA: Add Captive Portal Option (RFC7710)Uli Heilmeier1-1/+19
RFC 7710 (https://tools.ietf.org/html/rfc7710#section-2.3) defines option 37 Captive Portal URI for Router Advertisments. Change-Id: I257412ef1cf22d47018974cd0ef9000b748d01ac Reviewed-on: https://code.wireshark.org/review/22703 Reviewed-by: Michael Mann <mmann78@netscape.net> 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-07-19AVRCP: fix parsing of Media Player ItemsMarie Janssen1-7/+7
From the AVRCP 1.6.1 spec, page 76, the "Player ID" is two octets. Also, the Play Status field comes before the Feature Bit Mask. Change-Id: Ifd0ad82650d395395b16f9441f02b8835befa360 Reviewed-on: https://code.wireshark.org/review/22709 Reviewed-by: Michael Mann <mmann78@netscape.net> 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-07-19IEEE 802.15.4: MPX dissect IEEE 802.11 4WH/GKH with EAPOL dissectorRobert Sauter1-2/+2
Change-Id: I8972a9a9efef31ab77571f333fb040569fb7de9a Reviewed-on: https://code.wireshark.org/review/22622 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-07-19ICMPv6: Fix data length for unknown optionUli Heilmeier1-2/+2
The length value includes the Type and Length fields. Therefore the length of the Data field is two bytes smaller. Change-Id: I93878a016ace083f4e766bee6e16e301d6903967 Reviewed-on: https://code.wireshark.org/review/22702 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-07-18Extend enterprises.tsv to accept spaces as separatorsJoão Valverde1-14/+7
We can do so easily because the format is so simple. This makes it more convenient for a user to hand-edit a dictionary in the personal config folder. We still use tabs in the system file for a small space gain. Also add a brief description of the format as a comment. Change-Id: If3f741bff16f1f42c8ef07d643dc6463caaad1a5 Reviewed-on: https://code.wireshark.org/review/22678 Reviewed-by: Guy Harris <guy@alum.mit.edu> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-18ZigBee cleanup minor errorsChris Brandson6-72/+76
Alarm Code now correctly displayed as a byte Missing ZCL status codes from ZCL 6 and ZCL 7 have been added Input and Output Cluster Lists now displayed in hex as they are everywhere else The term Device is no longer used, instead Nwk Addr and Address are used as applicable Change-Id: I552f4b64974bf44088a1c8f90d44e5459a0f81a6 Reviewed-on: https://code.wireshark.org/review/22683 Reviewed-by: Michael Mann <mmann78@netscape.net> 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-07-18LPP: upgrade dissector to v14.2.0Pascal Quantin6-427/+5105
Change-Id: I445c5ef34c1a688310042634eb38bed9b17cadaf Reviewed-on: https://code.wireshark.org/review/22679 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-07-18CQL: Fixes the dissector so PREPARE Results have the Query IDSimon Vans-Colina1-2/+4
Change-Id: I518335dc317ac5fb3c1339686579ff44b73c2546 Reviewed-on: https://code.wireshark.org/review/22675 Reviewed-by: Anders Broman <a.broman58@gmail.com> Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-07-17802.11: fix SNR Report for 802.11ad is not decoded correctlyAlexis La Goutte1-2/+2
Wrong BITMAP Bug: 13892 Change-Id: I525c6d7534543f03db023bb43df2484531d43931 Reviewed-on: https://code.wireshark.org/review/22666 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-07-17ZigBee: Implemented zigbee zcl prepay dissectorMartin Boye Petersen1-11/+987
Change-Id: I61feeae7d20ad67ecb86fc53708f04e051fd88c7 Reviewed-on: https://code.wireshark.org/review/22655 Petri-Dish: 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-07-17ERF_TYPE_META write and comment supportAnthony Coddington2-32/+275
Support per-packet comments in ERF_TYPE_META through a new Anchor ID extension header with per-Host unique 48-bit Anchor ID which links an ERF_TYPE_META record with a packet record. There may be more than one Anchor ID associated with a packet, where they are grouped by Host ID extension header in the extension header list. Like other ERF_TYPE_META existing comments should not be overwritten and instead a new record generated. See erf_write_anchor_meta_update_phdr() for detailed comments on the extension header stack required. As Wireshark only supports one comment currently, use the one one with the latest metadata generation time (gen_time). Do this for capture comment too. Write various wtap metadata in periodic per-second ERF_TYPE_META records if non-WTAP_ENCAP_ERF or we have an updated capture comment. Refactor erf_dump to create fake ERF header first then follow common pseudoheadr and payload write code rather than two separate code paths. Support an ERF_HOST_ID environment variable to define Wireshark's Host ID when writing. Defaults to 0 for now. ERF dissector updates to support Anchor ID extension header with basic frame linking. Update ERF_TYPE_META naming and descriptions to official name (Provenance) Core changes: Add has_comment_changed to wtap_pkthdr, TRUE when a packet opt_comment has unsaved changes by the user. Add needs_reload to wtap_dumper which forces a full reload of the file on save, otherwise wireshark gets confused by additional packets being written. Change-Id: I0bb04411548c7bcd2d6ed82af689fbeed104546c Ping-Bug: 12303 Reviewed-on: https://code.wireshark.org/review/21873 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stephen Donnelly <stephen.donnelly@endace.com> Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-07-16GPRSCDR: decoding of GPRS/UMTS QoS-informationJoakim Karlsson5-9/+44
Change-Id: Ia912925f689d2912c62d01fcc8230065204b6f15 Reviewed-on: https://code.wireshark.org/review/22633 Reviewed-by: Anders Broman <a.broman58@gmail.com> Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-07-16bthci-evt: decrement number_of_loops to avoid hang (CID 1399639).Dario Lombardo1-0/+1
Change-Id: Ib8af835a331582677a391c59d145530cf0590122 Reviewed-on: https://code.wireshark.org/review/22644 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-07-16ssl,dtls: make some fields in RSA keys dialog optionalPeter Wu3-18/+17
The IP address has been unused since 2.0. The port/protocol fields have become unnecessary since 2.4 with the introduction of Decode As. Do not require the user to specify these fields if they just want to set the RSA key file. In a future version, these three fields will be completely removed. Change-Id: Iefc5a8778aa1122b76b707018c00b6ec429dc107 Reviewed-on: https://code.wireshark.org/review/22640 Petri-Dish: Peter Wu <peter@lekensteyn.nl> 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-07-15Rename enterprises to enterprises.tsv and ship it.Gerald Combs1-1/+1
Rename "enterprises" to "enterprises.tsv" so that its format is a bit more obvious and so that double-clicking the file might do something useful. Add it to the Windows packages. Change-Id: I5ef54a04ce1b4926aa4535e756e04b3e2a56d463 Reviewed-on: https://code.wireshark.org/review/22616 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-15Add AMT (Automatic Multicast Tunneling) RFC7450 dissectorAlexis La Goutte3-0/+352
Change-Id: Ic5e52b76e84e1d02d614b34980f94fd1288c9760 Reviewed-on: https://code.wireshark.org/review/22594 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-07-15MP2T: Add video/mp2t media-typeUli Heilmeier1-0/+1
Add video/mp2t media-type to dissect MP2T inside HTTP Bug: 13888 Change-Id: I8af9727bd69ab28a21811a807a1f631bde952926 Reviewed-on: https://code.wireshark.org/review/22623 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-07-14vsock: add missing vsockmon header reserved fieldStefan Hajnoczi1-0/+7
The vsockmon packet header is defined in <linux/vsockmon.h> as follows: struct af_vsockmon_hdr { __le64 src_cid; __le64 dst_cid; __le32 src_port; __le32 dst_port; __le16 op; /* enum af_vsockmon_op */ __le16 transport; /* enum af_vsockmon_transport */ __le16 len; /* Transport header length */ __u8 reserved[2]; }; The vsock dissector forgot to include the 2-byte reserved field. This caused the transport header and payload that follow the vsockmon header to contain junk data. Change-Id: I0e7e6f1d9ad96ab339bd070c1becf43bc7e6a6b1 Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-on: https://code.wireshark.org/review/22612 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2017-07-14vsock: add WTAP_ENCAP_VSOCK constantStefan Hajnoczi1-1/+10
A linktype was recently assigned to Linux vsock in libpcap commit cfdded36ddcf5d01e1ed9f5d4db596b744a6cda5 ("added DLT_VSOCK for http://qemu-project.org/Features/VirtioVsock"). The Wireshark vsock dissector can now be automatically applied when wtap_encap matches the new WTAP_ENCAP_VSOCK constant. This patch makes Wireshark dissect vsock packet captures without manually specifying the dissector. Change-Id: If252071499a61554f624c9ce0ce45a0ccfa88d7a Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-on: https://code.wireshark.org/review/22611 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2017-07-14SMB2: add sessionkey table in prefs for decryptionAurelien Aptel1-31/+162
Add table in SMB2 protocol options to store Session ID => Session Key mappings. If we find a matching session id while dissecting, use session key from the table to derive crypto keys used for decryption. Sample from https://wiki.wireshark.org/SampleCaptures#SMB3_encryption can be loaded as follows: tshark -ouat:smb2_seskey_list:3d00009400480000,28f2847263c83dc00621f742dd3f2e7b -r smb3-aes-128-ccm.pcap To obtain the session id and key you can compile your kernel with CIFS_DEBUG_KEYS enabled and all the info should be printed on the console when cifs.ko generates keys. The patch that adds this config option was merged recently and should appear in the not-yet-released 4.13 kernel. Alternatively you can read the keys from live memory on a x86_64 system by running a gdb script as root (see email [1] for usage and source [2]). [1]: https://lists.samba.org/archive/samba-technical/2017-May/120755.html [2]: http://lists.samba.org/pipermail/samba-technical/attachments/20170524/2950140e/cifs_dump_keys.py Change-Id: I2709bb5fb316a4a3614901efe967196c2925609a Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-on: https://code.wireshark.org/review/21711 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-14SIP: Add Status Code 607 (Unwanted)Uli Heilmeier1-0/+1
RFC 8197 defines the new status code 607 Unwanted Change-Id: I61299788b25f5ada460c88949bed3cabddc3908f Reviewed-on: https://code.wireshark.org/review/22618 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> 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-07-14[print.c] g_slist_free_full requires #include <wsutil/glib-compat.h>AndersBroman1-0/+1
Change-Id: Iba3a95d67413d7f1a84436fc51dfdf13251bcece Reviewed-on: https://code.wireshark.org/review/22620 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-13[GTPv2] Use proto_tree_add_bitmask_with_flags() for ULI Flags.AndersBroman1-22/+31
Change-Id: I7c209eef0114e4453008b8e7d7f8c238578e4433 Reviewed-on: https://code.wireshark.org/review/22606 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> 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-07-13[GTPv2] Make dissect_gtpv2_uli() external and add more info when callingAndersBroman2-3/+14
dissectors for private extensions. Change-Id: I5762fdff2b25bca8d29520780c55367b636a2871 Reviewed-on: https://code.wireshark.org/review/22604 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-07-13S1AP: upgrade dissector to v14.3.0Pascal Quantin10-297/+1264
Change-Id: Ib28228db70a23d6f73f3c1740abc2e6542818ff9 Reviewed-on: https://code.wireshark.org/review/22609 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-07-13LPPa: upgrade dissector to v14.2.0Pascal Quantin9-352/+1854
Change-Id: I534f6e480e0cd13f4592ff3ca6ecd7f769863927 Reviewed-on: https://code.wireshark.org/review/22608 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-07-13X2AP: upgrade dissector to v14.3.0Pascal Quantin8-17/+534
Change-Id: Idee26dcdfad15d9fb23e3fb8aeb8ad8afed747d5 Reviewed-on: https://code.wireshark.org/review/22607 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-07-13couchbase: fix decoding last lookup specSergey Avseyev1-1/+1
Change-Id: I96ae6225adee6875adad9e45c0543b9664b96e8a Reviewed-on: https://code.wireshark.org/review/22605 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-07-13M2AP: upgrade dissector to v14.0.0Pascal Quantin9-11/+179
Change-Id: If564a2cffead403dd3d06c1a031b8985fcde7e4b Reviewed-on: https://code.wireshark.org/review/22603 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-07-13IEEE 802.15.4: Support the MPX IE defined by IEEE 802.15.9Robert Sauter2-4/+284
Still open: Reassembly and support for KMP payload dissection besides EAPOL Bug: 13883 Change-Id: I48a1e6af5c6fb5594fb4e6a5258db0d8ebaf4a70 Reviewed-on: https://code.wireshark.org/review/22597 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-07-13NAS EPS: upgrade dissector to v14.4.0Pascal Quantin4-10/+159
Change-Id: I8b0ae56889f6a52ba7d8c0c95a6b8e6a31557fa3 Reviewed-on: https://code.wireshark.org/review/22601 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-07-12Correct the dissection of zero-length SSIDs to show them as Wildcard SSIDs asRichard Sharpe1-2/+16
per 802.11 2012 8.4.2.2 SSID Element. Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com> Change-Id: I3ee2fc45063bc1ee6cb1244771e6c1452f6704e4 Reviewed-on: https://code.wireshark.org/review/22591 Reviewed-by: Anders Broman <a.broman58@gmail.com> Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2017-07-11IndigoCare iCall: Support for padded packetsErik de Jong1-5/+22
Fix to dissect packets from certain implementations of this protocol which have null padding at the end of otherwise valid packets. Change-Id: Ic7790d9bbcf9467a9de0aa738e65a597802ce494 Reviewed-on: https://code.wireshark.org/review/22593 Reviewed-by: Anders Broman <a.broman58@gmail.com> Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-07-11QUIC: rename to G(oogle)QUICAlexis La Goutte3-644/+644
quic => gquic Change-Id: Ica9ae8cc77e09056507c9c4c5c798b613eb56194 Reviewed-on: https://code.wireshark.org/review/22589 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-07-11QUIC: like Fbzero dissector check direclty offset_endAlexis La Goutte1-60/+10
and don't subtract tag_len Change-Id: I4dbae23614ecad0dc30e9c8581acdbf5b38b037f Reviewed-on: https://code.wireshark.org/review/22588 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-11QUIC: move get length packet number to functionAlexis La Goutte1-24/+24
Change-Id: I272866b04aa7833812df9d4baae2f4fe9f47b6e9 Reviewed-on: https://code.wireshark.org/review/22587 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-11QUIC: directly return lenAlexis La Goutte1-36/+28
Change-Id: I61fed177c85081e7067ce5245349ef673c31f6e1 Reviewed-on: https://code.wireshark.org/review/22586 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-11Zbee ZCL se: fix typo found by conflict hfAlexis La Goutte1-1/+1
'zbee_zcl_se.met.publish_snapshot.payload_type' exists multiple times with NOT compatible types: FT_BYTES and FT_UINT8 Change-Id: I97bc7cb467508192a3597836b721778341bc756c Reviewed-on: https://code.wireshark.org/review/22590 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-07-11[x509af] Make CertificateSerialNumber an unsigned integer to handle a 9AndersBroman4-10/+9
byte 64 bit BER encoded unsigned number. Change-Id: I43e4a7f3103fac458a528022e0fdf6f0947804dc Reviewed-on: https://code.wireshark.org/review/22585 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-07-11Ethertype: Add 6LoWPAN Ethertype; register dissectorRobert Sauter3-0/+9
Change-Id: I3ba09b8ebc696b83531b998fcc3a0f521d86df41 Reviewed-on: https://code.wireshark.org/review/22581 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> 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-07-11packet-rsl.c: Adds dissection of Physical Context field.Piotr Tulpan1-3/+195
Added as option with the default value set to TRUE. Dissection is based on file generated from Tektronix Monitoring Solution for Mobile Networks. Change-Id: Iedb2e742d1d406bc68e41334cac4a15da443cf3f Reviewed-on: https://code.wireshark.org/review/22507 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-07-11GSMTAP: add LTE RRC message supportMartin Heusse2-4/+43
This code is borrowed from a patch proposed by altaf329@gmail.com in june 2015 (Ice136a9cb950bb97a11bee4486071b6883a0cad7) and adapted to fit current wireshark code (and minus the LTE MAC frame dissector). Change-Id: Iaa1ea8b2d7a3e618f8aa14203449f2c77b4727f5 Reviewed-on: https://code.wireshark.org/review/22515 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-07-11etypes(.h): fix typoAlexis La Goutte1-1/+1
found by Robert Sauter Change-Id: I8099797ae52bdee512c7dff0423717a5acb2d36f Reviewed-on: https://code.wireshark.org/review/22582 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2017-07-11QUIC: Add new error code (98) about decompression failureAlexis La Goutte1-1/+4
Change-Id: I6a29e89eb18c737c257953f3dbe98727ad9815e9 Reviewed-on: https://code.wireshark.org/review/22556 Petri-Dish: 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-07-11IEEE 802.15.4: Revise Payload IE dissectionRobert Sauter2-123/+157
Isolate dissection of individual IEs to capture out-of-bound errors and to continue with next IE on error. More consistent display. Use dedicated HFs and ETTs. More consistent code with fewer casts. Add warning if IE dissection consumes less content than the indicated length. Change-Id: I1481145b9248eaa9f3d3ddf6c0e32d39b4a63861 Reviewed-on: https://code.wireshark.org/review/22577 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-11Expand register_decode_as_next_proto to include prompt string.Michael Mann18-226/+42
Many dissectors don't have an identifier to pass to a dissector table. When using Decode As they all have a "value" function that returns 0 just so something is returned. A first step to a cleaner refactor of the functionality is to allow dissectors to provide a "prompt" function when registering Decode As with register_decode_as_next_proto() so that the text exposed in the GUI can vary, but the function that returns 0 (nothing) can be consolidated under decode as registration functionality. This casts a wider net for register_decode_as_next_proto() use. Change-Id: I2995b3c251dae70f5f529b672473d25c6288ed5c Reviewed-on: https://code.wireshark.org/review/22562 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-07-10NBAP: fix Coverity CID 1414728Pascal Quantin2-2/+2
Change-Id: Ib64334f1fa8d7ff92dbfdf9bb805049f687836b7 Reviewed-on: https://code.wireshark.org/review/22579 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-07-10UMTS FP: Fix access violation in PCH heuristic dissectorDarien Spencer1-4/+12
The dissector was accessing NULL if the first frame in the PCH stream was a control FP. Change-Id: Icdf2fae57436fe59e16ebe0a5233675e7599f5f4 Reviewed-on: https://code.wireshark.org/review/22578 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>