From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 26 Apr 2021 08:05:34 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lauNC-0002gx-V1 for lore@lore.pengutronix.de; Mon, 26 Apr 2021 08:05:34 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lauNC-0007hT-7j; Mon, 26 Apr 2021 08:05:34 +0200 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lauN5-0007eN-Ox; Mon, 26 Apr 2021 08:05:27 +0200 Received: from rhi by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lauN5-0000UQ-B6; Mon, 26 Apr 2021 08:05:27 +0200 From: Roland Hieber To: distrokit@pengutronix.de Date: Mon, 26 Apr 2021 08:05:25 +0200 Message-Id: <20210426060526.32029-4-rhi@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210426060526.32029-1-rhi@pengutronix.de> References: <20210426060526.32029-1-rhi@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH 4/5] v7a: run: remove telnet port forwarding X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roland Hieber Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Hopefully nobody uses telnet anymore these days. Our userland certainly doesn't. Remove the outdated qemu port forwarding. Signed-off-by: Roland Hieber --- configs/platform-v7a/run | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/configs/platform-v7a/run b/configs/platform-v7a/run index 1dc4fd645d88..d180ccfa890d 100755 --- a/configs/platform-v7a/run +++ b/configs/platform-v7a/run @@ -36,13 +36,9 @@ if [ ! -e "${QEMU_EXEC}" ]; then exit 1 fi -# the port a 'telned' would connect to (in the emulated sysem) -TELNET_INTERNAL_PORT=23 -# port QEMU opens at the host side to give access to the ${TELNET_INTERNAL_PORT} -TELNET_EXTERNAL_PORT=4444 - -# dito for ssh +# the port to which an sshd would connect (in the emulated sysem) SSH_INTERNAL_PORT=22 +# the port which QEMU opens at the host side to give access to the ${SSH_INTERNAL_PORT} SSH_EXTERNAL_PORT=4445 # check if vde is available for networking @@ -62,7 +58,7 @@ fi # fall back to user network if necessary if [ -z "${QEMU_NET}" ]; then - QEMU_NET=(-netdev user,id=net1,hostfwd=tcp:127.0.0.1:${TELNET_EXTERNAL_PORT}-:${TELNET_INTERNAL_PORT},hostfwd=tcp:127.0.0.1:${SSH_EXTERNAL_PORT}-:${SSH_INTERNAL_PORT} ) + QEMU_NET=(-netdev user,id=net1,hostfwd=tcp:127.0.0.1:${SSH_EXTERNAL_PORT}-:${SSH_INTERNAL_PORT} ) fi BASE_CMDLINE="console=ttyAMA0,115200 loglevel=5 systemd.log_level=warning systemd.show_status=auto" -- 2.29.2 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de