Commit Graph

76371 Commits

Author SHA1 Message Date
Pascal Quantin 5fb897077e NAS 5GS: fix dissection of ngKSI in Registration Request message
Bug: 16163
Change-Id: I00e5aa1f6e543eaf06d4c4f0e98c94eba80f5f6d
Reviewed-on: https://code.wireshark.org/review/34875
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-10-28 14:36:15 +00:00
Pascal Quantin c77471437f NAS 5GS: fix dissection of PLMN in a few IEs
The MNC is encoded in little endian format, not big endian.
The IEs impacted are 5GS tracking area identity list, service area list
and SOR transparent container.

Bug: 16162
Change-Id: I05acc5fb7d1c4a84f53cc5b2a21ee12c4813593d
Reviewed-on: https://code.wireshark.org/review/34874
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-10-28 13:26:20 +00:00
Anders Broman 5e8b6f3012 NAS 5GS: Rejected NSSAI. use correct offsets.
Change-Id: I30e1bda0d57dc7d5dfd5bf2036e6db6c9c211f3d
Reviewed-on: https://code.wireshark.org/review/34871
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-28 09:35:52 +00:00
John Serock 3a0b512b11 HomePlug AV: Fix dissection of MMTYPE and FMI
Get MMTYPE MSB from the three most significant bits, bits 5 through 7,
instead of bits 1 and 2. Get FMI Fragment count from the four most
significant bits instead of the four least significant bits. Get FMI
Fragment index from the four least significant bits instead of the four
most significant bits.

Bug: 16158
Change-Id: Ib51789486be4562f76114081cbbf3aa22a41ff2e
Reviewed-on: https://code.wireshark.org/review/34868
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-10-27 23:21:30 +00:00
Guy Harris c9c33affd9 Add more checks, fail for negative byte block lengths.
Have dissect_kafka_string_new() set a flag if the length was negative.
If the length is negative, don't try to process what comes afterwards.

Make the length argument to decompression routines unsigned, and do
various checks.  Don't try to decompress a zero-length block, and quit
if the decompressed block is zero-length.

Bug: 16082
Change-Id: I34c2ea99aa096b3f5724d9b113171b105bd6c60b
Reviewed-on: https://code.wireshark.org/review/34867
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-10-27 23:00:10 +00:00
Tomasz Moń 7995b45e03 Qt: Respect saved extcap multiselect configuration
Do not reset multiselect configuration to defaults on every extcap
configuration window open.

Change-Id: I04036ad6723f66c2ac036aae5bf70ded5029a66b
Reviewed-on: https://code.wireshark.org/review/34864
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-10-27 21:18:04 +00:00
Tomasz Moń b1e9de7eb8 extcap: Do not append disabled boolflags
If boolean flag is active by default, then when launching extcap without
opening configuration dialog it would be added to extcap call regardless
of user configuration. Modify the logic so default value is used only if
there is no stored user configuration available.

Change-Id: I1855a058a99e2395da5593486411e160d48fca4b
Reviewed-on: https://code.wireshark.org/review/34865
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-10-27 20:28:32 +00:00
Guy Harris 73ac329193 Fix val_to_str() call.
The format argument (third argument) is used with the numerical value
passed to val_to_str(), so it should have a numerical format item, not a
string format item.

Bug: 16146
Change-Id: I91ae0edd7fe06fb95ae74697b06bd4f50b696f9f
Reviewed-on: https://code.wireshark.org/review/34866
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-10-27 19:51:22 +00:00
Gerald Combs 4c67990296 [Automatic update for 2019-10-27]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: Ic8bc6882d217da5f04e7e3ef1e58c3f16ca23fd3
Reviewed-on: https://code.wireshark.org/review/34861
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-10-27 08:23:34 +00:00
Bob Hinden 97617b8106 IPv6: New Hop by Hop Path MTU Option
Add support to Wireshark for new hop-by-hop option defined in:

https://tools.ietf.org/html/draft-ietf-6man-mtu-option-01

This Hop-by-Hop IPv6 option is designed to be used to
record the minimum Path MTU along the forward path between a source
host to a destination host.  This collects a minimum recorded MTU
along the path to the destination.  The value can then be
communicated back to the source using the return Path MTU field in
the option.

Change-Id: I5dfc1a70aedd347b128bc3c5cd96f9d5a0752e3b
Reviewed-on: https://code.wireshark.org/review/34786
Reviewed-by: João Valverde <j@v6e.pt>
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Tüxen <tuexen@wireshark.org>
2019-10-26 21:05:18 +00:00
Dario Lombardo 829d2c3752 synphasor: fix compilation with gcc-5/6.
They complain because of an uninitialized variable.

../epan/dissectors/packet-synphasor.c: In function ‘config_3_frame_fast’:
../epan/dissectors/packet-synphasor.c:782:7: error: ‘ai’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     ai[i].conv = 1;
       ^
../epan/dissectors/packet-synphasor.c:767:7: error: ‘pi’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     pi[i].unit = phasor_unit & 0x00000800 ? A : V;
       ^

Change-Id: I2013ca9ddff5551328d2b86decc5e52fe052b6d0
Reviewed-on: https://code.wireshark.org/review/34859
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-10-26 20:39:51 +00:00
Dario Lombardo 04e660d082 nfs: fix guint64 format in proto_item_append_text.
../epan/dissectors/packet-nfs.c:7070:48: error: format specifies type 'long' but the argument has type 'guint64' (aka 'unsigned long long') [-Werror,-Wformat]
                        proto_item_append_text(attr_tree, " = %ld", size);
                                                              ~~~   ^~~~
                                                              %llu

Change-Id: Iab7c6e026e9e5668e5d744eaedc67cd055f5e3cc
Reviewed-on: https://code.wireshark.org/review/34860
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-10-26 20:39:01 +00:00
Dwayne Rich 254502d765 Add config 3 frame support synphasor
Config 3 frames are optional in the synchrophasor standard.
Add support so that they get dissected correctly.

Bug: 16140
Change-Id: I6e0f7f653b99a9fd817736d69687132ae9a8537d
Reviewed-on: https://code.wireshark.org/review/34800
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-26 13:29:29 +00:00
Jorge Mora fab358df16 NFS: add dissector for FATTR4_MDSTHRESHOLD
Add dissector for the MDS threshold attribute for the
files layout type. For any other layout type just display
the bitmap mask and the bitmap opaque data.

Change-Id: I3325218eb0e8b29d20b1bb540148f3b18cd4ef8f
Reviewed-on: https://code.wireshark.org/review/34845
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-26 13:28:57 +00:00
Nathaniel Clark 11d7765a6c lustre: MDS opcode cleanup
Fill out MDS HSM opcode processing.
Lustre 2.13/2.12.3 has added MDS_RMFID RPC.
Reorder MDS opcodes to numeric order.

Change-Id: I732b55f62195358b860ca7403f699fc4ff10faaf
Signed-off-by: Nathaniel Clark <nathaniel.clark@misrule.us>
Reviewed-on: https://code.wireshark.org/review/34826
Petri-Dish: Graham Bloice <graham.bloice@trihedral.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-26 13:28:28 +00:00
Vasil Velichkov 44870fb1c2 wslua: Fix two memory leaks in the lua tests
Add the newly create ProtoField to the test_proto.fields in order to be freed.

ERROR: LeakSanitizer: detected memory leaks

Direct leak of 64 byte(s) in 1 object(s) allocated from:
    #0 0x55e041f5ef86 in realloc (/home/vasko/sources/wireshark/build_clang/run/tshark+0x222f86)
    #1 0x7fd8e0919e7d in g_realloc gmem.c:164:16
    #2 0x7fd8e08e457b in g_array_maybe_expand garray.c:820:21
    #3 0x7fd8e08e4b49 in g_array_append_vals garray.c:428:3
    #4 0x7fd8ef112b6e in value_string_from_table /home/vasko/sources/wireshark/epan/wslua/wslua_proto_field.c:294:9
    #5 0x7fd8ef10ee10 in ProtoField_new /home/vasko/sources/wireshark/epan/wslua/wslua_proto_field.c:646:24

Direct leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x55e041f5ef86 in realloc (/home/vasko/sources/wireshark/build_clang/run/tshark+0x222f86)
    #1 0x7fd8e0919e7d in g_realloc gmem.c:164:16
    #2 0x7fd8e08e457b in g_array_maybe_expand garray.c:820:21
    #3 0x7fd8e08e4b49 in g_array_append_vals garray.c:428:3
    #4 0x7fd8ef111e2e in range_string_from_table /home/vasko/sources/wireshark/epan/wslua/wslua_proto_field.c:226:17
    #5 0x7fd8ef10e43f in ProtoField_new /home/vasko/sources/wireshark/epan/wslua/wslua_proto_field.c:642:24

Fixes: v3.1.1rc0-497-g0371994223 ("wslua: Improve parameter check in ProtoField.new()")
Change-Id: I05b8bf3d78c8a540c6cf33d11dc3f3e01f83b8c5
Reviewed-on: https://code.wireshark.org/review/34834
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-26 13:27:45 +00:00
Gerald Combs dc3cdf87a5 Release notes: We're building with VS 2019 on Windows.
Change-Id: I5fd3f6546419aa5906cbc3def2be175989fa0e4b
Reviewed-on: https://code.wireshark.org/review/34858
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-10-25 16:11:32 +00:00
Anders Broman dd71c18594 nas-5gs:Dissect 9.11.3.46 Rejected NSSAI.
Change-Id: Idc85a790b326e1087d10c3968eac84ff6d0382d4
Reviewed-on: https://code.wireshark.org/review/34857
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-25 14:10:02 +00:00
Roland Knall a3e3a73a82 Qt: Move Filterbuttons to display filter
Allow filterbuttons to be dragged to the display filter
bar

Change-Id: I25e87d0ca86fc7437a20994800bec164ccffef27
Reviewed-on: https://code.wireshark.org/review/34838
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-25 13:47:13 +00:00
Roland Knall ca64fb62c0 Qt: Simplify displayfilter handling
Change-Id: Ide96262668ad99608feddfbcc854664d729d09d0
Reviewed-on: https://code.wireshark.org/review/34854
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-25 13:46:51 +00:00
Roland Knall eb454caf0b FilterFiles: Remove GTK+-only filter lists
Those are no longer needed by the GUI

Change-Id: I5eb12c2ebe84885ddba510b9d2b49679a292e7f0
Reviewed-on: https://code.wireshark.org/review/34855
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-25 13:46:44 +00:00
Anders Broman a4401d5e68 nas-5gs:Fix dissection of NAS key set identifier
Bug: 16155
Change-Id: Ife4048d140e2d30d1d26a680c548783a14447199
Reviewed-on: https://code.wireshark.org/review/34853
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-25 12:20:12 +00:00
Martin Mathieson 6ac12b4e84 snort: Show top-level config errors using popup window
Not queueing up as most likely only one of these would pop up.
Not trying to show every possible error - only really verifying
that the binary and top-level config file are specified correctly.

Change-Id: I2adf2557989bfc67874f5ac2648b1ba8d2a3eb25
Reviewed-on: https://code.wireshark.org/review/34851
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2019-10-25 11:44:04 +00:00
Jorge Mora 1fc558b82b NFS: Fixing again stateid display of other_hash
Initially added feature to match linux kernel hash value of
stateid to the wireshark in
  commit 05c47d755a
  change id I70c6d2b88822b6f735e8bc506a1bfcb421f6ddb9
  [NFS] adding stateid hash based on stateid.other

This has been broken by
  commit b913bcc13a
  change id I3bf7caefc3341887a4c9137500dfeac0115af8cf
  NFSv4: Fix for duplicate StateId hashes

This patch fixes it to again calculate a crc32 hash to
make it to the linux kernel output.

Change-Id: Ibb29516de61bd9bdf2dd1164da4b14412aa7a71c
Reviewed-on: https://code.wireshark.org/review/34842
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-25 03:24:45 +00:00
Anders Broman dda619fb70 nas-5gs: NAS-5GS 5GS network feature support incorrectly dissected
Bug: 16149
Bug: 16147
Change-Id: Ib09c8697f8f5d0751d49a872e9f7ceafc7b4f22b
Reviewed-on: https://code.wireshark.org/review/34850
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-24 12:37:16 +00:00
Anders Broman b71ae7471b lte-rrc: Register dissector for UEPagingCoverageInformation and -NB
Change-Id: I42cd7a917e3a79d61a6ae5dc80765814ad0650a7
Reviewed-on: https://code.wireshark.org/review/34849
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-24 10:17:48 +00:00
Michal Ruprich 67ebeee251 wiretap: no "drop_count" in pcapng format
When using wiretap to create a pcapng file,
the drop_count field from the wtap_packet_header
in wiretap/wtap.h is not being dumped to the file
in pcapng_write_enhanced_packet_block function.

Bug: 16062
Change-Id: Id9b8dbd1f7406e019fab00ff7a4167ab27543f62
Reviewed-on: https://code.wireshark.org/review/34836
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-24 07:06:53 +00:00
Pascal Quantin eb4e83d589 asn2wrs.py: fix parsing of integer unions with extension
When parsing the description
ExpectedActivityPeriod ::= INTEGER (1..30|40|50|60|80|100|120|150|180|181,...)
asn2wrs.py was generating some code where the has_extension flag was
wrongly set to false, leading to a decoding error.

Bug: 16145
Change-Id: I0d54994c0656f5b48f3dcd1864218c45a4ebc308
Reviewed-on: https://code.wireshark.org/review/34837
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-10-23 20:16:32 +00:00
Pascal Quantin e50fd8b608 NAS 5GS: small fixes for PDU session establishment request message
- add missing Always-on PDU session requested IE
- decode SM PDU DN request container IE as UTF-8 string

Change-Id: I841c509fadeb870014b85543fe25fdb7f2d11071
Reviewed-on: https://code.wireshark.org/review/34830
Reviewed-by: Pascal Quantin <pascal@wireshark.org>
Petri-Dish: Pascal Quantin <pascal@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-23 04:09:42 +00:00
Gerald Combs 4308ae3d47 tools: Add update-appdata.py
Add a script that fills in the <releases/> section of
wireshark.appdata.xml.

Change-Id: I643a8271f2bf1a5c2cd0be9930a6ca7c71935e42
Reviewed-on: https://code.wireshark.org/review/34824
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-10-22 17:09:41 +00:00
Jaap Keuter 54fac1e309 SNMP: handle Net-SNMP Engine Id of 12 octets
The Net-SNMP code creates an Engine Id size based on the compilation
size, either 8 or 12 octets long. The initial change added handling of
the '4B/8B random, 4B epoch seconds' format. A different format seems
more likely though, hence this change, implementing handling of the
'4B random, 4B/8B epoch seconds' format instead.

Bug: 16051
Change-Id: I8105b0ba69004f6c15e6b1926c677cb4c5b76f17
Reviewed-on: https://code.wireshark.org/review/34816
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
2019-10-22 16:37:48 +00:00
Roland Knall 3f105cae4d Qt: Move reset to contextmenu
Forego of the button and move the reset functionality to a
context menu

Change-Id: Ib23029586c69c8f3cd7c989c8b7c1f09be219bb1
Reviewed-on: https://code.wireshark.org/review/34827
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-10-22 11:50:20 +00:00
Martin Mathieson 21fa4a427a Protobuf: for UDP frames, show top-level summary in columns.
Will show PB(<message_name>) in Protocol column, and details of top-level
message elements in the Info column.

Change-Id: Ia00fb90bb7ec990300a990555a0ab6fbddf01ef9
Reviewed-on: https://code.wireshark.org/review/34822
Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Huang Qiangxiong <qiangxiong.huang@qq.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-22 04:35:26 +00:00
Roland Knall f8ec872017 Qt: Reset all changes in the column preferences
Allow the user to reset the changes done. This can be done
at any time, as long as the dialog has not been closed

Change-Id: I0d72a7972b4ea94b53fbed4c84ea952fd6f71b01
Reviewed-on: https://code.wireshark.org/review/34825
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-10-21 21:40:57 +00:00
Tomasz Moń 7e2aada266 Qt: Connect destroyed() signal to flushAppSignals()
Connect destroyed(QWidget *) signal instead of finished(int) to
flushAppSignals(). This is to ensure that flushAppSignals() is executed
after any potential accepted() or rejected() slots.

This fixes the code flow for preferences update. That is, the signals are
first queued in PreferencesDialog::on_buttonBox_accepted() before
flushAppSignal() is executed.

Change-Id: Ie1497df66adb52cdc10d1b7c701f531d4eeb7351
Reviewed-on: https://code.wireshark.org/review/34823
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-10-21 17:34:00 +00:00
Jaap Keuter bc44c7e0cd TVB(LZ77+Huffman): return proper value on error (CID1451652)
When preparing to decompress the encoded tree size is the minimum input
size. When not met the return value (FALSE) would still indicate success,
being value 0. This could lead to NULL pointer dereference later on.
Change the return value to -1 to match the function return type.

Change-Id: Ie81d98f55af33518a34bc0b79c29450064886bc3
Reviewed-on: https://code.wireshark.org/review/34818
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-21 07:11:40 +00:00
Jaap Keuter 15a18f385f Qt: Make enum truly anonymous (CID1452175)
Having an enum in a class is an established technique, although it is
intended to be anonymous when not related to an attribute.

Change-Id: Id599da0432b5289217f2162d26616452d10b1922
Reviewed-on: https://code.wireshark.org/review/34817
Petri-Dish: Roland Knall <rknall@gmail.com>
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-10-20 22:44:20 +00:00
Roland Knall 1c21bcaeed Qt: Make enums anonymous
Make them anonymous as they are not related to any attribute

Change-Id: I697ce1c04196e035bf5d394b0785826d251fb8cf
Reviewed-on: https://code.wireshark.org/review/34821
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-10-20 22:43:43 +00:00
Roland Knall 366bd1947d Qt: ColumnPreferences hide hidden columns
Filter on columns being hidden or not

Change-Id: Ia41f556e00c7de471b1d4b7f9b5f6c099b7ddcf3
Reviewed-on: https://code.wireshark.org/review/34820
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-10-20 22:40:38 +00:00
Roland Knall 6820e3515a Qt: Fix Column Preferences
The current implementation has some serious bugs. e.g. if an added
column is moved, existing columns disappear. Also, if new columns
are being added, existing columns may disappear. This moves the column
preferences to a Movel/View concept and implements necessary checks
to ensure, that such an issue cannot occur

Change-Id: I73810812180e2fbed4d2fe67316f190aba82c719
Reviewed-on: https://code.wireshark.org/review/34819
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
2019-10-20 22:20:38 +00:00
Rainer Keller df1c73d68f Opcua: Fix display of GUIDs
GUIDs of the OPC UA protocol are always encoded in little endian format.
Using the default RFC4122 decoder assumes big endian and results in displaying
wrong values.

Change-Id: I0c2f60ca2f1c0ae118e8388ec58291dc0d1222b9
Reviewed-on: https://code.wireshark.org/review/34790
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
2019-10-20 16:33:35 +00:00
Gerald Combs 07358f7012 [Automatic update for 2019-10-20]
Update manuf, services enterprise numbers, translations, and other items.

Change-Id: I370243c3c9737b46d51b8ba5470228dd2dc52122
Reviewed-on: https://code.wireshark.org/review/34811
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-10-20 08:18:43 +00:00
Moshe Kaplan 9d6551f3fd WSUG: fix <= escaping
Change-Id: I06ddd372ae51580bc9010db1f3bf32f69360d2f7
Reviewed-on: https://code.wireshark.org/review/34798
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-19 11:34:18 +00:00
Volodymyr Veskera c810782192 Netflow: Niagara Networks decode for SSL SHA-1 IPFIX IE.
Change-Id: I8ec149a218e0db42bdc06796b6c800bbe0f48d79
Reviewed-on: https://code.wireshark.org/review/34806
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
2019-10-19 09:53:37 +00:00
Darien Spencer da8b79d3a4 RLC: mark depended frames
Using mark_frame_as_depended_upon like other reassembling dissectors

Change-Id: I2b1f476d9339d8277fb0d3420d94ec32d402c0ee
Reviewed-on: https://code.wireshark.org/review/34807
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-10-19 04:04:10 +00:00
Ken Aaker 74f4c78d7c AgentX: Register dissector so find_dissector() can find it
Change-Id: Idfe4d7040dfdd7273b39f79ac4f5bdae2e8c990d
Reviewed-on: https://code.wireshark.org/review/34810
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-10-19 03:52:57 +00:00
Richard Sharpe a5b3fb8f43 ieee1905: Move to the latest version of the Multi-AP spec.
This handles the various Multi-AP additions and has been checked by
the WFA.

Change-Id: I56d32f3efec24923e1a710cb67c67f7e0b4630dc
Reviewed-on: https://code.wireshark.org/review/34794
Petri-Dish: Richard Sharpe <realrichardsharpe@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
2019-10-18 21:13:41 +00:00
Jorge Mora d809297ebf NFS: add dissect_nfs4_bitmap function
Add generic function to dissect the bitmap4 struct and
optionally its corresponding opaque data. The behavior
is customized by setting the nfs4_bitmap_info_t struct
given as argument. The items are displayed when their
corresponding hf_* labels are given (not set to NULL).

The type argument if set to NFS4_BITMAP_MASK only the
bitmap is dissected and displayed as a list of attribute
names. Otherwise if set to NFS4_BITMAP_VALUES the bitmap
is dissected including their respective values.

The function dissect_nfs4_fattrs was modified to use
dissect_nfs4_bitmap instead and all functionality which
dissects the value of each attribute was moved to a
separate function dissect_nfs4_fattr_value.

All functionality from dissect_nfs4_fattrs is given in
the new function dissect_nfs4_bitmap, but it also
includes additional functionality:
- Gracefully handle a bitmap attribute which does not
  have a dissector and a warning is displayed.
- If there is a problem dissecting one of the bitmap
  attribute values then do not attempt to dissect any
  more values and a warning is given explaining why
  the values were not dissected. In this case at least
  the rest of the attributes names are displayed.
- If any error is found dissecting the values then all
  bytes left undissected are just consumed so the rest
  of the NFS packet is correctly dissected.
- Add subtree if the name is given, all bitmap data
  will be under this main tree.
- Show mask label when the number of bitmap masks is 0
  and the type is to display only the bitmap mask.

Use function dissect_nfs4_bitmap instead to process the
state protect bitmaps. Also, use correct labels
"spo_must_enforce" and "spo_must_allow" instead of using
the generic label "operation mask" for both bitmap masks.
Finally, display the operation masks including the list
of operation names in each mask.

Use function dissect_nfs4_bitmap instead to process the
hints mask in IO_ADVISE.

Use function dissect_nfs4_bitmap instead to process the
notify mask in GETDEVICEINFO.

Bug: 16107
Change-Id: Ic470fd003bbc18feeadbd5d2cd0aa56329682bd6
Reviewed-on: https://code.wireshark.org/review/34714
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-10-18 11:44:52 +00:00
Anders Broman 2c5f89ae29 CMake: Add abillity to add custom taps.
Change-Id: I2b6382a3a97117bc40b5433123401c19b31cda82
Reviewed-on: https://code.wireshark.org/review/34802
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-10-18 10:45:28 +00:00
Maxim Sharabayko 7c7d0fa1c2 SRT: Fixed misnamed field srt.bufavail
Change-Id: I03d336100e91bdf35165b380a1220a2f4efc8484
Reviewed-on: https://code.wireshark.org/review/34804
Petri-Dish: Graham Bloice <graham.bloice@trihedral.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
2019-10-18 10:42:24 +00:00