Commit Graph

1683 Commits

Author SHA1 Message Date
Gerald Combs b1bd18d826 macOS: Update our app bundle plist info
Remove CFBundleGetInfoString, which is deprecated, in favor of
NSHumanReadableCopyright. Use the same organization name there as we do
in our Windows resource files.

Ping #14407
2024-02-16 19:19:39 +00:00
Gerald Combs b7b7a6ce96 macOS: Try to keep launchctl from failing in ChmodBPF
Run `launchctl bootout` prior to running `launchctl bootstrap`. This
should hopefully avoid the error

Bootstrap failed: 5: Input/output error

if we're already bootstrapped and keep the postinstall script from
failing.

Fixes #19527
2024-02-12 19:20:53 -08:00
Andreas Schultz 6a0277a9e4 diameter: add Travelping vendor dictionary 2024-02-02 21:23:00 +00:00
Gerald Combs c8a2abdcf0 NSIS: Miscellaneous Logray fixes
[skip ci]
2024-02-01 09:48:11 -08:00
Gerald Combs 2a67af62fe NSIS: Ship Logray's profiles with Logray
[skip ci]
2024-01-31 18:01:54 -08:00
Gerald Combs 80bf3025af osx-app.sh: Sign plugins with .so extensions
[skip ci]
2024-01-31 16:40:39 -08:00
Gerald Combs f4e71562d0 NSIS: Fixup the Logray installer
Merge the uninstall sections into logray.nsi, similar to wireshark.nsi.
Make a bunch of sections hidden + mandatory. Fix some miscellaneous
issues.
2024-01-31 21:46:34 +00:00
Gerald Combs 7afb54035f Windows: Update our minimum version
Update our minimum Windows version in various places, including the NSIS
and WiX installers.

Fixes #19569
2024-01-05 20:24:00 +00:00
Guy Harris dd7df70be8 Add ".snoop" to the list of capture file extensions.
It's in other such lists.

Update some comments while we're at it.

Fixes #19565.
2024-01-03 16:32:12 -08:00
Gerald Combs 2e30826a61 Debian: Ship sharkd
Ping #19556

[skip ci]
2024-01-03 15:55:42 +00:00
Gerald Combs bcb0d02568 NSIS+WiX: Install sharkd
Install sharkd. As noted in #19562, we don't yet have a man page.

Fixes #19556
2024-01-03 15:55:42 +00:00
Ilya Kulakov bf1ab5c304 macOS: Include the admin group into access_bpf. 2024-01-02 07:34:10 +00:00
Ilya Kulakov e07603d512 ChmodBPF: Specify AssociatedBundleIdentifiers in the Launch Daemon property list
As per https://developer.apple.com/documentation/servicemanagement/updating_helper_executables_from_earlier_versions_of_macos
2024-01-01 19:57:01 +00:00
Stig Bjørlykke 322ae0f0d8 Happy New Year 2024 2024-01-01 12:25:09 +01:00
Gerald Combs c55ae0513f NSIS: Remove some references to WinPcap
We really shouldn't be linking to it at this point.

Fixes #16151
2023-12-20 05:51:42 +00:00
João Valverde 66ab1e64e5 Revert "Debian: Move codec plugins to the proper place"
This reverts commit e1f599cf51.

[skip ci]
2023-12-18 11:50:44 +00:00
João Valverde e1f599cf51 Debian: Move codec plugins to the proper place
Codec plugins are Wireshark plugins, not "libwireshark".
2023-12-15 13:14:06 +00:00
João Valverde 38ff71b5ef Try to fix Debian package 2023-12-15 13:13:25 +00:00
João Valverde 7c38369bb6 Try to fix macOS packaging 2023-12-15 00:25:24 +00:00
João Valverde 8c45aaeb06 CMake: Fix WiX packaging
Fixes b52d9173f8.
2023-12-14 17:19:47 +00:00
João Valverde b52d9173f8 Remove version component from plugin path
Remove the major.minor version from the plugin path, i.e:
    lib/plugins/X.Y/{epan,wiretap,codecs}
and use an unversioned path:
    lib/plugins/{epan,wiretap,codecs}

Introduce a new naming policy for plugins that requires
name.so.ABI_VERSION.

This is a simplified filesystem layoutfor plugins some
important benefits such as:

 * improves compatibility between Wireshark versions, because
a plugin that wasn't recompiled will be automatically picked
up, but only if it has a compatible ABI version in the file name.
 * does not clash with Apple guidelines
 * simpler for users to understand and apply
 * just overall simpler and easier to maintain, removes a lot
of complexity from CMake code

It does impose more requirements on the plugin naming scheme
but this should be handled completely transparently
by the build system.

It would also be possible to add support for unversioned *.so file
extensions at the same time, although in ths case it is not possible
to support multiple Wireshark ABI versions with only *.so, of course.
This wasn't done here but it may or may not be a useful enhancement
in the future.

Follow-up to 90b16b4092.
2023-12-14 14:28:30 +00:00
Balint Reczey 6a6f83abc4 debian: Silence library-not-linked-against-libc Lintian error 2023-11-25 17:53:20 +00:00
Balint Reczey a09853ddbd debian: Set target distribution to UNRELEASED
This avoids gpg trying to sign the package and also silences Lintian error
on Ubuntu and other derivatives.
2023-11-25 17:53:20 +00:00
Balint Reczey ac3326b4ab debian: Drop the wireshark-dbg package
Debug symbols are automatically packaged in .ddeb-s on recent Debian
and Debian derivative releases.
2023-11-25 17:53:20 +00:00
Balint Reczey 1dec9cef99 debian: Merge wireshark-qt to the wireshark package 2023-11-25 17:53:20 +00:00
Balint Reczey 2590f82a81 debian: Revert to listing Wireshark Self-made package as the maintainer 2023-11-23 09:22:11 +00:00
Balint Reczey 1b4f3f491d debian: Use strict generated shlibs instead of symbols files
Maintaining the symbols file on the master branch requires extra work,
while ABI stability is promised only on release branches

The shlibs system [1] offers a simpler approach. To ensure that only
compatible packages are installed to work together on the system the
dependencies are tightened in debian/rules.

[1] https://www.debian.org/doc//debian-policy/ch-sharedlibs.html#the-shlibs-system
2023-11-23 09:22:11 +00:00
Timo Warns cea4faac39 GNSS: add wiretap for EGNOS Message Server (EMS) files
Add a wiretap implementation for EGNOS Message Server (EMS) files.
2023-11-21 06:43:40 +00:00
Gerald Combs 6ce97e418b Docs: Move attributes.adoc to the doc directory 2023-11-14 06:07:53 +00:00
Gerald Combs 3fa9915a1a Debian: Update our symbols 2023-11-13 17:01:05 +00:00
Gerald Combs 0f7edbcd4e Packaging: Fix our WiX DLLs
Keep just one list of DLLs.
2023-11-12 15:50:34 -08:00
Gerald Combs b64a54b43b Windows: Make sure we ship our minizip DLL 2023-11-12 11:30:53 -08:00
John Thacker 84141d45c2 TCP, UDP: Calculate partial (pseudo header) checksums for offload
Linux and Windows, at least, when performing Local Checksum Offload
during Generic Segmentation Offload and at other times, place the one's
complement sum of the pseudo header in the checksum field, which
provides the necessary correction when a device (or its driver,
if not supported in hardware) computes the one's complement checksum
of each inner layer buffer in the skbuff. (This is why GSO requires
equal length buffers - so that the pseudo header contribution to
the checksum is the same.)

When performing our Internet checksum calculation, we can output
the partial sum of all but the last vector, which is an intermediate
result we calculate in the process anyway. The last vector is
generally the payload, and the previous vectors are for the pseudo
header. We can then compare this partial sum to the value in the
UDP or TCP header if the overall computed checksum isn't 0.
If it matches appropriately, we can have a more informative and
less scary message.

Update the tests a bit because this causes checksums to no longer
fail and be reported malformed in the http2 reassembly example.

Fix #18864. Related to #19109
2023-11-11 10:12:49 -05:00
Gerald Combs 3b08042a4e Remove README.windows.
It was a placeholder that pointed people at the download page and the
documentation page. There are plenty of references to those elsewhere.
2023-11-10 14:03:01 -08:00
John Thacker 4ebb6e9893 tshark: Escape delimiter separated value in compliant ways
If the quote character appears in a field value, then escape
it by printing the character twice. When escaping whitespace
with the backslash character, also escape the backslash
character itself.

Add a ws_escape_csv function to wsutil and use it for tshark.
Adopt the existing static escape_string_len function so that
ws_escape_csv can use it while maintaining the same output
for the other ws_escape_ functions.

Fix #10284
2023-11-09 09:17:03 +00:00
John Thacker b5644e111a Qt: Add DSBs info to capture file properties
Add the type and size of each DSB to the Capture File Properties
window.

Related to #14599, #15799.
2023-11-07 13:48:02 +00:00
Gerald Combs 5d7a0c149a NSIS: Make a bunch of sections hidden / mandatory
Hide many of our installation sections from the components page, which
installs them unconditionally. This brings the NSIS installer behavior in
line with the Debian and RPM installers and simplifies the installer UI.

Leave the extcaps individualy selectable for now.
2023-10-31 15:17:41 +00:00
Gerald Combs 6f4a9a9c92 Debian: Add missing symbols 2023-10-30 23:33:42 +00:00
Gerald Combs 9bd3965603 NSIS: Save our installation directory in the registry
We've been setting the InstallDirRegKey attribute since the NSIS package
was added in 2001, but we never set its corresponding registry key.

Fixes #15069.
2023-10-30 16:33:06 +00:00
Gerald Combs 5aec5b6046 Debian: Add missing symbols
[skip ci]
2023-10-29 09:57:12 +01:00
John Thacker a6f3e61d70 wsutil: Add a reverse mempbrk function 2023-10-27 05:56:29 +00:00
John Thacker 0cec46bb25 wsutil: Add a memrchr implementation
Use the system memrchr if found, otherwise use a very basic
non optimized implementation
2023-10-27 05:56:29 +00:00
Gerald Combs bc1b7c281c Packaging: Make sure we ship our PCRE DLL
Update some variables to match 800831cab2 and 652b6b186f.
2023-10-22 18:30:43 +00:00
Gerald Combs 18b5564537 Docs: Move the FAQ to the doc directory 2023-10-21 15:05:07 -07:00
Peter Wu eca88da1c5 HTTP3: remove nghttp3 min version, update setup scripts
* The QPACK decoder code has not significantly changed since the initial
  nghttp3 0.1.0 release. The `user_data` field of `nghttp3_mem` was
  renamed from `mem_user_data` in 0.2.0. Since we do not use it, just
  remove the field to make it build on Ubuntu 22.04 with 0.1.1.
* Arch Linux, BSD, Debian, Alpine: add (lib)nghttp3.
* debian/control: add libnghttp3-dev dependency.
* brew: Install libnghttp2 instead of nghttp2, we only need the library.
* brew: libnghttp3 was just made available in Homebrew, so install it:
  https://github.com/Homebrew/homebrew-core/pull/150922
2023-10-16 16:27:14 +00:00
John Thacker 4deb4c6e4c wsutil: Rename ws_strcasestr to ws_ascii_strcasestr
This is more reflective of the what it does, a locale-independent
comparison
2023-10-11 23:00:19 -04:00
Gerald Combs 82084f606f Packaging: Make sure we stash our version info when creating a tarball 2023-10-06 15:30:03 -07:00
John Thacker 4c05d067f3 Windows packaging: Close a tag
Close a Component tag in the xml

Fixup 15d3e3ff68
2023-10-03 17:54:22 -04:00
Gerald Combs c1c86c4d8b Debian: Fix a couple of symbol versions 2023-10-02 12:59:53 -07:00
João Valverde 15d3e3ff68 GUI: Add release notes to Help menu 2023-10-02 19:43:46 +00:00