Commit Graph

86362 Commits

Author SHA1 Message Date
João Valverde 4c9b0d846c CMake: Reverse debug macros
Originally WS_DISABLE_DEBUG was chosen to be
similar to G_DISABLE_ASSERT and NDEBUG.

However generator expressions are essential for modern CMake
but the syntax is weird and having to use negations makes it
ten-fold worse.

Remove the negation. Instead of changing the CMake variable
reverse the macro definition for WS_DISABLE_DEBUG.

The $<CONFIG:cgs> generator expression with multiple config arguments
requires CMake >= 3.19 so we can't use that yet for a further
syntactical simplification.
2023-01-12 00:59:15 +00:00
João Valverde 25d4a099f7 Remove WS_DISABLE_ASSERT
Assertions can be enabled/disabled using WS_DISABLE_DEBUG. The extra
granularity afforded by WS_DISABLE_ASSERT seems unnecessary.
2023-01-12 00:59:15 +00:00
Gerald Combs 640c44f24e CMake: Specify Falco plugins manually.
Falco plugins don't yet have a standard installation location, and even
when they do we might not want to install all of them. Remove plugin
detection from FindSinsp.cmake and note that you should just pass the
paths to your plugins in SINSP_PLUGINS.
2023-01-11 15:37:46 -08:00
John Thacker 06ba704058 Qt: Accept ColoringRulesDialog after writing colors
Instead of connecting ColoringRulesDialog's buttonBox accepted()
signal to two different slots (once in the .ui file, and one
automatically from a name), accept the dialog only after writing
the colors.

This prevents starting to recolor the PacketList before the new color
list has been been written.

Fix #12475. Fix #15471.
2023-01-11 17:11:49 -05:00
Gerald Combs 809b34455e Falcodump: Improve scap event code handling
Check timeouts and filtered events.
2023-01-11 22:04:41 +00:00
João Valverde 943bede110 version info: Strip whitespace from a string 2023-01-11 18:52:06 +00:00
Gerald Combs 29ca9c289f macOS: Add an initial donation page to the .dmg
Add a donation page to the .dmg package.
2023-01-11 18:42:39 +00:00
Philipp Dittmann 9c68879a27 Windows: Fix Release (unused variables)
- ws_assert does not work, because _ASSERT_ENABLED is false and gets optimized
- add _U_ to unused variables because of compile flag /W3
- local variables need suppression of warning 4189
2023-01-11 17:50:42 +00:00
Joakim Karlsson 02894b1cb9 Diameter: correction of copy-paste error 2023-01-11 16:16:29 +00:00
Pascal Quantin ce9689da01 F1AP: upgrade dissector to v17.3.0 2023-01-11 16:57:49 +01:00
Pascal Quantin b1482084b3 E1AP: upgrade dissector to v17.3.0 2023-01-11 15:24:47 +00:00
Pascal Quantin c15189981e NRPPa: upgrade dissector to v17.3.0 2023-01-11 16:06:33 +01:00
Daniël van Eeden 3e4d6a59aa MySQL: Complete dissection of zlib compressed 2023-01-11 14:50:59 +00:00
Pascal Quantin 56dfcccc48 XnAP: upgrade dissector to v17.3.0 2023-01-11 15:06:06 +01:00
Pascal Quantin 92d4052cf8 extract_asn1_from_spec.pl: add support for M2AP and M3AP specs 2023-01-11 12:52:23 +01:00
Pascal Quantin 20a8a8eb0f NGAP: upgrade dissector to v17.3.0 2023-01-11 10:42:15 +00:00
Pascal Quantin f2cdd8bbc3 M2AP: upgrade dissector to v17.0.1 2023-01-11 10:17:49 +00:00
Martin Mathieson fc013d9bd6 Set unique exit codes for processes 2023-01-11 09:56:26 +00:00
Pascal Quantin 4f7c3ab16a X2AP: upgrade dissector to v17.3.0 2023-01-11 09:50:18 +01:00
Pascal Quantin 0611f92317 S1AP: upgrade dissector to v17.3.0 2023-01-11 09:06:10 +01:00
João Valverde 313fed6db0 dftest: Add --types option 2023-01-11 01:00:41 +00:00
João Valverde 70e006fc42 dftest: Revert to using "->"
">>" looks like a bit shift. Revert back to "->".
2023-01-11 00:37:44 +00:00
Sergey V. Lobanov 8a4f22be61 ALP: fix issue #18795 (memory management issues)
This patch replaces memcpy to tvb_memcpy, also fixes while() loop over numts
2023-01-10 22:37:11 +00:00
Pascal Quantin 5e3dba3da0 NAS 5GS: upgrade dissector to v17.9.0 2023-01-10 22:01:32 +00:00
Sergey V. Lobanov 42f7ee88c6 LLS: fix msvc warning: possible loss of data 2023-01-10 22:07:57 +01:00
Sergey V. Lobanov 60912daef9 LLS: add dissector for ATSC3 Low Level Signalling (LLS) Protocol
LLS dissector is implemented according to A/331:2022-11.
.pcap sample: https://wiki.wireshark.org/SampleCaptures#lls-low-level-signalling-protocol
2023-01-10 09:49:18 +01:00
Kevin Albertson 3c9662b1d2 note that tvb_child_uncompress attaches to parent 2023-01-10 01:34:44 +00:00
Kevin Albertson 8bf015034e note to use the tvb_child_uncompress* alternative 2023-01-10 01:34:44 +00:00
Kevin Albertson 95a1627064 note need to free return in uncompress functions 2023-01-10 01:34:44 +00:00
Kevin Albertson 988d4585bc ipsec: fix comment 2023-01-10 01:34:44 +00:00
Kevin Albertson 005ea28d27 sip: fix leak in uncompress 2023-01-10 01:34:44 +00:00
Kevin Albertson 0150297d55 rtps: fix leak in uncompress 2023-01-10 01:34:44 +00:00
Kevin Albertson 01fda90a45 mcpe: fix leak in uncompress 2023-01-10 01:34:44 +00:00
Kevin Albertson 39ee45a069 multipart: fix leak in uncompress 2023-01-10 01:34:44 +00:00
Kevin Albertson 8461440f4a gelf: fix leak in uncompress 2023-01-10 01:34:44 +00:00
Kevin Albertson f7290f2cb6 mysql: fix leak in uncompress 2023-01-10 01:34:44 +00:00
Sergey V. Lobanov e80b2ab560 ALP: add decoders for Link Mapping Table (LMT) and Sony header extensions
LMT decoder is implemented according to A/330:2022-03.
.pcap sample: https://wiki.wireshark.org/SampleCaptures#alp-protocol

Sony header extensions are not documented publicly, but implemented in libatsc3.
This implementation is based on libatsc3 (src/test_sony/atsc3_sony_ts_alp_reader_reflector_test.c)
Libatsc3 home: https://github.com/jjustman/libatsc3
Use cases for sony extenstions can be found in: https://www.sony.com/content/dam/sony/landing-pages/whitepaper-atsc30_automotive_field_tests_.pdf
.pcap samples: https://wiki.wireshark.org/SampleCaptures#alp-protocol
2023-01-09 22:21:41 +00:00
PMcL 1fc516739e mako: Updated Metamako trailer dissection
packet-metamako.c: Made heuristic variables available for the user to change via the UI, updated the display strings of the Clause 49 BTF value and the Original FCS status, simplified the heuristic function, added UI options to force trailer dissection (override heuristics), and allow for user specification of whether an FCS is present in the capture, fixed TLV walking bug if the heuristic picks up an invalid TLV length, appends the Info column with a message if the trailer is found, added a generated timestamp field to display the epoch seconds, added total-frame FCS display if total-frame FCS is detected, along with its status.
2023-01-09 20:08:02 +00:00
Gerald Combs 4d38cf9ec6 FAQ: Fix some markup 2023-01-09 18:00:11 +00:00
Joakim Karlsson 56deed1c15 GTPv2: correction of IE MM Context EPS QQ 2023-01-09 15:50:42 +01:00
Joris Peeraer fadb420769 PFCP: remove empty wrappers around dissect_pfcp_grouped_ie
By simplifying the dissect_pfcp_grouped_ie calls, some dissector
functions have become a simple wrapper to dissect_pfcp_grouped_ie
with even the same arguments.

These functions are removed and the dissect_pfcp_grouped_ie function is
used directly where references to these old functions were used
previsouly.
2023-01-09 10:28:39 +01:00
Joris Peeraer b5fc7ff3bc PFCP: get rid of forward declarations by moving ie-decoder-table down
Part of cleanup that will ease refactorings in later commits.
Remove all forward declarations and move the table containing references
to those functions down.
2023-01-09 10:28:35 +01:00
Joris Peeraer bf071e39d9 PFCP: remove redundant sub-tree and sub-tvb
The dissector-code for grouped IEs creates a subtree while it already
received a subtree for the ett being used. This redundant subtree
creation is removed.

The same happens with creating a tvb: the function creates a new tvb
while it already is passed in the appropriate tvb.
2023-01-09 10:28:08 +01:00
Kevin Albertson e8cd0d1457 http2: fix leak of composite 2023-01-09 08:04:08 +00:00
Kevin Albertson a0c9627502 wscbor: defer creation of composite tvb
Prevents an exception in finalize if no tvbs are appended.
2023-01-09 08:04:08 +00:00
Alexis La Goutte 1a1a6ce12b DNS: Modify dns.qry.type for using without description
and append field with description

Close #18704
2023-01-09 06:54:07 +00:00
João Valverde 613331f07b dfilter: Disable flex debug trace for release builds
This omits the flex debug code in the binary if the build type is
RelMinSize or Release.

It replaces the "%option debug" stanza with the -d command line
option, to be able to configure the flex behaviour.
2023-01-09 04:03:19 +00:00
João Valverde 65ce33b5d7 dftest: Add wslog usage 2023-01-09 04:03:19 +00:00
João Valverde 067bf04446 dftest: Add a newline to output 2023-01-09 04:03:19 +00:00
Gerald Combs 4ec08045aa wslua: Fix wsluarm defines. 2023-01-09 03:17:30 +00:00