[clug] Android devices behind transparent proxies, and squid extension_methods

Edward C. Lang edlang at edlang.org
Mon Aug 2 07:53:53 MDT 2010


Hi,

I'm trying to update various applications on my Android phone using wifi
and behind a transparent squid proxy. It fails when it tries to use a
non-standard HTTP request method.

In the squid access.log:

1280755618.566    737 magic-phone TCP_MISS/200 709 POST http://android.clients.google.com/market/api/ApiRequest - DEFAULT_PARENT/127.0.0.1 application/binary
1280755618.873    893 magic-phone TCP_MISS/200 18069 POST http://android.clients.google.com/market/api/ApiRequest - DEFAULT_PARENT/127.0.0.1 application/binary
1280755624.670     10 magic-phone NONE/400 1935 NONE error:unsupported-request-method - NONE/- text/html
1280755625.248      0 magic-phone NONE/400 1935 NONE error:unsupported-request-method - NONE/- text/html

In the squid cache.log:

2010/08/02 23:27:04| clientParseRequestMethod: Unsupported method attempted by magic-phone: This is not a bug. see squid.conf extension_methods
2010/08/02 23:27:04| clientParseRequestMethod: Unsupported method in request '___'
2010/08/02 23:27:04| clientProcessRequest: Invalid Request
2010/08/02 23:27:05| clientParseRequestMethod: Unsupported method attempted by magic-phone: This is not a bug. see squid.conf extension_methods
2010/08/02 23:27:05| clientParseRequestMethod: Unsupported method in request '___'
2010/08/02 23:27:05| clientProcessRequest: Invalid Request

Anyone able to suggest where I can start looking? It seems that when
people come across this problem, the beginning non-standard request is
present where I have four underscores. Searching for "android
transparent proxy" and "android transparent proxy app store" brings up
many pages about running TOR on android, which I don't want. 

Does the Android app store use subversion? Would something like this
help?

    http://groups.google.com/group/EtoE/msg/ff7a22c70bf5c9b4

Or this?

    http://www.squid-cache.org/mail-archive/squid-users/201003/0387.html

Turning the debug_option to ALL,9 in squid didn't give me anything
obviously useful.

Regards,

Edward.

-- 

http://edlang.org/


More information about the linux mailing list