yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] yuluyi:
tested with the built in test function of Drony. Tried with url htt p://v. yo uku. com /pla yer/1 and return DIRECT.

Then i deleted the pac file to

function FindProxyForURL(url,host){

if(shExpMatch(url,"http:/ /v. youk u.com/ pla yer/*"))

return "PROXY proxy. uku.im:80";

else return "DIRECT";}

Tested again with htt p://v. youku.com/ player/1

Return DIRECT again. Device is Nexus 5. Android 4.4

It works on chrome and IOS
[Android Apps and Games] SandroBSupp:
Ok. Will investigate and let you know asap.
[Android Apps and Games] SandroBSupp:
Found the problem. it always add also port to url before goes to test. Changed that port is not added for 80 and 443 ports

public String toStringNoQuery() {

if (_scheme.equals("")) return "NULL URL";

StringBuffer buff = new StringBuffer();

buff.append(_scheme).append("://");

buff.append(_host);

if (_port != 80 && _port != 443){

buff.append(":").append(_port);

}

return direct(buff).toString();

}

Used is this function:

http://jsperf.com/shexpmatch

Will create hotfix and put it to market asap.
[Android Apps and Games] SandroBSupp:
New version is on Google Play. Please try if it works for you.
[Android Apps and Games] yuluyi:
Test url now returns correct proxy. But I still can't see it working. Please try the pac file i provided with this url.htt p://v.youku.com/v_show/id_XNjM4MDMxMTky.html?x

If the proxy working, you should be able to play the video. Otherwise it will prompt video can only be streamed within mainland China. Tested with Chrome.
[Android Apps and Games] SandroBSupp:
Please send more details how to test this video streaming to supp.sandrob@gmail.com
[Android Apps and Games] ZoldarVL:
Chrome and Reduce data usage

Hi,

I've been using Drony for quite some time now and it's great. Unfortunately some apps ignore android proxy settings which is a drag, but that's another story not to be blamed on Drony ;)

The other day I installed the Chrome browser on my Galaxy SIII (i9305) and it doesn't work with Drony. When I switch back to the stock browser everything works fine. I did some investigation and found that the 'Reduce data usage' setting in Chrome is somehow responsible. When it's on Drony doesn't work when it's off Drony does work :)

From the log:
[Android Apps and Games] Apocalypse~:
Chrome's 'Reduce data usage' uses its own proxy to reduce or compress the data, which in turn conflicts with any proxy. (Even basic, let alone drony) Similar to Opera's off road mode and maybe, Dolphin jetpack.
[Android Apps and Games] SandroBSupp:
Yes, That's true. I'm looking at the code if can be changed but not there yet...

https://codereview.chromium.org/27221002/

https://chromium.googlesource.com/chromium/src/+/master/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc

net::URLFetcher* DataReductionProxySettings::GetURLFetcher() {

std::string url = GetProxyCheckURL();

if (url.empty())

return NULL;

net::URLFetcher* fetcher = net::URLFetcher::Create(GURL(url),

net::URLFetcher::GET,

this);

fetcher->SetLoadFlags(net::LOAD_DISABLE_CACHE | net::LOAD_BYPASS_PROXY);

Profile* profile = g_browser_process->profile_manager()->

GetDefaultProfile();

fetcher->SetRequestContext(profile->GetRequestContext());

// Configure max retries to be at most kMaxRetries times for 5xx errors.

static const int kMaxRetries = 5;

fetcher->SetMaxRetriesOn5xx(kMaxRetries);

return fetcher;

}

It would be interesting to implement this feature directly in Drony :)

http://productforums.google.com/forum/#!topic/chrome/jsaWrSRMxXY

The authentication mechanism is proprietary so we will not be sharing those details - sorry.

We have no plans to provide this proxy service for browsers other than Chrome. Doing so is potentially difficult since many of the optimizations we perform (e.g., dealing with WebP and SPDY support) are Chrome-specific.
[Android Apps and Games] Apocalypse~:
I had a question. Have you used OPENVPN? It uses a VPN profile (.ovpn) and also has an option to add proxy. Using that, I can easily connect to apps which don't otherwise use proxy, like whatsapp and Facebook messenger. Is it possible to do that without actually using a VPN, as it is generally slow (the free ones, anyway) or emulating a local VPN or something like that?

Love the app, btw. Helps me a lot in college. :D
[Android Apps and Games] SandroBSupp:
Hi,

Please send mail to supp.sandrob@gmail.com.

Will send you apk so you can test if it works for your case.
[Android Apps and Games] imdrone:
Can't connect

Hello,

I'm using genymotion to emulate Android S4. I want to run proxy globally on the virtual machine, I set my wifi proxy to localhost:8020 and inside Drony I set everything right, but it doesn't connect me anyway. After I click ON I get this:

Not listening on 127.0.0.1:8020

Not listening on 127.0.0.1:8019

Any ideas what I could try?
[Android Apps and Games] leandropazc:
Hi, I work in a very restricted network. The DNS server that I am using only resolve internal address so it can't resolve any internet address and using an external one is not a option. Therefore, my browser is not working when Drony is on. Any way to around this?

A friend of mine has an iPhone and he is using Shadowrocket app. When he try to reach Internet it does using the URL instead the IP address. It is possible to acomplish the same with Drony app? In the case of a negative answer, can I ask why? It is an Android limitation?

kindly regards

Edit: I am using Drony through mobile data network. The configuration was made using "Setting for no listed network". This app is the best option I found for my apps can access to the internet without having to root it.
[Android Apps and Games] SandroBSupp:
Try to use dnscrypt in drony wifi settings.
[Android Apps and Games] leandropazc:
That makes sense even when I using it through mobile data network?
[Android Apps and Games] SandroBSupp:
If you want to be sure that dns is valid, yes.
[Android Apps and Games] leandropazc:
Just to be sure, Drony can't work without valid DNS server?

Why is not possible to send all query to a proxy server, for example squid, using the URL of the request?

In my company are afraid of data exfiltration through DNS query. :rolleyes:

regards
[Android Apps and Games] SandroBSupp:
Drony can work with any dns server or without.

Trick is that is using vpn mode to intercept traffic. There you get tcp/ip adresses.

If your proxy will work with those tcp/ip addresses, you don't need dns server.

Otherwise Drony tries to convert those tcp/ip back to hostnames.
[Android Apps and Games] thierrybo:
difference "local dns mapping" - "use local ds mapping" / "use local dns common list"

Hi,

sorry but I have difficulties understanding the difference between

"local dns mapping" - "use local ds mapping"

and

"local dns mapping" - "use local dns common list"

what is the common list here?
[Android Apps and Games] SandroBSupp:
Use dns cache. Local dns mapping is feature to mostly block some sites by map dns requests to non existing ips.

https://www.youtube.com/watch?v=kyc0Nw58rkE
[Android Apps and Games] leandropazc:
Hi, with the last update the app is not working as before. When it starts the VPN is not created, just the local proxy is working. By the way, it stops frequently.

On the other hand, this time configuring the APN for Drony proxy the request is made using the URL. :svetius: :D Google Chrome, Play and others apps are working well using this method.

I'm using Drony in Android 9 Pie.

Regards
[Android Apps and Games] SandroBSupp:
Please send me more info/logs to supp.sandrob@gmail.com. Will try to fix it.
[Android Apps and Games] karagahnamod2:
No working
[Android Apps and Games] shark127:
Edit: It seems that I cant connect to the internet while drony is on. In the Connections tab, Drony is showed as V as in OK, but my browser has an X mark next to it. What could be the problem? I'm using "settings for not listed netwroks", added my SOCKS5 hostname and port. Here is the log https://pastebin.com/gngjkphx
[Android Apps and Games] Broked:
Hi,

thanks for dedicating time to this project.

This may be already answered.

Is it possible to create a proxy with the 3/4g connection, secured by user and password and using this from my pc with out those being on the same network?

Thanks you in advance, appreciated!
[Android Apps and Games] maxiedaniels:
Direct mode is as default still killing emulator connection

Direct mode is as default, is supposed to allow all connections as normal, no? I'm running the Genymotion emulator and when I enable Drony, it kills the emulator connection. I know the local network IP that the emulator is communicating over, but adding a filter for that didn't work. So instead, I set the filter default to Direct, and only made *one* app use the Drony proxy. However, it's still killing the emulator connection! What am I doing wrong here?
[Android Apps and Games] badvag:
I wanted to thank the developer of this application, this program helps me in my work. Where I am I can not access the cellular network (3G or 4G) and the only exit is the Wi-Fi network with locks in proxies.

I was trying normal access to the whole Internet with the default settings, but now I can not access WhatsApp, PlayStore. Drony can not connect to the test address: http://secureandroidbrowser.blogspot.com/2016/11/drony-testing-site.html

I have tried some solutions presented here (DNS settings) and read some posts. Maybe it can be resolved via proxychain configuration.

There are lots of posts and I do not know if there is any quicker and easier solution, could anyone help?

Attached two pictures from my Drony app.
[Android Apps and Games] badvag:
I discovered my problem: Drony stopped working after I uninstalled the Xposed (systemless SDK26). My phone is rooted. I tried several settings in Drony without success. So I installed ProxyDroid, and I realized that it crashed Magisk, did not let Magisk work. So I read that for Magisk to work I needed to disconnect the network, that's what I did. And Magisk returned to normal and I gave root permission to ProxyDroid. And the internet access has returned to normal. I did not know that Drony would have problems with rooted phones.
[Android Apps and Games] Kabil99x:
Hello guys

Can someone tell me how can I proxy DNS when using SOCKSv?
[Android Apps and Games] califdimeh:
Connection issues

Sorry if this question is redundant or going about it the wrong way, below is the error I get while trying to connect drony with 911 socks using my mobile network. Thank you.

ConnectionHandler got an error : java.net.SocketTimeoutException: failed to connect to /10.116.194.23 (port 5000) after 30000ms

ConnectionHandler got an error : java.net.SocketTimeoutException: failed to connect to /10.116.194.23 (port 5000) after 30000ms

ConnectionHandler got an error : java.net.SocketTimeoutException: failed to connect to /10.116.194.23 (port 5000) after 30000ms

ConnectionHandler got an error : java.net.SocketTimeoutException: failed to connect to /10.116.194.23 (port 5000) after 30000ms

ConnectionHandler got an error : java.net.SocketTimeoutException: failed to connect to /10.116.194.23 (port 5000) after 30000ms

ConnectionHandler got an error : java.net.SocketTimeoutException: failed to connect to /10.116.194.23 (port 5000) after 30000ms

ConnectionHandler got an error : java.net.SocketTimeoutException: failed to connect to /10.116.194.23 (port 5000) after 30000ms

Twitter<->10.199.212.2:8080

Twitter<->10.199.212.2:8080

Twitter<->10.199.212.2:8080

Twitter<->10.199.212.2:8080

Twitter<->10.199.212.2:8080

Twitter<->10.199.212.2:8080

Chrome<->216.58.223.234:443

ConnectionHandler got an error : java.net.SocketTimeoutException: failed to connect to /10.116.194.23 (port 5000) after 30000ms

Chrome<->216.58.223.234:443

addDnsServer add to vpn: 10.109.7.17

addDnsServer add to vpn: 10.109.7.81

interfaceAddress: /10.155.70.31/8 [null]

interfaceAddress: /127.0.0.1/8 [null]

interfaceAddress: /::1%1%1/128 [null]

addRoute : 172.16.0.0/12

addAddress : 172.16.0.1/12

Proxy listening on 127.0.0.1:8020

Proxy listening on 127.0.0.1:8019
[Android Apps and Games] leonardus_magnus:
hello,

after struggling a while, I ask for some help/advice...

1. other devices connect perfectly to my work WI-FI while my device (Huawei MATE 7 with Android 6) does NOT.

2. until few weeks ago, it connected

Here are some logs

A. DRONY

Google Play Services<->mtalk.google.com:5228
Google Play Services<->108.177.97.188:443
Error writing back to the browser : java.net.SocketException: sendto failed: ECONNRESET (Connection reset by peer)
IOException ioe writing to output stream : java.net.SocketException: sendto failed: ECONNRESET (Connection reset by peer)
MMITest<->http://www.google.com/ : 200 OK
WhatsApp<->http://clients3.google.com/generate_204 : 204 No Content
WhatsApp<->31.13.93.54:5222
MMITest<->http://connectivitycheck.android.com/generate_204 : 400 Bad Request
MMITest<->http://connectivitycheck.android.com/generate_204 : 407 Proxy Authentication Required
Google Play Services<->googleads.g.doubleclick.net:443
addDnsServer add to vpn: 172.25.4.61
addDnsServer add to vpn: 172.25.4.51
interfaceAddress: /127.0.0.1/8 [null]
interfaceAddress: /::1%1%1/128 [null]
interfaceAddress: /10.48.77.12/24 [/10.48.77.255]
interfaceAddress: /fe80::86db:acff:fedd:bb36%wlan0%9/64 [null]
addRoute : 172.16.0.0/12
addAddress : 172.16.0.1/12
Proxy listening on fe80::86db:acff:fedd:bb36%wlan0:8020
Proxy listening on fe80::86db:acff:fedd:bb36%wlan0:8019
Proxy listening on 127.0.0.1:8019
Proxy listening on 127.0.0.1:8020
Proxy listening on 10.48.77.12:8019
Proxy listening on 10.48.77.12:8020

B: chrome using HTTPS option in drony

Drony encountered an error trying to retrieve
GET http://lego.com/ HTTP/1.1
Host: lego.com
Connection: keep-alive
Cache-Control: max-age=0
Save-Data: on
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Linux; Android 6.0; HUAWEI MT7-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7
The error was :

Handshake failed
at org.sandroproxy.drony.net.b.k.a(URLFetcher.java:314)
at org.sandroproxy.drony.net.b.k.a(URLFetcher.java:51)
at org.sandroproxy.drony.net.e.a.run(ConnectionHandler.java:170)
at java.lang.Thread.run(Thread.java:833)

c: chrome using PLAIN HTTP option in drony

(see image in attachment)

It' something about autherntication or certificates... :crying::(

Thanks for your help
[Android Apps and Games] vidabela:
have any way to hide proxy connection? i bypass one app with drony but others app can check if have an proxy added on android system, there any way to bypass?
[Android Apps and Games] Kekko84:
Hello,

Currently I'm having a problem that it doesn't show me wifi connections (No data found here),I premise that permissions etc have already been granted and I've already tried clearing cache,clear storage etc.

The problem occurs on the following devices

Alcatel-5030F

Alcatel-5002H

they both have Android v10 with Google play system update 2020-05-01.

any tips?

thanks in advance!
[Android Apps and Games] fbalu:
Hello Kekko84,

You should check the permissions from the Android apps permissions panel.

Perhaps Drony is not able to check all the permissions required on your new Android device.

Regards.
[Android Apps and Games] fbalu:
Hello everyone,

I'm looking for a way to check Drony proxy is ON and to force it to be ON when on WiFi.

I'm using Automate wonderful application.

Has anyone an idea of how to accomplish that ?

Cheers.
[Android Apps and Games] mimi77:
i unlock my miaccount with unlocktool but not fully unlocked there is relock problem after reset or update...can i solve this for fully unlock with drony apk?
[Android Apps and Games] SandroBSupp:
Interesting idea. To have then local vpn server emulation on android? Will look at it. Maybe can be done.

There is also option to root phone and redirect all traffic with iptable rules as is in SandroProxy.
[Android Apps and Games] MissFishie:
Any progress on yuluyi's question? I have the same problem. I installed Drony and tried to set app to use the proxy script yo<dot>uku<dot>im/ proxy<dot>pac The purpose of this script is to use a proxy to access region-specific video on youku<dot>com

I tested it with "v<dot>youku<dot>com/player/ 1" in Drony after loading the script and it correctly returns proxy<dot>uku<dot>im : 80 However the youku android app still is unable to access the video. It seems that it is not working properly.

Thanks,

Michelle
[Android Apps and Games] SandroBSupp:
There is android app for youku?

Please send me link so I can examine it.

Maybe it doesn't respect android OS proxy settings.
[Android Apps and Games] MissFishie:
Here is the link to the app:

play.google.com/store/apps/details?id=com.youku.phone&hl=en

This video has region restricitons:

v.youku.com/v_show/id_XNTgzNDM3ODg4.html

There are 2 separate features in the youku app. One is to watch the video and one is to download it. I was not able to get either to work.

Thanks!
[Android Apps and Games] SandroBSupp:
Is there English version of app? I don't understand language so I have problems figure out how to use it.

Or I can use some other player to access this urls?

I'm getting some errors because not logged in or something...
[Android Apps and Games] SandroBSupp:
Hm... I tried www.letv.com from chrome and Drony with script proxy http://yo.uku.im/proxy.pac and it is working. Does it count? :)
[Android Apps and Games] FdeKlerk:
Not working

Hi to all.

I am running 4.4 on note 3 and this app is not working. To be honest this app does not even scan the correct port when i start it.

I configured the wifi proxy and the ip is 10.182.128.14 when i start the app it says listening on 10.182.128.85? Wrong ip.

So what am i doing wrong and what should i do to get this working?
[Android Apps and Games] SandroBSupp:
Reinstall app and try with this instructions:

http://code.google.com/p/sandrop/wiki/HowToUseDronyWithOtherProxy
[Android Apps and Games] :
Can use this page to verify: http://www.tudou.com/albumplay/Lqfme5hSolM/3ozZvvaU7lc.html

If it's not able to play the video (due to not from China) it is black and with a : ( sign

Interesting enough, after loading the pac script in Drony (http://yo.uku.im/proxy.pac)

This website returns "True" http://ipservice.163.com/isFromMainland (means the proxy is successful)

However the video above (http://www.tudou.com/albumplay/Lqfme5hSolM/3ozZvvaU7lc.html) still will not play...

Any idea? :D
[Android Apps and Games] FdeKlerk:
Ok so i gave this a try and it does not do what i want it to. I want an app that will make my whatsapp and bbm go through proxy like proxy droid without rooting. can drony do that?
[Android Apps and Games] SandroBSupp:
Sorry, no.

For whatsapp you will need rooted phone and SandroProxy.

Those apps do not respect android wifi proxy settings or use some custom ports like 5222, 5228.

You best chance is to use some vpn software and set up vpn server at home.

Maybe try this one, but I did not tested myself.

https://play.google.com/store/apps/details?id=com.github.shadowsocks
[Android Apps and Games] SandroBSupp:
I changed something about sending requests to uku.im proxy.

It seems that it is returning 403 Forbidden if port is attached to urls

GET http://ipservice.163.com:80/isFromMainland HTTP/1.1

Please test with this version if it works for you. It works on some videos but not on link that you provide. Just click a little bit on tudou site.

https://drive.google.com/file/d/0BxEHDZT3toTmc1U2cVQ3OEwydzg

Please let me know how it goes :fingers-crossed:
[Android Apps and Games] nakawanaoki:
This works!

Iv'e been using your app since the release. It works great. But i have this small problem. Iv'e been playing Clash of Clans for a while. When i report to office it won't connect to our company proxy. I am using drony to a company connection that has NTLM authentication.
[Android Apps and Games] SandroBSupp:
It worked before and it is not working now?
[Android Apps and Games] nakawanaoki:
The app is still working. But the clash of clans app won't connect to it's server. others like Playstore etc can use the drony to connect to internet.
[Android Apps and Games] SandroBSupp:
One reason could be that app do not respect android OS proxy settings. You can use SandroProxy if you have rooted phone for that case.

Other one is that it uses some ports your office proxy do not allow.
[Android Apps and Games] RajaRaviVarma:
Works on NON Root Android 4.3 Sony Xperia ZR

Thanks a lot for the developer. Been using Proxy Droid. It didn't work. My phone is not rooted. I set up the application as explained in the help and restarted the WiFi. Everything is working fine.
[Android Apps and Games] toto4d:
Drony is great, formerly I use cntlm on pc.

I have questions for pac file.

1. Can I put it on internal/external phone storage ?

2. How can I detect whatsapp in pac ?

Thanks for great software.
[Android Apps and Games] SandroBSupp:
1:Can I put it on internal/external phone storage ?

File can be anywhere you like. Just state proper path so Drony can find it.

But you can also state url for pac file.

https://code.google.com/p/sandrop/wiki/HowToUseDronyWithScriptProxy

2: How can I detect whatsapp in pac ?

No. Input to pac is just current url, so there is no info who made it.

http://en.wikipedia.org/wiki/Proxy_auto-config

Also whatsapp do not respect android OS proxy settings so it will not work with Drony

You need rooted phone and SandroProxy

https://code.google.com/p/sandrop/wiki/YouTubeWhatsAppInst
[Android Apps and Games] toto4d:
I have tried pac and it works perfectly.

What do you mean with "Non Listed Networks" ?

Is it possible to define rules based on application, like::

Application = Something

Action = Allow / Deny All / Deny Background

Gateway = Proxy / Direct (Pass through) :good:

I've seen in your add rule definition, you have known application name, but action choices only Allow or Deny.
[Android Apps and Games] SandroBSupp:
Additional state for action then. Deny background apps.

Will look if there is any good way in android to find out if some app is in background.

What do you mean with "Non Listed Networks" ?

Every network that is not listed between wifi.

You can for example use Drony on mobile carrier network just to filter traffic.

APN Names -> x -> Proxy set to Drony

Drony proxy type for Not Listed Networks remains None

Must put some wiki page for this feature...
[Android Apps and Games] nokia2002:
hi,

thanks for the great app.

it's not working with samsung app, whatsapp and telegram ! any idea please? :crying:
[Android Apps and Games] SandroBSupp:
Problem is that some apps don't respect android OS proxy settings.

So you need rooted phone and SandroProxy.

https://play.google.com/store/apps/details?id=org.sandroproxy

https://code.google.com/p/sandrop/wiki/YouTubeWhatsAppInst
[Android Apps and Games] hirastikanah:
Isn't still there any solution for such apps to work without root?:(
[Android Apps and Games] SandroBSupp:
There is a way to make such apps work also on non rooted phone.

Currently is in development for Drony. It's quite a big task to make it work stable.

Send mail to supp.sandrob@gmail.com if you like to test beta version of Drony before hits Google Play.
[Android Apps and Games] toto4d:
Can I use drony with AdBlock Plus ?
[Android Apps and Games] SandroBSupp:
Good question.

Flow should be as this:

CLIENT<->ABP<->Drony<->Internet

So question is can ABP connect to Drony. Quick look at source code shows some features about that, but nothing on ABP gui.

Quick answer is no. There is some filtering feature also in Drony but not as powerful as ABP.
[Android Apps and Games] SandroBSupp:
Support for apps that don't respect android OS proxy settings

New beta version that supports also apps that don't respect android OS proxy settings.

VPN mode is used to capture that traffic and redirect to Drony.

So youtube, whatsapp and many others should work

https://play.google.com/apps/testing/org.sandroproxy.drony