From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5585 invoked from network); 11 May 2021 07:20:31 -0000 Received: from tb-ob21.topicbox.com (173.228.157.67) by inbox.vuxu.org with ESMTPUTF8; 11 May 2021 07:20:31 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob21.topicbox.com (Postfix) with ESMTP id 9FF95303D8 for ; Tue, 11 May 2021 03:20:28 -0400 (EDT) (envelope-from bounce.mM8c882a2295e159758d872702.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id 5FDEC294EF23; Tue, 11 May 2021 03:20:28 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=vf9hOwvP header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=fgergo@gmail.com smtp.helo=mail-qk1-f175.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:in-reply-to:references:from:date :message-id:to:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:subject :list-unsubscribe; s=sysmsg-1; t=1620717628; bh=76/nNuMRiJPfove/ hByo+D+6j8wBZHW8ZRrhnmz9FD4=; b=snryPZ6p92/X3esPIpkd6hyYab4Rceqv 0nzrjJV9PCn9qdyBfoCO+nnSLtRNSLJHHVrRk+K1RquAxZr+o78KKIxPOuovrVs/ UaVPSAIDGHjCcPY8ChhRSsSvLIxOo1hEfPhdCl5tUYpML02aI8Kp86/AAOFfznUp 4jAfgfhQ8QE= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1620717628; b=YdBnH3yUJrdY3c7NQc8+4RsVRKMKeYl5R9uSrJda/Hm9eysJ7G BcmmXP9+6ElJt+JSDBvD6XIjlHZgzhcMyzlGDwl+RphDCMZVTOq4SgZ1IF5zfYsU wZw5aZs1Uyo8gzhE17XYpB7K269YF5F3+X3dLO3D95eFM5weN/Se8iItc= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=vf9hOwvP header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=fgergo@gmail.com smtp.helo=mail-qk1-f175.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=vf9hOwvP header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.222.175 (mail-qk1-f175.google.com); spf=pass smtp.mailfrom=fgergo@gmail.com smtp.helo=mail-qk1-f175.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=INBmwgHs; x-me-sender=none; x-ptr=pass smtp.helo=mail-qk1-f175.google.com policy.ptr=mail-qk1-f175.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h= mime-version:in-reply-to:references:from:date:message-id:to :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:subject:list-unsubscribe; s= dkim-1; bh=76/nNuMRiJPfove/hByo+D+6j8wBZHW8ZRrhnmz9FD4=; b=WUm+Y KfEBM/fFRf9jr1xDxhGscWRopZWk7c1f5Ez1p0RQrB+QJEkl5SEH/ACmf+qW8sj+ PPuhbMQF9oFwgTFdYi6FNVDFoDBkxA+H4AZk3NmRy+MNFv0p0bitXMmZr5K+Hxb7 6nHRVinVCJCOHXFIXHUGaY9R6zGbsHfQff0pG0= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 71874294EB34 for <9fans@9fans.net>; Tue, 11 May 2021 03:20:13 -0400 (EDT) (envelope-from fgergo@gmail.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id A477C8BEB09; Tue, 11 May 2021 03:20:13 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1620717613; b=JHZnnF5e8/Cy7HaYTr471LKDz01+v5cQe3ZIaH5EnAC7m4UvoD ZAJFHMgMsE9GR7ic27GUAxF6NAmo/YDAGq1PAGSESRYm4NgfqbFRBaQu1oZXZ0Pv yYSBUvMbQXZ/aI+9XymxBi6Xc1h/HH0dbvB2h8R/dde4R4hnM3qrqqhMRibEgCF+ ccuEJH7vy0Rq2XXxKXLrNkslHeBXP8SglqSUH3bGuWQPKT5w9iLJC1yfsIoagKXX H4BZZqm/LmJ3W2Mgircc4fWfhQMZBm7kHWmo6s76lVoJNPmkLmu1lrUG7a2nJbEd WPeXwwzz5+aKle2afd7pTf6TSPxGt4QeBEiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; s=arcseal; t=1620717613; bh=eJH9DIsGxwZOqfYuI3Zysq983FDF6LpX8Eg ApimQznw=; b=wdOgcIUMo/6STUYJfHi8LQIdXvNuETFNOZDQptI+5qPGkCcZESA OIqu7lg9kFOoJVH0CP8+5MGr8wIuRkZBC/0/nMGhdX3TqnnsVyJqmvQlwpnMPjpn 1yy/jgxK7JrCQqNh1J3paonBbUhCnSs/agQSjzol2ZSZSu2CiSf26vEcwcWwas8/ A8z//9K7dnFtHO2BfQC0Npzg2nRxd4F2491t6dE0J7J0ujPN3HQHKcXQQi6E7S0r QxM6gGfEZGTOST4N1RfJOsdVAhfQqsDn23uyJzIsywOXI2Nm6krLF3ePAA0bHxk+ jF3Dlcvpnl1LErgXL6GsiviWheV0U7unvaQ== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=vf9hOwvP header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.222.175 (mail-qk1-f175.google.com); spf=pass smtp.mailfrom=fgergo@gmail.com smtp.helo=mail-qk1-f175.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=INBmwgHs; x-me-sender=none; x-ptr=pass smtp.helo=mail-qk1-f175.google.com policy.ptr=mail-qk1-f175.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduledrvdegfecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffrtefo kffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepjghfhfffkffuvf gtgfesthhqredttddtjeenucfhrhhomhepfhhgvghrghhosehgmhgrihhlrdgtohhmnecu ggftrfgrthhtvghrnhepgefhheetteegfedtgeffjeeujeelveetudeulefhjedvueehje fggeduteeltddunecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepvddtledr keehrddvvddvrddujeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinh gvthepvddtledrkeehrddvvddvrddujeehpdhhvghlohepmhgrihhlqdhqkhduqdhfudej hedrghhoohhglhgvrdgtohhmpdhmrghilhhfrhhomhepoehfghgvrhhgohesghhmrghilh drtghomheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'fgergo@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="fgergo@gmail.com"; helo=mail-qk1-f175.google.com; client-ip=209.85.222.175 Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Tue, 11 May 2021 03:20:12 -0400 (EDT) (envelope-from fgergo@gmail.com) Received: by mail-qk1-f175.google.com with SMTP id 76so17851875qkn.13 for <9fans@9fans.net>; Tue, 11 May 2021 00:20:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=eJH9DIsGxwZOqfYuI3Zysq983FDF6LpX8EgApimQznw=; b=INBmwgHsLJb4r82i6/1r44QwRqaIbt3C9e2EtYJlFMnYkMZp6TVseinrAmjuyllOiW qNvbh9WzCvqi0Jve9LAMh2ZTvQ+20zGQ885nwNvgyHMueivLo9y1j8hQwkCPM3U/SIAu INy1EzzlinIe8TlgUCqdqZgFt9TuMNeUI6kgMgTcKhcMtgb0w0lOfC3an6rYHiRawnkA Vtga5Dmpma0ERxTC5zOqut67Ggjui6MYXbhyFgTc6KJ/FvIoU+rEmed8/dPPEIKTD5yK bUMqDz274KxLc0JL468KqezVHj/WARlwkZUa2CIkvjOQPgdB9kUKE3BKgmCjpw4zBJFm 2S/A== X-Gm-Message-State: AOAM532SulLMC89FFYpYslcR7Qlh2rY/NFJOpD3nHfej80eOLtGDmJDF fyf8luZje7s+0QSQsGAr65ePzr2TggvxCrHQsAcXTv+5fb4= X-Google-Smtp-Source: ABdhPJxMtXs8AsWn5c6bopgmZQRUkwrbTi4jvHsyrx5CgKmq03+SqmYqt+pzttiwrjkwG5P1poI1MdXBmucHe1y+RSU= X-Received: by 2002:a37:6606:: with SMTP id a6mr23005798qkc.444.1620717612314; Tue, 11 May 2021 00:20:12 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6214:40b:0:0:0:0 with HTTP; Tue, 11 May 2021 00:20:11 -0700 (PDT) In-Reply-To: References: From: fgergo@gmail.com Date: Tue, 11 May 2021 09:20:11 +0200 Message-ID: To: 9fans <9fans@9fans.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 56a7da04-b229-11eb-ab3f-85ad8ae6ae90 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UMWQ3YmYzYzM5ZTg4NTI2Ny1NOGM4ODJhMjI5NWUxNTk3NThkODcy?= =?UTF-8?B?NzAyPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] recover(4) go rewrite List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M8c882a2295e159758d872702:1:BkLanZyJi_Mnyu1bsB1CNwOjtT7ytOf2F-RZwt5-asg Hi, I needed recover(4) on windows, I rewrote most if it in go. This go versio= n: - doesn't work on plan9, - can't do authentication (without plan9port's auth in go, iiuc it's hard), - works on windows and on unix where go works, - works on android (in termux), though not very useful at the moment, - works both with or without plan9port, - uses go net.Dial() address format (host:port), - when using without plan9port, it won't clean up socket file after termina= ting, - needs NAMESPACE set on windows, - it'll default stay in the foreground. To use this version of recover you'll need 9pserve in your path. If you have plan9port installed, you have 9pserve. If plan9port is not used (eg. on windows, android or on unix without plan9port) you need to go get github.com/fhs/mux9p/cmd/9pserve and put 9pserve executable in your path. To install recover it's just go get github.com/fgergo/recover I use recover+Harvey-os/ufs with tailscale (i.e auth by tailscale is enough) on most home computers (unix, windows, android). It's fun. All devi= ces are accessible from all devices, without remounting 9p servers, ha! (Devices can go away and come back online on a - possibly - different network without any explicit management.) If you'd like to have something similar, here are a few possibly useful instructions: To build harvey-os/ufs on windows: you need to change all 'File' references to 'file' in ninep/filesystem/filesystem_windows.go and then build cmd/ufs On unix and android just go get github.com/Harvey-OS/ninep/cmd/ufs On windows in inferno (or acme-sac), to mount the unix socket of recover, you need to go get github.com/fgergo/us2stdio and put us2stdio.exe in your path to access recover-secured file servers, until inferno on windows can access unix sockets. (Of course in inferno mount -P is working fine.) best, Gerg=C5=91 ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T1d7bf3c39e885267-M8c882= a2295e159758d872702 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription