Commit Graph

2931 Commits

Author SHA1 Message Date
John Thacker 73c291029d skinny: Resync xml code with dissector, regenerate
Make changes to packet-skinny.c.in and SkinnyProtocolOptimized.xml
that incorporate changes from 67f05835ca
and 8efad466c4 made to the dissector
manually and regenerate. Also fix a case where a comment mixed
tabs and spaces, which caused the python conversion tool to complain.
2022-11-03 20:55:05 -04:00
John Thacker 8c585cc228 skinny: Convert parse_xml2skinny_dissector.py to Py3
Convert parse_xml2skinny_dissector.py to Python 3.
This is mostly the output of running 2to3, but some of the
uses of dict.keys() were left as is instead of being converted
to lists, since only membership was tested.

The dissector still needs to be regenerated, which will happen
in a next commit, so that this change can be easily backported.
2022-11-03 20:28:19 -04:00
Martin Mathieson 3ac86775dc Fix some spelling errors 2022-11-02 20:54:24 +00:00
Huang Hao 58390334eb asn2wrs.py: fix Needs64b 2022-10-31 18:33:51 +00:00
Simon Holesch 8f6a640337 epan: Allow FT_UINT_STRING for proto_tree_add_string()
Since cbd3c447 ("ftypes: Add FT_UINT_STRING to IS_FT_STRING() macro")
proto_tree_add_string() accepts FT_UINT_STRING, but the API check still
fails. Update the API check to reflect that change.
2022-10-31 14:54:39 +00:00
Martin Mathieson d46e7f90f2 E2AP 2.01 2022-10-27 20:26:11 +00:00
Chuck Craft 978def5b51 tools/compress-png: migration to python typos
Allow --list to run with no other options
Loop through all compressors checking if they exist
Add filename for searching in IDE
2022-10-25 17:52:28 +00:00
Chuck Craft 69f1cd3eed build: rpm-setup.sh - typo in usage 2022-10-19 01:18:51 +00:00
Chuck Craft 41f14af980 build: bsd-setup.sh - make code like the others; FreeBSD gcrypt 2022-10-18 16:06:05 +00:00
Chuck Craft bc9a5ff70e build: fix typos in alpine-setup.sh 2022-10-17 16:55:28 -05:00
John Thacker cb23c5e8d7 PER, asn2wrs: Fix permitted-alphabet constrained character strings
Effective permitted-alphabet constraints are only PER-visible for
the known-multiplier character string types (X.691 27.1). When
PER-visible, the upper bound of any code point used in the
alphabet needs to be calculated, in particular for the ALIGNED
variant, because that determines whether or not canonical order
is used (X.691 27.5.2, 27.5.4).

Note that even with the change to asn2wrs.py none of the generated
dissectors change, because we don't have any example of ASN.1
with non-PER visible permitted alphabet constraints because of
using them on non known-multiplier character string types
(like UTF8String).

There's some various edge cases that we still don't handle, but
nothing that any of the ASN.1 modules in the repository use.
(Permitted-alphabet constraints using characters outside the
ASCII range, possibly with "CharacterStringList", "Quadruple",
or "Tuple" notation, permitted-alphabet constraints that are
extensible and thus not PER-visible, etc.)

Also fix a fencepost error with the length of the octets to highlight.

Fix #18468
2022-10-15 17:20:02 +00:00
João Valverde 101ad8f29e Github CI: Add MSYS2 build
Ping #17771.
2022-10-13 08:08:11 +00:00
João Valverde c01545ef7c msys2-setup.sh: Add missing git package 2022-10-13 08:08:11 +00:00
João Valverde 3c99478cef wiretap: Add enum generation 2022-10-07 10:28:47 +01:00
João Valverde ab96dffa3f epan: Add stat_groups.h to introspection enums 2022-10-07 10:28:47 +01:00
Guy Harris eba9adfa23 macos-setup: fix a test.
The syntax

    if [ <test> ]; then
        ...
    fi

isn't what one might think.  The way that works is that "[" is a
command; it's an alias for "test", except that if it's involked as "["
rather than as "test", it expects there to be a token "]" at the end, so
that the test expression is enclosed in square brackets.  (This dates
back all the way to, I think, V7, although the link from "/bin/test" to
"/bin/[" wasn't documented at that point.)

This means that the "]" must have white space before it, so it's a
separate token.

[skip ci]
2022-10-02 18:30:32 +00:00
João Valverde 0bc040b44a Tools: Test for UTF-8 errors in fuzz tests
Can be turned off with -U option.
2022-10-02 18:01:35 +00:00
Jonas Blust 32c2ab79a7 GIOP and idl2wrs: Implementation of Any type and fixes and improvements for idl2wrs 2022-09-29 11:40:44 +00:00
Gerald Combs 7b53fd127e Tools: Make sure we reset our fuzz ranges.
[skip ci]
2022-09-27 09:57:12 -07:00
Gerald Combs 12334494ba Tools: Our fuzz packet range should be unquoted.
[skip ci]
2022-09-27 09:38:42 -07:00
Gerald Combs dc521850e5 Tools: Fuzz subsets of large files.
If our capture file has more than a designated maximum number of
packets, fuzz a random subset.
2022-09-26 18:38:14 -07:00
Martin Mathieson fafc3ca6f1 Fix some spelling errors 2022-09-18 22:16:26 +00:00
Pascal Quantin 60b6fb4484 E1AP: upgrade dissector to v17.1.0 2022-09-13 17:26:32 +02:00
Jaap Keuter 3af3ebccd7 Tools: source CT log list in V3 schema 2022-09-10 16:34:10 +00:00
Gerald Combs 9206c4b8fa Tools: Switch the BSD setup script to Qt6.
Switch bsd-setup.sh to Qt6.
2022-09-09 17:56:30 -07:00
Martin Mathieson 6d46a532a2 Fix some spelling errors. 2022-09-06 10:15:11 +01:00
Dr. Lars Völker 79e76e9c2f MacOS: Add qt6 to MacOS Brew Setup 2022-09-05 17:58:20 +00:00
Gerald Combs 4819716f14 Tools: Switch make-manuf.py URLs to HTTPS.
standards-oui.ieee.org is now served over HTTPS.
2022-09-05 17:55:33 +00:00
Alexis La Goutte f6a299ffc4 windows: Upgrade nghttp2 to 1.49.0 2022-08-25 18:01:37 +00:00
Pascal Quantin 5fa60f079e Windows: upgrade Npcap to 1.71 2022-08-25 18:01:11 +00:00
João Valverde 1d8f8d620d tools: Add --install-all option to some setup scripts 2022-08-25 10:35:02 +01:00
João Valverde 1c26cb178f rpm-setup.sh: Add support for Qt6 2022-08-25 07:54:00 +00:00
João Valverde eba586040e msys2-setup.sh: Add support for Qt6 2022-08-24 20:34:35 +01:00
João Valverde 573a9d0aa4 debian-setup.sh: Add support for Qt6
One or both Qt version deps can be selected with a command line option.

If no option is given the script will select Qt6 for Ubuntu 22.04 or
later, Qt5 otherwise.
2022-08-24 16:39:17 +00:00
João Valverde 30bfc732df debian-setup.sh: Add missing packages 2022-08-24 01:15:23 +01:00
Chuck Craft b60240a8a6 spelling: "two pass" -> two-pass 2022-08-22 10:20:29 +00:00
João Valverde b33210750c CMake+etc: Enable Qt6 by default for Unix builds
Linux builds were left behind on the Qt transition, presumably because
our Ubuntu CI image does not support Qt6.

Enable Qt6 by default and explicitly disable it for slower or more
conservative Linux distros.

Drop experimental status for Qt6, because we are using it to build
official Windows and macOS releases.
2022-08-22 09:08:06 +00:00
Gerald Combs 07c7ce6ad0 Windows: Upgrade libgcrypt to 1.10.1. 2022-08-19 18:30:16 -07:00
Martin Mathieson b809e73f7c Fix some spelling errors 2022-08-19 17:46:34 +01:00
Gerald Combs d498529201 Windows: Upgrade Npcap to 1.70. 2022-08-16 12:46:25 -07:00
Martin Mathieson 1337db5a18 check_typed_item_calls.py: check for consecutive calls to same item 2022-08-12 16:20:35 +00:00
Zoran Bošnjak 7547e7993c asterix: asterix-specs converter fix
Some new asterix editions contain nested 'Group' item inside 'Extended'.
In such case, a 'Group' item is processed like regular 'Element'.

Fixes #18238
2022-08-03 17:10:36 +00:00
João Valverde b8ec3199ab Convert Acknowledgements to markdown and update GUI
Move Acknowledgements to a separate file to enable some code
simplification and improve maintenance and discoverability
for acknowlegements.

Convert the Acknowledgements file to Github flavored markdown
and display it in rich text using QTextBrowser.

Add Acknowledgements.md to NSIS installer
2022-08-02 00:09:29 +00:00
Gerald Combs 0a8ab48849 Revert "Win-setup: Update bcg729 to 1.1.1."
Switch back to bcg729 1.0.4. Version 1.1.0 and later are GPLv3.

https://gitlab.linphone.org/BC/public/bcg729/-/issues/3

This reverts commit 0ccfdfbf5c.
2022-07-29 12:38:18 -07:00
Moshe Kaplan fa3735378f make-version.py: Add missing parentheses on function call
`match.groups()` is a function, not an attribute. Add () as needed to access match group items.
2022-07-28 15:08:58 -07:00
John Thacker 32326b3a07 packaging: EPEL 8 has asciidoctor now
rubygems-asciidoctor was released 2022-05-18 for EPEL 8
( https://bugzilla.redhat.com/show_bug.cgi?id=1820896 )
so we don't need to special case it for RHEL/Centos 8.
2022-07-28 16:17:52 +00:00
Gerald Combs 0ccfdfbf5c Win-setup: Update bcg729 to 1.1.1.
Ping #16265.
2022-07-28 02:27:48 +00:00
Gerald Combs 6455fe3efd Win-setup: Update c-ares, nghttp2, and pcre2.
Update c-ares to 1.18.1, nghttp2 to 1.46.0, and pcre2 to 10.40.
Ping #16265.
2022-07-27 14:08:31 -07:00
Gerald Combs 1ed39fa0b5 Add vcpkg-export-20220726-1.
Add vcpkg-export-20220726-1, which includes

  Dirent 1.23.2
  Gettext 0.21
  GLib2 2.72.3
  Libffi 3.4
  Libiconv 1.17
  Liblzma 5.2.5
  Libxml2 2.9.14
  PCRE 8.45
  Zlib 1.2.12

Ping #16265.
2022-07-26 23:33:29 +00:00
Gerald Combs 6196394833 Tools: Remove Pod installation steps from rpm-setup.sh.
[skip ci]
2022-07-24 10:54:15 -07:00