aboutsummaryrefslogtreecommitdiffstats
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2021-10-20Fix some spelling errorsMartin Mathieson1-1/+1
2021-10-19Docs: Move includes to the top of our man pages.Gerald Combs26-26/+26
Move our attributes.adoc includes to the very top of each man page. Older versions of Asciidoctor complain if it's not at the top. and additionally generate <file>.man instead of <file>.<section> if we don't explictly supply an output file.
2021-10-19CMake+Docs: Generate man pages all at once.Gerald Combs1-43/+43
Asciidoctor lets us generate multiple documents at once, so do so for our man pages. If we're using AsciidoctorJ this minimizes the number of JVM instances we have to spin up. This reduces the build time on my Windows VM here quite a bit, and will hopefully do so on the CI builders. Add a .editorconfig file in cmake/modules.
2021-10-19dftest: update man page and README.display_filterChuck Craft2-56/+81
2021-10-19CMake+Docs: Try to build our man pages in parallel.Gerald Combs1-2/+15
Make sure man pages are included in the default build. Have the docs and copy_data_files targets explicitly depend on the man page generator targets.
2021-10-14CMake: Partially revert recent docs changes.Gerald Combs1-15/+9
Revert recent "docs" target changes. It made that target build faster, but broke other dependencies. Keep the AsciidoctorJ changes. Revert "doc: fix the macOS build." This reverts commit 119667d886c111b6feab703953624d56c756fdd6. Revert "CMake: Try to make our man page builds faster." This reverts commit 74747c4d2ffef25c20d950525aa316bb5e2a0700.
2021-10-14doc: fix the macOS build.Guy Harris1-2/+6
BUNDLE_RESOURCE_SHARE_MAN[14]_FILES shouold *not* have the generate_ prefixes; names with those prefixes are fake targets, not names of files that we generate, so attempting to copy files with those names fails. It should, however, have "doc/" before the names of the man pages, as they're generated into the doc directory of the top-level build directory.
2021-10-13CMake: Try to make our man page builds faster.Gerald Combs1-9/+11
Depend on our generator targets instead of the generated files, which allows parallel builds outside of Ninja. Don't reserve JRE memory when building HTML and man page targets. This reduces the "docs" target build time on my Windows VM here from over two minutes to under one.
2021-10-13captype: add options to Usage: and man pageChuck Craft1-0/+16
2021-10-12docs: -z stats - bootp now dhcp; not all in man pageChuck Craft2-0/+2
2021-10-12docs: -z stats - bootp now dhcp; not all in man pageChuck Craft2-6/+4
2021-10-12capinfos: man page typos; add longopts to Usage:Chuck Craft1-15/+17
The verbiage for first/last packets and start/end times seem to not be consistent. Changing will also require a change to Capture File Statistics in the Wireshark Gui. Future MR.
2021-10-11Fix some spelling errorsMartin Mathieson1-1/+1
2021-10-07to_str: scope tvb_ip6_to_strEvan Huus1-1/+1
2021-10-07to_str: scope tvb_ip_to_strEvan Huus1-1/+1
2021-10-05Update README.developerAndersBroman1-1/+1
2021-10-05docs: Add section about architecture to README.developerJoão Valverde1-1/+20
2021-10-01Docs: Miscellaneous man page updates.Gerald Combs15-74/+80
Add the program version to more commonly-used commands. We were labeling output with "Output" and "Example output". Use "Example output" everywhere. Other miscellaneous updates.
2021-10-01Docs: Update some man page markup and remove pod2adoc.py.Gerald Combs20-297/+102
Remove pod2adoc.py since it's no longer needed. Add versions to the Wireshark, TShark, and Dumpcap man pages. Use definition lists in the TShark glossary descriptions. Other minor fixes.
2021-10-01Docs+Packaging: Convert our man pages to Asciidoctor.Gerald Combs28-4242/+5313
Convert doc/*.pod to Asciidoctor. This: * Means we use the same markup for our man pages, the guides, and release notes. * Lets us add versions to our man pages. * Gives us more formatting options, e.g. AsciiDoc supports `commands`, nested lists and makes it easy to include version information. The manpage backend doesn't seem to support tables very well, unfortunately. Convert our CMake configuration to produce *roff and html man pages using Asciidoctor. Add a "manarg" block macro which makes our synopses wrap correctly. Similar to the release notes, guides, and FAQ, if Asciidoctor isn't found the man pages won't be generated or installed. Move Asciidoctor to the list of package build dependencies in various places. This commit includes the conversion script (pod2adoc.py), which will be removed later. Line count sanity check: Man page .pod .adoc androiddump 260 280 asn2deb 93 105 capinfos 401 471 captype 54 55 ciscodump 241 269 dftest 42 42 dpauxmon 153 169 dumpcap 464 534 editcap 528 583 etwdump 136 156 extcap 157 181 idl2deb 91 103 idl2wrs 120 100 mergecap 206 207 mmdbresolve 75 75 randpkt 107 111 randpktdump 158 184 rawshark 558 610 reordercap 76 78 sdjournal 145 157 sshdump 272 302 text2pcap 274 312 tshark 2135 2360 udpdump 133 151 wireshark-filter 486 479 wireshark 2967 3420
2021-10-01Docs: Prep for POD to Asciidoctor conversion.Gerald Combs27-0/+210
[skip ci] Rename each of our .pod files to .adoc. Add pod2adoc.py, which converts POD markup to Asciidoctor, along with customizations specific to us.
2021-09-28Docs: More POD markup cleanup.Gerald Combs5-24/+18
2021-09-25docs: Fix fatal log level descriptionJoão Valverde2-4/+4
2021-09-23Fix some spelling errors.Martin Mathieson1-1/+1
2021-09-23Docs: More POD markup cleanup.Gerald Combs3-20/+17
2021-09-23Docs: Clean up wireshark.pod markup.Gerald Combs1-17/+1
Clean up some list items and a quote.
2021-09-22documentation: update PDML/PSML docJohn Thacker1-16/+43
Provide Internet Archive links for dead URLs. Update to note that PSML output is supported by tshark and not a future feature (true since 17 years ago, when it was still tethereal). Note "fake-field-wrapper" protocol for top level fields (including data, which is converted from a protocol to a field for PDML). Note "_ws.expert" protocol replaced by field, as with data. Note that some dissectors place subdissected protocols in subtrees instead of at the top level, and that this is _not_ changed, violating the PDML spec. Fix #10588.
2021-09-19[Automatic update for 2021-09-19]Gerald Combs1-1/+1
Update manuf, services enterprise numbers, translations, and other items.
2021-09-18Docs: Fix some POD markup.Gerald Combs7-24/+24
Fix and normalize some of our POD markup.
2021-09-14Add tshark ringbuffer option '-b nametimenum:value'Juha Takala1-0/+8
This is used to select ringbuffer savefile name template. Choose one of two savefile name templates: If value is 1, make running file number part before start time part; this is the original and default behaviour (e.g. log_00001_20210828164426.pcap). If value is greater than 1, make start time part before running number part (e.g. log_20210828164426_00001.pcap). The latter makes alphabetical sortig order equal to creation time order, and keeps related multiple file sets in same directory close to each other (e.g. while browsing in wireshark "Open file" dialog). Signed-off-by: Juha Takala <juha.takala+rauta@iki.fi>
2021-09-10[#17517] capinfos: machine-readable filetype/encapDavid Perry1-3/+4
2021-09-03Some spelling fixesMartin Mathieson1-1/+1
2021-09-01Add support for ZSTD and LZ4 decompressionErik Rigtorp6-7/+7
- Describe zstd and lz4 support in man pages - Update AUTHORS - Update mime types to recognize zstd and lz4
2021-08-27Thrift: Complete handling of Binary & Compact protocolsTriton Circonflexe1-5/+5
- Make sure reassembly requests & errors are properly propagated from any point in the PDU, no matter how many sub-structure levels. - Handle the sub-dissection methods as well: - Ensure the sub-dissection methods handle errors from previous calls. - Reduce the error handling needed in sub-dissector implementations. - Add missing sub-dissection methods for list, set, and map. - Add the handling of sub-structure. - Handle Compact protocol in addition to the existing binary protocol. - Include and improve MR !3171 - Handle reassembly the same way as for binary protocol. - Handle sub-dissection with the same functions. => Sub-dissectors only depend on .thrift files. Additional changes: - Use of constants instead of hard-coded values. - Removed U64 support (never supported by thrift code generator, only referenced in the C++ thrift library header but not supported in reality. - Removed references to UTF-8 and UTF-16 string for the same reason. - Replaced references to UTF-7 string with just string (same reason). - Replaced references to byte with i8 as the documentation explicitly states that byte is a compatibility name. Documentation reference: - https://thrift.apache.org/developers - https://thrift.apache.org/docs/idl.html - https://github.com/apache/thrift/blob/master/doc/specs/thrift-compact-protocol.md - https://erikvanoosten.github.io/thrift-missing-specification/ - https://diwakergupta.github.io/thrift-missing-guide/ Closes #16244 Additional changes: - Add authors and improve consistency - Fix typo and clarify documentation
2021-08-10editcap doc: Fix description of split output file namesJohn Thacker1-9/+23
The editcap documentation still refers to the pre 1.2.1 behavior of determining output file names when splitting based on either packet counts or time intervals. (See commit a8eb860103) Update it to reflect the current behavior.
2021-08-06captype docs: Fix name referencesJohn Thacker2-5/+5
Fix a number of instances where the captype man page refers to capinfos instead of captype. (Copy and paste-o.) Also add captype to the SEE ALSO section of the capinfos man page.
2021-08-02A few documentation spelling fixes.Martin Mathieson2-3/+3
2021-07-26Move epan/wmem/wmem_scopes.h to epan/João Valverde2-11/+9
This header was installed incorrectly to epan/wmem_scopes.h. Instead of creating additional installation rules for a single header in a subfolder (kept for backward compatibility) just rename the standard "epan/wmem/wmem.h" include to "epan/wmem_scopes.h" and fix the documentation. Now the header is installed *correctly* to epan/wmem_scopes.h.
2021-07-21First pass pinfo->pool conversionEvan Huus3-9/+10
Automated find/replace of wmem_packet_scope() with pinfo->pool in all files where it didn't cause a build failure. I also tweaked a few of the docs which got caught up.
2021-07-15Clean up handling of --capture-comment.Guy Harris4-15/+21
Don't store the comments in a capture_options structure, because that's available only if we're being built with capture support, and --capture-comment can be used in TShark when reading a capture file and writing another capture file, with no live capture taking place. This means we don't handle that option in capture_opts_add_opt(); handle it in the programs that support it. Support writing multiple comments in dumpcap when capturing. These changes also fix builds without pcap, and makes --capture-comment work in Wireshark when a capture is started from the command line with -k. Update the help messages to indicate that --capture-comment adds a capture comment, it doesn't change any comment (much less "the" comment, as there isn't necessarily a single comment). Update the man pages: - not to presume that only pcapng files support file comments (even if that's true now, it might not be true in the future); - to note that multiple instances of --capture-comment are supported, and that multiple comments will be written, whether capturing or reading one file and writing another; - clarify that Wireshark doesn't *discard* SHB comments other than the first one, even though it only displays the first one;
2021-07-14tshark: allow --capture-comment when reading a fileDavid Perry1-1/+4
Allows adding one or more capture comments to a new pcapng file when tshark is reading from a file. Currently, tshark only allows setting one capture comment, and that only when doing a live capture. The use case for this feature is given in bug #15005. I decided to allow multiple capture comments to match the same ability in `editcap`. To allow this change, I changed the function signature of `process_cap_file()` so it takes a `capture_options` struct instead of individual parameters that affect the capture.
2021-07-09Rename version.h to be more descriptiveJoão Valverde1-1/+1
Version.h is too generic. This is specific to VCSVERSION and that should be made more obvious and discoverable.
2021-07-07QUIC: improve "Follow QUIC Stream" supportNardi Ivan1-1/+1
This functionality has been added in d2a660d8, where its limitations are described. Improvements: * the Substream index menu now properly filters for available stream numbers; * Follow Stream selects the first stream in the current packet Known issue (which is still there): if a packet contains multiple QUIC streams, then we will show data also from streams other than the selected one (see #16093) Note that there is no way to follow a QUIC connection. Close #17453
2021-06-29docs: wireshark-filter - update man pageChuck Craft1-6/+6
2021-06-29docs: wireshark-filter - update man pageChuck Craft1-15/+15
2021-06-22Docs: Remove sgml.doc.template.Gerald Combs1-1/+0
It looks like we haven't used this since 2004: 556f1245e4.
2021-06-21wslog: Documentation fixupsJoão Valverde2-10/+34
2021-06-20mergecap: improve the example.Guy Harris1-4/+21
Explain, in detail, exactly what it's trying to do and, for each of the three commands in the example, what each step does, as well as explaining what the calculation using the end time of one capture and start time of another capture is doing. (Where did this example come from? What is the real-world goal of this exercise? And why is it an example in which all the fancy stuff is done in commands *other* than mergecap?)
2021-06-17Docs: Remove the authors list from wireshark(1).Gerald Combs3-94/+7
The AUTHORS section of wireshark(1) is about half the content of the man page. While it's important to acknowledge the people who have contributed to the project, the goal of the man page is to tell people how to use Wireshark. Replace the list of authors with text that acknowledges their contributions along with pointers to the AUTHORS file and the list on the main web site.
2021-06-17wslog: Add more documentationJoão Valverde2-0/+38