Commit Graph

13 Commits

Author SHA1 Message Date
Patricia Lindner ddf0d35516 BPv7: Enhance block data and payload data handling
This change improves sequence analysis and subdissector interfaces, adds
payload Decode As support for DTN and IPN services, and add heuristic
dissection for BTSD.
2022-10-03 20:02:43 +00:00
Jaap Keuter b092fa05da Replace the last of PROTO_ITEM_ macro calls with function calls 2022-09-29 05:59:12 +00:00
Brian Sipos e47ab95e46 BPv7 and TCPCL: Update references to published RFCs 2022-05-19 20:15:59 -04:00
lindnerp 7079d881fa Update bpv7 and bpsec dissectors to resolve ticket 17727 2022-05-18 12:48:41 -04:00
Alexis La Goutte 95ef3a2d45 bpsec: fix warning about -Wprototypes (proto_register/reg_handoff_bpsec 2022-01-06 20:03:11 +00:00
Alexis La Goutte 22de61a063 bpsec: fix -Wdocumentation warnings 2022-01-06 20:03:11 +00:00
João Valverde 22ee2764a7 Replace g_snprintf() with snprintf() (dissectors)
Use macros from inttypes.h with format strings.
2021-12-19 20:25:11 +00:00
Jaap Keuter adbaced04c Dissectors should not include stdio.h, unless needed 2021-12-05 12:45:46 +00:00
João Valverde 19dcb725b6 epan: Remove STR_ASCII and STR_UNICODE
These display bases work to replace unprintable characters so the
name is a misnomer. In addition they are the same option and this
display behaviour is not something that is configurable.

This does not affect encodings because all our internal text strings
need to be valid UTF-8 and the source encoding is specified using
ENC_*.

Remove the assertion for valid UTF-8 in proto.c because
tvb_get_*_string() must return a valid UTF-8 string, always, and we
don't need to assert that, it is expensive.
2021-12-03 04:35:56 +00:00
João Valverde b30a2112e8 regex: Prefer C99/POSIX types
Replace 'gssize' with 'ssize_t'.

Add a CMake configure check for ssize_t.

Fix missing "config.h" includes.
2021-11-15 02:41:59 +00:00
Brian Sipos 01e858e0a3 BP: Fix crashes on invalid fuzzed inputs 2021-10-12 23:15:50 +00:00
Dr. Lars Völker 7f9b8874b5 BPSEC, BPv7, COSE: Bugfix MacOS build
The usage of PRIi64 and PRIu64 may lead to failed builds on MacOS - at
least it did for me.

This patch fixes this.
2021-10-11 11:58:23 +02:00
Brian Sipos ce0592514c BPv7: Add Bundle Protocol version 7 and BPSec dissectors from dtn-wireshark 2021-10-10 13:27:17 +00:00