Skip to content

Commit

Permalink
bugtool: Dump NAT BPF maps entries with bpftool
Browse files Browse the repository at this point in the history
If "cilium bpf nat list" fails, then we will be able to rely to
the raw dumps when debugging.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
  • Loading branch information
brb authored and borkmann committed Feb 14, 2020
1 parent 0beba2a commit 5e01fb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bugtool/cmd/configuration.go
Expand Up @@ -78,6 +78,8 @@ func defaultCommands(confDir string, cmdDir string, k8sPods []string) []string {
"bpftool map dump pinned /sys/fs/bpf/tc/globals/cilium_lb6_reverse_nat",
"bpftool map dump pinned /sys/fs/bpf/tc/globals/cilium_ct6_global",
"bpftool map dump pinned /sys/fs/bpf/tc/globals/cilium_ct_any6_global",
"bpftool map dump pinned /sys/fs/bpf/tc/globals/cilium_snat_v4_external",
"bpftool map dump pinned /sys/fs/bpf/tc/globals/cilium_snat_v6_external",
// Versions
"docker version",
"docker info",
Expand Down

0 comments on commit 5e01fb6

Please sign in to comment.