Commit Graph

79852 Commits

Author SHA1 Message Date
Alexis La Goutte f6508c33c8 iso8583: Fix Dead Store found by Clang Analyzer
packet-iso8583.c:553:12: warning: Although the value stored to 'len' is used in the enclosing expression, the value is never actually read from 'len'
2021-02-07 07:32:00 +00:00
Alexis La Goutte 721c70956e nfs: Fix Dead Store Found by Clang Analyzer
packet-nfs.c:6690:9: warning: Although the value stored to 'offset' is used in the enclosing expression, the value is never actually read from 'offset
packet-nfs.c:6840:9: warning: Although the value stored to 'offset' is used in the enclosing expression, the value is never actually read from 'offset'
2021-02-07 07:32:00 +00:00
Alexis La Goutte d9c71861a3 radiotap: Fix Dead Store found by Clang Analyzer
packet-ieee80211-radiotap.c:2190:3: warning: Value stored to 'offset' is never read
2021-02-07 07:32:00 +00:00
Alexis La Goutte e59c6b5c78 gsm_abis_oml: Fix Dead Store found by Clang Analyzer
packet-gsm_abis_oml.c:1702:5: warning: Value stored to 'loffset' is never read
2021-02-07 07:32:00 +00:00
Alexis La Goutte 60cdc48efd mgcp: fix Dead Store Found by Clang Analyzer
Although the value stored to 'tempchar' is used in the enclosing expression, the value is never actually read from 'tempchar'
2021-02-07 07:32:00 +00:00
Alexis La Goutte 7ef0bd34b0 iso8553: Fix Dead Store Found by Clang Analyzer
Although the value stored to 'len' is used in the enclosing expression, the value is never actually read from 'len'
2021-02-07 07:32:00 +00:00
Alexis La Goutte ef6d3ae9a0 cemi: Fix Dead Store found by Clang Analyzer
Although the value stored to 'offset' is used in the enclosing expression, the value is never actually read from 'offset'
2021-02-07 07:32:00 +00:00
Alexis La Goutte 11a55c8601 dcom-typeinfo: Fix Dead Store found by Clang Analyzer
Although the value stored to 'offset' is used in the enclosing expression, the value is never actually read from 'offset'
2021-02-07 07:31:59 +00:00
Guy Harris 1cbafa47b9 wiretap: add a mechanism for built-in modules to have a register routine.
Currently, only pcapng has one, and it does nothing, but this mechanism
will be used more in the future.

Update comments in epan/dissectors/CMakeLists.txt and ui/taps.h while
we're at it.
2021-02-06 17:54:19 -08:00
Guy Harris 12960c81c4 pcapng: write out the FCS length IDB option. 2021-02-06 13:50:30 -08:00
Guy Harris 910c489a4a pcapng: fix build without plugins.
Just remove some HAVE_PLUGINS checks.  Those tables will eventually
handle built-in block and option types as well.
2021-02-06 13:07:12 -08:00
João Valverde 89fee9321e Avoid exposing HAVE_PLUGINS in the public API
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-06 16:35:51 +00:00
Alexis La Goutte 91064e337c Aruba(IAP): fix extra space 2021-02-06 14:53:19 +00:00
Alex Nik 1de4cc47af minor fixes 2021-02-06 14:31:35 +00:00
Alex Nik 527bb28d20 added the ANCP statistic description 2021-02-06 14:31:35 +00:00
Роман Донченко 44dbf37412 pkixtsp: support opening standalone query/response files
Per RFC 3161, time-stamp queries/responses may be stored in files with
the .tsq/.tsr extensions, respectively.
2021-02-06 14:05:52 +00:00
Alex Nik 9e8e157b75 added description for DNS statistics
added a screenshot for the DNS statistics and some more description

minor fix

minor fix

adding examples

minor fix
2021-02-06 13:47:46 +00:00
Alex Converse fdcddd4b78 rtmpt: fix extended timestamps on type 3 chunks
This fix does not handle the less common case where a type 3 chunk starts a new message
and an extended timestamp is present.

This fixes the dissection of rtmp-cal-to-ams-4.pcap attached to the issue. Closes #15718
2021-02-06 13:08:10 +00:00
Alex Nik 5f31971e68 SCTP menu item is described
minor fix
2021-02-06 12:52:39 +00:00
Darius Davis 6c24e17a5c TFTP: Link each DATA/ACK to its read/write request.
Let's keep track of the frame number which contained the initial read or write
request for the conversation.  This allows us to easily add a link from each
DATA or ACK packet back to the read or write request which started the
transfer.

While we are here, add a missing initialization of tftp_info->windowsize and
sort the initializers into the same order as the fields.
2021-02-06 12:26:58 +00:00
Alex Nik 539ab40611 added description for the Collectd statistics 2021-02-06 10:17:57 +00:00
Alex Nik 63147c10ba added the HART-IP description 2021-02-06 09:56:47 +00:00
Alex Nik 0676de8d77 added description for the Sametime statistics
minor fix
2021-02-06 08:25:56 +00:00
Josip Medved 1579ada891 Added support for application/json-patch+json (RFC 6902) 2021-02-06 06:50:43 +00:00
Guy Harris 23467afdc5 wslua: explain, in a comment, how .init routines work for a Proto. 2021-02-05 22:02:54 -08:00
Harald Welte b83f92a458 packet-fr: Register for SLL dispatch to Frame Relay dissector
Without this patch, any Linux cooked packet capture on HDLC / frame
relay devices will not be dispatched to the proper dissector.

Such packets do carry a proper sll_hatype set to ARPHRD_FRAD and should
be dispatched accordingly.  However, the packet-fr dissector so far
did not register itself accordingly.
2021-02-05 21:23:43 +00:00
Jirka Novak 74961582b3 RTP Player: Possibility to remove stream from RTP player
When many streams are analyzed, some streams can be found as useless during
replay. Patch adds option to remove it from list in RTP player.
Once stream is removed, it can't be returned except close/reopen RTP player
with new selection.
2021-02-05 16:10:12 +00:00
Martin Mathieson 597a5df1a7 Make more functions and vars static. 2021-02-05 13:30:17 +00:00
Alex Nik cefc4e183d added description for the HPFEEDS statistics 2021-02-05 13:13:44 +00:00
Jirka Novak 67c666b251 RTP Stream Dialog fix: Duplicated streams could be shown
It may happen that a stream could be shown twice or more time in the list.
Patch solves it.
2021-02-05 12:45:01 +00:00
Anders Broman 1bb97c5973 TCAP: Don't attempt to decode content when a subdissector has done it. 2021-02-05 10:02:58 +00:00
Alex Nik 51f6be91e7 added the BACnet description 2021-02-05 09:21:24 +00:00
j.novak@netsystem.cz 88a86f5f01 RTP dissector: Remove unused functions
Patch removes (just comments out) functions not used by the code
as found by Martin Mathieson.
2021-02-05 09:19:48 +00:00
Guy Harris eb066c6091 wiretap: use a hash table for option types.
Option types aren't guaranteed to be small integers, so store option
types for a block type in a hash table, so we don't need to have a big
array to handle the custom option types (the type values of which aren't
small integers) and with local-use option types (the type values of
which also aren't small integers).

Make all the option type structures const while we're at it.
2021-02-04 22:09:23 -08:00
Guy Harris 44abff6934 pcapng: expand the plugin option handlers to support writing options.
The options get unmarshalled (deserialized) when you read them; they
need to get marshalled (serialized) when you write them.  This requires
an option handler to have more than one function.

While we're at it, in the declarations for function types for *block*
reader and writer plugins, add names to the prototype function
arguments, to make it a bit clearer what those arguments are.
2021-02-05 01:34:04 +00:00
Gerald Combs f55813e518 Qt: Remove an unneeded semicolon. 2021-02-05 01:09:36 +00:00
Gerald Combs 9d5e9f2c29 IEEE 802.11: Allocate our S1G property keys.
Make sure the keys for the station property hash table are allocated
using the file scope. Store our value as an unsigned integer. Use a
common hashing algorithm. Fixes #17200.
2021-02-05 00:25:00 +00:00
Jirka Novak 1897208d34 RTP Player: Selected waveform is emphased. Waveform can be selected by click.
When there is many waveforms, it is not clear which one is selected in list.
It is important for selecting packets from graph.
Patch emphasis selected waveform. In addition, it allows to select waveform
by clicking on it.
2021-02-04 22:30:26 +00:00
Jirka Novak 68ae34fba7 RTP Player: Audio routing information refactored
Audio routing information storage refactored to separate mute information and
channel routing. It is required for next changes.
2021-02-04 22:30:26 +00:00
Jirka Novak 9db3617b46 RTP Player: Added notification message during long decoding
When RTP player updates view, it might take long time. So message
is shown in hint area.
2021-02-04 22:08:37 +00:00
Guy Harris 712490f214 pcapng: have common code to handle otherwise-unhandled options.
That code looks for a plugin handler if there's no built-in handler.

Change the handler signature so that it can add an option.
2021-02-04 21:37:53 +00:00
Jirka Novak 66d84fc567 RTP dissector: Removed unused functions
Removed unused functions found by Martin Mathieson.
2021-02-04 19:50:47 +00:00
Jirka Novak 279d4d12c2 RTP dissector: Remove unused functions
Patch removes (just comments out) functions not used by the code
as found by Martin Mathieson.
2021-02-04 19:50:47 +00:00
Martin Mathieson c74ba04628 Oran: Advance offset for section extensions 2021-02-04 19:32:21 +00:00
Jaap Keuter 7401dbaa82 SIP: Fix header Id mapping
Fixes #17215
2021-02-04 18:19:17 +00:00
João Valverde ba23c3b316 tests: Add argument to trim output to a reasonable size
The output of the "values" tshark glossary has over 1.3M lines. Writing
this to stdout with some test failures is problematic in a number of ways.
Also it's not helpful because stderr is written after stdout (not interleaved)
so there is no output context to the error message. The error/warning
message (from stderr, that triggered the test failure) needs to be
sufficient to provide a good understaning of the test failure.

The output is trimmed to first+last N lines. Some lines are kept as
informational and because it may be useful if the program aborts.

Fixes #17203.
2021-02-04 17:00:36 +00:00
Jaap Keuter 791d101d4d LLDP: Add new IEEE 802.1 subtypes 2021-02-04 13:31:50 +00:00
Nicolás Alvarez 981e662a0a Minor changes to ENC_TIME documentation
- Fix duplicate "are are".
- Fix NTP epoch year in ENC_TIME_NTP docs (572b80d2 fixed it in the README
  but not in proto.h).
- Remove completely redundant "(ie. )" clauses.
2021-02-04 10:13:36 +00:00
Martin Mathieson c05bcb2c9d Oran: Add section extType=6
Non-contiguous PRB allocation in time and frequency domain.
2021-02-04 09:45:02 +00:00
Guy Harris 42dc21a346 pcapng: pull common processing code into subroutines. 2021-02-04 00:59:16 -08:00