yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Moronig:
Yes, it would. That parameter goes directly to iptables, so here is what it should accept. It`s taken from the iptables man page:

"Address can be either a network name, a hostname, a network IP address (with /mask), or a plain IP address. Hostnames will be resolved once only, before the rule is submitted to the kernel. Please note that specifying any name to be resolved with a remote query such as DNS is a really bad idea. The mask can be either a network mask or a plain number, specifying the number of 1's at the left side of the network mask. Thus, a mask of 24 is equivalent to 255.255.255.0. A "!" argument before the address specification inverts the sense of the address. The flag --src is an alias for this option."
[Android Apps and Games] Moronig:
Autoproxy is now on the android market. It's $1.99, but I'll continue to keep it available here. For all those who have helped in finding bugs, making suggestions or translating, I'll give you a refund on the market if you email me about it.

Market link:
[Android Apps and Games] Anakha56:
Problem with new version, it does not seem to be saving the proxy credintials. :(
[Android Apps and Games] Moronig:
Anakha56, thanks for noticing that. It looks like that has been broken for a while. Amazing that nobody noticed before. There is a new version:

Version 0.53 [22.Nov.2011]:

Fixed a bug where authentication info was not saved

Changed package name, you should uninstall the old version before installing this one.
[Android Apps and Games] min1968:
Hi used 0.33 works pretty good except one issue: it sometimes caused Chinese display messed up. Symptom:

1) Browser software (certain webpage reader) got Chinese characters unreadable.

2) when posting message to forum, show Chinese correctly while typing on my phone, but the text posted on web can not be read.

If disable autoproxy, all above cases were showing Chinease correctly.
[Android Apps and Games] Anakha56:
Thanks for the quick fix :). Just bought the copy off the market as well, have been a user for a long time and its about time I showed my support. Thanks for the great app ;).
[Android Apps and Games] NeoMatrixJR:
Works Perfect! Thanks for the awesome proxy!
[Android Apps and Games] Moronig:
New version available, now FREE on the market.

Version 0.54 [23.Nov.2011]:

This version and the future ones will be available on the market. Check it out here.

Fixed a bug where app would crash if you changed notification options while connected

Fixed a bug where it would falsely show as connected if superuser permission given to redsocks, but not to iptables.

Updated german and french translations. Thanks elec.ted and Atomusk

Added lite version (free, ad-supported) in market.

Please rate it and leave a comment if you like autoproxy
[Android Apps and Games] Anakha56:
For some reason I cannot get the update over the market... :?
[Android Apps and Games] jaker44:
Hi Moronig,

This app looks very good but I can't use it due to no support for proxy.js file. My work place uses proxy.js file. Is it possible to add support for proxy.js file? Thanks for all your hard work.
[Android Apps and Games] Moronig:
That is probably a renamed proxy.pac file. Try to enter the address to it on the host field, and set the proxy type to PAC. If you send me a copy of the proxy.js file, I can check it for you.
[Android Apps and Games] jaker44:
Hi Moronig,

When I tried your above suggestion, I am getting following error on the auto proxy.

The application autoproxy lite (process com.mgranja.autoproxy_lite) has stopped unexpectedly. Please try again. with option to force close or report.

I have sent you a PM of the proxy.js file. For more info of my auto proxy problem

you can read my prvious post # 214 in this thread.

Thanks a million,

jaker44
[Android Apps and Games] Moronig:
I sent you a PM about this. Next time you get the Force close message, please use the report button so I can get the error information.
[Android Apps and Games] Moronig:
The update is there now.
[Android Apps and Games] jaker44:
I have sent you a PM and used report button to send you the error report.

thanks.
[Android Apps and Games] Moronig:
New update, now runs on all tablets!

Version 0.56 [28.Nov.2011]:

This version and the future ones will be available on the market. Check it out here.

Added compatibility to Honeycomb (Android 3.x)

Added compatibility to Ice Cream Sandwhich (Android 4.0)

Fixed a bug that prevented app from running on Donut (Android 1.6)

Added polish translation (thanks Devastator)
[Android Apps and Games] Moronig:
jaker44, I got your error message. Please try the new version (0.56)
[Android Apps and Games] jaker44:
I tried the new version (0.56) and the result is auto proxy does not crash anymore with any error but does not connect when I use proxy config script js file. If I use proxy and port it shows connected but I still can't access the internet with stock browser.

thanks,

Update: I upgraded my stock android firmware from 2.2.1 to 2.3.3, re-rooted the phone and tried the autoproxy version (0.53 and 0.56) with same result no connection. Just more info about my phone if it will help you to find the solution. Phone: Lg p500h, Service provider: Telus Canada, Firmware running: 2.3.3, software: LG-P500h-V20a, autoproxy version: 056 with the following settings proxy host: http://browsers.xxxx.com/ie/proxy.js, proxy port:n/a, proxy type: pac. When I select connect it shows downloading PAc file then it flashes disconnected and closes. Hope you find solution for this.

Note: in proxy host address company name is replaced by X.

thanks,

jaker44
[Android Apps and Games] Danester:
Autoproxy Lite Always Showing Connected

Hi Moronig,

I have an HTC Sensation 4G, running Android 2.3.3.

I installed Autoproxy Lite version 56. Without a proxy the software shows connected at all times. When I try pressing disconnect, stopping redirector comes up for a second as well as a box with :

failed to stop proxy(not found)

busybox:not found

rm failed for /data/data/com.mgranja.autoproxy_lite/files/redsocks.conf,No such file or directory).

Then installed a proxy and tried to disconnect and I get the same as above. I tried rebooting, uninstalling and reinstalling and the same problem occurs.

thnx

Danester
[Android Apps and Games] Moronig:
Danester, thanks for the report. I'm working on a fix now.
[Android Apps and Games] kynax:
I'm having a similar problem.

I'm on an Optimus 2X running Cyanogenmod 7.1.

I manually set my proxy (host and port, no authentication) and click connect. Via logcat, I see that it's connecting and there are no errors. However, nothing works.

Note that I'm trying to access a proxy I own in the US via 3G.

PM me if you'd like me to run some tests.
[Android Apps and Games] wanderingcat:
Thank you very much again, op! Good job!

多谢多谢,非常感谢!!!
[Android Apps and Games] hadobac:
Hey guys,

I would love to try out autoproxy, however I'm currently on ICS, and have no 3G connection. Would anyone minds sharing the link of the current version?

Thanks in advance!!!
[Android Apps and Games] bringonblink:
ICS is meant to already have proxy settings
[Android Apps and Games] jaker44:
lionhe,

I am having exact same issues with my work proxy as you are having. The difference is

my phone is LG P500h with 2.3.3 stock firmware. I have been playing with all kinds of different apps and things to find a solution for this. If you find any solution please let me know. I am waiting for Moronig to come up with some solution and I am sure in due time he will. I have sent you a pm.

Thanks,

jaker44
[Android Apps and Games] hadobac:
Yes, ICS does have proxy setting, but it only works with the original Browser app. I want the proxy setting to be applied on the whole system :((

And again, can somebody upload the apk for current version please! :D
[Android Apps and Games] Moronig:
bugfixes, new download links

Version 0.57 [02.Dez.2011]:

Added Thai translation

Fixed SQlite errors caused by multiple simultaneous access to the database

Autoproxy is now on the android market, SlideMe Store and Amazon appstore. It's $2.95. For all those who have helped in finding bugs, making suggestions or translating, I'll give you a refund on the market/paypal if you email me about it. There is also a lite version, free but ad-supported on the market, slideMe and getjar.

Lite Version:

hadobac,

If you can't download the latest version from one of those places, send me a PM and I'll email you the latest version.
[Android Apps and Games] muralikrishna.varma:
autoproxy app not working

Thanks for the great work Moronig.

my ROM supports wifi proxy, when proxy is configured thru wifi setting i am able to browse thru web but no apps.

i am trying to get autoproxy worked on my new rooted galaxy note, however it doesn't show any error while connecting to autoproxy but nothing works

My work network is username authenticated http proxy.

Browser and no apps work with proxy

Version : Auto Proxy 0.33

Phone : Galaxy Note Android 2.3.6 rooted

iptables : 1.4.7

iptables OP

iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to 8123

iptables -L -n -t nat

# cat /proc/net/ip_tables_targets
ULOG
REJECT
MASQUERADE
LOG
DNAT
SNAT
ERROR
# cat /proc/net/ip_tables_names
nat
mangle
filter
# cat /proc/net/ip_tables_matches
state
owner
mac
conntrack
conntrack
icmp
multiport
udplite
udp
tcp
#

no errors in redsocks.log

1323329229.270425 main.c:144 main(...) redsocks started
1323329229.271043 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:38810->127.0.0.1:8123]: accepted
1323329229.693464 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:58255->127.0.0.1:8123]: accepted
1323329451.786555 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:40943->127.0.0.1:8123]: accepted
1323330877.238074 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:34321->127.0.0.1:8123]: accepted
1323330879.092928 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:44129->127.0.0.1:8123]: accepted
1323330885.463092 main.c:144 main(...) redsocks started
1323330885.464760 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:59764->127.0.0.1:8123]: accepted
1323330885.655802 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:49063->127.0.0.1:8123]: accepted
1323330891.050384 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:39239->127.0.0.1:8123]: accepted
1323330898.016126 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:43582->127.0.0.1:8123]: accepted
1323330954.010532 main.c:144 main(...) redsocks started
1323330954.010746 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:48381->127.0.0.1:8123]: accepted
1323330962.701145 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:32987->127.0.0.1:8123]: accepted
1323330981.093384 main.c:144 main(...) redsocks started
1323330981.093584 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:49655->127.0.0.1:8123]: accepted
1323331186.437665 main.c:144 main(...) redsocks started
1323331186.438590 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:49007->127.0.0.1:8123]: accepted
1323331422.422822 main.c:144 main(...) redsocks started
1323331422.424027 redsocks.c:604 redsocks_accept_client(...) [127.0.0.1:48752->127.0.0.1:8123]: accepted

sent tproxy.log to ur ymail account

Please help me to get it worked.
[Android Apps and Games] hadobac:
I have already PMed you, have you got the message yet?
[Android Apps and Games] rambo123456:
test fail

i test on my milestone, but it doesn't work . i show you some of the content in redsocks.log . i have no idea what's happenning . this log wasn't got by autoproxy. i got it by using redsocks and some shell scripts look like transproxy's shell scripts.

redsocks.log

when i loaded a page, the progress bar was stop after a while . and the browser showed nothing .

i have iptables in /system/bin and rom is MIUI 2.3.7(base on CM7)

if you need the scripts ,i'll show it to you.

add: i have send you the logs got by autoproxy by mail.
[Android Apps and Games] Moronig:
rambo123456, can you try the newer version? It's likely your issue was already fixed. Thanks!
[Android Apps and Games] Moronig:
muralikrishna.varma, any news on this? I've replied to your email a while ago. Please report if it's working.
[Android Apps and Games] rambo123456:
yea~~ the latest version is working on my phone!!!

so thanks, thanks for your good job.~~~~:D
[Android Apps and Games] muralikrishna.varma:
I gave it a try with AutoProxy Lite 0.57.1 Lite edition available on the market, still didn't work for me

sending tproxy and redsocks log to your yahoo account

Thank you
[Android Apps and Games] HenriFred:
Hi

I need help...

I want to try Autoproxy Lite (0.57.1 from the Market), but I can't make it work on my SGS.

My config :

Android 2.3.6, ROM Simplicity 2.1

Kernel Semaphore 2.1.1

When I click "Connecter à ce proxy" (I'm French), I have this message :

Failed to start redirect.sh (

iptables v1.3.7: can't initialize iptables table 'nat': iptables who? (do you need to insmod?)

Perhaps iptables or your kernel needs to be upgraded.

Thanks.

Editing :

I found the solution. If it can help :

It was a kernel configuration problem. I had to open Semaphore application, and check Netfilter under Kernel features.

That's all !
[Android Apps and Games] tpy:
Only with proxy name and no proxy host

Hey guys, new to this forum. Have been haunted by the problem of unable to to enter proxy authentication for my uni's network, glad when came across trnasproxy and autoproxy, nice work!!

But, a problem occur, i only have the host name for my network proxy( not the address), thus unable to get a connection( host unresolved).

Any advice for this issue? thanks in advance.

---------- Post added at 05:12 AM ---------- Previous post was at 04:42 AM ----------

Finally got the proxy host from somewhere....problem solved.
[Android Apps and Games] AceRoom:
Temp Root

Does this work on temp root systems?

Maybe I'm just doing something wrong cause I wasn't able to get Autoproxy, Transproxy nor Proxydroid to work.

I have a HTC Wildfire S (S-ON).

Gingerbread 2.3.5

Temp root with busybox.

iptables is installed as far as I can see (iptables -L -n -t nat yields some positive feedback).

I am behind a basic http authenticated proxy.

Any help would be greatly appreciated. Thanks.
[Android Apps and Games] Moronig:
AceRoom, what happens? Do you get any error messages? You can send me the logs so I can take a look.
[Android Apps and Games] AceRoom:
I have sent a mail to your gmail account. Thank you.
[Android Apps and Games] Homer_S_xda:
Is there a difference between the Lite and Purchase version?

Homer
[Android Apps and Games] joefatifaiz:
Hello,

I really need your help,

I use galaxy tab 8.9” (P7300) connected to my office wifi network (with proxy & authentication).

using wifi setting on gtab 8.9”, browsing is so smooth, but not for other applications such market/news reader/facebook. Here I figured out that the browser must run first to “enable” other apps to connect to the proxied/authenticated network. Unfortunately, when the browser connection session is “expired” (this happened when the browser is on standby position about one minute), other apps lost its connection and I must refresh the browser so that the other apps can connect again to the network.

One day my friends told me to try proxydroid. I installed it and it worked! I was so happpy. but unfortunately, proxydroid suddenly not working in just two days after installed, and so did my friends. We searched other app to replace proxydroid.

later I knew an apps called transproxy. I installed it with some modification on permission (the location is on : data/data/com.hasbox.tproxy) I change the permission of 3 files : proxy.sh, redirect.sh and redsocks, I check all permission : read, write, execute for these three files. And it worked flawlessly.

But it no longer work again because about two weeks we used it , the transproxy suddenly not working. and my friends (with different android handheld : gtab 8.9 & SGSII) were just the same too. We cannot connect to our network with transproxy. I contacted our IT staff and he said there were no change in the network setting, so the problem must be on the handheld.

I tried some other apps and the last was autoproxy lite from the market, but until this day I got nothing from it, still cannot connect to the network.

I use iptables 1.3.7/1.4.7/1.4.10 and all give me no connection. Mine is rooted gtab 8.9” (3G wifi) runs on honeycomb 3.2, kernel 2.6.36.3

Sorry for the long description and bad english. I post my problem here because autoproxy is the succesor of transproxy, and I hope you can give me solution about this problem. Thanks for your help

And this is the result from emulator,

Iptables –L –n –t nat

Chain PREROUTING (policy ACCEPT)

Target	prot opt source	destination

Chain INPUT (policy ACCEPT)

Target	prot opt source	destination

Chain OUTPUT (policy ACCEPT)

Target	prot opt source	destination

Chain POSTROUTING (policy ACCEPT)

Target	prot opt source	destination
[Android Apps and Games] Moronig:
on the purchase version, the ads are removed, you get autoconnect, and help the dev.
[Android Apps and Games] jesus1o1:
Prove it thanks.
[Android Apps and Games] P4K:
https don't work

I just bought this app, Thanks because this is the only way that helped me to run the app with my 3G connection.

I have a problem, however,I can not open https links from stock browser.

I'm on Nexus S with Android 2.3.6 .

gmail, market, twitter, facebook works
[Android Apps and Games] Moronig:
P4K, can you try a couple times to access https, then send me the logs ? They are located in /data/data/com.mgranja.autoproxy/app_logs/
[Android Apps and Games] Moronig:
I'm sending you a PM
[Android Apps and Games] AceRoom:
Hey, thanks for your help. In the end, I couldn't manage to get AutoProxy work. However, ProxyDroid did manage to work but not without a fight! ;)

The "DNS Proxy" option did the trick. Perhaps you could add that to AutoProxy too. It would be a nice feature. If you need any logs, let me know.

Thanks again. :)
[Android Apps and Games] P4K:
the strange thing is that I can not see the log file, I tried to use two file explorer programs ( File expert and Astro )
[Android Apps and Games] Moronig:
You need to enable the logs on the autoproxy options
[Android Apps and Games] P4K:
That option is checked but log seems does not work.. I've also tried to enable/disable/restart ecc but the log does not appear.. maybe folder writing permission :confused:

I have the italian version, there are also some minor issues with translation, if you want I can help you with this.
[Android Apps and Games] the_gunners:
how to put link for the proxy.pac, can not find it in the setting ?
[Android Apps and Games] laif:
Hi Moronig,

Thanks for your work on this app. I seem to be able to get your "AutoProxy Lite" app working with and ordinary anonymous http proxy - however, I can't get the pac configuration file to work properly.

I seem to be experiencing the same problem that jaker44 mentioned. When I press the connect button, it shows three popup messages:

- "Downloading PAC file"

- (some message that flashes too fast for me to read)

- "Disconnected"

There isn't even any text added to the tproxy.log file - so I couldn't do any further digging to try to figure out what that middle message was about.

After some testing, it seems to me that you are expecting a very unique form to the value that FindProxyForURL returns. Your application is more picky than ordinary web browsers are.

The .pac file I'm using is at:

http://www.neutralitysign.net/webposts/xda/theproxy.pac

Would you be kind enough to tell me where I'm going wrong, there? If you need any further information, just let me know.

_________

_________

My phone specs, if they would be helpful:

Model: Google Nexus S phone

Android version: 2.3.3

App version: 0.57.1 lite

Proxy type: http

IP Tables version: 1.3.7
[Android Apps and Games] the_gunners:
I'm not able to connect to the proxy.pac link :

Http://10.128.134.105/proxy.pac

Just disconnected
[Android Apps and Games] laif:
Sounds like the same problem, the_gunners :(. I think we're in luck, though. I believe Moronig is checking this message thread at least every few days.

BTW, it appears as if the link you shared to your pac file is actually on your local network. You'll need to upload to a filesharing site or some such place, if you want the developer to take a look at it.
[Android Apps and Games] Enzissimo:
I tried to connect in an HTTP wifi with login user and password in which there is a wpad.dat file for the autentication but it fault...what can i do? Android is 2.3
[Android Apps and Games] eminarcissus:
Really brilliant app. Thx for your hard work.

HTTP proxy and socks proxy works like a charm, but PAC rule proxy failed a lot which likely depends on the structure of PAC writing.

So here is some of my thoughts which might make it much more applicable if it could be implemented:

1.Support proxy rule order.(Including moving upward or downward)

2.Import & Export proxy rule from/to file.(It will be a hard work to main such a list by manipulating a phone or tablet. But much more easier to do it so on computer etc.)

3.If it is possible to maintain multiple proxy route into one proxy rule list. That will be much more better.

4.Support proxy over HTTPS(google Secure Web Proxy - The Chromium Projects for more)

Why I hoping so is because most of people do use proxy to bypass their firewall settled to control user's communication. So privacy play a big role on it. PAC rule will not support any secure connections(Socks5 does so but it will not support authentication lol,Chromium is the only one support HTTPS PAC statement to secure their proxy talks so far)

So, we could leave Pac alone and write ourself own proxy rules like a route table with multiple socks5 or https proxy list with authentication will absolutely solve the problem, and such approach I think it also will not be a big problem on implementation.

BTW, thx for your hard work. I do really really appreciate it(especially for Chinese residents :)
[Android Apps and Games] Moronig:
Thanks, and you got some pretty good suggestions, I`m going to add them to my todo list.
[Android Apps and Games] pwel:
"not connected error" with proxy.pac

Hello,

I tried to import the proxy.pac file from my work's server. I have the type set to pac and the correct path/filename for the proxy.pac file. But when I connect it states: Error downloading PAC file (are you connected?).

When I copy/paste the full name/path of the file in my browser, it immediately downloads the file, so it seems my phone can see the file.

Any hints?
[Android Apps and Games] Moronig:
Try using the ip address of the server.
[Android Apps and Games] pwel:
does not help unfortunately
[Android Apps and Games] theshowman:
A question (that may have been asked before)

Do you know if the default email client works with an HTTP proxy?
[Android Apps and Games] Goldenmeadow:
LG Optimus 2x - stock ROM - rooted - Autoproxy?

Hi!

I need to bypass my provider's port limiting. So I rooted my LG Optimus 2x ans installed autoproxy v0.33 - free one to try.

I'm not sure if my stock ROM "has an iptables binary with nat support" (from first post).

So I run (as su):

iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to 8123 (as per second post)

and got following:

FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378

So I guess something needs fix?

Then afer command:

iptables -L -n -t nat

I got couple lines with one like this:

REDIRECT tcp -- 0.0.0.0/0 !10.128.1.69 tcp dpt:80 redir ports 8123

Does it mean that Autoproxy working?

To me it looks like it's OK, but I'm not sure...

And what version is better to run: v0.33 or light one from the market?

Thanks for any input!!!