From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Dired command on same host Date: Wed, 5 Jan 2022 18:08:44 +0700 Message-ID: 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; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5054"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs , Manuel Giraud To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 05 12:12:04 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 1n54D6-00016r-Gj for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 Jan 2022 12:12:04 +0100 Original-Received: from localhost ([::1]:57328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n54D5-0003O2-H0 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 Jan 2022 06:12:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n54AB-0002Y6-8h for help-gnu-emacs@gnu.org; Wed, 05 Jan 2022 06:09:03 -0500 Original-Received: from [2607:f8b0:4864:20::92e] (port=43694 helo=mail-ua1-x92e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n54A9-0001es-Pn for help-gnu-emacs@gnu.org; Wed, 05 Jan 2022 06:09:02 -0500 Original-Received: by mail-ua1-x92e.google.com with SMTP id i5so53294654uaq.10 for ; Wed, 05 Jan 2022 03:08:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PmQRo2u68IsNuUs6tw/H2ydJ5qc3p7QMrhtX+miE8yE=; b=crT0lH7oujj2JXvpXX9cQZ93Pqs90gC2fcEz1+CfcMpzcxZnmZzRmQuc3szbGnEMYF KiZN9cv6hlsAMGjsmJhISwINid0VAD+kNRJ0WXDfon9tTvq6Xv4/R46S5eMlB3EzariB eHsSvI+IHepwxAbBoykG0mxQN5FqW9efxXvB1IP+7wpujwFNH6uSWMu2k9WDp4n485qI uIbXedRH+hntWdyvO7WTaL4D2T/YbXhDRhkkW7tGsM4i6pfdv76szgKmZzprFs5SvFwK jT374UxlWAb5QWeKDV+g/V2h3IA+cko/3qW4HzWzv5Z9MvsGpdi4moKr9s+mGBzJNRfz a6iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PmQRo2u68IsNuUs6tw/H2ydJ5qc3p7QMrhtX+miE8yE=; b=1/E1MjL6ixvqYsnFd7CAgHl58OhlZ1zn2rw8Vrx9SGi5emaW4caCZG4XGp2t3L0s9A RJHSTiALp71t9dRuPd1lmKElRorwUPeBa8lKWXTBZveq7+7WKx3mXlFN62zG3/POnJxj 21MzbpKcb1vL9lmk516FghoUWYIA1RcYPvDHcdruDTsOfY5eRKuZt0Ksv+vYCBBBb9QK Nmn+R5QdKO1J0BACxJfD3u7TzndMN5P6k0MjmcPZnd/F4Tu6A6CK7GB87CsTdrLZ65Fi gcAC0rcv7W/0FtH2AOClUgKhfPL1dMZdKBFn+cKjs53PQDQXe5iBrlLv1Y7XLk0ajJRO FIiQ== X-Gm-Message-State: AOAM532GyhDPOxdwQtfj/glrt4UirpdrjfyHricDqebZShKLmJS9O41b 44r9EDKGbFwkGoc6mieCJUoGaN94wK0O5JL1GGk= X-Google-Smtp-Source: ABdhPJzdMn9KDKoq3CciWmtA8eXrhmGRItmwJKVSPhoOYdXvsuSRfuvNazrMq9/g6RV6/Co2Rjsfd2nW5wjwsyIacgI= X-Received: by 2002:a67:f141:: with SMTP id t1mr15726442vsm.35.1641380935874; Wed, 05 Jan 2022 03:08:55 -0800 (PST) In-Reply-To: <87zgoa5uth.fsf@gmx.de> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::92e (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::92e; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x92e.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:135104 Archived-At: On Wed, 5 Jan 2022 at 17:41, Michael Albinus wrote: > 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.)