Commit Graph

88398 Commits

Author SHA1 Message Date
Jaap Keuter 44dc70cc5a CP2179: Handle timetag info response without records
Fixes #19229
2023-08-02 18:30:10 +00:00
Taisuke Sasaki 7694ad23d9 BGP: Add BGP-LS SRv6 Extensions (draft-ietf-idr-bgpls-srv6-ext-14) 2023-08-02 13:22:45 +00:00
Dr. Lars Völker e9b0c58430 SOME/IP: Fix typo 2023-08-02 08:16:47 +00:00
Gerald Combs d5b714003a macOS: Quote our code signing identities
[skip ci]
2023-08-01 15:22:08 -07:00
Omer Shapira 3666d3547e osx-app.sh: Define the signing identities, or use self-signed 2023-08-01 20:52:47 +00:00
Yaniv Kaul afdc1babf7 packet-cql.c: deal with NULL and zero length map and set values
In the case where the byte length is -1 (NULL value), we need to ensure the metadata offset is progressing:
skipping the (irrelevant) offset of the type fields.
In the case where the byte length is 0, we also need to ensure the offset progresses in a similar manner.

This fixes parsing of a RESULT message which has both cases in it and now it is being parsed correctly.

Signed-off-by: Yaniv Kaul <yaniv.kaul@scylladb.com>
2023-08-01 13:12:59 +00:00
Mathis Marion 5d8b1acf55 Fix Wi-SUN JM-IE dissector
Bit ordering used in the Wi-SUN specification diagrams differ from the
one used in RFCs:

Wi-SUN FAN 1.1v06 - 6.3.2.1.1 Bit Order of Transmissions

    Each frame is described as a specific sequence of fields depicted
    in the order in which they are transmitted by the PHY, from left to
    right, where the leftmost bit MUST be transmitted first in time.
    Bits within each field are numbered from 0 (leftmost and least
    significant) to k – 1 (rightmost and most significant), where the
    length of the field is k bits.
2023-08-01 06:57:55 +00:00
John Thacker acab67d234 Fix progress_is_slow check arithmetic
The first condition was only true if the second condition was also true.
Change the arithmetic to what is presumably intended - if half
PROGBAR_SHOW_DELAY has passed and we are less than half done, show
the progress bar.

Note that since this only gets checked between records, there's still
an issue with frames that take a very long time to dissect, e.g. the
first TLS packet if the SSLKEYLOGFILE is very large (#17051.)
The progress bar won't appear (nor any other GUI indication) while
that packet is being dissected.
2023-08-01 01:02:03 +00:00
João Valverde f2a2eadb84 Gitlab CI: Update manuf header
Update the header to reflect the current practice and try to
modernize the terminology a bit. Drop ancient and obsolete
references to ethers(5) and "well-known MAC addresses"
(that are not included here).
2023-08-01 01:35:47 +01:00
Gerald Combs 391f9a3d63 GitLab CI: Switch the Windows x64 packages to Qt 6.5.2
Update the release notes.
2023-07-31 15:18:36 -07:00
Gerald Combs 3c2fa2b61a Falcodump: Partially revert c8accef14c
sinsp::get_plugin_manager is usable again, so switch back to using it.
2023-07-31 14:22:37 -07:00
Nardi Ivan c058febb45 PFCP: fix dissection of Offending IE Information IE
Fix warning:
Unused href entry: epan/dissectors/packet-pfcp.c: hf_pfcp_bbf_nat_external_port_range

Close #19247
2023-07-31 21:18:08 +02:00
Dr. Lars Völker 230b59c3f2 TECMP: Remove old dead FlexRay code 2023-07-31 04:55:09 +00:00
João Valverde 1d0c142a9a GUI: Implement Tools->MAC Address Blocks menu entry
Add a dialog to lookup a MAC address or vendor name in the\
internal IEEE manufacturer registry.
2023-07-30 20:54:28 +00:00
Gerald Combs d5fb4db20c [Automatic update for 2023-07-30]
Update manuf, services enterprise numbers, translations, and other items.
2023-07-30 19:52:02 +00:00
John Thacker 788be03d90 debian: New lintian override format
lintian changed its hint forma to a new "pointed hint" format
with filenames in square brackets, invalidating our overrides
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007002

Try to eliminate the resultant mismatch-override warnings.
2023-07-30 01:46:35 +00:00
Gerald Combs 66cc899624 GitLab CI: Fix up our manuf header 2023-07-29 14:12:43 -07:00
Markku Leiniö b1f00bc411 UI: Fix path separators for profiles 2023-07-29 19:04:39 +03:00
John Thacker ad6cedb564 debian: Add missing symbols
[skip ci]
2023-07-29 07:04:57 -04:00
John Thacker 4052d2c7f4 debian: Override lintian embedded-library complaint about manuf data
Lintian errors out because we embed the manuf data from the CSV files
into static C arrays. Override that.
2023-07-29 06:41:02 -04:00
Van Ly Vu 5eb3fdc47a Fix typo for field wlan.wfa.ie.wpau.cs.oui 2023-07-29 03:24:06 +00:00
João Valverde a582dc8ae5 manuf: Add ws_manuf_count() 2023-07-28 21:07:44 +00:00
João Valverde 9179ba9667 manuf: More cleanups
Rename function to use the ws_manuf namespace.

Make all the interface functions public.
2023-07-28 21:07:44 +00:00
João Valverde 341c03713f manuf: Move private declarations out of header 2023-07-28 21:07:44 +00:00
Gerald Combs 4838556b3a GitLab CI: Move manuf to the Code Lines job
Code Lines does a full build.
2023-07-28 11:35:16 -07:00
Gerald Combs af2830be7b GitLab CI: Build manuf
Add manuf to the documentation job.
2023-07-28 18:17:57 +00:00
Gerald Combs 36e7876851 GitLab CI: Restrict "web" pipeline sources
Restrict our "web" pipeline sources to the master branch in the main
repository similar to "push"es.
2023-07-28 17:44:32 +00:00
Gerald Combs 6897e5cd04 Docs: Document `tshark -G {manuf,services,enterprises}`
Add manuf, services, and enterprises to the `-G` section in the tshark
man page.
2023-07-28 17:43:16 +00:00
Ismael Mendez Matamoros b14d514541 RTPS: New algorithm PIDs values set woth their final values
Set the PIDs of the new algorthms with their final values
2023-07-28 13:22:30 +02:00
Ivan Tan 74406642ae ieee802.11be draft2.0:Fix mlo assoc response && EHT NDP Announcement 2023-07-28 06:20:15 +00:00
Markku Leiniö a9241ef14e Change data size formatting to use SI units and 0 precision 2023-07-28 02:22:18 +00:00
Guy Harris 4c5c969023 Clean up the cleaning-up of wtap_dump_params structures.
Use wtap_free_idb_info() to clean up the idb_inf member, rather than
duplicating what wtap_free_idb_info() does.

Don't call wtap_block_array_free() on the shb_hdrs member and then call
wtap_dump_params_cleanup() on the entire structure - that causes a
double-free of the SHB headers.

In text2pcap.c, have a routine that calls wtap_free_idb_info() and then
calls wtap_dump_params_cleanup(), and replace that sequence of calls
with calls to the routine.

Fixes #19235.
2023-07-27 13:31:05 -07:00
João Valverde b3e09c65d3 manuf: Mask out broadcast flag 2023-07-27 17:46:03 +00:00
João Valverde 0ebe3bc0d4 manuf: Improve iteration logic
Fill the temporary buffer with existing entries only. Use
a for loop to iterate and select the smallest.
2023-07-27 17:46:03 +00:00
João Valverde 611bf80be3 manuf: Code cleanup
Make global_manuf_lookup() return a struct ws_manuf pointer.

Use a function to handle each switch case.
2023-07-27 17:46:03 +00:00
João Valverde d2e85d783c Update release notes 2023-07-27 18:09:31 +01:00
João Valverde 7f06df2d0c Add tshark -G services 2023-07-27 18:09:27 +01:00
João Valverde 734a675938 Add description to IANA services table 2023-07-27 15:40:29 +01:00
João Valverde a3142d25bf Add tshark -G enterprises 2023-07-27 15:40:25 +01:00
Eugène Adell 939a9fb0a7 TCP: Summarize the completeness bitmask as a string 2023-07-27 07:34:52 +00:00
John Thacker 5218affca5 debian: Add missing symbols 2023-07-26 21:29:57 -04:00
John Thacker 75585a7607 http: Don't create extra TCP streams and conversation data
Don't just call get_tcp_conversation_data in the HTTP dissector,
because HTTP is not necessarily over TCP, and that ends up creating
extra TCP streams and conversation data in such cases (e.g., SSDP
over UDP, or HTTP over SCTP, also some proxied connections.)

Instead, just determine the direction the same way that the TCP
dissector does using addresses and ports, because that's all that's
being used here.
2023-07-26 23:26:12 +00:00
Maxim Kolesnikov 6b630a65dc PROXYv2: support coalesced packets
Call next dissector when there is data remaining after dissection the same way PROXYv1 dissector does

Closes #19208
2023-07-26 23:18:06 +00:00
Alexis La Goutte 0f7b431de4 cql: fix Dead Store found by Clang Analyzer 2023-07-26 07:09:44 +00:00
John Thacker edd0517fae Websocket: Restore the text payload field
Add back the websocket.payload.text field, always displaying the
unmasked payload, so that the entire payload string can be filtered
or added to the info column.

Fix #19220
2023-07-25 23:29:36 -04:00
João Valverde dae58c9a69 manuf: Add table dump with tshark -G 2023-07-26 00:13:32 +00:00
Vadim Yanitskiy a6bd924c0a GSM A DTAP: fix value-string for Signalling Access Protocol
Last time this value-string was edited in 959a290961, and before
this commit there was only one value (all other values resevred):

  case 0x01: str = "According to ITU-T Rec. Q.920 and ITU-T Rec. Q.930";
  case 0x02: str = "Reserved: was allocated in earlier phases of the protocol";
  case 0x03: str = "Reserved: was allocated in earlier phases of the protocol";
  case 0x04: str = "Reserved: was allocated in earlier phases of the protocol";
  case 0x05: str = "Reserved: was allocated in earlier phases of the protocol";
  case 0x06: str = "Reserved: was allocated in earlier phases of the protocol";
  default:   str = "Reserved";

This matches the definition of the "Signalling access protocol (octet 5)"
in recent version (17.8.0, 2022-10) of 3GPP TS 24.008.  However, the
above-mentioned commit replaced the switch statement with a value-string
conforming neither 3GPP TS 24.008, nor the earlier GSM 04.08.

Let's revert back to the correct description, and additionally take
a chance to specify the old meaning of reserved values (from GSM 04.08).
2023-07-26 00:00:21 +00:00
Darius Davis 36c6616b7d telnet: Simplify handling of Telnet option lookup.
Handling telnet options by their "tn_opt" structure pointer allows for
elimination of some duplicated logic and will make it easier to add support for
Telnet options which are not consecutively numbered.  Unknown options are
handled through a special tn_opt just for that purpose.  Behavior should be
unchanged.

While we're here, constify the option table.
2023-07-25 22:42:29 +00:00
Huang Qiangxiong 0fd01fbd6d HTTP2: Modified to use common streaming reassembly helper function
The reassemble_streaming_data_and_call_subdissector() of 'epan/reassemble.c'
is originated from the mechanism of HTTP/2 streaming reassembly and have
some enhancements. Making HTTP/2 to use this common helper function is beneficial
for resolving common streaming reassembly issues encountered in the future.

Add '-2' in test/suite_dissection.py because some reassembly issues may
happen in second pass.
2023-07-25 20:51:53 +00:00
Huang Qiangxiong edbb5272ac Reassembly: add additional_bytes_expected_to_complete_reassembly function
Get how many additional bytes are expected to complete current streaming
reassembly. Used to check if the current streaming reassembly is complete.
2023-07-25 20:51:53 +00:00