From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202502 header.b=hUFcF30G; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 7C5935A0274 for ; Thu, 06 Feb 2025 06:50:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202502; t=1738820984; bh=ZA6jnlJGzBJzH2BOPaKh62PcPE0lFAf4zvfp67RgW1U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hUFcF30GuYRXHRB5/kpHZ2rYNShbYixo8LevOxCYNyVz9Mpd+1uynnLqAl4tg1NK8 frGrsdqAVlptBL/uPJW5PMsPAkWTCbiu9YsoIQpd3LVv6lRLfaueOJ9VqGWgW/C7A/ PSQc4sMkUZ9l9Rn/dXRlwKLx2wSw20mlt4j0jbWOebR5TvZ5iRf0H/SmxCkaQvgCSW SCBo5nO7x250V40DIpvYv92dFlJp+8E2EegQOnT5tb9E2gGTXlKnkUGBgLrx1AJauL X4fMo/eRNmDinJWhkLry7mGNbIw6DWFHUuKvN7u5klsfXkIutdQpbzONyq+Yf6/HlE 8nHu3+3LDItTg== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4YpR543Y9mz4wyh; Thu, 6 Feb 2025 16:49:44 +1100 (AEDT) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH v10 01/10] debug: Add tcpdump to mbuto.img Date: Thu, 6 Feb 2025 16:49:42 +1100 Message-ID: <20250206054951.1041610-2-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250206054951.1041610-1-david@gibson.dropbear.id.au> References: <20250206054951.1041610-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: KPHQ2EHMYRU6H27OQDB32DJ4K4MTHTIK X-Message-ID-Hash: KPHQ2EHMYRU6H27OQDB32DJ4K4MTHTIK X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --- test/passt.mbuto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/passt.mbuto b/test/passt.mbuto index 138d3653..d4d57cb3 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 -- 2.48.1