Gerald Combs
bd6ee4479f
Tools: Make the Debian and RPM setup scripts more strict.
...
We use debian-setup.sh and rpm-setup.sh to build the containers in
https://gitlab.com/wireshark/wireshark-containers/ . Make sure they fail
with a nonzero exit status, otherwise we might end up with an invalid
container image.
Make sure OPTIONS is defined in all of the setup scripts that use it.
2022-04-10 16:05:42 -07:00
Dylan Ulis
3890d822ba
macOS Homebrew: Install PCRE2
2022-04-10 22:09:55 +00:00
Roman Schmitz
545553e203
Update tools/macos-setup-brew.sh
2022-04-07 23:27:08 +00:00
Kenrick Trip
cb1b4fb966
Allow building with Qt without Xcode on macOS
2022-04-05 10:31:39 +00:00
Dylan Ulis
df5941d467
debian: add ccache to additional_list packages
2022-04-02 17:39:08 +00:00
João Valverde
2a9cb588aa
dfilter: Add binary arithmetic (add/subtract)
...
Add support for display filter binary addition and subtraction.
The grammar is intentionally kept simple for now. The use case
is to add a constant to a protocol field, or (maybe) add two
fields in an expression.
We use signed arithmetic with unsigned numbers, checking for
overflow and casting where necessary to do the conversion.
We could legitimately opt to use traditional modular arithmetic
instead (like C) and if it turns out that that is more useful for
some reason we may want to in the future.
Fixes #15504 .
2022-03-31 11:27:34 +01:00
Richard Sharpe
e6487fcdf4
tools/radiotap-gen: Fix build issue on some versions of Ubuntu.
2022-03-20 17:38:40 +00:00
Jaap Keuter
096bc367b6
Align plugin reg function search with epan reg function search
2022-03-18 21:01:40 +00:00
Richard Sharpe
4099137ad1
tools/radiotap-gen: Add a sample program for generation radiotap headers.
...
This program generates complete pcap files containing the proposed U-SIG
radiotap TLVs along with enough else to make it readable. You cannot currently
read such packets with tshark or wireshark until I add U-SIG handling to
Wireshark.
2022-03-18 17:07:33 +00:00
Gerald Combs
87ff577257
Move Freedesktop files to resources/freedesktop.
2022-03-12 00:19:13 +00:00
Gerald Combs
492a11a256
Move a bunch of protocol resources to resources/protocols.
...
Move the following directories to resources/protocols:
- dtds
- diameter
- protobuf
- radius
- tpncp
- wimaxasncp
2022-03-11 18:34:41 +00:00
Adrian Granados
8622c92a75
extcap: new interface, wifidump, to capture Wi-Fi frames using a remote SSH host
2022-03-09 08:01:39 +00:00
Gerald Combs
e482b375f2
Rename the "image" directory to "resources".
...
The "image" directory contains resource compiler assets and other
application resources, so name it "resources."
2022-03-09 02:07:51 +00:00
Jaap Keuter
b2eb476764
Tools: add script to check help URLs vs. available User's Guide chapters
2022-03-07 08:04:08 +00:00
Zoran Bošnjak
85cf859995
asterix: Sync with asterix-specs #4df694c69c
...
Windows build warning fix.
2022-02-25 08:30:46 +00:00
Zoran Bošnjak
86c14aed44
asterix: long items fix
...
Do not use FT_UNIT for very long items.
Sync with asterix-specs #e603aaae8a
2022-02-25 08:30:46 +00:00
Zoran Bošnjak
8993d69335
asterix: python to generated C string fix
...
Some characters (in particular double quotation mark) require escaping
during automatic dissector generation.
Fixes problem from merge request 6256.
2022-02-22 09:30:19 +00:00
Martin Mathieson
55d3a9db9e
tools/check_*.py: allow multiple --file entries
2022-02-20 23:12:10 +00:00
Martin Mathieson
4633621c3e
Some spelling fixes
2022-02-17 10:28:45 +00:00
João Valverde
8efad466c4
Tools: Fix fix-encoding-args.pl ASCII string validation
...
Do not require a useless ENC_NA parameter for string encodings.
FT_STRING and FT_STRINGZ types don't have any ndianness.
Follow-up to 6ec429622c
.
2022-02-15 11:38:16 +00:00
João Valverde
8198dd51cd
pre-commit: Add an exception to duplicate filter name check
2022-02-15 11:38:16 +00:00
Gerald Combs
8b526c61cb
Tools: Improve update-tools-help's version handling.
2022-02-14 23:13:36 +00:00
Jim Young
371f98aec4
make-manuf.py: Remove HTML double quote entities
2022-02-14 23:12:56 +00:00
Gerald Combs
79da670bd1
Packaging+GitLab CI: Move debian to the packaging directory.
...
We keep our various packaging assets in the "packaging" directory. Move
the Debian assets there. dpkg-buildpackage doesn't seem appear to have a
"debian directory path" option, but symlinking worked in my test
container.
2022-02-13 13:21:58 -08:00
Martin Mathieson
095255481a
Tidy up some masks in items.
2022-02-08 08:56:17 +00:00
ardnew
84873418da
macos-setup.sh: libtiff: refactor curl fail logic
...
- Rebased against master (18edc17
)
2022-01-31 12:57:25 -06:00
ardnew
d06e7bd0f6
macos-setup.sh: fix libtiff filename and URL
...
macos-setup.sh:
- Fix filename of libtiff in existence test from "libtiff" to "tiff"
- Added fallback URL for libtiff when the downloaded file is not a valid gzip
archive. The host rotates older versions of libtiff into an "old"
subdirectory, so curl downloads a 404 Web page and exits without error. Then
the call to gzcat fails with an invalid gzip archive error. Maybe libtiff
version should be updated instead?
2022-01-31 12:54:05 -06:00
Martin Mathieson
19ec126687
check_typed_item_calls.py - Find all (but 3) items from calls.
2022-01-29 15:54:19 +00:00
Jaap Keuter
2f6cf59ce4
CPPcheck: When we say C11 do check for C11
2022-01-28 04:31:07 +00:00
Gerald Combs
6e48f973ec
Tools: Remove NPL.
...
Remove tools/npl. It doesn't appear to be used and hasn't had any
activity for many years. Ping #17897 .
2022-01-26 17:35:58 +00:00
Martin Mathieson
89b7a1328b
tools/check_typed_item_calls.py: improve detection of missing items
2022-01-25 11:43:32 +00:00
Zoran Bošnjak
63cbb2dd1e
asterix: output format fix
...
Use HEX, DEC, HEX_DEC..., depending on item size and byte alignment.
2022-01-23 08:45:04 +00:00
Zoran Bošnjak
99ab96555a
asterix: minor cleanup in decoding subitems
...
The "VALUE" string should not be displayed for generated subitem levels.
2022-01-23 08:45:04 +00:00
John Thacker
b4e74af118
check_typed_item_calls.py: Don't match files with extra extensions
...
When checking is_dissector_file(), only match against files that
end in ".c" and not, e.g. ".c.swp" ".c~" or other such temporary
files that might be binary files (as with vim .swp files).
Prevents errors like "UnicodeDecodeError: 'utf-8' codec can't decode
byte 0xe4 in position 18: invalid continuation byte" with Python 3
when a dissector file is open in vim.
2022-01-23 00:00:32 +00:00
Martin Mathieson
d7d2994228
check_typed_item_calls.py: fix matching of calls
2022-01-21 21:59:50 +00:00
Martin Mathieson
4720967c4a
tools/check_typed_item_calls.py improvements
2022-01-19 22:32:04 +00:00
Martin Mathieson
73b94e7aef
Improvements to check_typed_item_calls.py
2022-01-19 17:14:59 +00:00
Michael Tuexen
9a887cc909
macos-setup.sh: bump libssh version
2022-01-18 22:01:30 +01:00
Martin Mathieson
559df3c620
Fix some spelling errors
2022-01-15 23:11:47 +00:00
Jaap Keuter
7ad17154d4
Update USB ID list straight from the sources
2022-01-08 17:59:40 +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
Michael Tuexen
b3c24758b3
macos-setup.sh: Simplify building nghttp2
2022-01-05 20:58: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
Alexis La Goutte
a68fd7b09d
macos-setup: Update nghttp2 release
...
there is some CVE and bug fix...
2022-01-05 10:10:38 +00:00
Jaap Keuter
a4cbf047e4
Validate only real C files, not templates
2022-01-04 07:09:26 +00:00
Martin Mathieson
070cc0a47a
Run dissector URLs check - fix up a couple of entries.
2022-01-03 20:01:27 +00:00
Gerald Combs
6cdb86fbc7
Tools: Be more clear that we're matching the BSD 1-Clause license.
2022-01-01 15:25:21 -08:00
Moshe Kaplan
67f05835ca
Fix more repeated words throughout
...
Fixes more repeated words seen throughout
the code base.
2021-12-31 22:50:40 +00:00
João Valverde
a20f3649e8
arch-setup: Update requirements for user guides
2021-12-31 02:11:53 +00:00