aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2025-02-06 16:49:42 +1100
committerStefano Brivio <sbrivio@redhat.com>2025-02-06 09:43:09 +0100
commit0da87b393b63747526d162c728987f320b41771e (patch)
treeffc7de4c9492a57bbd1abb43454cda444549ab30
parentf66769c2de82550ac1ee2548960c09a4b052341f (diff)
downloadpasst-0da87b393b63747526d162c728987f320b41771e.tar
passt-0da87b393b63747526d162c728987f320b41771e.tar.gz
passt-0da87b393b63747526d162c728987f320b41771e.tar.bz2
passt-0da87b393b63747526d162c728987f320b41771e.tar.lz
passt-0da87b393b63747526d162c728987f320b41771e.tar.xz
passt-0da87b393b63747526d162c728987f320b41771e.tar.zst
passt-0da87b393b63747526d162c728987f320b41771e.zip
debug: Add tcpdump to mbuto.img
Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rwxr-xr-xtest/passt.mbuto3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/passt.mbuto b/test/passt.mbuto
index 138d365..d4d57cb 100755
--- a/test/passt.mbuto
+++ b/test/passt.mbuto
@@ -13,7 +13,7 @@
PROGS="${PROGS:-ash,dash,bash ip mount ls insmod mkdir ln cat chmod lsmod
modprobe find grep mknod mv rm umount jq iperf3 dhclient hostname
sed tr chown sipcalc cut socat dd strace ping tail killall sleep sysctl
- nproc tcp_rr tcp_crr udp_rr which tee seq bc sshd ssh-keygen cmp}"
+ nproc tcp_rr tcp_crr udp_rr which tee seq bc sshd ssh-keygen cmp tcpdump}"
# OpenSSH 9.8 introduced split binaries, with sshd being the daemon, and
# sshd-session the per-session program. We need the latter as well, and the path
@@ -65,6 +65,7 @@ EOF
# sshd via vsock
cat > /etc/passwd << EOF
root:x:0:0:root:/root:/bin/sh
+tcpdump:x:72:72:tcpdump:/:/sbin/nologin
sshd:x:100:100:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
EOF
cat > /etc/shadow << EOF