Commit Graph

82900 Commits

Author SHA1 Message Date
Moshe Kaplan 7567432ec4 Add remaining header files to Doxygen
Add @file markers for remaining
header files so that Doxygen will
generate documentation for them.
2021-12-12 03:56:35 +00:00
Gerald Combs b62197c283 CMake+GitLab CI: Reduce verbosity.
For various commands, make sure we show warnings and errors, but not
other extraneous information such as filenames.
2021-12-11 13:57:29 -08:00
João Valverde 773420bad9 Fix extcap-base.[ch] indentation
Make header indentation consistent with C source.

Fix EditorConfig settings.
2021-12-11 17:49:40 +00:00
Gerald Combs 7736e69b57 GitLab CI: Simplify some checks.
Assume that we have sufficient AWS credentials if our S3 destination
environment variable is set.
2021-12-11 09:33:52 -08:00
João Valverde f5a40ada4d Netfilter rtnetlink: Fix some names for consistency 2021-12-11 17:02:16 +00:00
João Valverde 6c5d00a746 epan: Remove obsolete function proto_register_fields_manual()
Related with #17774.
2021-12-11 17:02:16 +00:00
João Valverde a38c4ea454 Netlink: Convert to normal proto tree API 2021-12-11 17:02:12 +00:00
João Valverde 26fb504f67 Netlink generic: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde ae600d3bd1 Netlink net_dm: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde 52064a51e1 Netlink psample: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde aec2554d29 Netlink sock_diag: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde 7559a718ec Netlink netfilter: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde 4458c910a4 Netlink rtnetlink: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde e67ce21f81 Netlink nl80211: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
João Valverde 3230ed2dac Netlink: Change dissector API to use HF index
Instead of passing a pointer to a header_field_info structure,
pass an integer index to the registry.

This allows each dissector to be converted to a more conventional
structure.
2021-12-11 16:32:28 +00:00
João Valverde 53cded5062 wslog: Add backward compatibility with 'console.log.level'
This adds some custom logic to check if we were given
the obsolete 'console.log.level' setting from the CLI
arguments, that specified the log level using a bitmask
copied from GLib. If we find that map the bitmask to a
wslog log level.

In any case the option is not removed from the argv (unlike
other wslog arguments like --log-level, etc.).

Adds deprecation warning for 'console.log.level' printed to
the console.

Related to #17763.
2021-12-11 00:19:09 +00:00
João Valverde 7d7873187e GUI: Lower log level of "up and ready" message
This lowers the level of this message from "message" to
"info". This has two side-effects:
  - It is not displayed by default
  - It is printed to stdout instead of stderr.

Some users were depending on this message. Restore this to
the level it had before 05ed76d4. Even though this output is
not considered a stable interface restoring the old behavior
helps them and has no meaningful usability downsides. The
changes in 05ed76d4 were experimental anyway.

Related to #17763.
2021-12-11 00:01:41 +00:00
John Thacker 7699d54094 IEC101/104: Support different link address sizes
IEC 101 can have a link address of zero, one, or two octets.
The IOA address can also be one, two, or three octets.
Remove unnecessary apply_prefs function. Fix #17775
2021-12-10 15:59:46 -05:00
João Valverde d2a9cb940a epan: Remove new proto tree API
Remove experimental new API.

Fix Netlink dissector to compile with normal proto tree API.

Closes #17774.
2021-12-10 14:37:01 +00:00
John Thacker f888074def cli: Cleanup rtspstat tap output format
Actually output the packet count for RTSP response status codes,
and align the columns between requests and response. (This CLI-only
stat is largely redundant with rtsp,tree but it might as well work.)
2021-12-10 14:15:29 +00:00
John Thacker 61b402cbe9 doc: Update tshark documents of stat options
Lost one option when updating in the previous commit, restore
2021-12-10 08:12:57 -05:00
John Thacker c0933a18da doc: Update tshark manual for undocumented -z statistics
This commit includes all statistics / taps that exist up through the
3.4.x release. Another commit will handle the ones added in the 3.6
branch. Mention that statistics are unaffected by the display filter
(but are affected by capture and read filters, and usually have their
own filters) at the top rather than repeating the same boilerplate
in half the options.

Ping #8353
2021-12-10 00:20:44 +00:00
Pascal Quantin cd752deeac Windows: upgrade Npcap to 1.60 2021-12-09 22:41:07 +01:00
João Valverde 3638ca74c4 YAMI: Convert to old proto tree API
Related with #17774.
2021-12-09 11:16:55 +00:00
João Valverde c87f7a7141 STCSIG: Convert to old proto tree API
Related with #17774.
2021-12-09 11:10:15 +00:00
João Valverde 5896dfe6af NFLOG: Convert to old proto tree API
Related with #17774.
2021-12-09 11:05:03 +00:00
João Valverde 175d5c8660 MINT: Convert to old proto tree API
Related with #17774.
2021-12-09 11:00:56 +00:00
João Valverde edfe072186 JSON: Convert to old proto tree API
Related with #17774.
2021-12-09 10:49:53 +00:00
João Valverde f6fb1c387f Gadu-Gadu: Convert to old proto tree API
Related with #17774.
2021-12-09 10:43:11 +00:00
João Valverde 497d03aedd ERSPAN: Convert to old proto tree API
Related with #17774.
2021-12-09 10:31:55 +00:00
João Valverde 6faf2450ea Bitcoin: Convert to old proto tree API
Related with #17774.
2021-12-09 10:31:55 +00:00
João Valverde a0d5bd67e6 GIF: Convert to old proto tree API
Related with #17774.
2021-12-09 10:31:55 +00:00
João Valverde b9ed05f6b8 HPEXT: Convert to old proto tree API
Related with #17774.
2021-12-09 10:31:55 +00:00
João Valverde 165384f74f FCDNS: Convert to old proto tree API
Related with #17774.
2021-12-09 10:31:55 +00:00
João Valverde db5071b647 daytime: Convert to old proto tree API
Related with #17774.
2021-12-09 10:31:55 +00:00
John Thacker 51134bca8d RTSP: Fix segault of cli tap with no filter set 2021-12-09 05:37:59 +00:00
John Thacker c648a40751 RTSP: Parse the status code correctly for taps
The end pointer for get_token_len needs to be the line end.
Using a fixed length of 5 won't actually get the version token.
Fixes geting the response codes for the RTSP tapes, instead
of response messages being assigned as Other.
2021-12-09 05:23:05 +00:00
Dario Lombardo 5fd23d72b6 Qt: fix compilation without pcap. 2021-12-09 04:51:02 +00:00
João Valverde eb66d83961 ACAP: Convert to old proto tree API
Related with #17774.
2021-12-09 01:50:56 +00:00
João Valverde 6fd4777e56 PNG: Convert to old proto tree API
Related with #17774.
2021-12-09 01:44:02 +00:00
João Valverde 4221079a57 URL Encoded: Convert to old proto tree API
Related with #17774.
2021-12-09 01:35:03 +00:00
João Valverde 2eba768440 JPEG: Convert to old proto tree API
Related with #17774.
2021-12-09 01:30:55 +00:00
João Valverde 5dec1fc8b4 PEEKREMOTE: Convert to old proto tree API
Related with #17774.
2021-12-09 01:22:36 +00:00
João Valverde c560ff4d1a 2dparityfec: Convert to old proto tree API
Related with #17774.
2021-12-09 01:12:00 +00:00
João Valverde baf2d67063 Data: Convert to old proto tree API
Related with #17774.
2021-12-09 01:03:33 +00:00
João Valverde f613998690 XCSL: Convert to old proto tree API
Related with #17774.
2021-12-09 00:52:48 +00:00
João Valverde 6b9a77e298 TALI: Convert to old proto tree API
Related with #17774.
2021-12-09 00:52:48 +00:00
João Valverde 0fce83f3a0 STAT: Convert to old proto tree API
Related with #17774.
2021-12-09 00:52:48 +00:00
João Valverde 27794a81b8 Rwall: Convert to old proto tree API
Related with #17774.
2021-12-09 00:52:48 +00:00
João Valverde 5a39ec0aec Rsync: Convert to old proto tree API
Related with #17774.
2021-12-09 00:52:48 +00:00