aboutsummaryrefslogtreecommitdiffstats
path: root/debian/libwireshark0.symbols
AgeCommit message (Collapse)AuthorFilesLines
2022-02-13Packaging+GitLab CI: Move debian to the packaging directory.Gerald Combs1-2083/+0
We keep our various packaging assets in the "packaging" directory. Move the Debian assets there. dpkg-buildpackage doesn't seem appear to have a "debian directory path" option, but symlinking worked in my test container.
2022-02-06epan: Add BASE_SHOW_UTF_8_PRINTABLEJohn Thacker1-0/+1
Add BASE_SHOW_UTF_8_PRINTABLE and related function tvb_utf_8_isprint for supporting fields of bytes that are "maybe UTF-8" (default or SHOULD be UTF-8 but could be something else, with no encoding indicator), such as SSID fields in IEEE 802.11 (See #16208), certain OctetString fields in Diameter or PFCP, and other places where BASE_SHOW_ASCII_PRINTABLE is currently used. Fix #5307
2022-01-03epan: Add p_set_proto_data.Gerald Combs1-0/+1
Add p_set_proto_data, which either updates our entry if we have a proto+key match or adds an entry if we don't. Use it with p_set_proto_depth. Document it and our other proto_data routines.
2021-12-30Prefs/Extcap: Added support for password which is never stored on the diskj.novak@netsystem.cz1-0/+3
2021-12-28epan: Extend abs_time_to_str() with a flags argumentJoão Valverde1-2/+2
2021-12-11epan: Remove obsolete function proto_register_fields_manual()João Valverde1-1/+0
Related with #17774.
2021-12-10epan: Remove new proto tree APIJoão Valverde1-1/+0
Remove experimental new API. Fix Netlink dissector to compile with normal proto tree API. Closes #17774.
2021-11-30epan: Remove unused format_uri() functionJoão Valverde1-1/+0
Used with the GTK GUI, not used for a long time.
2021-11-29Move string_or_null() to wsutilJoão Valverde1-1/+0
2021-11-29epan/str_util: Remove unused functionsJoão Valverde1-3/+0
Remove ws_strdup_escape_char(). I don't think it is generic enough to keep, and it does not seem very efficient either. Remove string_replace(). This function was used in the GTK GUI.
2021-11-29Fix Debian symbolsJoão Valverde1-2/+0
2021-11-28Move two functions from epan to wsutil/str_utilJoão Valverde1-2/+0
Move epan_memmem() and epan_strcasestr() to wsutil/str_util. Rename to ws_memmem() and ws_strcasestr(). Add compile time check for a system implementation and use that if available. We invoke those functions using a wrapper to avoid exposing _GNU_SOURCE outside of the implementation.
2021-11-27epan: Add binary search to introspection APIJoão Valverde1-0/+2
2021-11-26epan: Add introspection API to export some constantsJoão Valverde1-0/+1
C is notoriously difficult to bind from other languages without additional metadata. The C ABI does not include enums and macros that are an essential component of the API. To make Wireshark instrospectable and more binding friendly include an introspection API to export enums and integer macros. To avoid the tedious need to manually keep the code up to date it uses the excellent pyclibrary python package to automatically parse C headers and extract this data. This is not a process that should be done automatically during the build. This could be used for example to replace most of the wslua make-init-lua.pl perl script, which tries to do the same thing using regular expressions. Besides the downside of using Perl using regular expressions is inferior to pyclibrary in 2 ways: 1) pyclibrary understands most of C99 grammar so it is much more powerful; 2) pyclibrary has a specific API to extract "values" (enums and constants) automagically. We just need to take care to use only integer values, for our purposes.
2021-11-16dfilter: Add compilation result to log outputJoão Valverde1-1/+1
Add result output to console log, in addition to intermediate debug information. This allows tracing the result using the log only.
2021-11-10epan: Remove fvalue_string_repr_len() from the public APIJoão Valverde1-1/+0
This function is unnecessary. Clients are receiving a wmem-allocated buffer and have no need to know the length apriori.
2021-11-08UAT: Allow missing fields.Gerald Combs1-0/+1
Add uat_set_default_values, which lets us provide default values for fields that might be missing from the end of a UAT line. Set a default value for the I/O Graph dialog's Y Axis Factor. Fixes the backward compatibility issue described in #17623
2021-11-08Fix Debian symbolsJoão Valverde1-6/+2
2021-11-04epan: Optimize heuristic name validity checkJoão Valverde1-0/+1
Do the name check in one pass only, instead of two passes, one for all letters and a second one to exclude upper case letters.
2021-10-21TCP, UDP, SCTP: Try user specified ports firstJohn Thacker1-0/+2
When the user has manually registered to a port a dissector other than the default subdissector (through Decode As, or the preferences registered via dissector_add_uint_[range_]with_preference), try those ports with a custom dissector first. There's a few dissectors (e.g., GTP) that have port preferences that haven't been migrated to use the DECODE_AS_ preferences for various reasons; this won't change anything when their preferences are changed from the default, though it can still work via Decode As. Fixes #6223 and #12168.
2021-10-17TCPCLv4: Update TCPCL dissector to include version 4 from dtn-wiresharkBrian Sipos1-0/+1
Some enhancements and visual fixes to version 3 dissector are also included.
2021-10-10BPv7: Add Bundle Protocol version 7 and BPSec dissectors from dtn-wiresharkBrian Sipos1-0/+19
2021-10-05COSE: Handle indefinite tstr/bstr encodingsBrian Sipos1-0/+1
2021-09-29COSE dissector from dtn-wireshark projectBrian Sipos1-0/+26
2021-09-26USB HID: Parse bit fields with correct bit orderTomasz Moń1-0/+1
Implement little endian support for tvb_get_bits family of functions. The big/little endian refers to bit numbering within an octet. In big endian, the most significant bit is considered bit 0, while in little endian the least significant bit is considered bit 0. Add encoding parameters to proto tree bits format family functions. Specify ENC_BIG_ENDIAN in all dissectors using these functions except in USB HID that requires ENC_LITTLE_ENDIAN to work correctly. When formatting bits values, always display most significant bit on the leftmost position regardless of the encoding. This results in no gaps between octets and makes the displayed value comprehensible. Close #4478 Fix #17014
2021-09-17Debian: Fix symbolsJoão Valverde1-3/+1
2021-09-16Debian: Add missing wsutil symbolsJoão Valverde1-3/+0
2021-09-16Debian: Add missing wsutil symbolsJoão Valverde1-1/+0
2021-09-08epan: export epan_set_always_visible()Developer Alexander1-0/+1
Exports (DLL) epan_set_always_visible() to make it accessible for plugins. This enables post dissection taps to access all fields.
2021-09-08tvblist: explicitly scope memoryEvan Huus1-1/+1
Allocate the root node in the same pool as the list itself, and make that pool explicit so we can pass the pinfo scope instead of using the global packet pool.
2021-09-01tvbuff: convert helper methods to pinfo->poolEvan Huus1-2/+2
A few of them just needed scratch memory, so allocate and free it manually after doing any exception-raising checks. A few others were returning memory, and needed conversion to accept a wmem scope argument.
2021-08-27Thrift: Complete handling of Binary & Compact protocolsTriton Circonflexe1-3/+10
- Make sure reassembly requests & errors are properly propagated from any point in the PDU, no matter how many sub-structure levels. - Handle the sub-dissection methods as well: - Ensure the sub-dissection methods handle errors from previous calls. - Reduce the error handling needed in sub-dissector implementations. - Add missing sub-dissection methods for list, set, and map. - Add the handling of sub-structure. - Handle Compact protocol in addition to the existing binary protocol. - Include and improve MR !3171 - Handle reassembly the same way as for binary protocol. - Handle sub-dissection with the same functions. => Sub-dissectors only depend on .thrift files. Additional changes: - Use of constants instead of hard-coded values. - Removed U64 support (never supported by thrift code generator, only referenced in the C++ thrift library header but not supported in reality. - Removed references to UTF-8 and UTF-16 string for the same reason. - Replaced references to UTF-7 string with just string (same reason). - Replaced references to byte with i8 as the documentation explicitly states that byte is a compatibility name. Documentation reference: - https://thrift.apache.org/developers - https://thrift.apache.org/docs/idl.html - https://github.com/apache/thrift/blob/master/doc/specs/thrift-compact-protocol.md - https://erikvanoosten.github.io/thrift-missing-specification/ - https://diwakergupta.github.io/thrift-missing-guide/ Closes #16244 Additional changes: - Add authors and improve consistency - Fix typo and clarify documentation
2021-07-29Move bytes_to_str() to wsutilJoão Valverde1-3/+0
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-26Remove duplicate format_size() functionJoão Valverde1-1/+0
We have two format_size()s, with and without wmem scoped memory. Move the wmem version to wsutil and add a convenience macro to use g_malloc()ed memory.
2021-07-26Move wmem to wsutilJoão Valverde1-103/+5
This allows wmem to be used from other libraries, namely wsutil. It is often the case that a funtion exists in wsutil and cannot be used with a wmem scope, requiring some code duplication or extra memory allocations, or vice-versa, code in epan cannot be moved to wsutil because it has a wmem dependency. To this end wmem is moved to wsutil. Scope management remains part of epan because those scope semantics are specific to dissection.
2021-07-13prefs_register_protocol_obsolete protocols with only obsolete prefsChuck Craft1-0/+1
Related to #17465 and !3526
2021-07-08Consistently refer to blocks that have been modified as "modified".Guy Harris1-1/+1
"User" sounds as if the blocks belong to the user; at most, the current user might have modified them directly, but they might also have, for example, run a Lua script that, unknown to them, modified comments. Also, a file might have "user comments" added by a previous user, who them wrote the file and and provided it to the current user. "Modified" seems a bit clearer than "changed".
2021-07-07Use wtap_blocks for packet commentsDavid Perry1-1/+1
Mostly functioning proof of concept for #14329. This work is intended to allow Wireshark to support multiple packet comments per packet. Uses and expands upon the `wtap_block` API in `wiretap/wtap_opttypes.h`. It attaches a `wtap_block` structure to `wtap_rec` in place of its current `opt_comment` and `packet_verdict` members to hold OPT_COMMENT and OPT_PKT_VERDICT option values.
2021-07-07QUIC: improve "Follow QUIC Stream" supportNardi Ivan1-0/+2
This functionality has been added in d2a660d8, where its limitations are described. Improvements: * the Substream index menu now properly filters for available stream numbers; * Follow Stream selects the first stream in the current packet Known issue (which is still there): if a packet contains multiple QUIC streams, then we will show data also from streams other than the selected one (see #16093) Note that there is no way to follow a QUIC connection. Close #17453
2021-07-07wmem: add a GCompareFunc implementation to compare unsigned integer 64 bits longNardi Ivan1-0/+1
2021-06-15tvbuff: add tvb_ensure_reported_length_remaining().Guy Harris1-0/+1
It is to tvb_reported_length_remaining() as tvb_ensure_captured_length_remaining() is to tvb_captured_length_remaining() - it throws an exception if the offset is out of range. (Note that an offset that's just past the end of the {reported, captured} data is *not* out of range, it just means that there is no data remaining. Anything *past* that is out of range and thus invalid.)
2021-06-13Remove lingering circuit API from stream.hJohn Thacker1-2/+2
The circuit API was removed and replaced with the conversation "_by_id" API that uses a single uint32 value by commit 800b26edbe34e135cc9be1d4395db2c13ae1213f Remove the lingering references to circuits from the stream API, since it's just used with conversations now.
2021-05-08http: Add dissection of HTTP2-SettingsAnders Broman1-0/+1
Closes #17370
2021-04-02maxmind: add optional synchronous lookupsDavid Perry1-0/+1
When tshark enables synchronous resolution of IP addresses to names, forces calls to maxmind_db_lookup_ipv4()/_ipv6() to block-wait for the maxmind response. Proposed fix for #14691.
2021-02-26Added decoding of ProtocolID and PPID into Component Status Protocol dissector.Thomas Dreibholz1-0/+1
This merge request adds: * Decoding of ProtocolID and PPID in Component Status Protocol dissector. * Moved SCTP PPID list from SCTP dissector into separate file sctpppids.c, due to reuse in Component Status Protocol dissector. * Export of sctpppid_val_ext containing the PPID list.
2021-02-22Added "Follow DCCP stream" feature.Thomas Dreibholz1-0/+1
This pull request includes: * The "Follow DCCP stream" feature. * Updated docbook documentation for the "Follow DCCP stream" feature. * Test for the feature. * Corresponding packet trace for the test.
2021-02-22ZVT: Addedd dissection of amount, terminal ID, date and time. Registration fix.Grzegorz Niemirowski1-0/+1
2021-02-20BER: get rid of WTAP_FILE_TYPE_SUBTYPE_BER.Guy Harris1-2/+0
Save a copy of the pathname used to open a file in the wtap structure. This allows the BER file reader to put a pointer to it in the pseudo-header; it also would allow file readers to attempt to read "associated" files that have the same name as the file, but with a different extension. Instead of having cf_open() special-case BER files, and calling a routine in the BER dissector to specify the file name to the dissector, have separate dissectors for "dissect packet payload as BER" and "dissect a file as BER", and have the latter get the pathname of the file from the pseudo-header and determine the ASN.1 syntax from that. (Side-effect - this means that you can now dissect a BER file, and have the syntax be determined by the file extension, in TShark as well; the above cf_open() special-casing was *not* done in TShark, so it didn't work before. Now the application code doesn't need to do any of that, so it works in TShark as well as Wireshark.)
2021-02-06Avoid exposing HAVE_PLUGINS in the public APIJoão Valverde1-0/+1
Instead *_register_plugin() is turned into a noop (with a warning). The test suit is failing with ENABLE_PLUGINS=Off (it was already failing before and this patch didn't affect that). Closes #17202.
2021-02-04RTP dissector: Removed unused functionsJirka Novak1-2/+0
Removed unused functions found by Martin Mathieson.