From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Dired command on same host Date: Wed, 05 Jan 2022 12:46:49 +0100 Message-ID: <87v8yy5rrq.fsf@gmx.de> References: <877dbf94su.fsf@elite.giraud> <87czl77j7e.fsf@gmx.de> <87iluz79ja.fsf@elite.giraud> <878rvv73mr.fsf@gmx.de> <8735m27c0s.fsf@elite.giraud> <87zgoa5uth.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19229"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: help-gnu-emacs , Manuel Giraud To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 05 12:47:38 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n54lW-0004n6-DA for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 Jan 2022 12:47:38 +0100 Original-Received: from localhost ([::1]:46372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n54lV-00013N-9U for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 Jan 2022 06:47:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n54ks-0000qA-T6 for help-gnu-emacs@gnu.org; Wed, 05 Jan 2022 06:46:58 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:48231) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n54ko-00061p-16 for help-gnu-emacs@gnu.org; Wed, 05 Jan 2022 06:46:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1641383210; bh=oGwSGDYcG+JUFg8sJJBb0uzJm3t3HuJCVYTbpdusaGo=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=aYpi95M7GFIn9sUFT2QqHQgU/TiJaYKxGp8BFwz0W7FmWbs4Xml8QWg3jZ1SroXqj IAZu5Hek8yqTrnFvW+6KXPp3nkyYEk65O7H8sKC5z8kTbXQKOBxErAKAQtUtUFIg/5 uB4bBSCneFijivyXi8xykKVTAsUuqq13TBQ4faB8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([217.70.140.75]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N17UQ-1mPnzU2u4Y-012XPz; Wed, 05 Jan 2022 12:46:50 +0100 In-Reply-To: (Yuri Khan's message of "Wed, 5 Jan 2022 18:08:44 +0700") X-Provags-ID: V03:K1:RCeyh8oXBTCzm2BPOhEgAjckNHnb1z044er4FXVpkKLjg8/ChJW 2ci7R43HtW5FFiHOEni0E+CdQof/MklIAHN2DdcFSdeX78ny9dqgiAo46ccq2eujMK4Xcsn +5YmuDa+J+oi3ZzVpTUEGNDJNjLqo4pF3e24DnXNoph4ZJB6/B1HdWttx5fMhq2PRSL3CTI /1lz+lBeE11klPuQ0wlcQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:FyWg67LQ60c=:GId4l6QI4XW24L6/Vq2zXr K/ZOUiVWNEKXN/ROpOvD49Y+dnsYBC6c7k+STgmocOlGJyJXW6bicoNLxvEpNWr6LgxSXYm2R YVCZSYDRQxIZQ15eNXuETFKsJuqMtf74eXEq/+lES/dLnzoD1eZ4YwRi2inZpRk0wRuQY/sDm Hgetmiw/OJyxadS5sLtqsAlK95CmG/g+uGGbYi26baNL4b0Nd4e5/9yNRbVCoDfGtDXhAtRUm g89ju0sqOx8kURYbRUj/qMeQr1/JVrew/x59+JwdV3lZiEc/m2xaQqXaCJaYVTdizEFXreWNn DNt1ueKuPO+yW/Io8QyBKHlFd8PKfx7rrwuT6GELlhpOGfO1b/6uREhMmbqdfNQiB5AuIztkq u0PAop5fbHPFeGp6Jsu4U3dgv4eNRvl1yytu7bAsqErGnMIN5ANRhRvqez2FOCLt6/cY7doI1 u95F/3f35EwWEvuCVlhnhgA/M9RBX82hNHlYfbDQC4I38laL3s1whV9YVAeF4tvTDzaFy81Hx 5c9cejkY//YKHbBE+vu7S3rrJyZnvOJIAvgQUu5/OHUKPtU4Aix8b8Ke35nOFip3lXS4IWRFy L3Ck0urLJDxrDFK2CXWhm+FPL9WH9W4+qIM1Qt7bO73b+yOmqQXB/yvxDgsZR1Pdoacgp1sZk k+ZtjnCnmHv6OW80Z9/DaZjiOANW0E7Gu60DdN/2QhriLvGTObbyA1MT47GkV+oWNkCP3yhPo HSqxiMOSPjHaP+UXEP+VYg2goMsGcEtmiCSKwiTjbqzBxWyyo4zZ60MEJkKAhH3vfepix4Dh Received-SPF: pass client-ip=212.227.17.20; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135105 Archived-At: Yuri Khan writes: Hi Yuri, >> And even this isn't bullet-proof. Due to network configuration, hostB >> could resolve to different addresses on my local machine and on hostA, >> although it is still the same machine. > > Additionally, the reverse is also possible: 192.168.0.1 when accessed > from local machine and 192.168.0.1 when accessed from hostA could be > two completely different hostsB. > > A somewhat reliable way to detect if two jump paths resolve to the > same host would be: > > 1. Through one path, perform some (small) file system modification. > Like, create a uniquely named file at a known location, and write some > unique content. > 2. Through the other path, observe that modification. If successful, > assume identity. > > (Various TLS certificate issuers do this to check that the user who > requests a certificate for a domain name actually controls the host > that the domain name resolves to.) Might be feasible, thanks! Best regards, Michael.