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=-0.9 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5076 invoked from network); 23 Feb 2021 22:23:33 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 23 Feb 2021 22:23:33 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 026DD1B7ED for ; Tue, 23 Feb 2021 17:23:32 -0500 (EST) (envelope-from bounce.mM6e96a817ce5e09891b086877.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id F2EA518B11BE; Tue, 23 Feb 2021 17:23:31 -0500 (EST) 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=uW2tHPaD 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=fshahriar@gmail.com smtp.helo=mail-oi1-f179.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body 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:references:in-reply-to:from:date :message-id:subject:to:content-type:list-help:list-id:list-post :list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1614119011; bh=U3TWL5rQNgB5t++3 2ieSVGrHxGIdPI8vFLIC38C53pA=; b=DQqEfgqVxLtJQ9RZ4a6vQcb+glPRCzAo tUkHnNPyjEWy3jvGQ8RYV17iyApkmWkAT9kR+Qsq/PbLWIm1CrjViJqpPTzvKEWV Lou1IcKL2HKkLyv1QDEm5zXyOqrb4P2tOQrV+rh0WWnQsyaEevvrMhgweC/yGavk aj8NTV5m+V4= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1614119011; b=tRK6sJbm8/kN78Uj5XbrEf83WhKtyFcwkS9Gc7YlIXszg70DRJ c84hJlDIkf052bG6wEjjAHywAjVGlfntpPCP48/V9hXt/8w87+WQ4484Yuq9Nsvj TwPNEvMLwipLuPYIW4eVav3GkRLBI3IKjWI+CLDkLA5G+wwEi2HbnKlbg= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=uW2tHPaD 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=fshahriar@gmail.com smtp.helo=mail-oi1-f179.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body 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=uW2tHPaD 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.167.179 (mail-oi1-f179.google.com); spf=pass smtp.mailfrom=fshahriar@gmail.com smtp.helo=mail-oi1-f179.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=TBJal2Vd; x-me-sender=none; x-ptr=pass smtp.helo=mail-oi1-f179.google.com policy.ptr=mail-oi1-f179.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.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:references:in-reply-to:from:date:message-id:subject :to:content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; bh=nNKbUfwHKrrOZ+IaDAmDx4YTzX8RpncSnvWSFlrH0OU=; b=aiafdDpVrNh4 hoDRiu+TnJxv5wGQvwFgnjtpaeZkznWTm5EzlYR9umKUrat3XCYnKsRWcVry2ACG LPo3xuYxjVpnngcpx3xhI3Sc8RCyrXpGsZSLMVng0k1xQCsdddAA8ld0f9jp8u3t kPFFr1zhzTSS7sn4jFRal1OKeoopQnA= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id D104F19C6B32 for <9fans@9fans.net>; Tue, 23 Feb 2021 17:23:22 -0500 (EST) (envelope-from fshahriar@gmail.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 6A3D98AECFD; Tue, 23 Feb 2021 17:23:22 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1614119002; b=x0ydfpbD5y5TFQB0S8dPRdGxIWs+hoqI3GMWBRlAJRNQCRrhln ZmAgqFn9ROLIenKz7rfh72YvQFetPd2AM6Wwmv0RDSIVI7apjLrhC6ZT11VIIJF3 PbsEfyTgL5y1BhKsnxBvyh/tTqPlv8CBhyJ3y/TgR+1frlRd5lYJdU8MjA2BXCkU lS2iYlVhmu1AUyb1UEjZsYDOambfZXW2qlT9lAaTjK/f8rYGCt4z3EQbW4U30q5s KHZ4ghhSCkX4J5fxxIemO1vZv51XOIVkZMR+H50Dwz4+UbJ9ohGpgTJcmO3J/N0O SELDhKyJP0w3W+tvQagkCc9RhfClGz9uqPnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=arcseal; t=1614119002; bh=EYUuq+KCVVHII3b6gW8Lt4ZAzqqqQcBI+P0yx4YGBZU=; b=Sw8MPONla9db GyAT7YJaU/342t4wyRblSVvetotF3GRA9AHH1WeGxs0JeFZKS+fGvRi87AVOPmPM YJFeIDejQyv1ixcW4pCofiIrzKxMvYKZ4tbKTqAZAEDXK5bAQKmbfFiReyq15AIo 82ALo6VS5UtBHAyj+t5DZnJ0r6gezA0VUr6SmxwR4bB+7KFhAoWfTTbkYMWq4FIK b4IBcU/I2f/2T/bQ4Mpzo/aVyp3qONhXeDWHP1+YezDz0eaEk3vNipTQARWus7eO FwmzIIfKWblu6t2FrGlXNAdjta5jXHWV0JckERnxWp2S9v++qapSWIwXzW4zMPz7 2t/Olq6rYQ== 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=uW2tHPaD 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.167.179 (mail-oi1-f179.google.com); spf=pass smtp.mailfrom=fshahriar@gmail.com smtp.helo=mail-oi1-f179.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=TBJal2Vd; x-me-sender=none; x-ptr=pass smtp.helo=mail-oi1-f179.google.com policy.ptr=mail-oi1-f179.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt1.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: gggruggvucftvghtrhhoucdtuddrgeduledrkeehgdduheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeggfhgjhf ffkffuvfgtsegrtderredttdejnecuhfhrohhmpefhrgiilhhulhcuufhhrghhrhhirghr uceofhhshhgrhhhrihgrrhesghhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepfe dvveefjeefieelkeejheehtdfggfekleevgedtueeiledvfeejlefhhfffueetnecuffho mhgrihhnpehgohhlrghnghdrohhrghdpthhophhitggsohigrdgtohhmnecukfhppedvtd elrdekhedrudeijedrudejleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep ihhnvghtpedvtdelrdekhedrudeijedrudejledphhgvlhhopehmrghilhdqohhiuddqfh dujeelrdhgohhoghhlvgdrtghomhdpmhgrihhlfhhrohhmpeeofhhshhgrhhhrihgrrhes ghhmrghilhdrtghomheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'fshahriar@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="fshahriar@gmail.com"; helo=mail-oi1-f179.google.com; client-ip=209.85.167.179 Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (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, 23 Feb 2021 17:23:22 -0500 (EST) (envelope-from fshahriar@gmail.com) Received: by mail-oi1-f179.google.com with SMTP id w69so381765oif.1 for <9fans@9fans.net>; Tue, 23 Feb 2021 14:23:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=EYUuq+KCVVHII3b6gW8Lt4ZAzqqqQcBI+P0yx4YGBZU=; b=TBJal2Vd7NDaGYp2swKDu41slwDwhP98ZCDfEanYLwr/7RdkQW44fnPU7AAv3A7bIO mlye5M6ASyd3OaT6+jd1nlA8wvjHyFcn66P2PAHiE9exMZ6epeQ2y+kHGbiBAssk4+JG JuFlpnzPWWnCrtOk38BMKXx4BUuOEJ/ZJa5a4X0yPf/dxnycotHDnuMoslMFlVekYSSV oWJds70+mVzdYVhpfbq8+OHCTY+pMFXhVniI0UY00CVQQ7tqWGxxTPBOq9JiYYLspX+i 50VWmWaZDnV0Mfuy0kbsGDCCIIKeUZf96a/XyKBgc8hwjrCanjCg+ulbSUznt6E9c+bX W24A== X-Gm-Message-State: AOAM532jBhe5YQXAh0KLF8A+N5JlIBohjCVmCwJB7pYhRz6NpHQWA80P fnJrBobcLfi0SZq3hnExx/2X3m0xkPyb4Hmpzr2D76Yr X-Google-Smtp-Source: ABdhPJwlAMmbNM20Eywr7v/WVZMSatjj75CUp9oQw57KwSKETuiCsLN3wXTbPbMKjkQUJxAhQTmO6+U7bF0fEVCT3FQ= X-Received: by 2002:a54:408f:: with SMTP id i15mr656202oii.63.1614119001642; Tue, 23 Feb 2021 14:23:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Fazlul Shahriar Date: Tue, 23 Feb 2021 17:23:10 -0500 Message-ID: Subject: Re: [9fans] sshnet and the go dns resolver To: 9fans <9fans@9fans.net> Content-Type: multipart/alternative; boundary="000000000000b7dc2b05bc085d49" Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: c0299f5c-7625-11eb-9d13-e26dcc0c8446 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNzc0NDY5ZmY5Zjk0M2U0NS1NNmU5NmE4MTdjZTVlMDk4OTFiMDg2?= =?UTF-8?B?ODc3Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: 7bit List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M6e96a817ce5e09891b086877:1:VbPK3I1zFsqIxk-bH3jPvlA5v9Jurv9ZTpN90IBgbUw --000000000000b7dc2b05bc085d49 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The Go net package uses /net/cs and /net/dns. I see sshnet doesn't create /net/dns. That could be the issue. fhs On Tue, Feb 23, 2021 at 4:35 PM Steve Simon wrote: > hi, >=20 > the senerio - i have a plan9 terminal, a mac laptop. the laptop connects > to a vpn. >=20 > i write in go, and thus far i use sshfs to mount the mac=E2=80=99s filesy= stem and > edit my code. i build and run the code on the mac. >=20 > i thought i could use git9 via sshnet to work natively on plan9 >=20 > most of this is fine but when go tries to access mod files for packages on > the vpn i get a =E2=80=9Cno sutiable address found=E2=80=9D error for pro= xy.golang.org. >=20 > i can resce the address i need (over the vpn) using ndb/dnsquery however. >=20 > if i try and build without my sshnet vpn connection then i get a different > error which refers to a repository on the vpn. >=20 > so. i think the native resolver in the go libraries (and thus in the go > executable) do not play nicely with sshnet. >=20 > my guess (only a guess) is go is trying to do its own name resolution > using udp port 53 and sshnet does not support udp. >=20 > anyone any ideas? > can i convince go to use plan9=E2=80=99s own name resolution? > can ssh (and thus sshnet) forward udp or is that not possible? >=20 > thanks for any ideas >=20 > -Steve >=20 ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T774469ff9f943e45-M6e96a= 817ce5e09891b086877 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --000000000000b7dc2b05bc085d49 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The Go net package uses /net/cs and /net/dns. = I see sshnet doesn't create /net/dns. That could be the issue.

fhs

On Tue, Feb 23, 2021 at 4:35 PM Steve Simon <steve@quintile.net> wrote:
<= /div>
hi,

the senerio - i have a plan9 terminal, a mac laptop. the laptop connects to= a vpn.

i write in go, and thus far i use sshfs to mount the mac’s filesystem= and edit my code. i build and run the code on the mac.

i thought i could use git9 via sshnet to work natively on plan9

most of this is fine but when go tries to access mod files for packages on = the vpn i get a “no sutiable address found” error for proxy.gol= ang.org.

i can resce the address i need (over the vpn) using ndb/dnsquery however.
if i try and build without my sshnet vpn connection then i get a different = error which refers to a repository on the vpn.

so. i think the native resolver in the go libraries (and thus in the go exe= cutable) do not play nicely with sshnet.

my guess (only a guess) is go is trying to do its own name resolution using= udp port 53 and sshnet does not support udp.

anyone any ideas?
can i convince go to use plan9’s own name resolution?
can ssh (and thus sshnet) forward udp or is that not possible?

thanks for any ideas

-Steve



------------------------------------------
9fans: 9fans
Permalink: https:= //9fans.topicbox.com/groups/9fans/T774469ff9f943e45-Me6b7b01e94fd355714ebf0= 49
Delivery options: https://9fans.topicbox.com/gro= ups/9fans/subscription
= --000000000000b7dc2b05bc085d49--