Total Pageviews

Thursday, 1 March 2012

GoAgent for 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

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".
FROM https://code.google.com/p/goagent/wiki/GoAgent_IOS

No comments:

Post a Comment