From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <35005FC7-FE83-487E-9D43-0217B31F0D1F@quintile.net> References: <35005FC7-FE83-487E-9D43-0217B31F0D1F@quintile.net> Date: Thu, 12 Feb 2015 13:46:25 +0100 Message-ID: From: Giacomo Tesio To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a1134882e0d74fa050ee382de Subject: Re: [9fans] telnet to port (and webfs debug) Topicbox-Message-UUID: 43cd6f7a-ead9-11e9-9d60-3106f5b1d025 --001a1134882e0d74fa050ee382de Content-Type: text/plain; charset=UTF-8 Yes hget is an rc script running on webfs. Giacomo Il 12/Feb/2015 13:14 "Quintile" ha scritto: > I have s feeling that get is a script that accesses webfs, and maybe the > 9front mothers does the same. are you running webfs? > > -Steve > > > > > > > On 12 Feb 2015, at 11:02, Giacomo Tesio wrote: > > > > Hi, I'm having an hard time to debug a problem with http clients in > > plan9/qemu (actually 9front, but I guess my questions apply to all > > plan9 versions). > > > > DNS and ping works properly, just http fails. > > > > I suspect it's a proxy issue. I have set httpproxy environment > > variable but with no success: both hget and mothra doesn't works. > > > > I can connect to the qemu host webserver on port 80 and receive the > > proper page, but for any other address I can't obtain a response. > > > > The proxy does not log any access. > > > > Now, to debug this issue, I'd like to telnet the proxy port and > > manually forge an http request. > > > > However I can't understand hot to specify a port reading man telnet. > > > > What's plan9 equivalent of > > > > telnet www.google.com 80 > > > > > > > > Giacomo > > --001a1134882e0d74fa050ee382de Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Yes hget is an rc script running on webfs.

Giacomo

Il 12/Feb/2015 13:14 "Quintile" <steve@quintile.net> ha scritto:<= br type=3D"attribution">
I have s feeling tha= t get is a script that accesses webfs, and maybe the 9front mothers does th= e same. are you running webfs?

-Steve





> On 12 Feb 2015, at 11:02, Giacomo Tesio <giacomo@tesio.it> wrote:
>
> Hi, I'm having an hard time to debug a problem with http clients i= n
> plan9/qemu (actually 9front, but I guess my questions apply to all
> plan9 versions).
>
> DNS and ping works properly, just http fails.
>
> I suspect it's a proxy issue. I have set httpproxy environment
> variable but with no success: both hget and mothra doesn't works.<= br> >
> I can connect to the qemu host webserver on port 80 and receive the > proper page, but for any other address I can't obtain a response.<= br> >
> The proxy does not log any access.
>
> Now, to debug this issue, I'd like to telnet the proxy port and > manually forge an http request.
>
> However I can't understand hot to specify a port reading man telne= t.
>
> What's plan9 equivalent of
>
>=C2=A0 =C2=A0telnet www.google.com 80
>
>
>
> Giacomo

--001a1134882e0d74fa050ee382de--