Commit Graph

78847 Commits

Author SHA1 Message Date
Anders Broman 073055c1bc Diameter: Handle (IP)address type E164 as string
The Diameter type Address hase a two byte address type family field
previously only IPv4 and IPv6 was handled. Add handling of E.164 when
encoded as a string.
2020-10-12 11:25:37 +02:00
Guy Harris 5dd6fc9459 Add proto_tree_add_item_ret_ipv4().
Change some guint32's to ws_in4_addr while we're at it.
2020-10-11 17:54:58 -07:00
Guy Harris 41c7b848d0 Fix some error messages. 2020-10-11 13:46:02 -07:00
Gerald Combs 02d91b67c5 [Automatic update for 2020-10-11]
Update manuf, services enterprise numbers, translations, and other items.
2020-10-11 20:08:38 +00:00
Martin Mathieson 6894bccf03 check_tfs.py: Also match case insensitively
Fix up some issues where the words were the same except for
captitalisation.
2020-10-11 18:46:31 +00:00
Martin Mathieson 6af49f0537 Make NRUP work as a separate protocol.
It is called as a protocol by GTP  as before, but making it separate
and findable by name protocol allows for that layer to be logged and
dissected separately.
2020-10-11 18:19:47 +00:00
Роман Донченко 69e1aa860b Fix many spelling errors 2020-10-11 08:35:55 +00:00
Guy Harris d3f2fa4019 tn3270: add new URL for the 3270 data stream spec. 2020-10-10 17:28:56 -07:00
Pascal Quantin f1eb3953f0 RRC: upgrade dissector to v16.1.0 2020-10-10 19:06:41 +02:00
Anders Broman 6dada3acf2 SNMP: Use BASE_SHOW_ASCII_PRINTABLE for octet strings
Closes #16900
2020-10-10 13:28:06 +00:00
Martin Mathieson 0ca5484aed check_typed_item_calls.py: Add some extra checks
Checks added for completeness, didn't uncover any current issues.
2020-10-09 21:20:12 +01:00
Alexis La Goutte 85c03c37b5 ebhscr: fix conflict
'ebhscr.sts' exists multiple times with incompatible types: FT_NONE and FT_UINT16
2020-10-09 13:01:51 +00:00
Alexis La Goutte 32a06d76d1 kafka: fix uninitialized value
found by clang analyzer
2020-10-09 08:16:02 +02:00
Chuck Craft 83c1d5c369 docbook: update Tango Desktop link in Dev Guide #16901 2020-10-09 02:26:14 +00:00
Francisco Jose Alvarez 4189581cc9 ieee80211: Fix dissect_hs20_osu_provider() return parameter
With the current return parameter of dissect_hs20_osu_provider() function, the dissector only show the first
osu_provider of the list. Changing the return end by return offset, the
dissector show all osu_provider of the list.
2020-10-08 18:23:56 +00:00
Pascal Quantin 21c3bdff06 NR RRC: upgrade dissector to v16.2.0 2020-10-08 10:24:28 +02:00
Pascal Quantin 39744b8edf DVB-S2-TABLE: fix test on hand_over_type variable
Closes #16894
2020-10-08 04:21:47 +00:00
Jason Cohen 48ff4ae387 Disable greedy heuristic dissectors by default
Exablaze and Metamako ethernet trailer dissector heuristics are not
specific enough to limit the data they comsume and identiy as the
respective trailers.  Disable by default.

Fixes: #16898
2020-10-08 03:36:05 +00:00
Jeff Widman 46c9f2579d typo: is require --> is required 2020-10-07 17:32:54 -07:00
Pascal Quantin 7924aaae00 LTE RRC: update message identifier value_string array 2020-10-07 21:30:08 +00:00
Pascal Quantin 1fd8174965 NGAP: dissect some PWS related fields 2020-10-07 23:00:26 +02:00
Martin Mathieson 3160f11af2 NGAP: Change "encyption" -> "encryption". 2020-10-07 20:20:38 +00:00
Pascal Quantin 1fd6a542fe LTE RRC: upgrade dissector to v16.2.0 2020-10-07 17:17:02 +00:00
Martin Mathieson 9c8eece68a MC-NMF: Fix a couple of spelling errors. 2020-10-07 17:21:55 +01:00
Pascal Quantin 1afe9a96d4 BGP: remove useless assignments
Closes #16896
2020-10-07 10:42:14 +00:00
Pascal Quantin 926d6e3799 E212: fix a test when checking MCC digits
Closes #16895
2020-10-07 10:18:05 +00:00
Jim Young da8f6e318e file-pcapng - Dissect the Darwin flags option 2020-10-07 09:03:15 +00:00
Gerald Combs 9875011fda Update some field names to match what's in RFCs.
Update some field names and capitalization in the IPv4, IPv6, ICMPv4,
and TCP dissectors to match the names documented in their respective
RFCs. This is in no way comprehensive, but it ensures that the packet
diagram more closely matches the RFC diagrams for those protocols.

(I haven't found a document that explitly says so, but protocol field
names in IETF RFCs seem to follow Chicago Manual of Style capitalization
recommendations in section 3.4 of the RFC Style Guide[1] for the most
part.)

[1]https://tools.ietf.org/html/rfc7322#section-3.4
2020-10-07 08:01:51 +00:00
Pascal Quantin 6590affa67 Update .mailmap after g2402521a
Gitlab squash commits function did not pick the right user name
2020-10-06 20:21:53 +00:00
Vadim Yanitskiy 35c69efaf4 BSSAP: fix dissection of Control Channel bits in DLCI
According to 3GPP TS 48.006, section 9.3.2, Data Link Connection
Identifier (DLCI) is coded as follows:

  .... .SSS - SAPI value used on the radio link;
  CC.. .... - control channel identification:
    00.. .... - indicates that the control channel is not further specified,
    10.. .... - represents the FACCH or the SDCCH,
    11.. .... - represents the SACCH,
    other values are reserved.

The following values in value_string 'bssap_cc_values':

  { 0x80,     "FACCH or SDCCH" },
  { 0xc0,     "SACCH" },

are valid before applying CC_MASK (0xc0) mask, but not after.
2020-10-06 19:52:36 +00:00
Gerald Combs 511fa081df Qt: Handle dark mode in syntax highlighting.
Add ColorUtils::contrastingTextColor, which chooses an appropriate text
color from the current application palette for a given background.

Use it in SyntaxLineEdit and FontColorPreferencesFrame for each state
background color.

Fixes #15840.
2020-10-06 19:24:59 +00:00
Ed 2402521a69 SCTP: update PPI values 2020-10-06 19:19:09 +00:00
Nardi Ivan fbdf48e024 STUN: add an option to auto-detect STUN protocol version
Commit 3a5d0569d7 added support for different STUN protocol versions;
a global preference allows the user to select the desired flavour.

Unfortunately, it is pretty common to have different flavours in the same
capture file, or even in the same packet (with STUN messages encapsulated
in a TURN tunnel), so a global preference applied to the entire file might
not provide enough flexibility.

Add a basic auto-detect algorithm to identify the STUN version specific to
each STUN message (the users will still have the option to force a global
version)
2020-10-06 13:46:55 +00:00
Pascal Quantin 0abf89ce4f MC-NMF: change get_size_length() signature to get rid of multiple casts 2020-10-06 14:31:12 +02:00
Pascal Quantin b74077c717 MC-NMF: add some missing casts to please MSVC 2020-10-06 13:51:42 +02:00
Uli Heilmeier 557a64d9a9 MC-NMF/MS-NNS: New dissector .NET Message Framing Protocol
New dissector for MC-NMF (.NET Message Framing Protocol) and
MS-NNS (.NET NegotiateStream Protocol).

TLS implementation is not tested due to the lack of a sample capture.

Fixes: wireshark/wireshark#16861
2020-10-06 07:15:55 +02:00
Pascal Quantin fd85f6e9fc XnAP: fix the dissection of some NR and E-UTRA cell identity fields 2020-10-05 14:39:50 +02:00
Pascal Quantin aeb68eb68c X2AP: upgrade dissector to v16.3.0 2020-10-05 13:25:02 +02:00
Pascal Quantin 1dbc6f1da7 XnAP: upgrade dissector to v16.3.0 2020-10-05 10:50:45 +00:00
Pascal Quantin 4b4cd94093 E1AP: upgrade dissector to v16.3.0 2020-10-05 10:16:13 +00:00
Pascal Quantin 069ec8df85 NGAP: upgrade dissector to v16.3.0 2020-10-05 11:47:19 +02:00
Noel Power f97f5a6027 Only parse CRangeCategSpec record for CATEGORIZE_UNIQUE type
parse_CCategSpec was incorrectly always parsing the CRangeCategSpec
record, this record however is optional depending on the value of
CategType. (see MS-WSP 2.2.1.21)

Signed-off-by: Noel Power <noel.power@suse.com>
2020-10-05 08:26:56 +00:00
Pascal Quantin 44739c33ce S1AP: upgrade dissector to v16.3.0 2020-10-05 09:54:35 +02:00
Gerald Combs 9a3b1ad6bc [Automatic update for 2020-10-04]
Update manuf, services enterprise numbers, translations, and other items.
2020-10-05 00:42:10 +00:00
Guy Harris b3de8fd165 Add some comments noting changes that should probably be made. 2020-10-04 15:59:06 -07:00
Guy Harris 8a77692171 g_mallocate all strings returned from topic_action_url().
Callers assume it's been g_mallocated and attempt to free it.
2020-10-04 12:56:52 -07:00
Pascal Quantin f52e62ac9f Windows: fix WiX installer 2020-10-04 16:40:15 +02:00
Peter Wu 1936fef77a TLS: remove support for deprecated QUIC key format
Since draft-ietf-quic-tls-17, QUIC uses TLS 1.3 base secrets for
decryption, so no separate key label is necessary. Applications should
not generate such non-standard key log entries. quiche has already been
updated, picoquic will presumably follow soon if it has not already.
2020-10-04 08:23:25 +00:00
Guy Harris 4a9c412218 Fix a Coverity complaint.
For all cases in topic_action_url(), set url and break out of the switch
statement.

For the default case, set the URL to WS_HOME_PAGE_URL - we should never
get there, as here's a g_assert_not_reached() call before that, but this
should squelch Coverity's complaint.

Should fix Coverity CID 1467697.
2020-10-04 00:59:48 -07:00
Guy Harris d76ee2cb89 fbzero: do more detailed tag value offset checks.
Check the tag end offset - the offset in the packet of the tag's value's
end - to make sure that 1) it's at or after the offset of the
*beginning* of the tag's value and 2) that it's not past the end of the
packet; in either case, report an error with an expert info, and do not
show the value of that tag or any subsequent tags, as we don't have a
valid value for the length of this tag's value or even the *offset* of
subsequent tags' values.

For tags whose values have a fixed length, report an error, with an
expert info, if the tag value length isn't the expected value, and don't
dissect it.

For tags whose values have a minimum length, report an error, with an
expert value, if the tag value length isn't at least the minimum value,
and don't dissect it.

For tags whose values consist of a sequence of zero or more fixed-length
items, report an error, with an expert value, if there's leftover data
after processing those items.

Add some comments while we're at it.
2020-10-03 21:17:18 -07:00