yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] esgie:
Frandom module, when present, has to be:

- loaded to kernel

- default entropy sources has to be linked to new /dev/frandom.

Above can be achieved by using single, not-complicated-at-all init.d script, which will perform above actions on boot.

Also, some tweak scripts (crossbreeder, v6 supercharger) contains optional support for frandom, which - as the authors state - shall detect module automatically BUT both of them failed to do so in my example (crossbreeder is even forcing running his haveged's generator, don't know why, even if frandom is initialized by third party script, and that results in some kind of mixed-source entropy and awful lags. V6 doesnt start it at all).

Ill post the correct script in some (guess tomorrow) time HERE. Dont worry, its kinda trivial...

Also, i propose to close frandom's discussion for a while, as it's not a proper place for such a talk. This its about DNS CACHING not entropy ;)
[Android Apps and Games] Publiuss:
Hi

I installed ADAway, and now DNSQache logs report A LOT of lines very seemingly AD-related (see attachment).

What does it mean? That DNSQache read host file and cached them (surely I didn't connect to all...)?

Is it a good or a bad thing? :confused:
[Android Apps and Games] tdhite:
Yes -- DNSQache reads and caches the hosts file. If an ad blocker creates a large hosts file, DNSQache will report its findings (that there's a bunch of records in that file it's caching). It just uses a bit more memory, so not to worry, it's working as intended.
[Android Apps and Games] Osid:
I'm unable to use polipo shipped with DnsQache. I'm only able to connect to webinterface from another IP.

Investigating on polipo.log I've found it filled with error

Couldn't create socket: Too many open files

ulimit -a on a root shell through adb shows me 1024 as limit of file descriptors.

I've raised with ulimit -n 2048 with the only effect of more wait before too many open files error.

I exclude troubles with DnsQache (I've reviewed also source) and the same problem appears with polipo binary shipped with polipod.

I'm too lazy to rebuild with android NDK polipo source :P

Device is Galaxy Nexus 4.4.2 KOT49H (ShinyROM) + franco.kernel r395.

Any clues?
[Android Apps and Games] tdhite:
First, Polipo is not a transparent proxy -- so it is acting as it should -- your phone is a proxy for *other* devices, not the local device. The ulimit issue is real -- I may add a setting that lets you set a new limit, but that obviously can cause serious havoc with the phone if one doesn't know what they're doing. If you want a transparent proxy you can just add the relevant IPTables rules. I could add some to DnsQache -- have to ponder that and whether it's really a good idea to transparently proxy the device itself.

As for exclud[ing] troubles with DnsQache, you're the first to propose troubles other than conflicting firewall rules (which are not something DnsQache can fix -- that's an issue with using multiple IPTables manipulators). If you have troubles, let me know.

Other than that -- an update is coming soon (I know -- I've just been slammed at work so difficult to get hours in -- it's coming though). That update has much broader Polipo settings support.
[Android Apps and Games] Osid:
I know that polipo is not a transparent proxy.

I use it as transparent with ProxyDroid and configured with a parent proxy to have caching and overcome limitations of my mobile carrier.

It seems to me strange that polipo and browser eat up all available sockets.

Obviously raising limits without knowledge is not advisable.

Too bad ?
[Android Apps and Games] Publiuss:
Hi

Dns settings to not stick.

If i set a custom dns it's applied (reading from logs), buut if i return to dns settings fields become white and the dns fallbacks to opendns...
[Android Apps and Games] smeejaytee:
hi i noticed yesterday on the mother of all ad blocking thread that it says not to use a proxy i have been using polipo will this stop the host file working thank you for your time
[Android Apps and Games] tdhite:
Alrighty, then. It's a bug, fix a'comin (my word has been slow to cover lately -- but it's a comin' -- work is just slamming!).
[Android Apps and Games] tdhite:
Is that really English? LOL.

I have no idea why not to use a proxy if you want to use a proxy. If the ad blocker has troubles with proxies, tell them to fix it. The proxy isn't the issue.
[Android Apps and Games] smeejaytee:
I don't have an issue with your app I think it's great been using it since release I just read that and wanted to ask your opinion thanks for the reply

Sent by smeejaytee on my awesome OneX
[Android Apps and Games] mcstafford:
I have been waiting for this

I have been looking for a good replacement for Masqed Crusader (soapbox.sym3try.masqedcrusader) since it no longer seems to be getting updated. It seems like I've found it!
[Android Apps and Games] smeejaytee:
I would love to see this asp updated hope it hasn't been forgotten
[Android Apps and Games] tdhite:
Nope, not forgotten. I've said a few times I'm not a stupendous UI developer, rather 'guts' is my forte. I'm working on it today, but the new UI is just giving me fits.

I'm considering a two stage upgrade: 1) the underlying upgrades (more polipo ability, plus dynamically settable custom lists that don't require typing in the specific addresses); and then a UI upgrade.

That's embarrassing, I know! It's just the truth.
[Android Apps and Games] tdhite:
Update's a-coming ...

Hi all -- sorry for delays (works been a bear). Update is in testing, having a few glitches. I now build my own custom Cyanogenmod 11 ROM and kernel, and that's where I test things. Also testing on HTC Sense 6 ROMs.

It's close -- just have some FCs to clean up (all regarding handling of getting DnsProviders dynamically off the Internet), but they're not difficult.

It'll be fine, just hang with me a few more days.
[Android Apps and Games] Titchener17:
Word up !
[Android Apps and Games] tdhite:
Not forgotten -- a terrible bug in Polipo I'm fighting. It's just not staying connected. Working it, though. I can put a beta out in the next few days, but might have a rough edge or two around Polipo still. I've added a great deal of settings so you get tight control, but I fear certain combos make it quite unstable.
[Android Apps and Games] Titchener17:
Take your time I appreciate what you've done and am looking forward to the goods you've been working on whenever you feel it's right !
[Android Apps and Games] smeejaytee:
+1 can't wait to see what you come up with

sent from my blower
[Android Apps and Games] tdhite:
For anyone willing to run a beta for a bit, I'm putting one out Saturday (most of it looks good, just one more feature I want).

Anyway -- PM me if you are willing to beta. I'll get you a link Saturday to pull it down from goo.im.
[Android Apps and Games] smeejaytee:
Testing new build now seems faster than previous build no issues I can see apart from it's not asked for root rights but stop seems to be working

sent from my blower

---------- Post added at 09:50 AM ---------- Previous post was at 09:18 AM ----------

In impressed it's defanatly faster web pages are almost instant thank you I will report if I encounter any issues

sent from my blower
[Android Apps and Games] smeejaytee:
Found a small problem start on boot isn't working not major but a pain all the same lol

sent from my blower
[Android Apps and Games] tdhite:
Should be fixed: http://goo.im/devs/tdhite/dnsqache//dnsqache_1.0_beta2.apk

1) Uninstall previous installs;

2) Install new version;

3) Test away.
[Android Apps and Games] smeejaytee:
Any chance you have another link goo.im is down

sent from my blower
[Android Apps and Games] tdhite:
Goo down? That's pretty rare. Still down for you?
[Android Apps and Games] smeejaytee:
It says starting download then when I pull down the status bar it says completed but when I try to install it it's not a recognised file type it's not downloading properly

sent from my blower
[Android Apps and Games] smeejaytee:
Ok got it now 2 things of you don't mind me asking could you as an option to hide notification or make it white please and also could you explain cache sharing and should I have it checked or not thank you for your time still enjoying your app been with you since you opened the thread
[Android Apps and Games] tdhite:
Regarding cache sharing -- "If cacheIsShared is false (it is true by default), Polipo will ignore the server-side ‘Cache-Control’ directives ‘private’, ‘s-maxage’ and ‘proxy-must-revalidate’. This is highly desirable behaviour when the proxy is used by just one user, but might break some sites if the proxy is shared."

That is from the manual at: http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/polipo.html#index-cacheIsShared (section "4.1.2 Further tweaking of validation behaviour").

Hope that helps.
[Android Apps and Games] killoid:
parsing package error on my galaxy y duos,stock rooted 2.3.6 rom.
[Android Apps and Games] smeejaytee:
Hi I hope you don't mind but I have shared a link to to thread in my rom thread as I think this app deserves more attention it's great
[Android Apps and Games] tdhite:
The new version requires Android 3.0 or above. I should have mentioned that. Apologies. The old version will work fine on your device.
[Android Apps and Games] Titchener17:
Shnikes missed this just re_downloaded the older one the other day and am stoked-really like the new logo/color/ui !

Haven't tried all numbers, but wonder what near optimal is ( realizing that the flexibility you provide is awesome) to let it roll all day, and there are any battery-life sweetspots (realizing there are a TON of variables) with my current device lg g2.

At the end of the month feel free to pm me or whatever wouldn't mind a reminder to donate - think I keep forgetting to. Thanks again !
[Android Apps and Games] tdhite:
Here's the deal on battery and DnsQache. Don't fret -- DnsQache, unless you change the cache size to say, a couple billion, won't affect battery life. It's a battery saver at best, but a non-participant in battery life at worst. There's simply nothing it's doing other than using memory to speed up what would normally be network hits, or disk hits. Tune the numbers how you like them.

Me? I use a DNS cache size of 1000, and leave Polipo alone when using the latter.
[Android Apps and Games] avd:
It would be nice to see some statistics, how many times the caches get hit and how much network traffic is saved. Polio probably already has that.

Sent from my SPH-L710
[Android Apps and Games] tdhite:
Indeed, Polipo has a full interface for it, so I saw no reason to duplicate it in the core of DnsQache. Take a look here:

http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/manual/Web-interface.html#Web-interface

Also -- I'll look at digging out stats for DNS. But if you turn on 'Log Queries', restart the service, and then (later) look at the Settings|View Logs|DNS menu -- it will actually show all the forwards. Cache hits are in there, very difficult to find, though.
[Android Apps and Games] tdhite:
Updated 06/15/2014

All,

I updated DnsQache to fix two bugs as noted in the

Version 1.0 Beta: dnsqache_1.0_beta3.apk -- see the Disclaimer and Download post.

Fixes noted in the Changelogs post.

Have fun -- you want this update as it fixes a bug involving cases where incorrect dns provider settings get (mistakenly) set.

If the link shows unavailable -- just wait a bit. Goo.im is slow to index new files lately.

------------- edit: ----------------------

Hang tight -- might be a minor error. Will repost in a short while.

------------- edit: ----------------------

My profuse apologies all -- I mistakenly uploaded entirely the wrong build. Please redownload if you already downloaded it. Your MD5 should be:

207f2b01b077eade6f9045d1ddd363f4

If that's not what you have, you downloaded a cached, yet incorrect file. Please redownload and reinstall.

Please uninstall prior to reinstall -- this is Beta and prior installs may cause unexpected errors.

----------------------------------------------------
[Android Apps and Games] smeejaytee:
Thanks installed connections seem quicker pages are loading faster great job
[Android Apps and Games] tdhite:
Plan on reinstalling later today. There is still a syncing error with providers. Sigh -- my fault. :(

I'll make a beta 4 with that fix, but need to test a while.
[Android Apps and Games] tdhite:
Just uploaded Beta (RC4) -- might take a sec to show up on goo.im. The issue of incorrect DNS updates should now be fixed. Look to the Download page.
[Android Apps and Games] smeejaytee:
That was quick thanks
[Android Apps and Games] tdhite:
Let's how it all goes. There is not much left to 1.0 and I have new toys I want to get into beta for the next release.
[Android Apps and Games] :
Even faster now just opened taptalk and the threads showed instantly thanks again
[Android Apps and Games] Draygon:
Please let me choose a custom DNS provider. I want to use DNScrypt.eu

Is it possible to add DNScrypt proxy for Android?
[Android Apps and Games] tdhite:
Agreed on the custom DNS. I'll add that soon. As for dnscrypt-proxy, I'll consider adding, though will take a little time as it adds a good bit of management overhead for users to configure.

Also -- all, there's another update (rc5) as a user reported the cache was resetting to 200 with the latest build. Fixed. Go to downloads post. :).
[Android Apps and Games] killoid:
won't u further support gingerbread devices? we are missing incredible things!
[Android Apps and Games] tdhite:
Well, I'm using features that require 3.0 or above, but I will take a look over the weekend about 'casing' that out.

Also -- the custom DNS provider entries are nearly done -- just a little testing to do and it'll be golden. Should be tomorrow for that.
[Android Apps and Games] starcallr:
I'm ready for that..../ ;)

download count: 33

hard to believe, one would think WAY more people would be eager to get that app....
[Android Apps and Games] smeejaytee:
I've been using it since release can't live without it now
[Android Apps and Games] tdhite:
All set for custom provider entries -- go to Download post, install (if the file does not show up yet -- just wait a bit as Goo.im takes a while to index new files), then do the following to use custom provider entries:

1) Turn of the DnsQache service (make sure the big green DnsQache button is Red);

2) Open Settings;

3) Set the Custom Server IP entries to your desired IP addresses;

4) Set the DNS Provider to "Custom" (you might have to scroll up -- it's the first entry);

5) exit Settings;

6) Start the DnsQache service.

Let me know how it goes. :cool:
[Android Apps and Games] Titchener17:
It IS OK if I share a link to this thread correct ?

If green light , is this description copasetic?

Also, is anyone able to download? Am having issues.

[APP] DNS caching/masking service w/tether, custom server options)
[Android Apps and Games] smeejaytee:
Hi using beta 5 I just wondered which DNS provider would you suggest I'm using open ATM thanks
[Android Apps and Games] tdhite:
Heck yea -- link me on up!

Yes. If it's Green, touch it to turn the service off (make the icon red), then set things up. The reality is you can set things first, then just stop/start the service -- either works. :good:
[Android Apps and Games] tdhite:
Find one geographically close. I use OpenDNS since I'm in Texas, but all are good. The key is find the fastest one. Maybe I can add a cool feature to test that out one day :).
[Android Apps and Games] smeejaytee:
That would be nice than you I am in England which one is closest to me if you don't mind thanks again this app is great been using it for a long time now and I love how it's progressed
[Android Apps and Games] smeejaytee:
Would it be possible for you to add some British/European DNS providers please that would be great
[Android Apps and Games] Titchener17:
ha ha pardon, meant ok where said green light. Will link in a bit and thank you!
[Android Apps and Games] starcallr:
custom works perfect/

now THAT would be cool/
[Android Apps and Games] tdhite:
Yip, I'll find some and add 'em (and make sure you know they're EU based).
[Android Apps and Games] smeejaytee:
Than you so much I appreciate that I'm sure others will too
[Android Apps and Games] pemell:
[MENTION=4988866]tdhite[/MENTION]

Hi. Thanks for a great app.

Can I set it up somehow to be able to reach my router interface at 192.168.1.1?
[Android Apps and Games] tdhite:
Sure. Just set your router address as both custom providers addresses. See my instructions on custom providers a few posts back.
[Android Apps and Games] pemell:
I'm currently using Google dns. Wouldn't I lose the benefits of using this (it's fast) if I set my router ip as my custom?
[Android Apps and Games] tdhite:
When you say "I'm currently using Google dns" I'm not sure what that means -- your router or your phone. Likely means your phone. But maybe the following helps ...

The DNS caching of DnsQache just asks some set of servers (the primary and secondary providers) what an IP address is for a given host name (for example, "what's the actual IP address of mail.yahoo.com". So if you tell it to use your router, it will then know about the addresses (and hostnames) your router knows because it will ask your router. Your router, though, will have its own 'forwarding' address for hosts it doesn't know.

So you'd get names you defined locally in your router and also names your router doesn't know (it'll forward the request to it's upstream servers).

Now, about 'losing Google' -- if your router is set to forward requests to Google, then no. DnsQache asks your router, your router asks Google if it doesn't know, already. If your router is set to use, say, your ISP provider (e.g., Comcast, TimeWarner, AT&T or whatever), then yes, you lose Google. But the router would likely be far faster than Google anyway because it is using very close servers (your ISP) for DNS resolution.

Just remember, when you leave home, switch DnsQache to use Google (not a the custom settings that point at your router).

Hope all that helps.

:cool:
[Android Apps and Games] pemell:
[MENTION=4988866]tdhite[/MENTION]

I didn't change it though as I figured I can access my router from my computer when needed.

I've been using the app for some days now and I can tell it speeds up loading time on my home network. Before I needed to restart my router once a day to keep the network snappy. Don't need to anymore. I don't know why but without the app the phone, after a day of usage, the response time would get slow. Now it doesn't.

Big thanks!
[Android Apps and Games] smeejaytee:
Hi will you by any chance be making the update with European DNS servers soon no obligations just wondering thank you for your time
[Android Apps and Games] tdhite:
I apologize. I got busy with some kernel development and let this slide. I'll try to add a new facility this week for multiple countries.
[Android Apps and Games] smeejaytee:
Thank you don't rush yourself though I didn't know you built kernels I wish you had a one x we really need a kernel dev desperately we only have two and progress is very slow
[Android Apps and Games] Titchener17:
Sweet . For which device(s) are you doing kernel work if you don't mind me asking ?
[Android Apps and Games] tdhite:
HTC One m7spr/m7wls. I do kernels and TWRP for that device.
[Android Apps and Games] smeejaytee:
I don't suppose there's any chance you could get your hands on a one x we could really use a new kernel
[Android Apps and Games] starcallr:
:p
[Android Apps and Games] user2k10:
[MENTION=4988866]tdhite[/MENTION]

Can you confirm that you are using the new way of setting the DNS address on 4.3 and above? Not just using setprop but also using the new ndc resolver commands. Both are required to set the addresses properly as you probably already know.

Some DNS servers use non standard ports such as the open dns family shield addresses which use port 443 instead of port 53 to bypass problems with some phone networks. I need a way to enter the port number as well. I tried to enter a port number after the custom DNS address, eg. 123.123.123.123:443 but the port number is ignored according to the log.

The persistent notification message has a spelling mistake. It says "ervice" instead of "service"

It would be nice if the status bar icon could be white to match most standard applications.

Thanks for a great app. I hope you keep improving it.
[Android Apps and Games] tdhite:
No -- DNSQache uses a more sophisticated mechanism than trusting the ndc setup, which is controlled by Google as base source in Android. DNSQache redirects all queries to itself via iptables rules. As a second issue, this app runs on many other Android versions, which the mechanism also covers. In short, ndc is largely uninteresting to DNSQache and will likely remain that way as Google messes with the internal DNS mechanisms seemingly each release. I don't want to depend on their methods or madness, depending on how one looks at it.

I need to support that, will do. Consider it a bug.

Ugh, how obvious is *that* kind of bug. I'll fix it too.

Thanks for the input!
[Android Apps and Games] smeejaytee:
Still hoping for European DNS servers if your going to do an update it would be truly appreciated thank you for your work

sent by smeejaytee on my Hox
[Android Apps and Games] tdhite:
Ok -- on it folks. Just finished up my other works (kernels, ROM work, and work work (really -- I do work, lol) ).

I'll get an update out this week. Should have port facility (ip : port support for name servers); fix the word derp mentioned above on the service message; and add some more DNS server sets. I'll fix it up so we can switch countries and then pick. Shouldn't be too bad.

Thanks for patience!
[Android Apps and Games] sublimaze:
[MENTION=4988866]tdhite[/MENTION],

The is for sharing this app and supporting the thread. I am a total noob regarding DNS networking, so please excuse my ignorance. I am using v1.0 beta RC7.

1. I changed Custom Primary & Secondary server IP to match my router IP, but my browser says "web page not found" and all network-enabled apps fail to connect when I am on Wi-Fi. Everything works fine when I use cell network.

2. While using cell network, I visited 4 favotite web sites, each site twice. This is the log during that period. Shouldn't it show more queries or "hits"?

Thanks
[Android Apps and Games] Titchener17:
Would it be a good idea to set swappiness to 0 with dnsqache in the fold now on phone or tablet, or that thought like something from the mind of mugatu (the crazy pills part) ? Have been relaying use of your awesome creation, and thanks again for hooking everyone up with DnsQache !
[Android Apps and Games] kl3:
Hey,

I'm glad that I found a DNS caching app for android, as I'm using pdnsd already for years on my machine!

For now, I configured DnsQache in conjunction with Orbot to resolve requests through TOR using the custom DNS server localhost:5400. Sadly, I'm also using Adaway, thus having a massive hosts file containing +30k entries while your app "only" supports 5k cache entries. This makes DnsQache kind of useless for me, as only the first 5k entries of the hosts file will be cached but no new requests through any app like firefox, etc.

Is there any way to add an option so the hosts file can be ignored or setting a custom cache size is possible?

TOR + DNS cache + Adblocking would be great on android!
[Android Apps and Games] user2k10:
+1 for the above feature
[Android Apps and Games] starcallr:
;)

edit: if not, no biggie/

I'm pretty happy the way it is right now!
[Android Apps and Games] smeejaytee:
Hi I was just wondering as I just purchased an m8 and haven't had it rooted yet is there anything you can do for a not rooted device to speed up internet and stop website adds please it would be really useful I understand if you can't but your a genius in this department I thought it wouldn't hurt to ask thanks in advance
[Android Apps and Games] sublimaze:
You need root privileges to modify system files. Why are you reluctant to root your M8?