webOS系统使用免费开源的goagent代理翻墙

2011年12月31日 | 分类: 手机翻墙 | 标签: , , ,

GoAgent在对移动平台的支持方面比其他GAE代理工具要完善一些。继对Android和iOS平台提供支持之后也开始了对webOS平台的支持,未来还计划支持WP7平台。

项目地址:http://code.google.com/p/goagent/

========

GoAgent_webOS

How to run goagent on webOS Devices.Note: This is only the client part, You should deploy the server-side part at first.Get in trouble? See FAQ section first,Or report an issue

Credit to https://code.google.com/p/systoolsmgr-service/ Source Code is here

Prerequisites

  • webOS 2.0+ (for nodejs service runtime)
  • Have homebrew-js-service-framework installed
  • Enyo rumtime. (For veer, please install hp maps in App Catalog)
  • Have goagent server deployed.

Step by step

  • Download and install com.goagent.local_1.0.0_all.ipk.You can use WQI.
  • Mount you webOS devices as USB disk drive.
  • Download goagent-local-webos-1.7.7z and python-2.6.5-webos.7z,Then extract it to root path of your webOS USB disk. Make sure the path of python is /media/internal/goagent/usr/bin/python and proxy.py path is /media/internal/goagent/local/proxy.py
  • Download CA.crt. Copy it to your webOS USB disk.
  • Edit /media/internal/goagent/local/proxy.ini , Fill in your own appid.
  • Eject your webOS USB disk drive.
  • Import Goagent Certificate(CA.cert) via Internalz pro(Open it) Or Device Info->Preferences->Certificate Manager
  • Install Proxify from preware or WQI. Add a proxy setting. Name:goagent IP:127.0.0.1 Port:8087. For Touchpad, please install proxy-set-basic.
  • Open GoAgent. Enable it
  • Open web browser, type www.facebook.com to test it.

Limitations

  • Can not play youtube video on Pre3 since goagent did not support rtsp tunnel over http.
  • For twitter, Spaz and Carbon works.
  • Other GAE limits.

FAQ

  • Not work in webOS 2.1(veer/3p etc..)?
  • Already support but have some bugs when accessing https website.Yes,currently not available for webOS 2.1 but we are trying redsocks+iptables in those devices just like gaeproxy does in android. Or you may upgrade to webOS 2.2.3, this post maybe helps(a little risky). Reason is that proxy setting API is only supported in the 3.0 and 2.2 (Pre3). Here is details.

========

GoAgent_IOS

How to run goagent on iOS Devices.Note: This is only the client part, You should deploy the server-side part at first.Get in trouble? See FAQ section first,Or report an issue

Special thanks Linus Yang for cross compiling python for iOS.

Prerequisites

  • A jailbreak iOS device.
  • Have goagent server deployed.
  • Change Cydia settings : Cydia -> Manage -> Settings -> Developer
  • SBSettings

Step by step

Todos

  • Support iOS5
  • Upgrade to Python 2.7 for iOS
  • Auto change WIFI or APN proxy settings.
  • iPhone Setting App for add custom urls to pac file.

FAQ

  • Can not find python 2.6.5 in cydia?
  • Change cydia settings : Cydia -> Manage -> Settings -> Developer or Download it from here
  • Why need to import goagent certificate?
  • The reason is same as using goagent on Windows.
  • Can not open all web pages,Error code 502,Data format at not match issue.
  • Make sure you have uploaded goagent server or php fetch server before. Check the appid in proxy.ini whether correct or not.
  • Change proxy.ini, no corresponding effect?
  • You need to restart goagent, just toggle it off then on.
  • Is goagent available under 3G?
  • Thanks for the testing by Arama(ljq…@gmail.com). See issue 1049 for details. You can try it by adding an new APN via iPhone Configuration Utility just like Onavo or 彩虹流量 or falcop does. or try change ProxyAutoConfigURLString in preferences.plist,see this link.
  • Twitter in safari alerts “403 Forbidden (Rate Limit Exceeded)”
  • GAE IPs banned by mobile twitter,You can use official Twitter client for iOS instead
  • YouTube alerts “This movie format is not supported.”
  • Caused by range fetch, m.youtube.com and youtube iOS client use different hosts which not in the autorange list.BTW Dolphin Browser and Safari with Frash both works.
  • PAC file is invalid?
  • The default port setting in pac is 8087 or 8088 (filename). Check with port setting in proxy.ini.You can use your own pac file instead. For some iOS devices, Mobile Safari seems not support local PAC file,i.e.”file://” not work.This is a known issue, see issues 873 for details.
  • What happened when toggle Goagent SBSettings Toggle on?
  • Actually Goagent SBSettings Toggle is a daynamic library will be loaded by SBSettings. When you toggle it on, The Toggle sends a command to sbsettingsd by calling notify_post(), this deamon would execute it.
  • Goagent SBSettings Toggle is No icon?
  • Only have icons for five default SBSettings themes
  • Memory usage of goagent?
  • Approximately 15Mb.
  • Do not want to install SBSettings?
  • Try the former methods or wait for new iOS APP(no ETA)
  • How to upgrade goagent manually?
  • Download latest goagent. Stop goagent and replace proxy.ini and proxy.py in /var/mobile/goagent-local.
  • The former methods like mobile terminal or rove mobile admin client is still available?
  • Yes.
  • Run python proxy.py in mobile terminal alerts “OpenSSL Module : Disabled”
  • You need to run as root.
  • Run python proxy.py in mobile terminal alerts “socket.error: errno 48 Address already in use”
  • The former python process is still runing. run “killall python”.

========

GoAgent_Android

please refer to https://code.google.com/p/gaeproxy/

========

不知道作者为何用英文写,估计是方便外国人看吧,也可能WiKi作者是个外国人,虽然我英文不好借助Google翻译也是明白个大概,有兴趣的研究下吧。

本文原始地址http://igfw.net/archives/7017

目前还没有任何评论.