Commit Graph

81609 Commits

Author SHA1 Message Date
Alexis La Goutte 52128bcca6 .mailmap: Update email after
After ask by user
2021-07-31 08:27:18 +00:00
Joakim Karlsson c49a652eb9 pfcp: Update to 3GPP TS 29.244 V16.8.0
Just for formality, no changes was made in the release
2021-07-31 08:06:56 +00:00
Joakim Karlsson 22b580b946 pfcp: Update to 3GPP TS 29.244 V16.7.0 2021-07-31 08:06:56 +00:00
Prince Paul a0a9d41d13 ASTERIX: Fix value of hf_010_500
Add Item Number 500 to the value
2021-07-31 07:46:12 +00:00
Guy Harris cc84bebcdc macos-setup: add the deployment flags when configuring with Meson.
We add them when configuring with autotools, so that we build GLib
appropriately for the OS versions we're targeting; do the same when
configuring with Meson.
2021-07-30 19:20:13 -07:00
Guy Harris 856c4f3af6 macos-setup: generate a .pc file for libffi if we have it.
If this version of macOS comes with a version of libffi, generate a .pc
file for it and install it in /usr/local/lib/pkgconfig, so that
pkg-config finds that version of libffi, and the GLib configuration
process - whether it's done with autotools or Meson - doesn't decide
that there is no libffi and fail or install its own libffi or whatever.
2021-07-30 18:54:04 -07:00
Dylan Ulis 3f9b0e36ea ENIP: Updates from latest spec
1. New EtherNet/IP commands and Common Packet Formats
2. CIP Security: Attributes (These go better in enip vs cip dissector)
3. TCP/IP object: Improve existing attribute parsing
4. Certificate Management Object: Attribute
5. Add units for some existing types
6. Correct hf_ size mismatch
2021-07-30 21:46:22 +00:00
Dr. Lars Völker 4cdd4a13e0 DoIP: Add a name field for each address field
This patch allows the name resolution of address shown as a column
by adding new name fields.

Additionally: Fixed a bug introduced by my last patch.
2021-07-30 21:26:17 +00:00
Gerald Combs b58edf3cb8 Docs: Add epub targets for the guides.
Add user_guide_epub and developer_guide_epub targets that generate
EPUB versions of the User's Guide and Developer's Guide.
Ping #17494.
2021-07-30 21:05:37 +00:00
Alexis La Goutte d886837df9 pref_models(Qt/model): Fix Dead Store (Found by Clang Analyzer)
Although the value stored to 'pref' is used in the enclosing expression, the value is never actually read from 'pref'
2021-07-30 20:43:56 +00:00
Alexis La Goutte a3f9c6bc45 erf: Fix Dead Store (found by Clang Anlyzer)
Although the value stored to 'tagtotallength' is used in the enclosing expression, the value is never actually read from 'tagtotallength'
2021-07-30 20:43:55 +00:00
Alexis La Goutte 17f474406a nstime: Fix Dead Store (found by Clang Analyzer)
Although the value stored to 'n_scanned' is used in the enclosing expression, the value is never actually read from 'n_scanned'
2021-07-30 20:43:55 +00:00
Gerald Combs 7e7ef43b04 Release notes: Add an item about GSoD 2020. 2021-07-30 20:23:14 +00:00
Martin Mathieson 3b28d5219f Fix some copy-paste filter names.
Detected with tools/check_typed_item_calls.py --consecutive
2021-07-30 18:02:30 +01:00
Guy Harris c8e17d7835 macos-setup: cleanups.
If we're running an external Python 3 package, pip3 will install scripts
in some directory under /Library; set MESON to point to the location
where Meson will be installed, and use that.

Have a meson-done file to indicate that Meson's been installed by us,
and uninstall it only if that's present.
2021-07-30 03:45:41 -07:00
Guy Harris 2fd29240c8 macos-setup: test whether /usr/bin/python3 works, not python3 in general.
We want to check whether *Apple* provides Python 3, not whether there's
a Python 3 installed; if there is no Apple-provided Python 3, but
there's somebody else's Python 3 installed, leave it alone, don't
uninstall it.
2021-07-29 14:50:10 -07:00
Guy Harris cc34e1c406 macos-setup: install and use Meson+Ninja to build newer versions of GLib.
Newer versions of GLib require Meson (they don't support autotools) and
Ninja (they use Ninja rather than Make).  Install Meson and, based on
the GLib version, use autotools+make or Meson+Ninja to build GLib.

Move up the installation of Python 3 so that it's available when we
install Meson, as Meson requires Python 3 and is installed with pip3.
2021-07-29 14:06:58 -07:00
Guy Harris c263b0a13e macos-setup: if Xcode provides Python 3, use it.
Only install an external Python 3 if /usr/bin/python3 doesn't work; on
at least some versions of macOS, /usr/bin/python3 is a wrapper to run
Python 3 from Xcode, and at least some versions of Xcode provide Python
3.
2021-07-29 19:44:20 +00:00
João Valverde 0693674494 wslog: Add function to log directly without filtering
Used to write custom logging functions.
2021-07-29 20:17:44 +01:00
João Valverde 7b845e7194 wsutil: rename bytestring_to_str() -> bytes_to_str_punct() 2021-07-29 17:23:05 +00:00
João Valverde 177e5cda1f wsutil: Clean up unit test namespaces
Remove implicit root and separate tests for proper coverage.
2021-07-29 17:23:05 +00:00
João Valverde f0b02dd0ff wsutil: Add max length argument to bytes_to_str() 2021-07-29 17:23:04 +00:00
João Valverde 1ff6cc7b27 wsutil: Add some tests for bytes_to_str() 2021-07-29 17:23:04 +00:00
João Valverde c3bd5c9d91 Move bytes_to_str() to wsutil
This utility function is useful outside of epan. Move it to wsutil
and export the interface.

The move isn't completely clean as it requires duplicating two small
inline functions but that was necessary to avoiding moving too much at
once.
2021-07-29 17:23:04 +00:00
Martin Mathieson d34d1a1e13 More fussing with masks.
Mostly longer masks with odd numbers of digits.
2021-07-29 10:15:58 +00:00
Oscar Gonzalez de Dios 0b8acdaf68 Fixed trailing whitespaces 2021-07-29 07:32:34 +00:00
Oscar Gonzalez de Dios 0f3731449a Updated support to RFC 8664. SR-PCE CAPABILITY Sub-TLV has been added. SR-ERO subobject updated to RFC version: change ST to NT and, NAI of type NT=6 decoding added, updated flag values to official IANA values. Updated errors of Type 10 according to IANA assigned values and numbers. 2021-07-29 07:32:34 +00:00
David Perry 34ee3cbc48 Change some `wmem_packet_scope()` to `pinfo->pool`
As requested [here][1], help with replacing calls to
`wmem_packet_scope()` with references to `pinfo->pool`.

My principles were:

* Plugins chosen semi-randomly.
* When a calling function already has a `pinfo` argument, just use that.
    * Remove `_U_` from its signature if it was there.
* Don't go more than 2 or 3 levels deep of changing signatures.
* If a function is clearly allocing memory to return, change the
  function signature to take a `wmem_allocator_t *`. Otherwise, either
  that or take a `packet_info *` as seems to make sense.
* No mention of `wmem_packet_scope()` should remain in the files I've
  touched.
    * I didn't always succeed at this, but I made a dent.

[1]: https://www.wireshark.org/lists/wireshark-dev/202107/msg00052.html
2021-07-29 01:36:01 +00:00
João Valverde 0983eb2456 wslog: Avoid macro duplication 2021-07-29 01:52:39 +01:00
Gerald Combs 62c7734e64 Debian: Fixup our symbols.
wmem_epan_scope wmem_file_scope, and wmem_packet_scope are still in
epan.
2021-07-28 10:17:17 -07:00
Martin Mathieson 1c210185c3 ORAN FS CUS: Add section ext 11 2021-07-28 15:23:11 +00:00
Tomas Kukosa ab1b496194 ITS: use custom value format for DSRC elements Angle and Heading 2021-07-28 07:08:26 +00:00
Orgad Shaneh fa1f76a83f rtpdump: Fix usec value in header
usec is nsec / 1000.
2021-07-28 06:51:36 +00:00
ismaelrti 9b69d05c2f RTPS: UDPv4 Wan locator bitfied not dissected properly
UDPv4 WAN locator bitfield was using the wrong offset thus the data
shown was not correct.
2021-07-28 06:35:17 +00:00
Dylan Ulis a1e05d09c6 CIP: Updates to match current specification
1. Connection Manager parameter is called 'Redundant Owner' instead of 'Exclusive'
2. Add new CIP Class Names
3. Support new time types: UTIME, STIME, NTIME
4. Add units to data type
2021-07-28 06:18:56 +00:00
David Perry 6e8c7283d6 Change some `wmem_packet_scope()` to `pinfo->pool` 2021-07-27 21:36:43 +00:00
Gtker 6d8bfc146d WOWW: Refactor SMSG_CHAR_ENUM to use ptvcursor 2021-07-27 19:08:52 +00:00
Gtker 7e9e2dac0f WOWW: Convert body fields to use `ptvcursor`
This significantly reduces boilerplate required for adding fields.

The changes to SMSG_CHAR_CREATE from ENC_LITTLE_ENDIAN to ENC_NA are
intentional, as are the changes to CMSG_CHAR_RENAME from realm_name to
character_name.
2021-07-27 19:08:52 +00:00
Gtker f864dd7e9d WOWW: Use dots in abbreviations instead of underscores
As directed in PR.
2021-07-27 19:08:52 +00:00
Gtker 8fbf781a7f WOWW: Make abbreviations fit variable names 2021-07-27 19:08:52 +00:00
Gtker 1a2169acf5 WOWW: Add CMSG_CHAR_CREATE fields
Wiki reference:
https://wowdev.wiki/CMSG_CHAR_CREATE
2021-07-27 19:08:52 +00:00
Gtker 22694dffeb WOWW: Add CMSG_CHAR_RENAME field
Wiki reference:
https://wowdev.wiki/CMSG_CHAR_RENAME
2021-07-27 19:08:52 +00:00
Gtker eafb670ee1 WOWW: Add fields for SMSG_NAME_QUERY_RESPONSE
https://wowdev.wiki/SMSG_NAME_QUERY_RESPONSE
2021-07-27 19:08:52 +00:00
Gtker 1fe0f6d2e0 WOWW: Add fields that only require result
The `login_result` field is reused for all results, since there's
nothing about the field that makes it specific to logging in and the
same values can appear in all 3 fields.

Wiki reference:
https://wowdev.wiki/SMSG_CHAR_DELETE

https://wowdev.wiki/SMSG_CHAR_CREATE

https://wowdev.wiki/SMSG_CHARACTER_LOGIN_FAILED
2021-07-27 19:08:52 +00:00
Gtker d2af1dee46 WOWW: Add CMSG_PING and SMSG_PONG fields
Wiki reference:
https://wowdev.wiki/CMSG_PING

https://wowdev.wiki/SMSG_PONG
2021-07-27 19:08:52 +00:00
Gtker 159eaaa37a WOWW: Add SMSG_TUTORIAL_FLAGS fields
Wiki reference:
https://wowdev.wiki/SMSG_TUTORIAL_FLAGS
2021-07-27 19:08:52 +00:00
Gtker 706f940ca8 WOWW: Add fields that only require GUID
Wiki reference:
https://wowdev.wiki/CMSG_NAME_QUERY

https://wowdev.wiki/CMSG_SET_ACTIVE_MOVER

https://wowdev.wiki/CMSG_CHAR_DELETE

https://wowdev.wiki/CMSG_SET_SELECTION
2021-07-27 19:08:52 +00:00
Gtker e31baaf99b WOWW: Add SMSG_LOGIN_VERIFY_WORLD fields 2021-07-27 19:08:51 +00:00
Gtker 08ceeec81e WOWW: Fix multi message PDUs using incorrect data
Previously the offset into the decrypted header tvb was used, which was
always 4 or 6, instead of the offset into the entire PDU tvb.
2021-07-27 19:08:51 +00:00
Gtker 44ce2d5173 WOWW: Add CMSG_PLAYER_LOGIN fields 2021-07-27 19:08:51 +00:00