Commit Graph

83256 Commits

Author SHA1 Message Date
Jaap Keuter 479175d044 CFM: Add CSF PDU dissection 2022-01-09 10:48:44 +00:00
Dario Lombardo 8d960aaac4 appveyor: upgrade to msvc 2019. 2022-01-09 10:28:01 +00:00
Gerald Combs bf7f6c19d5 WSDG: Update some winget notes.
Start tracking winget package support in comments in the Windows quick
setup section.
2022-01-09 10:17:26 +00:00
Roman Volkov 21833071dc mp2t: add descriptions for additional reserved PIDs
According modern EN 300 468 releases reserved PID list includes not
only range 0x00...0x0F from ISO 13818-1 but 0x10...0x1F also.
I added descriptions of the second ones from DVB BlueBook A038r14.

Formally, due to old ISO 13818-1, values 0x10...0x1F (among others)
may be used freely for other purposes but I didn't see such appliance.
2022-01-09 08:41:38 +00:00
Dr. Lars Völker af8e134b18 Signal-PDU: Fixing description of Signal List UAT 2022-01-09 08:31:13 +00:00
John Thacker 175e24a30b text_import: Add default IPv6 addresses
Add some default IPv6 addresses, used in place of the unspecified
address. These are unique local addresses as in RFC 4193 with
a global ID generated using the pseudo-random algorithm mentioned
therein.
2022-01-08 20:23:10 -05:00
Jaap Keuter 7ad17154d4 Update USB ID list straight from the sources 2022-01-08 17:59:40 +00:00
Sharon Brizinov d9023299e3 fixing heap overflow oob read 1 byte 2022-01-08 09:29:17 +00:00
Dr. Lars Völker bfd2adde4b SSH: Fix Key Exchange Init (20) is not shown anymore
This fixes a bug in Wireshark that prevented the Payload to be dissected
and shown.
2022-01-08 02:21:50 +01:00
John Thacker c84430185b ssh: Fix CentOS 7
One line got left out of the previous commit to fix compilation.
2022-01-07 19:44:25 -05:00
John Thacker 736441ccfa packaging: Add RPM build dependencies for ninja, asciidoctor
If we're building with ninja, we need to require it.

While CentOS/RHEL/Rocky 8 doesn't have a asciidoctor package
(so we install it separately), we can add a BuildRequires on
the file that RubyGems creates for other rpm based distributions.
2022-01-08 00:00:52 +00:00
Pau Espin 3706edc8ca iuup: Avoid Malformed warning if IuUP contains no payload
IuUP frames with 0-byte length payload are allowed. This can be done by
specifying a NO_DATA RFCI, with all subflow lengths set to 0.
2022-01-07 23:01:35 +00:00
Pau Espin 4b7bc50e68 iuup: Remove _U_ param attribute on used param 2022-01-07 23:01:35 +00:00
Dr. Lars Völker 0e5148e9ee TECMP: Fix warning that dissector_add_uint is called too often 2022-01-07 22:47:26 +00:00
John Thacker 2287014f04 ssh: Fix with gcrypt < 1.7.0 (CentOS 7, SLES 12)
Recent commits 2874b979ad c187020304
7356889242, a2f6b079f1 have lines that
need to be protected by ifdef guards when SSH_DECRYPTION_SUPPORTED
isn't defined. (gcrypt < 1.7.0)

Fixes build.
2022-01-07 11:48:45 -05:00
John Thacker 7027242c27 packaging: Let SUSE build with /usr prefix
There's a couple places where /usr/local is hardcoded in the
spec file that need to be replaced with %{_prefix} in order for
RPMs to build correctly on OpenSUSE with prefixes other than
/usr/local
2022-01-07 14:40:58 +00:00
Dr. Lars Völker cac5c086ed TECMP: Support signed analog values
This patch allows to configure TECMP Payload to interpret analog samples
as int16 instead of uint16.
2022-01-07 13:53:12 +00:00
Jérôme HAMM a2f6b079f1 Displaying decrypted data. 2022-01-07 13:42:33 +00:00
Jérôme HAMM 7356889242 Adding secret management in DSB. 2022-01-07 13:42:33 +00:00
Jérôme HAMM c187020304 Enhancing debug logs. 2022-01-07 13:42:32 +00:00
Jérôme HAMM 2874b979ad Changing format of secret key file. 2022-01-07 13:42:32 +00:00
Gerald Combs 947d80c477 GitLab CI: Swap the Ubuntu package and latest Clang builds.
The Ubuntu APT Package job takes a long time to run. Do so after merging
and add a package test job, similar to the other Linux package builds.
The Latest Clang job has been detecting errors that also affect macOS.
Run it for merge requests. Fix Ubuntu build caching.
2022-01-07 03:32:26 +00:00
John Thacker c14d731e45 CMS: get rid of globals
Get rid of the global content_tvb and object_identifier_id in
the CMS dissector, and put them in a packet scoped proto data
struct, so that when there's a non fatal exception retrieving
the OID we don't use the global value from a previous packet
(or worse, file), since what the content_tvb and object_identifier_id
pointed to were both packet scoped that could lead to memory
access violations.

Clear the values of the OID and the content_tvb each time before
they are retrieved, so that values from a previous PDU of CMS
in the same packet aren't used either. This was not quite as bad
as using a value already freed, but still bad.

Fix #17800, #17809, #17835
2022-01-07 03:17:07 +00:00
Guy Harris 06bc298fbd FAQ: point to the User's Guide section of the Npcap guide.
(Yes, the top-level page calls it the "User's Guide", but it has a
section called the "User's Guide", as well as an "Introduction" and
sections about development with Npcap and about the Npcap internals.)
2022-01-06 17:15:32 -08:00
Gerald Combs c65f0a5a15 Update our Npcap URLs.
The official Npcap web site is now https://npcap.com/. Update our URLs
to match. Fixes #17838.
2022-01-06 16:12:30 -08:00
Dario Lombardo acc0260c84 tcp: add syn cookie support.
Fix: #17082.
2022-01-06 22:34:30 +00:00
Alexis La Goutte 95ef3a2d45 bpsec: fix warning about -Wprototypes (proto_register/reg_handoff_bpsec 2022-01-06 20:03:11 +00:00
Alexis La Goutte 22de61a063 bpsec: fix -Wdocumentation warnings 2022-01-06 20:03:11 +00:00
Gerald Combs 7f5f7c8285 Tools: Remove git-review from rpm-setup. 2022-01-06 11:24:31 -08:00
Gerald Combs 11d8520f69 Tools: Add openSUSE 15.3 requirements to rpm-setup. 2022-01-06 10:36:16 -08:00
John Thacker bf643c2649 SABP: Update ASN.1 template
Update the SABP ASN.1 template file for the changes made by commit
dec5590b5b so they aren't lost.
2022-01-06 14:28:20 +00:00
John Thacker bc9e8ea5b3 MPEG PES: Update conformance file for unify PES header bit fields
Update the conformance file for MPEG PES to produce the changes of
commit 5573d3c4e8
2022-01-06 09:12:55 -05:00
John Keeping e9900c38c2 usb: dissect other speed config descriptors
Other speed config descriptors are identical to config descriptors, it's
just the request that is different.  Handle this request so that other
speed config responses are decoded.
2022-01-06 11:59:53 +00:00
Uli Heilmeier b587d6a266 BGP: Fix next_hop decoding
Related to wireshark/wireshark#17836
2022-01-06 11:12:30 +01:00
Matthew Weant 29324f9409 EAP: Fix dissection of encrypted IMSI identifiers 2022-01-06 07:27:46 +00:00
j.novak@netsystem.cz 428f222853 Extcap: Extcaps must be fully configured before start of capture 2022-01-06 07:02:11 +00:00
Роман Донченко 6b8c32fa7a rfc7468: allow multiple structures per file
It's common to put multiple certificates in one RFC 7468 file in order to store
a certificate chain, as described in the introduction to RFC 7468 itself.
Support this usage by presenting each such certificate (or any other encoded
structure - the code doesn't discriminate) as a separate packet.

The new parsing code supports arbitrary line lengths, so update the detection
code to support arbitrary line lengths as well. Instead of probing up to 20
lines, we now try to find the first pre-encapsulation boundary in the first
2048 bytes of the file. I chose this new limit so that it works roughly the
same in practice as the old one (it's equal to 20 lines times 80 characters
per line, rounded to a power of two).
2022-01-06 06:29:54 +00:00
John Thacker 858402d3c7 packaging: Fix RPM -qt subpackage requires
The BuildRequires and Requires for the -qt subpackage need to
go into its %package section, not its %description section.
The dependencies were not being enforced, but instead being added
to the description of the GUI package.
2022-01-06 04:33:00 +00:00
Gerald Combs 734d8cfbee GitLab CI: Update a couple of RPM builds.
Switch from Centos 8 to Rocky Linux 8 and switch from openSUSE 15.2 to
15.3. Alphabetize our Linux jobs.
2022-01-06 04:18:44 +00:00
Roman Volkov 5573d3c4e8 mpeg pes: unify PES header bit fields displaying
Add a bit-mask for 'scrambling-control' field to add a displaying of
bits occupied by the field.
2022-01-06 04:03:55 +00:00
Roman Volkov 59012e34df mpeg descriptor: add Partial Transport Stream Descriptor (0x63) 2022-01-06 03:49:06 +00:00
j.novak@netsystem.cz e1a8f0119e Extcap prefs: Editor remembers empty values 2022-01-06 03:48:27 +00:00
Dr. Lars Völker 4d9f29150e Signal-PDU: Adding support for zero-terminated and UTF strings
This patch adds support for zero-terminated strings as well as UTF-8 and
UTF-16 strings.

This patch also fixes a check for the signal list UAT (scaler, offset).
2022-01-06 03:17:05 +00:00
Michael Tuexen b3c24758b3 macos-setup.sh: Simplify building nghttp2 2022-01-05 20:58:32 +00:00
Pascal Quantin adca11dd5c range_string: follow-up of 893290c 2022-01-05 20:34:15 +00:00
Martin Mathieson f1c31deb61 UDS: make a function static 2022-01-05 20:15:16 +00:00
Dr. Lars Völker 9b43910bc2 PTP: Source Code Cleanup (formatting) 2022-01-05 17:40:32 +00:00
Gerald Combs e9bc60ace4 macos-setup.sh: Update the PCRE URL.
As noted on https://pcre.org/, ftp.pcre.org has been shut down. Switch
to SourceForge and bump the version to 8.45. Fixes #17834.
2022-01-05 17:01:23 +00:00
John Thacker 4b5d54f5ea packaging: Bump RPM glib2 version to 2.38
We require glib2 version 2.38 now, increase the version requirement
in the RPM spec file to match.
2022-01-05 10:21:23 -05:00
John Thacker 2cb8f34721 packaging: Remove unnecessary Requires
Automatic dependency generation has been around since RPM 4.0 (September
2000). The BuildRequires are sufficient for all of these; the automatic
dependences for the .so files works and are superior as they are versioned.

Red Hat and SUSE both recommend using automatic dependencies and
avoiding unnecessary Requires in spec files:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_explicit_requires
https://en.opensuse.org/openSUSE:Package_dependencies
2022-01-05 09:53:17 -05:00