cookiesrc -> DEFAULT ACCEPT works, while gmail.com ACCEPT doesn't
The following cookiesrc file works for GMail: $HOME/.dillo/cookiesrc DEFAULT ACCEPT But this doesn't work for GMail and Google complains cookies are not enabled. $HOME/.dillo/cookiesrc DEFAULT DENY google.com ACCEPT Making this even more difficult, I found killing dpid and restart dillo was not effective, I needed to kill Xorg too to prevent loading pages from what looked like dillo was loading from cache. But after much troubleshooting for the past hour, I've determined the above scenario consistent. As soon as "DEFAULT DENY, google.com ACCEPT" is entered, Google complains cookies are not enabled every time. -- Roger http://rogerx.freeshell.org/
Forgot to mention I'm logging into Mobile Google GMail http://mail.google.com/mail/x/gp?source=mobileproducts&dc=gorganic -- Roger http://rogerx.freeshell.org/
Roger wrote:
The following cookiesrc file works for GMail:
$HOME/.dillo/cookiesrc DEFAULT ACCEPT
But this doesn't work for GMail and Google complains cookies are not enabled.
$HOME/.dillo/cookiesrc DEFAULT DENY google.com ACCEPT
Making this even more difficult, I found killing dpid and restart dillo was not effective, I needed to kill Xorg too to prevent loading pages from what looked like dillo was loading from cache.
Did you use "dpidc stop"?
But after much troubleshooting for the past hour, I've determined the above scenario consistent. As soon as "DEFAULT DENY, google.com ACCEPT" is entered, Google complains cookies are not enabled every time.
How about ".google.com ACCEPT"? Or, better yet, whatever the exact hostname is.
On Thu, Dec 08, 2011 at 05:15:19AM +0000, corvid wrote: Roger wrote:
The following cookiesrc file works for GMail:
$HOME/.dillo/cookiesrc DEFAULT ACCEPT
But this doesn't work for GMail and Google complains cookies are not enabled.
$HOME/.dillo/cookiesrc DEFAULT DENY google.com ACCEPT
Making this even more difficult, I found killing dpid and restart dillo was not effective, I needed to kill Xorg too to prevent loading pages from what looked like dillo was loading from cache.
Did you use "dpidc stop"?
well, killall dpidc and seeing no dpi* processes should do it, correct?
But after much troubleshooting for the past hour, I've determined the above scenario consistent. As soon as "DEFAULT DENY, google.com ACCEPT" is entered, Google complains cookies are not enabled every time.
How about ".google.com ACCEPT"? Or, better yet, whatever the exact hostname is.
This is weird as I look at dillo's X output. I have: DEFAULT ACCEPT google.com ACCEPT And I'm seeing behavior (output) similar to "DEFAULT DENY, google.com ACCEPT". And what I see further, stuff like wikipedia.com cookie denied, and then I see google.com's cookies accepted. Seems as if DEFAULT ACCEPT with nothing following will accept any cookie from any domain. DEFAULT ACCEPT with additional domain filters will act like "DEFAULT DENY, some_domain.com ACCEPT". Have I explain this well enough? -- Roger http://rogerx.freeshell.org/
Roger wrote:
On Thu, Dec 08, 2011 at 05:15:19AM +0000, corvid wrote: Roger wrote:
The following cookiesrc file works for GMail:
$HOME/.dillo/cookiesrc DEFAULT ACCEPT
But this doesn't work for GMail and Google complains cookies are not enabled.
$HOME/.dillo/cookiesrc DEFAULT DENY google.com ACCEPT
Making this even more difficult, I found killing dpid and restart dillo was not effective, I needed to kill Xorg too to prevent loading pages from what looked like dillo was loading from cache.
Did you use "dpidc stop"?
well, killall dpidc and seeing no dpi* processes should do it, correct?
No. dpidc is the control program that can tell dpid and the dpis to stop. And "killall dpidc" isn't going to stop the cookies dpi.
But after much troubleshooting for the past hour, I've determined the above scenario consistent. As soon as "DEFAULT DENY, google.com ACCEPT" is entered, Google complains cookies are not enabled every time.
How about ".google.com ACCEPT"? Or, better yet, whatever the exact hostname is.
This is weird as I look at dillo's X output.
I have:
DEFAULT ACCEPT google.com ACCEPT
And I'm seeing behavior (output) similar to "DEFAULT DENY, google.com ACCEPT". And what I see further, stuff like wikipedia.com cookie denied, and then I see google.com's cookies accepted.
Seems as if DEFAULT ACCEPT with nothing following will accept any cookie from any domain. DEFAULT ACCEPT with additional domain filters will act like "DEFAULT DENY, some_domain.com ACCEPT".
Have I explain this well enough?
I don't see that behaviour. It could be that you're seeing messages where dillo discards third-party cookies (if a page requests an ad image from a different site and the ad image comes with a cookie, we don't want the cookie). Or maybe everything will clear up after a good dpidc stop. Anyway, like I was wondering before: How about ".google.com ACCEPT"? Or, better yet, whatever the exact hostname is.
On Thu, Dec 08, 2011 at 09:14:43AM +0000, corvid wrote: Roger wrote:
On Thu, Dec 08, 2011 at 05:15:19AM +0000, corvid wrote: Roger wrote:
The following cookiesrc file works for GMail:
$HOME/.dillo/cookiesrc DEFAULT ACCEPT
But this doesn't work for GMail and Google complains cookies are not enabled.
$HOME/.dillo/cookiesrc DEFAULT DENY google.com ACCEPT
Making this even more difficult, I found killing dpid and restart dillo was not effective, I needed to kill Xorg too to prevent loading pages from what looked like dillo was loading from cache.
Did you use "dpidc stop"?
well, killall dpidc and seeing no dpi* processes should do it, correct?
No. dpidc is the control program that can tell dpid and the dpis to stop. And "killall dpidc" isn't going to stop the cookies dpi.
I don't think I clarified myself well enough, I'm performing: $ ps ax |grep dpi $ kill [PID's of all *dpi* related processes] At this point, since no *dpi* processes are remaining when doing ps ax, I safely assume Dillo's cookie dpi is stopped. -- Roger http://rogerx.freeshell.org/
I don't think I clarified myself well enough, I'm performing:
$ ps ax |grep dpi $ kill [PID's of all *dpi* related processes]
At this point, since no *dpi* processes are remaining when doing ps ax, I safely assume Dillo's cookie dpi is stopped.
OK. I'm now converted to using "dpidc stop" instead of issueing `ps ax |grep dpi && kill [pid's]` I did convert my cookiesrc to use the prefix dot to the domain names. I then renamed the top DEFAULT to DENY. Restarted Dillo and am now finding GMail working, although I *know* I tried the above but using the `kill pid's` method and verifying no *dpi* processes were remaining. Yes, and I double double checked for those *dpi processes!
FYI: For those interested, I'm now able to log into my GMail account with the following specified cookies enabled and using the following Mobile GMail url address. I believe some previous posters stated they were hacking around to logging into their GMail accounts due to cookie issues. Oh, and I also added .gmail.com to the list within cookiesrc. <shrugs as to whether this helped or not, logging say not so.> DEFAULT DENY .gmail.com ACCEPT .google.com ACCEPT http://mail.google.com/mail/x/gp?source=mobileproducts&dc=gorganic Enjoy. -- Roger http://rogerx.freeshell.org/
On Thu, Dec 08, 2011 at 12:49:42AM -0900, Roger wrote: FYI: For those interested, I'm now able to log into my GMail account with the following specified cookies enabled and using the following Mobile GMail url address.
I believe some previous posters stated they were hacking around to logging into their GMail accounts due to cookie issues.
Oh, and I also added .gmail.com to the list within cookiesrc. <shrugs as to whether this helped or not, logging say not so.>
DEFAULT DENY .gmail.com ACCEPT .google.com ACCEPT
http://mail.google.com/mail/x/gp?source=mobileproducts&dc=gorganic
Again, forgot to further mention I'm using the Kindle's browser agent. (Unknown if changing the browser agent currently helps, but does seem to help formating web pages better within Dillo.) -- Roger http://rogerx.freeshell.org/
Roger wrote:
FYI: For those interested, I'm now able to log into my GMail account with the following specified cookies enabled and using the following Mobile GMail url address.
I believe some previous posters stated they were hacking around to logging into their GMail accounts due to cookie issues.
Oh, and I also added .gmail.com to the list within cookiesrc. <shrugs as to whether this helped or not, logging say not so.>
DEFAULT DENY .gmail.com ACCEPT .google.com ACCEPT
http://mail.google.com/mail/x/gp?source=mobileproducts&dc=gorganic
It may be worth figuring out what set of google hosts you have to accept cookies from, since .google.com subjects you to quite a bit of tracking.
participants (2)
-
corvid@lavabit.com
-
rogerx.oss@gmail.com