-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare repository for Tenzir v4.0.0-rc8 (#3355)
This commit is was created with /scripts/prepare-release. Here is a high-level summary of the changes: * Updated `/version.json` to v4.0.0-rc8 and the expected rev-count of the merge commit to 17446. * Generated a new entry in the docs version selector list. * Removed the docs for the previous release candidate. * Moved all changelog entries from `/changelog/next` to `/changelog/v4.0.0-rc8`. * Moved all changelog entries from `/changelog/v4.0.0-rc7` to `/changelog/v4.0.0-rc8`. * Updated the python bindings version in `/python/pyproject.toml` to v4.0.0-rc8.
- Loading branch information
Showing
219 changed files
with
238 additions
and
184 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
173 changes: 0 additions & 173 deletions
173
web/versioned_docs/version-Tenzir v4.0-rc7/formats/pcap.md
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
web/versioned_docs/version-Tenzir v4.0-rc7/setup-guides/deploy-a-node/_category_.yml
This file was deleted.
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
44 changes: 44 additions & 0 deletions
44
web/versioned_docs/version-Tenzir v4.0-rc8/connectors/nic.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# nic | ||
|
||
Reads bytes from a network interface card (NIC). | ||
|
||
[pcap-rfc]: https://datatracker.ietf.org/doc/id/draft-gharris-opsawg-pcap-00.html | ||
|
||
## Synopsis | ||
|
||
``` | ||
nic <iface> [-s|--snaplen <count>] | ||
``` | ||
|
||
## Description | ||
|
||
The `nic` loader uses libpcap to acquire packets from a network interface and | ||
packs them into blocks of bytes that represent PCAP packet records. | ||
|
||
The received first packet triggers also emission of PCAP file header such that | ||
downstream operators can treat the packet stream as valid PCAP capture file. | ||
|
||
The default parser for the `nic` loader is [`pcap`](../formats/pcap.md). | ||
|
||
### `-s|--snaplen <count>` | ||
|
||
Sets the snapshot length of the captured packets. | ||
|
||
This value is an upper bound on the packet size. Packets larger than this size | ||
get truncated to `<count>` bytes. | ||
|
||
Defaults to `262144`. | ||
|
||
## Examples | ||
|
||
Read PCAP packets from `eth0`: | ||
|
||
``` | ||
from nic eth0 | ||
``` | ||
|
||
Perform the equivalent of `tcpdump -i en0 -w trace.pcap`: | ||
|
||
``` | ||
load nic en0 | save file trace.pcap | ||
``` |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
78 changes: 78 additions & 0 deletions
78
web/versioned_docs/version-Tenzir v4.0-rc8/formats/pcap.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# pcap | ||
|
||
Reads and writes raw network packets in [PCAP][pcap-rfc] file format. | ||
|
||
[pcap-rfc]: https://datatracker.ietf.org/doc/id/draft-gharris-opsawg-pcap-00.html | ||
|
||
## Synopsis | ||
|
||
Parser: | ||
|
||
``` | ||
pcap [-e|--emit-file-header] | ||
``` | ||
|
||
Printer: | ||
|
||
``` | ||
pcap | ||
``` | ||
|
||
## Description | ||
|
||
The `pcap` parser converts raw bytes representing a [PCAP][pcap-rfc] file into | ||
events, and the `pcap` printer generates a PCAP file from events. | ||
|
||
[pcapng-rfc]: https://www.ietf.org/archive/id/draft-tuexen-opsawg-pcapng-05.html | ||
|
||
:::note PCAPNG | ||
The current implementation does *not* support [PCAPNG][pcapng-rfc]. Please | ||
[reach out](/discord) if you would like to see support. | ||
::: | ||
|
||
The structured representation of packets has the `pcap.packet` schema: | ||
|
||
```yaml | ||
pcap.packet: | ||
record: | ||
- linktype: uint64 | ||
- time: | ||
timestamp: time | ||
- captured_packet_length: uint64 | ||
- original_packet_length: uint64 | ||
- data: string | ||
``` | ||
|
||
### `-e|--emit-file-header` (Parser) | ||
|
||
Emit a `pcap.file_header` event that represents the the PCAP file header. If present, | ||
the parser injects this additional event before the subsequent stream of | ||
packets. | ||
|
||
Emitting this extra event makes it possible to seed the `pcap` printer with a | ||
file header from the input. This allows for controlling the timestamp formatting | ||
(microseconds vs. nanosecond granularity) and byte order in the packet headers. | ||
|
||
Use this option when you would like to reproduce the identical trace file layout | ||
of the PCAP input. | ||
|
||
## Examples | ||
|
||
Read packets from a PCAP file: | ||
|
||
``` | ||
from file /tmp/trace.pcap read pcap | ||
``` | ||
|
||
Read packets from the [network interface](../connectors/nic.md) `eth0`: | ||
|
||
``` | ||
from nic eth0 read pcap | ||
``` | ||
|
||
[Decapsulate](../operators/transformations/decapsulate.md) packets in a PCAP | ||
file: | ||
|
||
``` | ||
read pcap | decapsulate | ||
``` |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.