Commit Graph

79710 Commits

Author SHA1 Message Date
Dr. Lars Völker 8203e10488 SOME/IP: Fix subdissector support
Until now writing subdissectors for SOME/IP was not really possible.
While you could register for messages, the subdissector did not know
which message it was called for.

This patch fixes the subdissector support of SOME/IP by:
- adding header file to CMakeLists (was missing)
- creating a "data" struct so that subdissectors know what they dissect
- passing this "data" struct to the subdissector
2021-01-16 07:26:08 +00:00
Jirka Novak 737e18d37b SIP Flow: Fixed core dump when dialog opened
Copy&paste typo fixed.
2021-01-16 07:08:46 +00:00
John Thacker 4c1e0dd1fb macos-setup: Support uninstall of QT versions 5.[10-14].x 2021-01-16 02:32:04 +00:00
foreverska 6c65f0586c Register some expert information for a common deviance from spec 2021-01-15 16:58:11 +00:00
foreverska 64033f80f1 Preliminary MODE09 Support 2021-01-15 16:58:11 +00:00
foreverska 569cf94c28 Remove magic numbers; adjust dissection for new payload offsets 2021-01-15 16:58:11 +00:00
Adam Parker 1c3186ef2b OBD2 on CAN rides on ISO15765, made it a subdissector.
- While I recognize that the spec says a request must be 8-bytes long, that's between you and your Tier-1.  I removed this requirement for decode.
- Adjusted byte positions.

Note:
Still needs a 15765 reassembler and when that happens response parsing will need touching up.
2021-01-15 16:58:11 +00:00
Joakim Karlsson 22f4e21cb5 GTPv2: Update IE 8.12 Indication
Change-Id: Ie94427e59b9fb09806718fd3c0429bdf183b8834
2021-01-15 16:57:26 +00:00
Geoffroy Gramaize 53aefe55d5 ieee80211: add ID ANSI to VS SGDSN type 1 message 2021-01-15 14:36:36 +00:00
Joakim Karlsson f13c389fbc gprscdr: Update to 3GPP TS 32.298 V16.7.0
Change-Id: Iafab6ac5e392c86ff4e8a75c7474a7838d47490e
2021-01-15 12:25:55 +00:00
Anders Broman 00b5934ef8 PFCP:Fix duplicated filter names and use BASE_SHOW_ASCII_PRINTABLE 2021-01-15 09:42:43 +00:00
Jaap Keuter 8bfff60293 Avoid CMP0071 warning when configuring with the pluginifdemo 2021-01-15 09:04:37 +00:00
Christian Krump cc929623a1 EPL: fix reassemble (length) detection
- flag for indicating 1st read/write segment was wrongly set
2021-01-15 07:02:42 +00:00
Martin Kaiser 8e030dfbea tap-simple_stattable: fix a memory leak for tshark -z
Displaying statistics with tshark results in a memory leak.

tshark -r <any pcap file> -z dhcp,stat -q

==26971==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x7f89a4bae518 in calloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xe9518)
    #1 0x7f8989af2918 in g_malloc0 (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x53918)

init_stat_table allocates a table_stat_t. This is used as private data while
the tap listener is running but it's not freed afterwards.

This patch adds a finish callback for the tap listener where the
table_stat_t is freed.
2021-01-15 06:03:45 +00:00
Dr. Lars Völker b2b66be42c OBD-II: Adding support CAN heuristics
This patch adds heuristics support for decoding OBD-II packets over
CAN.
2021-01-15 05:33:07 +00:00
Gerald Combs dfd7ae3b74 nstime: Remove an unneeded check. 2021-01-14 21:42:31 +00:00
Joakim Karlsson e8f52680c1 pfcp: Update to 3GPP TS 29.244 V16.6.0
Change-Id: Ia4c7cafd3860789a1498a3a3e46190336e7d46df
2021-01-14 20:35:13 +00:00
Dr. Lars Völker fab3070e79 TECMP: Adding heuristics support for CAN and FlexRay messages
This patch adds support for TECMP to hand over CAN and FlexRay
messages to heuristics dissectors registers.
2021-01-14 20:12:36 +00:00
Dr. Lars Völker 4d515f70af AUTOSAR-NM: Adding support for PDU ranges and clean up
This patch:
- adds support for PDU ranges instead of one single PDUs
- simplifies the dissection code for CAN messages
- cleans up some some comments
2021-01-14 18:36:49 +00:00
Pascal Quantin 5f36e597a0 NBAP: regenerate dissector from ASN.1 source 2021-01-14 16:24:04 +01:00
Dr. Lars Völker 0636906880 CAN: fixed heuristics of CAN
This patch adds heuristics support for regular CAN-IDs. Until now,
only extended CAN-IDs were support. That did not make sense.
Fixes #17128.
2021-01-14 14:54:55 +00:00
Dario Lombardo 60414fa60f Revert "Qt: fix memleak in DecodeAsDelegate."
This reverts commit dd13766fb9.
2021-01-14 13:38:53 +00:00
Dr. Lars Völker 238446dc91 AUTOSAR-NM: True-False-String wrong way around for PNI (BUGFIX)
This patch fixes the PNI TFString, which was wrong. Correct is:
0 = "... contains no Partial Network ..."
1 = "... contains Partial Network ..."

Fixes #17154
2021-01-14 13:18:12 +00:00
Anders Broman cb8c64f521 Fix duplicated filter names 2021-01-14 12:22:21 +00:00
Dr. Lars Völker fba99bdef1 DoIP: Make finding start of message more robust
This patch allows the DoIP dissector to better identify the start
of messages, if the start of the TCP connection is missing or
packet loss occurred in the trace.

Fixes: #17149
2021-01-14 11:45:07 +00:00
Gerald Combs 45e6575699 WiX: Update the README.
Migrate packaging/wix/README to AsciiDoc and update its contents. Update
a comment in Wireshark.wxs.
2021-01-14 10:36:48 +00:00
Martin Kaiser d9abd5005d gsm_a_common: remove a variable that is always 0
All of the stat_tap_table_ui structs use a single table at offset 0.
2021-01-14 10:19:49 +00:00
Martin Kaiser dedfbc9d20 gsm_map: remove a variable that is always 0
There's just one table at index 0.
2021-01-14 10:02:19 +00:00
Martin Kaiser af6507c71f ansi_map: remove a variable that is always 0
Yet another case where we have a single table.
2021-01-14 09:42:23 +00:00
Martin Mathieson 765ce11b3f Fix value_string consecutive repeated strings
Detected by adding another check under
ENABLE_CHECK_FILTER to look for consecutive labels likely
to have been left as copy/paste errors.  Change to proto.c probably too messy
to merge.
2021-01-14 09:21:15 +00:00
Martin Kaiser 26e4b84623 camel: remove a variable that is always 0
This is another case where we have a single table at index 0.
2021-01-14 09:04:32 +00:00
Pascal Quantin a07898a280 Windows: add a notice to NSIS in case of BSOD while installing Npcap 2021-01-13 22:02:40 +00:00
Pascal Quantin 511aeaa44a Windows: fix USBPcap page link display in NSIS installer 2021-01-13 22:35:21 +01:00
Stig Bjørlykke 5db887753a lwm2mtlv: Update to Core V1.1.1 spec
Added LAC (Location Area Code) resource to Connectivity Monitoring.
2021-01-13 20:02:56 +00:00
Pascal Quantin 77043708fe PER: remove an unused expert info field 2021-01-13 16:24:30 +01:00
Pascal Quantin 6178fe94ef PER: fix a typo 2021-01-13 16:23:03 +01:00
Pascal Quantin 3e84673c5f NAS 5GS: add a value string for standardised SST values 2021-01-13 14:46:40 +01:00
Joakim Karlsson 8b487e22e0 Qt: fix build error with older GCC
qt-5.12.2/include/QtCore/qstring.h:291:31: note: candidate 1: QString
QString::arg(double, int, char, int, QChar) const
     Q_REQUIRED_RESULT QString arg(double a, int fieldWidth = 0, char
fmt = 'g', int prec = -1,

qt-5.12.2/include/QtCore/qstring.h:975:16:
note: candidate 2: QString QString::arg(int, int, int, QChar) const
 inline QString QString::arg(int a, int fieldWidth, int base, QChar
fillChar) const

wireshark/ui/qt/rtp_analysis_dialog.cpp:926:77:
error: ISO C++ says that these are ambiguous, even though the worst
conversion for the first is better than the worst conversion for the
second: [-Werror]
             .arg(abs(r_calc.start_time_ms - f_calc.start_time_ms), 0,
'f', 6)

Change-Id: I6a27adff3b03bcfeac8fb56ceb0833d2707000b5
2021-01-13 11:54:08 +00:00
Anders Broman 92cc8096a3 PER: Add a check for avalable data in open type dissection. 2021-01-13 10:42:54 +00:00
Martin Kaiser 09426b2cd5 dhcp: remove a variable that is always 0
For dhcp statistics, we only have a single table at index 0.
2021-01-13 09:45:22 +00:00
Martin Kaiser a2b7925708 DVB-CI: fix parameter names for payload functions
82891e37e9 ("DVB-CI: Convert circuit API to conversation API") updated the
payload functions to use conversations instead of the circuit API.

The parameters were renamed from circuit to conv in the function
implementations, but not in the prototypes. This patch renames the
parameters in the prototypes as well.
2021-01-13 09:28:58 +00:00
Uli Heilmeier 02f2d18b2e SIP: Fix parsing of multiple contact-param
contact-params are optional (s. https://tools.ietf.org/html/rfc3261#section-20.10).
Therefore, independently of contact-params, we should also check for additional contact-param.

Fixes: wireshark/wireshark#13752
2021-01-13 09:11:59 +00:00
Martin Kaiser 132d725bdc rpc: remove a variable that is always 0
For the RPC service response time, we only have a single table at index 0.
2021-01-13 08:55:05 +00:00
Martin Mathieson 9700d53e2b PDCP-NR: Trivial updates to some comments 2021-01-12 22:29:38 +00:00
Moshe Kaplan e6a93a313b Qt: Debounce Preferences -> Advanced menu's "Search" to improve UX
As running pd_ui_->advancedView->expandAll() takes a noticeable amount
of time and so would introduce significant lag while typing a string
into the Search box, we instead debounce the call to
updateSearchLineEdit(), so that it doesn't run until a set amount of
time has elapsed with no updates to the Search field.

If the user types something before the timer elapses, the timer restarts
the countdown.

Fixes #17107
2021-01-12 22:11:47 +00:00
Martin Mathieson 9d62e96411 Fix a couple of user-guide spelling errors. 2021-01-12 21:42:10 +00:00
Dr. Lars Völker 69710ff117 DoIP: Adding 2019 DoIP Type
Adding ISO13400-2019 DoIP Version 3.
2021-01-12 19:38:14 +00:00
Vadim Yanitskiy 5d8105752d GSMTAP: dissect SRO/SRR (SACCH Repetition) bit in L1 SACCH header
For more details, see 3GPP TS 44.004:

 - section 6.1 "Physical layer protocol fields and procedures",
 - figures 7.1.1-2 "SACCH downlink block format",
 - figures 7.2.1-2 "SACCH uplink block format".
2021-01-12 19:14:13 +00:00
Alex Nik 6e801d132c adding the description for UCP Messages menu item 2021-01-12 16:25:15 +00:00
Dario Lombardo 41a4d594b9
proto: replace g_assert_not_reached() with REPORT_DISSECTOR_BUG().
Instead of giving a stack trace when the caller passed bad params,
raise a dissector bug, telling what the callee sees. This should
result in a better user experience.

Simplify code where possible.

Keep glib assertion for dead code due to compiler complains.
2021-01-12 10:24:39 +01:00