Commit Graph

86406 Commits

Author SHA1 Message Date
Developer Alexander 39191ca8d0 IO Graph: Allow changing order of graphs
Allow changing the order of graphs in IO Graph.
This improves usability when working with many graphs.
2023-01-04 09:25:49 +00:00
Hans Hinrichsen 55b165617b Implement sACN Universe Discovery dissection 2023-01-04 09:24:09 +00:00
Developer Alexander 3107af85a7 lua: ByteArray integer parsing APIs
Adds APIs for parsing different kinds of integer from a lua ByteArray:

-16, 32 and 64 bit

-singed or unsigned

-encoded little endian or big endian
2023-01-04 07:47:13 +00:00
David Perry 86730990f6 Lua: make evaluate_lua and run_console public 2023-01-04 07:42:07 +00:00
David Perry c96a629c24 Support `FT_CHAR` in Lua `TreeItem_add_item_any()`
Treat a `FT_CHAR` field like a `FT_UINT*` field, the same as Wireshark's
`proto_tree_add_item()` does.

Closes #18353
2023-01-04 07:39:28 +00:00
Ferry Huberts 8043acd767 locamation-im: fix an snprintf compiler warning
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-01-04 07:36:58 +00:00
Ferry Huberts ff1b5f8e57 locamation-im: fix the windows build in an easier fashion
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-01-04 07:36:58 +00:00
Ferry Huberts 9386404984 Revert "locamation-im: fix windows build"
This reverts commit ee509cc3f25eacecd60a73da135a2065c34a77d8.
2023-01-04 07:36:58 +00:00
Ferry Huberts 67483b58bd locamation-im: fix windows build
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-01-04 07:36:58 +00:00
Ferry Huberts 0a7dde98d4 locamation-im: process review comments
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-01-04 07:36:58 +00:00
Ferry Huberts 92e1bd734f locamation-im: process review comments
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-01-04 07:36:58 +00:00
Ferry Huberts 51395014e5 locamation-im: process review comments
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-01-04 07:36:58 +00:00
Ferry Huberts 8f8ba172ec locamation-im: support the (optional) timestamps block
Applies to IM2R0 only.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-01-04 07:36:58 +00:00
Pavel Strnad 22599aa2ac DTLS: add DTLS over SCTP for PPIs assigned to 3GPP NGAP, XnAP, F1AP and E1AP
Change-Id: Ie52ffaffd72fb1aa273ea0d3ce9ff6754e3dbd56
2023-01-04 07:36:06 +00:00
John Thacker fdc335e686 tests: Get tests working with Python 3.11 (except with pytest)
We use a common idiom ( https://stackoverflow.com/a/39606065
https://gist.github.com/hynekcer/1b0a260ef72dae05fe9611904d7b9675 )
for getting the results of our unittest.TestCases in the tearDown
method. This method accesses a private property, and that private
property was removed in Python 3.11

The StackOverflow answer has been updated with a new approach for
Python 3.11, which also uses a private property. This fixes things
for CTest (and the test target when building), but it still doesn't
work when using pytest's unittest support.

Ping #18740
2023-01-03 21:08:00 -05:00
Martin Mathieson 6581901810 ORAN FH CUS: add new session extension types to value_string 2023-01-03 17:02:32 +00:00
João Valverde e990b25ea2 dfilter: Remove semcheck arithmetic commute argument
No one is using this so I'd like to explore other
options first to handle constants in arithmetic
expressions that lack type information.

Reverts 3ddb017a88.
2023-01-03 12:46:13 +00:00
João Valverde b893616048 proto: Fix validity test for proto names
We want at least one letter.  Because protocol names can contain
dots and hyphens testing for !isdigit is not enough to make it
dissimilar to decimal numeric expressions.
2023-01-03 11:56:21 +00:00
Martin Mathieson 396f20606e MBIM: restore use of VALS 2023-01-03 10:33:14 +00:00
Huang Qiangxiong 4693428c83 JSON: add "Display JSON in raw form" 2023-01-03 07:59:15 +00:00
Uwe Heuert 44189659ea code cleaning 2023-01-03 07:44:19 +00:00
Uwe Heuert 8429ed971f prevent unused function 2023-01-03 07:44:19 +00:00
Uwe Heuert eb05f77b71 BSI TR-03109 required extensions 2023-01-03 07:44:19 +00:00
Huang Qiangxiong e60dc74d90 JSON: fix a displaying two dimensional array bug in compact form 2023-01-03 07:40:06 +00:00
Martin Mathieson 872db1fe87 For 'fields' param in add_bitmask_, check item masks 2023-01-03 07:28:48 +00:00
Martin Mathieson dd8828014c Change some vals entries to equivalent common tfs 2023-01-03 07:26:20 +00:00
Martin Mathieson 704eaa1839 DEC-NWK: Fix a couple of spelling errors 2023-01-02 17:06:05 +00:00
Stig Bjørlykke ddebd0c9dd cql: Fix 64-bit print format issue 2023-01-02 12:37:55 +00:00
Stig Bjørlykke b80043835f avsp: Fix 64-bit print format issue 2023-01-02 12:35:59 +00:00
Dr. Lars Völker ca941e3881 SOME/IP-SD: improve Entry/Option handling and port registering
- Show which options are referenced by entries in entry overview.
- Show IPv6 address in option overview too (before IPv4 only).
- Only register ports of endpoint referenced by SOME/IP services.

Endpoint Options referenced by Service 0xfffe (non SOME/IP) are not
automatically registered to be SOME/IP anymore [improvement].
2023-01-02 12:33:16 +00:00
Alexis La Goutte 49e273941f BGP: Fix IP length when Root Node (IPv6) 2023-01-02 12:24:25 +00:00
Alexis La Goutte f6e92abc20 BGP: Wrong Tunnel ID format in PMSI tunnel attribute
Close #18759
2023-01-02 12:24:25 +00:00
Tomasz Moń 8c6854fb65 Qt: Cache only recently accessed columns text
Remove MINIMIZE_STRING_COPYING define because the code does not even
compile anymore. Do not cache strings when ensuring rows are colorized
to avoid thrashing cache. Store column data only for last 500 accessed
records to ensure there is upper bound for the cache size.

Fixes #18741
2023-01-02 12:22:34 +00:00
Bernhard Dick bf7be8a1ae DECT-NWK: Fix possible overflow
Calculating ipei_digits happened using signed int arithmetic due to type
promotion rules. Explicitely casting the static number to guint64
ensures usage of unsigned 64bit arithmetics.
2023-01-02 12:21:44 +00:00
Bernhard Dick 12591d0a42 DECT-NWK: Fix ELI type decoding
The extended location information type field is a four bit value. This
was handled correctly while displaying, but not by interpreting the
value. Hence the according MASK and SHIFT values have been updated.
2023-01-02 12:21:44 +00:00
Gerald Combs 659b830aef TIPC: Add a recursion check
Add a recursion check.
Fixes #18770.
2023-01-02 12:17:49 +00:00
Gerald Combs d9adb6f712 Qt: Escape HTML when setting ElidedLabel text
ElidedLabels use Qt's rich text internally, but we need to make sure the
text we're passed via setText() is plain.

Fixes #18774
2023-01-02 12:16:35 +00:00
Gerald Combs 1c24e49c67 Qt: ElidedLabel cleanup
Add Doxygen documentaiton and fix a clazy-qstring-arg warning.
2023-01-02 12:16:35 +00:00
Gerald Combs cf4d88d320 [Automatic update for 2023-01-01]
Update manuf, services enterprise numbers, translations, and other items.
2023-01-02 12:15:00 +00:00
Kevin Albertson 336c0ae992 zstd: fix leak of tvbs
Replace use of composite tvb with creation of one tvb.
2023-01-02 12:13:54 +00:00
Kevin Albertson 8ad7e2f538 zstd: add test for uncompressing 0 length 2023-01-02 12:13:54 +00:00
Yaniv Kaul a2e18feae7 packet-cql: keys with length -1 are NULL values in BATCH operations
When procssing BATCH statements, Wireshark did not properly handled keys with length < 0 , which actually means that no value
is sent on the wire..
This fixes it (and as a results, parses properly some result packets it failed to parse properly before).

Signed-off-by: Yaniv Kaul <yaniv.kaul@scylladb.com>
2023-01-02 12:13:17 +00:00
Yaniv Kaul 140ebf5829 packet-cql: keys with length -1 are NULL values
When procssing results, Wireshark did not properly handled keys with length -1, which actually means NULL.
This fixes it (and as a results, parses properly some result packets it failed to parse properly before).

Signed-off-by: Yaniv Kaul <yaniv.kaul@scylladb.com>
2023-01-02 12:13:17 +00:00
Yaniv Kaul cffdb5945e packet-cql.c: add row number in display for RESULT opcode
Signed-off-by: Yaniv Kaul <yaniv.kaul@scylladb.com>
2023-01-02 12:12:58 +00:00
Yaniv Kaul 91cf033cec packet-cql.c: distinguish between Snappy and LZ4 decompressed data
Simply print if it's Snappy or LZ4.

Signed-off-by: Yaniv Kaul <yaniv.kaul@scylladb.com>
2023-01-02 11:25:12 +00:00
Yaniv Kaul 7eb8065e63 packet-cql.c: add support for SUPPORTED mesage type
Signed-off-by: yaniv.kaul@scylladb.com
2023-01-02 09:58:24 +00:00
PMcL 7d66154242 Support for an Arista Vendor Specific Protocol subtype
packet.avsp.c: Updated to include a new protocol subtype called TGen;
packet-ethertype.c: Changed AVSP to Arista Vendor Specific Protocol;
2023-01-02 07:56:43 +00:00
João Valverde f37c7c4062 dfilter: Tweak representation for length-1 byte array
Make dfilter byte representation always use ':' for consistency.

Make 1 byte be represented as "XX:" with the colon suffix to
make it nonambiguous that is is a byte and not other type,
like a protocol.

The difference is can be seen in the following programs. In the
before representation it is not obvious at all that the second
"fc" value is a literal bytes value and not the value of the
protocol "fc", although it can be inferred from the lack of
a READ_TREE instruction. In the After we know that "fc:" must
be bytes and not a protocol.

Note that a leading colon is a syntactical expedient to say
"this value with any type is a literal value and not a protocol
field." A terminating colon is just a part of the dfilter
literal bytes syntax.

Before:

Filter: fc == :fc

Syntax tree:
 0 TEST_ANY_EQ:
   1 FIELD(fc <FT_PROTOCOL>)
   1 FVALUE(fc <FT_PROTOCOL>)

Instructions:
00000 READ_TREE		fc <FT_PROTOCOL> -> reg#0
00001 IF_FALSE_GOTO	3
00002 ANY_EQ		reg#0 == fc <FT_PROTOCOL>

After:

Filter: fc == :fc

Syntax tree:
 0 TEST_ANY_EQ:
   1 FIELD(fc <FT_PROTOCOL>)
   1 FVALUE(fc: <FT_PROTOCOL>)

Instructions:
00000 READ_TREE		fc <FT_PROTOCOL> -> reg#0
00001 IF_FALSE_GOTO	3
00002 ANY_EQ		reg#0 == fc: <FT_PROTOCOL>
2023-01-02 02:54:38 +00:00
João Valverde c762d8492b dfilter: Improve debug format 2023-01-02 02:53:21 +00:00
João Valverde f5bfe89785 dfilter: Replace global variable 2023-01-02 01:19:51 +00:00