aboutsummaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2020-09-09tools: Migrate gen-bugnote to GitLab.Gerald Combs1-30/+13
Update gen-bugnote to fetch issue titles from GitLab's issue API.
2020-09-08MySQL: Added support for MariaDB protocolGeorg Richter1-0/+1
MariaDB and MySQL are not longer drop-in compatible, they differ in very different directions for protocol and api. This patch contains support for MariaDB specific commands and extensions: - MariaDB specific character sets and collations (also updated MySQL collations) - MariaDB extended capabilities in greeting and login packets - Support for MARIADB_STMT_BULK_EXECUTE command - Removal of "5.5.5-" prefix in the version string.
2020-09-07Yet more spelling fixes.Martin Mathieson2-0/+35
Includes small updates to the script and wireshark dictionary. Probably the last spelling fixes from me for a while.
2020-09-07check_spelling.py: fix a variable name, and add a few dictionary words.Martin Mathieson2-1/+8
2020-09-06Add spell-checking script.Martin Mathieson2-0/+1262
check_spelling.py scans Wireshark source or documentation files, using the general dictionary from pyspellcheck, augmented by the contents of wireshark_words.txt. Can scan: - entire folders (recursively) - individual files - open files - files affected by recent git changes
2020-09-06Gitlab: Add templates for issuesUli Heilmeier1-0/+3
Adding templates for reporting a Bug and Feature Request Exclude .gitlab from checklicenses.py
2020-09-05Tools: Clean up checkAPI and add ui/qt.Gerald Combs1-18/+22
Remove the --check-addtext and --build flags. They were used for checkAddTextCalls, which was removed in e2735ecfdd. Add the sources in ui/qt except for qcustomplot.{cpp,h}. Fix issues in main.cpp, rtp_audio_stream.cpp, and wireshark_zip_helper.cpp. Rename "index"es in packet-usb-hid.c.
2020-09-04tools: Make the "Allow commits" error more obnoxious.Gerald Combs1-7/+10
Add ANSI codes and emoji so that the error stands out in the pipeline output. Clarify the text.
2020-09-02tools: Force "Allow commits from members..." in merge requests.Gerald Combs1-0/+38
Add a verify_merge_request routine to validate-commit.py. If the required CI_MERGE_REQUEST_XXX environment variables are set it uses them to query the GitLab API to see if "allow_collaboration" is true in the current merge request. This is a ham-fisted way of ensuring that committers can rebase and can be removed if and when https://gitlab.com/gitlab-org/gitlab/-/issues/23308 is fixed.
2020-09-01CI+tools: Install lintian.Gerald Combs1-5/+6
Install lintian instead of devscripts (which pulls in lintian + many other packages) in .gitlab-ci.yml. Add lintian to DEBDEPS_LIST in debian-setup.sh.
2020-08-28nl80211: Fix abbreviated field names for NANMikael Kanstrup1-1/+6
Python's lstrip apparently doesn't strip a prefix but instead strips all supplied characters from beginning of a string. Using lstrip in generate-nl80211-fields.py script to remove the 'nl80211_' prefix happened to work for everything but a few NAN related enums. Introduce a remove_prefix function and regenerate the nl80211 dissector code to fix the abbreviated field names for NAN.
2020-08-26Windows: upgrade Npcap to 0.9997Pascal Quantin1-4/+4
2020-08-24Convert Gerrit URLs to GitLab.Gerald Combs1-1/+1
Convert various code.wireshark.org URLs to their gitlab.com/wireshark/wireshark equivalents. Change-Id: I0150d1bd14208eb451a7de818dce6573363b1d27
2020-08-24tools: rename validate-clang-check.py to validate-clang-check.sh.Dario Lombardo1-0/+0
This reflects the actual language used in the code (sh).
2020-08-23Add merge request jobs to GitLab CI and migrate commit validation.Gerald Combs3-302/+14
Copy the Buildbot petri dish builder steps to corresponding GitLab CI jobs. Update validate-commit.py to look for old "Bug:" and "Ping-Bug:" references and have it call `git stripspace` directly. tools/commit-msg was specific to Gerrit, so remove it. Change-Id: Icbc54709052f44c941db9ad6a5dcf596292782a2
2020-08-17TFS: Add some commonly-defined string pairs to tfs.cMartin Mathieson1-6/+37
'check_tfs.py --common' can look for tfs values that appear multiple times. Current output prior to these dssector changes was: ('No Extension', 'Extension') appears 3 times in: ['epan/dissectors/packet-bssap.c', 'epan/dissectors/packet-camel.c', 'epan/dissectors/packet-gsm_map.c'] ('Optimised for signalling traffic', 'Not optimised for signalling traffic') appears 3 times in: ['epan/dissectors/packet-gsm_a_gm.c', 'epan/dissectors/packet-gsm_map.c', 'epan/dissectors/packet-gtp.c'] ('Data PDU', 'Control PDU') appears 3 times in: ['epan/dissectors/packet-pdcp-lte.c', 'epan/dissectors/packet-pdcp-nr.c', 'epan/dissectors/packet-rlc-nr.c'] ('Message sent to originating side', 'Message sent from originating side') appears 3 times in: ['epan/dissectors/packet-q2931.c', 'epan/dissectors/packet-q931.c', 'epan/dissectors/packet-q933.c'] ('User', 'Provider') appears 3 times in: ['epan/dissectors/packet-q2931.c', 'epan/dissectors/packet-q931.c', 'epan/dissectors/packet-q933.c'] The first and last ones were made common, the others seem a little too specialised. Checking some of the existing items in tfs.c (using QtCreator's 'Find Usages'), some of the common items are used a lot, but many of them are not referenced. Change-Id: Ia4006d2c4fa7cafbc3b004dc7a367a986dbeb0c4 Reviewed-on: https://code.wireshark.org/review/38177 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-08-15check_tfs.py: Import subprocess module (needed for querying git)Martin Mathieson1-0/+1
Change-Id: I177000fb05bb9323ddbb280eb0b79c30cd60a3f3 Reviewed-on: https://code.wireshark.org/review/38170 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-08-15check_typed_item_calls.py: add optional checks for labels and bitmask.Martin Mathieson1-10/+125
Most of the detected non-contiguous mask bitmasks seem to be valid - they often represent multiple unassigned/reserved bits that have been conflated into one hf item. A set of exceptions has been added to the script - a couple of genuine buts will be addressed presently in a separate commit. Change-Id: I87fcf6ee532819097c2daf20b4b1338abb4402d8 Reviewed-on: https://code.wireshark.org/review/38103 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com> Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-08-13make-version.pl: Update sample output in comments to more modern git version ↵Joerg Mayer1-8/+10
2.24.3 (Apple Git-128) Change-Id: I2c204d315fd2648953b536a825f6c7d9c9b04827 Reviewed-on: https://code.wireshark.org/review/38138 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
2020-08-09Fix tfs strings that have leading or trailing space characters.Martin Mathieson1-3/+9
Change-Id: I3e456e24f171ea2073806ad56606e6ce9092890c Reviewed-on: https://code.wireshark.org/review/38096 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-08-09Windows: upgrade Npcap to 0.9996Pascal Quantin1-4/+4
Change-Id: Ia8f0f2ecada1a94c0bcdaaa5c560575ab945b002 Reviewed-on: https://code.wireshark.org/review/38098 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-08-08check_typed_item_calls.py: Look for items with the wrong type passed to APIsMartin Mathieson1-0/+254
Look for calls to certain proto APIs that require hf items of a certain type, then check that the items passed in have one of the allowed types. Currently takes around a minute to scan epan/dissectors. There are a few issues that have not yet been fixed.. Hopefully this can be added to the PetriDish at some point. Change-Id: Ic9eadcc3f1de03223606b5dca1cb45edcbe95e85 Reviewed-on: https://code.wireshark.org/review/38039 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-08-07Find and fix dissectors that should be using a default tfs.Martin Mathieson1-0/+179
Found using tools/check_tfs.py, included in this commit. Here are the reports that were fixed here: Examining: All dissector modules epan/dissectors/packet-assa_r3.c tfs_mortisepins_flags - could have used tfs_high_low from tfs.c instead: {High,Low} epan/dissectors/packet-btle.c tfs_present_bit - could have used tfs_present_not_present from tfs.c instead: {Present,Not Present} epan/dissectors/packet-dhcp.c tfs_fqdn_s - could have used tfs_server_client from tfs.c instead: {Server,Client} epan/dissectors/packet-docsis-macmgmt.c mdd_tfs_on_off - could have used tfs_on_off from tfs.c instead: {On,Off} epan/dissectors/packet-docsis-macmgmt.c mdd_tfs_en_dis - could have used tfs_enabled_disabled from tfs.c instead: {Enabled,Disabled} epan/dissectors/packet-docsis-macmgmt.c req_not_req_tfs - could have used tfs_requested_not_requested from tfs.c instead: {Requested,Not Requested} epan/dissectors/packet-docsis-tlv.c on_off_tfs - could have used tfs_on_off from tfs.c instead: {On,Off} epan/dissectors/packet-docsis-tlv.c activation_tfs - could have used tfs_active_inactive from tfs.c instead: {Active,Inactive} epan/dissectors/packet-docsis.c ena_dis_tfs - could have used tfs_enabled_disabled from tfs.c instead: {Enabled,Disabled} epan/dissectors/packet-ecmp.c tfs_not_expected_expected - could have used tfs_odd_even from tfs.c instead: {Odd,Even} epan/dissectors/packet-erf.c erf_link_status_tfs - could have used tfs_up_down from tfs.c instead: {Up,Down} epan/dissectors/packet-h263.c on_off_flg - could have used tfs_on_off from tfs.c instead: {On,Off} epan/dissectors/packet-h263.c cpm_flg - could have used tfs_on_off from tfs.c instead: {On,Off} epan/dissectors/packet-interlink.c flags_set_notset - could have used tfs_set_notset from tfs.c instead: {Set,Not set} epan/dissectors/packet-ip.c tos_set_low - could have used tfs_low_normal from tfs.c instead: {Low,Normal} epan/dissectors/packet-ip.c tos_set_high - could have used tfs_high_normal from tfs.c instead: {High,Normal} epan/dissectors/packet-isakmp.c flag_r - could have used tfs_response_request from tfs.c instead: {Response,Request} epan/dissectors/packet-isis-lsp.c tfs_metric_supported_not_supported - could have used tfs_no_yes from tfs.c instead: {No,Yes} epan/dissectors/packet-kerberos.c supported_tfs - could have used tfs_supported_not_supported from tfs.c instead: {Supported,Not supported} epan/dissectors/packet-kerberos.c set_tfs - could have used tfs_set_notset from tfs.c instead: {Set,Not set} epan/dissectors/packet-mac-lte.c mac_lte_scell_status_vals - could have used tfs_activated_deactivated from tfs.c instead: {Activated,Deactivated} epan/dissectors/packet-p_mul.c no_yes - could have used tfs_no_yes from tfs.c instead: {No,Yes} epan/dissectors/packet-pgm.c opts_present - could have used tfs_present_not_present from tfs.c instead: {Present,Not Present} epan/dissectors/packet-rsl.c rsl_ms_fpc_epc_mode_vals - could have used tfs_inuse_not_inuse from tfs.c instead: {In use,Not in use} epan/dissectors/packet-sita.c tfs_sita_on_off - could have used tfs_on_off from tfs.c instead: {On,Off} epan/dissectors/packet-vines.c tfs_vine_rtp_no_yes - could have used tfs_no_yes from tfs.c instead: {No,Yes} epan/dissectors/packet-vnc.c button_mask_tfs - could have used tfs_pressed_not_pressed from tfs.c instead: {Pressed,Not pressed} 27 issues found Change-Id: I7e53b491f20289955c9e9caa8357197d9010a5aa Reviewed-on: https://code.wireshark.org/review/38087 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-21Windows: Switch from the WpdPack SDK to vcpkg's libpcap.Gerald Combs1-4/+4
Switch from WinPcap's WpdPack SDK to a libpcap package built with vcpkg. We explictly load wpcap.dll on Windows, so make sure we don't link with pcap.lib. Move timestamp code from capture-pcap-util-unix.c to capture-pcap-util.c. Add timestap routines to capture-wpcap.c and make a couple of other updates. Change-Id: If0e3dbeb7378c42ed9e3f91b2f15add95d22a2bb Reviewed-on: https://code.wireshark.org/review/37905 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>
2020-07-16json2pcap: Added pcap masking and anonymization supportMartin Kacer1-97/+270
The script includes the following changes: - Added pcap masking and anonymization support - Support to mask/anonymize only portion of field - Added reading from stdin - Changed json to ijson library to support large files - Migrated from text2pcap to scapy for pcap generation - Added version to script The development repo is located here https://github.com/H21lab/json2pcap Change-Id: I8fc5e282caa604e188f05818f7a2f8875afb8b73 Reviewed-on: https://code.wireshark.org/review/37371 Reviewed-by: Dario Lombardo <lomato@gmail.com>
2020-07-15cppcheck.sh and check_dissector_urls.py: Show which files are being examined.Martin Mathieson2-6/+23
Change-Id: Ib5ecb215050dea6bf2f03014d544dac49e56fe12 Reviewed-on: https://code.wireshark.org/review/37865 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-07-14Windows: upgrade Npcap to 0.9995Pascal Quantin1-4/+4
Change-Id: Ib06b0bc5b51513c008bfa126c87590c6836913ff Reviewed-on: https://code.wireshark.org/review/37860 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-07-12check_dissector_urls.py: Add options to control which files to scanMartin Mathieson1-66/+131
The intention is to try to run this on the Petri-dish buildbot, where it could run with '--commits 1' to warn about files touched in the most recent commit. Change-Id: Ie924d39e093d1fef8cfbdf02d15bbede386b2862 Reviewed-on: https://code.wireshark.org/review/37826 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-12asn2wrs: support for (SIZE(A..B),...) constraintTomas Kukosa1-0/+1
Change-Id: Icf4c6c7c91cbdc22aff2363b0d21b24d123da482 Reviewed-on: https://code.wireshark.org/review/37824 Reviewed-by: Pascal Quantin <pascal@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-10tls: Update list of CT logs to 2020-05-29Peter Wu1-5/+11
Avoid string literals while at it to avoid -Wpointer-sign warnings with GCC 10. This has the additional benefit of avoiding storing the trailing NUL byte after the data, resulting in a tiny reduction in binary size. This compound literal syntax is supported since C99 which is permitted by doc/README.developer. Change-Id: I35f4d3a46aa78e12915d92136f1de0891131bede Reviewed-on: https://code.wireshark.org/review/37818 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-08cppcheck: Fixup some comparisons.Gerald Combs1-3/+3
Change-Id: I6901c31cdea7399bc18dbf968c14c477f71a90dd Reviewed-on: https://code.wireshark.org/review/37777 Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-07-07cppcheck: Bail if "-l <n>" or "-o" don't find any files.Gerald Combs1-3/+18
If we've been passed "-l <n>" and the last <n> commits don't match any C or C++ files or we've been passed "-o" and no files have been changed, simply exit instead of testing the entire code base. We use "cppcheck.sh -l <n>" in our CI system and the former behavior is much more useful (and faster) than the latter. Change-Id: I1127eabefa854d68f80b0a2dfd05e6895658abc0 Reviewed-on: https://code.wireshark.org/review/37773 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-07-01Add internalAstError to suppressed errors from cppcheck.Martin Mathieson1-0/+2
cppcheck seems to get confused by the VALS() macro. Change-Id: Iba59a4886a0461cea9797a09a10e67420b09af19 Reviewed-on: https://code.wireshark.org/review/37639 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-06-30cppcheck: add a -o option to check modified or staged changesMartin Mathieson1-1/+9
Change-Id: I336400441302549967db048bedc70980b04c5030 Reviewed-on: https://code.wireshark.org/review/37613 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-06-28cppcheck: add more include folders to look in.Martin Mathieson1-0/+2
Without this (particularly '.'), for some files it macro definitions cannot be found the whole file is basically skipped. Will make overall scan take quite a bit longer. Change-Id: I7498b23ad9b27edd3a815c7fc51ef8501fa5a56a Reviewed-on: https://code.wireshark.org/review/37567 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2020-06-22sysdig-event: fix the type of elements of an array of pointers to hf_ values.Guy Harris1-1/+2
"int * const a[]" means "array of const pointers to (non-const) int". so the array elements are all const; "const int *a[]" means "array of (non-const) pointrs to const int". Change-Id: I0571fde7704570b60c9cbd5d94826365ff35abe0 Reviewed-on: https://code.wireshark.org/review/37546 Petri-Dish: Guy Harris <gharris@sonic.net> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <gharris@sonic.net>
2020-06-21tools/generate-sysdig-event.py: fail if the URL fetch fails.Guy Harris1-4/+4
Call exit_msg(), not just print(). Change-Id: I3ca59b262285222e5f54045244b6eeaa31fa363e Reviewed-on: https://code.wireshark.org/review/37530 Petri-Dish: Guy Harris <gharris@sonic.net> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <gharris@sonic.net>
2020-06-21generate-sysdig-event.py: improve error reporting.Guy Harris1-1/+7
Catch particular exceptions and print a more detailed error. Change-Id: Ied98c6d0bc0410eb8b9cb2a98f7264e980c2bb28 Reviewed-on: https://code.wireshark.org/review/37529 Petri-Dish: Guy Harris <gharris@sonic.net> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <gharris@sonic.net>
2020-06-19Fix the type of arrays of pointers to hf_ values for bitfield routines.Guy Harris3-4/+4
The static arrays are supposed to be arrays of const pointers to int, not arrays of non-const pointers to const int. Fixing that means some bugs (scribbling on what's *supposed* to be a const array) will be caught (see packet-ieee80211-radiotap.c for examples, the first of which inspired this change and the second of which was discovered while testing compiles with this change), and removes the need for some annoying casts. Also make some of those arrays static while we're at it. Update documentation and dissector-generator tools. Change-Id: I789da5fc60aadc15797cefecfd9a9fbe9a130ccc Reviewed-on: https://code.wireshark.org/review/37517 Petri-Dish: Guy Harris <gharris@sonic.net> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-06-13Windows: upgrade Npcap to 0.9994Pascal Quantin1-4/+4
Change-Id: I96475046236312701bfa8e9b36dc55b2a72755c4 Reviewed-on: https://code.wireshark.org/review/37470 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-06-13macos-setup: Add iLBC.Gerald Combs1-0/+53
Change-Id: Ibdea3918a24b4c248fd5f3d524b8546e917e4ea0 Reviewed-on: https://code.wireshark.org/review/37356 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
2020-06-13macos-setup.sh: Update GNUTLS, NETTLE and GMP versionsJoerg Mayer1-5/+5
Fix patch location for non-default build directory Change-Id: I8454e77de1cec53609bd7ab7f565b06b1ad79923 Reviewed-on: https://code.wireshark.org/review/37325 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
2020-06-11cppcheck.sh: Add support for xml output with '-x'Moshe Kaplan1-2/+9
Add an option of '-x' to tools/cppcheck.sh to support XML output. Change-Id: I2921d7cd57ee9c925419247a0238b572f637c854 Reviewed-on: https://code.wireshark.org/review/37424 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-06-10checklicenses: Add a --list-allowed option.Gerald Combs1-7/+10
Add an option to list our allowed licenses. Remove a couple of GTK+ entries while we're here. Change-Id: I1c8cf3314cff369766f1ba25438f16c69f42a1ba Reviewed-on: https://code.wireshark.org/review/37409 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-06-08Windows: upgrade Npcap to 0.9993Pascal Quantin1-4/+4
Change-Id: Ibea3abb6e3938676ecaffa8279db22c9f78b81f8 Reviewed-on: https://code.wireshark.org/review/37408 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-06-08Tools: Use better terminology.Gerald Combs2-18/+18
"Allowed" is a perfectly fine, non-biased word for designating things that are allowed. Change-Id: Ia1e0642a073210f0475fba3d437eac654ec36cb5 Reviewed-on: https://code.wireshark.org/review/37397 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-05-22Windows: upgrade USBPcap to 1.5.4.0Pascal Quantin1-4/+4
Change-Id: I1414b2f0550a8e498fbf8d688119ffc42837c0ee Reviewed-on: https://code.wireshark.org/review/37281 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Tomasz Moń <desowin@gmail.com> Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-05-06IDL: Clean up IDL based dissector generationJaap Keuter2-25/+8
Clean up the generators and generated dissectors a bit by updating the header, removing unwanted includes and completing the modelines block. Change-Id: I8ff80b05bb598c3fa5a5f91a24d5caba87eb712e Reviewed-on: https://code.wireshark.org/review/37154 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-05-05IDL: make code generation reproducibleJaap Keuter1-9/+10
The current state of generated code from the IDL specification is not reproducible with the current omniidl backend. This change brings the backend in line with the currently committed generated source code. The exception to this is that the exceptions (no pun intended) were collected in a dictionary of unspecified ordering, therefore inherently non-reproducible. These thus differ from the previously committed source code (packet-parlay.c), but do contain the same lines. Also this rolls back commit 443df9389661901e8347f33864e2cd7539dbda9f because the committed generated source files were not created with the backend with this change, nor do they fail to build, as claimed in that commit. Special thanks to Luke Mewburn for working on the dictionary problem. Change-Id: I7707746d263c7556eb06883c877f70f0e9b357c5 Reviewed-on: https://code.wireshark.org/review/37153 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-05-05Windows: upgrade Npcap to 0.9991Pascal Quantin1-4/+4
Change-Id: I5c664a26ede1a5904d4f02a38c43af6c15dce5f9 Reviewed-on: https://code.wireshark.org/review/37152 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>