9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Jack Johnson" <knapjack@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] Gmail and upas
Date: Fri, 21 Nov 2008 19:52:11 -0900	[thread overview]
Message-ID: <6e35c0620811212052n11bce732w23e8d11c516a37aa@mail.gmail.com> (raw)
In-Reply-To: <a560a5d00811210643j60f16e08gc7a5019aa928be57@mail.gmail.com>

On Fri, Nov 21, 2008 at 5:43 AM, Rudolf Sykora <rudolf.sykora@gmail.com> wrote:
> seems you use IMAP to read gmail. I usually read my gmail mail through
> my web browser, which is not a problem from opera/firefox in linux.
> However, I can't do the same from plan9. Neither abaco, nor charon
> work. Is this so for everyone or just for me? Thanks.

I remember looking into the problem with charon in the past using my
feeble skills, so I just took another peek using:

charon -dbg dnop -docookies 1 -doscripts 1 -usessl v3 -starturl
'http://mail.google.com/mail/h' -dbgfile gmail.out

and based on the URL left in the address bar and the debug log, it
looks like it fails somewhere around the last continue parameter from
the last redirect.  Authentication seems to be working; I can use
iGoogle but not Gmail.

There are some intermittent errors about SSL to
ssl.google-analytics.com, but I don't think these are critical.

One of the last requests seem to return a chunk of Javascript that
does browser detection:

https://mail.google.com/mail?view=page&name=browser&ver=1k96igf4806cy

I tried some of the tricks found around the net to turn off browser
detection with no success.  I did find that the URL redirects seem to
behave differently if I don't enable Javascript, but then it fails
very strangely at the end with what appears to be an invalid request.

The last valid request is:

https://www.google.com/accounts/CheckCookie?continue=http%3A%2F%2Fmail.google.com%2Fmail%2Fh%2F19sso9tatmt7r%2F%3Fui%3Dhtml%26zy%3Dl&service=mail&ltmpl=default&chtml=LoginDoneHtml

and then it follows up with:

GO TO https://www.google.com/accounts/'http:/mail.google.com/mail/h/19sso9tatmt7r/?ui=html&zy=l'
target frame name=
Startreq BS=12 for
https://www.google.com/accounts/'http:/mail.google.com/mail/h/19sso9tatmt7r/?ui=html&zy=l'
Chose NC=0 for BS 12, qlen=1
NC 0: starting runnetconn in connect state
http 0: dialing tcp!www.google.com!443
Waitreq
Waitpending
http 0: connected
warning: unknown header field: X-Content-Type-Options: nosniff
http 0: got response header:
HTTP/1.0 404 Not Found

which doesn't seem to match the continue parameter from the last request.

-J



  parent reply	other threads:[~2008-11-22  4:52 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-21  5:52 David Welling
2008-11-21  5:59 ` lucio
2008-11-21  5:55   ` erik quanstrom
2008-11-21 10:40 ` Robert Raschke
2008-11-21 14:14 ` erik quanstrom
2008-11-21 14:43   ` Rudolf Sykora
2008-11-21 19:51     ` a
2008-11-22  4:52     ` Jack Johnson [this message]
2008-11-22  5:05       ` Jack Johnson
2008-11-21 14:56   ` Robert Raschke
2008-11-21 15:04     ` erik quanstrom
2008-11-21 19:55       ` David Welling
2008-11-21 19:33 Eris Discordia
     [not found] <83FF65C5DEB028B86726798F@192.168.1.2>
2008-11-21 19:52 ` Iruata Souza
2008-11-21 19:57   ` Eris Discordia
     [not found]   ` <C0799AF0613ABC7136548D32@192.168.1.2>
2008-11-21 20:16     ` Iruata Souza
2008-11-21 20:17       ` Eris Discordia
     [not found]       ` <865BC52C96B175A43201158E@192.168.1.2>
2008-11-22  3:10         ` Federico G. Benavento
2008-11-22  6:48           ` Eris Discordia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6e35c0620811212052n11bce732w23e8d11c516a37aa@mail.gmail.com \
    --to=knapjack@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).