mirror of
https://github.com/siderolabs/talos.git
synced 2025-11-06 19:31:13 +01:00
docs: fix talosctl pcap example indentation
Fixes whitespaces in examples. Signed-off-by: Oscar Utbult <oscar.utbult@gmail.com> Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This commit is contained in:
parent
de6caf5348
commit
0eb245e043
@ -51,9 +51,9 @@ Output can be piped to tcpdump:
|
|||||||
|
|
||||||
talosctl pcap -i eth0 -o - | tcpdump -vvv -r -
|
talosctl pcap -i eth0 -o - | tcpdump -vvv -r -
|
||||||
|
|
||||||
BPF filter can be applied, but it has to compiled to BPF instructions first using tcpdump.
|
BPF filter can be applied, but it has to compiled to BPF instructions first using tcpdump.
|
||||||
Correct link type should be specified for the tcpdump: EN10MB for Ethernet links and RAW
|
Correct link type should be specified for the tcpdump: EN10MB for Ethernet links and RAW
|
||||||
for e.g. Wireguard tunnels:
|
for e.g. Wireguard tunnels:
|
||||||
|
|
||||||
talosctl pcap -i eth0 --bpf-filter "$(tcpdump -dd -y EN10MB 'tcp and dst port 80')"
|
talosctl pcap -i eth0 --bpf-filter "$(tcpdump -dd -y EN10MB 'tcp and dst port 80')"
|
||||||
|
|
||||||
|
|||||||
@ -2431,9 +2431,9 @@ Output can be piped to tcpdump:
|
|||||||
|
|
||||||
talosctl pcap -i eth0 -o - | tcpdump -vvv -r -
|
talosctl pcap -i eth0 -o - | tcpdump -vvv -r -
|
||||||
|
|
||||||
BPF filter can be applied, but it has to compiled to BPF instructions first using tcpdump.
|
BPF filter can be applied, but it has to compiled to BPF instructions first using tcpdump.
|
||||||
Correct link type should be specified for the tcpdump: EN10MB for Ethernet links and RAW
|
Correct link type should be specified for the tcpdump: EN10MB for Ethernet links and RAW
|
||||||
for e.g. Wireguard tunnels:
|
for e.g. Wireguard tunnels:
|
||||||
|
|
||||||
talosctl pcap -i eth0 --bpf-filter "$(tcpdump -dd -y EN10MB 'tcp and dst port 80')"
|
talosctl pcap -i eth0 --bpf-filter "$(tcpdump -dd -y EN10MB 'tcp and dst port 80')"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user