yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Ultraman666:
Tried that but says not a valid hostname

Sent from this Pure Evil Wicked!!!
[Android Apps and Games] delta_foxtrot2:
As Ultraman666 points out, that isn't a valid hostname, it's not like dns where you can use wildcards, you have to use exact hostnames.

As for tapatalk there was a bunch of hostnames added on the 31st of March, does anyone know which should be excluded?

Edit	Inline Edit	Copy	Delete	cache.tapatalk.com	2014-03-31 22:45:06

Edit	Inline Edit	Copy	Delete	db.tapatalk.com	2014-03-31 22:45:06

Edit	Inline Edit	Copy	Delete	dev.tapatalk.com	2014-03-31 22:45:06

Edit	Inline Edit	Copy	Delete	directory.tapatalk.com	2014-03-31 22:45:06

Edit	Inline Edit	Copy	Delete	img-2011-12.tapatalk.com	2014-03-31 22:45:07

Edit	Inline Edit	Copy	Delete	img-2013.tapatalk.com	2014-03-31 22:45:07

Edit	Inline Edit	Copy	Delete	img.tapatalk.com	2014-03-31 22:45:07

Edit	Inline Edit	Copy	Delete	link.tapatalk.com	2014-03-31 22:45:07

Edit	Inline Edit	Copy	Delete	log.tapatalk.com	2014-03-31 22:45:07

Edit	Inline Edit	Copy	Delete	logos.tapatalk.com	2014-03-31 22:45:07

Edit	Inline Edit	Copy	Delete	m.tapatalk.com	2014-03-31 22:45:07

Edit	Inline Edit	Copy	Delete	mail.tapatalk.com	2014-03-31 22:45:07

Edit	Inline Edit	Copy	Delete	search.tapatalk.com	2014-03-31 22:45:07

Edit	Inline Edit	Copy	Delete	support.tapatalk.com	2014-03-31 22:45:07

Edit	Inline Edit	Copy	Delete	tools.tapatalk.com	2014-03-31 22:45:07

Edit	Inline Edit	Copy	Delete	vpn.tapatalk.com	2014-03-31 22:45:07
[Android Apps and Games] KaHOnas:
Thank you, lineobird! I've been having issues with YT and TubeMate for about two weeks now (I think) and just realized tonight that it was a host block problem. I wasn't sure how to still use AdFree, though. Host Editor is exactly the solution. Thank you again!
[Android Apps and Games] mva1985:
I love this app. .. it would be cool if you could turn on a logging feature of ads that were blocked.
[Android Apps and Games] Vaetheran2107:
Also my favorite ad blocking app. One problem I have is with tapatalk and loading certain forums and problems with apn settings.

Any workaround?

Gesendet von meinem Nexus 4 mit Tapatalk
[Android Apps and Games] delta_foxtrot2:
I had a quick look, and mongoose, the webserver shipped with adfree, supports logging, although no idea if it will log the hostnames correctly.
[Android Apps and Games] delta_foxtrot2:
I posted a list of tapatalk host names on page 52 of this thread, I'm not sure which are ad/tracking host names and which should be removed from the DB.
[Android Apps and Games] ehasley:
Quick question...

It appears that this will now block embedded videos on websites from YouTube vimeo etc. If I disable blocking everything works normally.

Anyway to have the ads blocked but retaining the ability to watch embedded video? (This worked normally before until the most recent update I believe)
[Android Apps and Games] delta_foxtrot2:
Nothing was added to the DB recently...

Edit	Inline Edit	Copy	Delete	ehg-youtube.hitbox.com	2009-05-08 09:16:51

Edit	Inline Edit	Copy	Delete	www.youtube-b.com	2009-09-03 14:00:09

Edit	Inline Edit	Copy	Delete	www.youtube-nocookie.com	2010-10-31 16:00:19

Edit	Inline Edit	Copy	Delete	youtube-b.com	2009-09-03 14:00:09

Edit	Inline Edit	Copy	Delete	youtube-top-video.com	2009-05-08 09:16:51

Edit	Inline Edit	Copy	Delete	youtube.com-prizes.com	2010-10-31 16:00:18

Edit	Inline Edit	Copy	Delete	ads.youtube.com	2011-07-21 16:49:23
[Android Apps and Games] mva1985:
that was the answer to my problem... thanks
[Android Apps and Games] KaHOnas:
I've noticed a few more websites are having problems (Pixlr help pages, for example). It would be nice if AdFree had a log or pop-up saying "host m.ad-rammer.net blocked" or something. Just a thought.

There are 10 types of people in the world: those who understand binary and those who don't.
[Android Apps and Games] delta_foxtrot2:
Looks like the next update will add mongoose logging and some kind of log viewer in adfree...
[Android Apps and Games] delta_foxtrot2:
Mongoose doesn't log the hostnames, so that's a dead end.

# cat mongoose.log

127.0.0.1 - - [09/Jun/2014:00:03:29 +1000] "GET /appConfigServlet HTTP/1.1" 404 35 - "Apache-HttpClient/UNAVAILABLE (java 1.4)"

127.0.0.1 - - [09/Jun/2014:00:03:29 +1000] "GET /getAd.php5 HTTP/1.1" 404 35 - "Apache-HttpClient/UNAVAILABLE (java 1.4)"

127.0.0.1 - - [09/Jun/2014:00:03:29 +1000] "GET /sdk-core-v40.js HTTP/1.1" 404 35 - "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 (Mobile; afma-sdk-a-v6.0.1)"

127.0.0.1 - - [09/Jun/2014:00:03:52 +1000] "GET /getAd.php5 HTTP/1.1" 404 35 - "Apache-HttpClient/UNAVAILABLE (java 1.4)"

127.0.0.1 - - [09/Jun/2014:00:04:16 +1000] "GET /getAd.php5 HTTP/1.1" 404 35 - "Apache-HttpClient/UNAVAILABLE (java 1.4)"

I'm going to post a request to their mailing list, will post back here with an outcome.
[Android Apps and Games] ehasley:
I do not know the cause but on both my devices a Nexus 7 and Moto X running 4.4.3 and 4.4 respectively are not working with embedded video. Not even m.YouTube.com will load. On a site with a video there is just a blank spot where it normally would be, no errors or boxes. Just like it was blocked and phone doesn't know it's even there.

Disable the blocking and refresh the page... Tada works fine. Tested out Adaway and it doesn't have the same issue.
[Android Apps and Games] lineobird:
It's probably the s.ytimg.com entry as mentioned a page back. That entry must have been added to the database recently since the issue with YouTube was not occurring a month ago. Either that or YouTube is suddenly relying on that to work embedded.
[Android Apps and Games] ehasley:
Is that entry removable?

I'm sorry, I a noobish with this app
[Android Apps and Games] henkie202:
Thank you for the great adfree and host file!!!

With some sites I want to use it in "desktop site" because there is flash content on it. The site has to think I'm viewing the it on a desktop.

Now, with adfree and the newest host-file the "request desktop site"-option don't work.

If you check the option "request desktop site" -> refresh, the link changed but it stays in mobile view, and it wouldn't load the flash content.

I have to "Revert the host file" in order to make it work again.

You can test it with the youtube site. If you go to www.youtube.com, normaly the phone redirect to m.youtube.com and the view changed.

If you check: "request desktop site" and refresh, you will see the 'normal' desktop view of the site.

With the host-file installed, It stays in mobile view.

1- Is there a line in the host-file that prevent the desktop view?

2- Somehow some foto's from friends on Facebook are blank (they are blocked)

is there a way to unblock?

Thanks!!
[Android Apps and Games] lineobird:
Either it needs to be whitelisted at the adfree site by linking an account on that site to the app on your phone (I haven't tested this), or install a host editor like hostseditor and search for s.ytimg.com and delete it (you will have to do this every time you update the host list in adfree though), or maybe the developer will remove it from the list if you ask.
[Android Apps and Games] delta_foxtrot2:
s.ytimg.com was added to the database on the 15th of May, I've removed it. Manual update to refresh the host list.
[Android Apps and Games] DJ_SpaRky:
I have been using this app for years without issue, but i recently reloaded my phone and now cannot load images in 9gag. It loads the posts but not the images. When I "Revert" (in AdFree) and then refresh 9gag, they will load. I will try to find the proper hostname and remove it. I will then reply what it was. Thanks.
[Android Apps and Games] adl:
Had the same problem with Adaway, someone posted a solution:

http://xdaforums.com/showpost.php?p=53357333&postcount=1589
[Android Apps and Games] malouta:
thanks for adfree
[Android Apps and Games] DJ_SpaRky:
Using "Hosts Editor" (Play store link), I have removed "t.9gag.com" and all of the ".cloudfront.net" hostnames, everything is working fine with 9gag now.

Thank you all.

EDIT: Use the Exception List feature of http://adfree.bigtincan.com/ instead of removing the hostnames from the hosts file directly.
[Android Apps and Games] JFolck1886:
THANK YOU!!!

I was getting so frustrated with this! I did just as you did and now the 9gag app and site are working again! The downside is you have to add the hostnames to the whitelist if you want to keep updating your adblocker.
[Android Apps and Games] Vaetheran2107:
How to add something to the whitelist?

Gesendet von meinem Transformer TF101 mit Tapatalk
[Android Apps and Games] LoSt180:
Some of us have changed the settings for posts per page in XDA, can you post a link to the post you're referencing? This thread is only 19 pages for me.

Edit, nevermind, found the list of hostnames.

Second question, MMS pictures seem hit or miss, is there any host entries I should be looking at to whitelist?
[Android Apps and Games] delta_foxtrot2:
What carrier?
[Android Apps and Games] LoSt180:
I'm on AT&T.
[Android Apps and Games] DJ_SpaRky:
True, but how often do you actually update the hosts file? I know that I don't update enough for it to be an issue.

Also, I removed all of the ".tapatalk.com" names and now Tapatalk Pro doesn't complain about APN settings. The best part is still no ads. :laugh: :good:

Thanks again.

EDIT: See my post below about Exception List on http://adfree.bigtincan.com/ rather than removing the hostnames.
[Android Apps and Games] delta_foxtrot2:
The only att.com hosts in the DB are:

metrics.att.com

smetrics.att.com

try adding them to your whitelist to see if that fixes the issue, the were both added on the 12th of June.
[Android Apps and Games] delta_foxtrot2:
I didn't get a response on the mongoose users list, so I started playing with lighttpd which does log the hostnames properly.

I just uploaded version 0.9.0 of adfree to the website, which uses lighttpd and those sites can show up in a new screen in Adfree.
[Android Apps and Games] DJ_SpaRky:
Register at http://adfree.bigtincan.com/ then add the proper hostname to the Exceptions list. "Hosts Editor" (Play store link) is good for finding out what they are.

I was unaware of the Exception List functionality of this app, but now that I have registered I am aware. This allows for you to add hostnames to the list and then (once "authenticated" in app) when it updates the hosts file those hostnames are not included. I will make a list of the 9gag/cloudfront.net/tapatalk hostnames that have added and then post it here.

Updated and finally registered, and that made it even better than before. Thanks again for this great app and being part of the community by supporting it directly.

Is there a way to upload a txt or csv file with the hostnames to be excluded? If not, could you add this to the feature request list?
[Android Apps and Games] DJ_SpaRky:
Here is a text file with my exception list. It has all of the ".cloudfront.net" & ".tapatalk.com" (not sure if all are needed) hostnames, as well as "t.9gag.com" (not sure if needed) and "rover.ebay.com" to allow for the ebay email links to work through gmail.

[MENTION=1561860]delta_foxtrot2[/MENTION] I was unable to add d2ugaifelwk06r.cloudfront.net (found in current version of hosts file) to the exception list, it gives the following error: "Invalid hostname: "d2ugaifelwk06r.cloudfront.net" is not a valid hostname that can be included or excluded!" Everything seems to be working without it in the list. Maybe it is no longer active/valid?
[Android Apps and Games] MoskmaN:
Adfree is blocking in my nexus5 the pictures of the app engadget
[Android Apps and Games] delta_foxtrot2:
The reason you can't add d2ugaifelwk06r.cloudfront.net is because it doesn't resolve to a CNAME or A record in DNS and I'll remove it from the db
[Android Apps and Games] delta_foxtrot2:
ATM the exception list only accepts one hostname at a time, I'll put multiple entries on my todo list
[Android Apps and Games] delta_foxtrot2:
If you update to the latest version you can enable the webserver which will log hostnames so you can see which hostnames are causing you problems.
[Android Apps and Games] jarda.jezek:
Hi all. Will the tapatalk be enabled soon?
[Android Apps and Games] Magnituder:
good work thanks for share...
[Android Apps and Games] snapper11:
Sorry if this has been answered but does Adfree work without a root? I ask because I initially rooted my device and added Adfree which worked like a charm, but have since removed the root via SuperSU since I need to use my warranty. I used Root Checker Basic app and it says my phone doesn't appear to have root access and SuperSU is no longer on my phone however I still don't see any ads. I don't plan on rooting my next phone so was wondering if Adfree works without root. Thanks
[Android Apps and Games] RyanThaDude:
Yes this requires root. In your instance the modified host file wasn't replaced after removing root so it's still blocking ads, however no new changes to the host file will be made until root has been restored.
[Android Apps and Games] zippy01:
Is anyone else in some sort of update loop :( everytime I reboot my phone I'm forced to download and install adfree I've tried uninstalling and reinstalling and still the same
[Android Apps and Games] king.larry:
Same problem here! Allways giving the same update 0.9.1 :(
[Android Apps and Games] DJ_SpaRky:
You will have to manually add them to your Exception List (whitelist).

Sent from Omicron Persei 8 via Planet Express.
[Android Apps and Games] qcityclownin:
Same problem here. Keeps telling me to update, but seems to be the same version every time (0.9.1). Tried rebooting.

I'm on a rooted s4 running Wicked rom.
[Android Apps and Games] delta_foxtrot2:
I can't reproduce the problem on my phone, what ROM/Phone are you using?

update: never mind I found the problem and fixed it.
[Android Apps and Games] zippy01:
:):o

Even though you have fixed it just for information.

Stock 4.4 Xperia Z C6603
[Android Apps and Games] pearljohn:
Exact same thing here.. Download always gives 0.91
[Android Apps and Games] delta_foxtrot2:
Are you behind some sort of proxy?
[Android Apps and Games] pearljohn:
No proxy here. Cheers
[Android Apps and Games] delta_foxtrot2:
Then I have no idea what the problem would be, because the fix I deployed a couple of days ago should have fixed it
[Android Apps and Games] HetsHumbucker:
i added www.tapatalk.com and link.tapatalk.com to whitelist, but still can't open links from tapatalk...

Edit: how do they link website login to my adfree app anyway? *confused*

Gesendet von meinem GT-I9505 mit Tapatalk
[Android Apps and Games] doinkydoink:
U need to authenticate using the app on your phone
[Android Apps and Games] jdstrydom:
After you added the exceptions on the Web, you have to open the app, make sure you are authenticated and redownload and install the hosts.

Just did it for the links you mentioned and it works fine.
[Android Apps and Games] Vaetheran2107:
Tried to do as mentioned but didn't succeed.

Getting an error message regarding apn settings

Gesendet von meinem Nexus 4 mit Tapatalk

Edit: After deleting the host files and the app data I logged in again and downloaded the hosts again. Now it seems to work.
[Android Apps and Games] delta_foxtrot2:
Can someone tell me which of the tapatalk host names should be removed from the main DB?
[Android Apps and Games] xu198516:
seemed that everyone hates ads....
[Android Apps and Games] DJ_SpaRky:
Go to http://adfree.bigtincan.com/ and register, then login and add the hostnames to the Exception List (whitelist). Then using the app, pick Authenticate (login) from the menu and login. Then Update the hosts file and your exceptions will be removed.

I'm not sure which ones are needed, but here is the list of all of the tapatalk hostnames that are in your hosts file:

cache.tapatalk.com

db.tapatalk.com

dev.tapatalk.com

directory.tapatalk.com

img-2011-12.tapatalk.com

img-2013.tapatalk.com

img.tapatalk.com

link.tapatalk.com

log.tapatalk.com

logos.tapatalk.com

m.tapatalk.com

mail.tapatalk.com

search.tapatalk.com

support.tapatalk.com

tools.tapatalk.com

vpn.tapatalk.com

I've whitelisted them all and have no issues and no ads. :cool:
[Android Apps and Games] delta_foxtrot2:
That was my problem, I've removed them all, until someone comes up with a better suggestion.
[Android Apps and Games] delta_foxtrot2:
Here's a shameless plug for my speedometer app

It's not as pretty as some of the other apps, which I'm still working on it to improve, but it's practical what it does in the background by making a hash chain to produce a tamper proof log which is unique to all other tracking apps.
[Android Apps and Games] fury683:
How is the "View TCP host names" and "View Blocked host names" supposed to work? Last night I enabled the webserver, rebooted and loaded some apps, etc. A bunch of stuff showed up in the TCP/IP log, but nothing in the block list.

I'm trying to find the root of a blocking issue so I can add it to my exceptions but it doesn't seem to be working correctly. I had emailed the owner of the list I use (Someonewhocares.org) and got a reply with some steps to try, but it involves installing an Apache server on my PC for logging. I'd prefer to do it on the phone as it's an app having the issue, not a page.

Verizon Moto X running 4.4.2, rooted/bootloader unlocked. Stock Verizon ROM Xposed/Gravity Box.

Any help is appreciated.
[Android Apps and Games] 2545:
Do you mean the "Local Webserver"? I have enabled it with a check mark but where do i see the hostnames?

---------- Post added at 12:42 PM ---------- Previous post was at 12:19 PM ----------

How do you enable webserver? Is it the checkmark beside "local webserver"?

At least something shows up on your log. Nothing on mine.
[Android Apps and Games] fury683:
Enable it (check the box) then reboot your device. That is what I had to do. It showed a ton of stuff (Facebook, Youtube, Twitter, etc) after the reboot, but seemed to stop updating after a minute or two, and there is no way to sort them by time so I don't know what order they occurred in.
[Android Apps and Games] delta_foxtrot2:
You shouldn't need to reboot, but you do need to do something to trigger ads.

Also the app filters host names for duplicates.

I can't think of a good way to sort them, suggestions are welcome.
[Android Apps and Games] fury683:
Thanks for the reply. I've never had the log be successful before last night when I rebooted. As for sorting, I think listing by time would be more typical of a log, versus just a consolidated list. I guess I don't care as much about the log as I do about seeing what's being blocked. Nothing is populating there.

I have part of soundcloud.com app not working. Only seems to happen for certain user uploads, not everything. Would love to be able to find the proper exceptions but the logs doesn't seem to be working as designed, unless I'm doing something wrong..

What so you mean by initiate the ads? Is loading a page enough?
[Android Apps and Games] delta_foxtrot2:
If they show up in the TCP/IP they aren't blocked, if they show up in the block list, then you haven't done anything that cause your phone to block.

P.S. for blocking to show up in the block list you need to set the IP to 127.0.0.1 other wise nothing will ever show up in the block list.
[Android Apps and Games] mb:
I'm seeing ads for Metro Newspaper UK and some fruit game for the first time. Have downloaded new version and updated/rebooted but they still appear in apps like OurGroceries and gReader.
[Android Apps and Games] cspiresucks:
I updated to the new version and I'm Still getting ad's on www.mocospace.com

Sent from C Spire SCH-R760 Rooted
[Android Apps and Games] oae08:
Good I like this update. Can you make it a darker themed though. I mean replace the white background with grey/black dark one.

Thanks.
[Android Apps and Games] delta_foxtrot2:
Have you enabled TCPdump and checked the tcpdump screen for host names?
[Android Apps and Games] delta_foxtrot2:
Doesn't matter what colour I make it, someone will always want something else :)
[Android Apps and Games] delta_foxtrot2:
You can sign up to http://adfree.bigtincan.com and white/black list host names or you can revert the host file changes by hitting the revert button in the app.
[Android Apps and Games] oae08:
Haha well the important is its function ofcourse but i say that because its too bright with white ;p
[Android Apps and Games] cspiresucks:
Well I'm almost to the point of giving up! Everytime I try to run TCP Dump I get a solid white screen and after about 10 minutes nothing happens. Adfree doesn't block ads for me anymore like it use to.

Sent from C Spire SCH-R760 Rooted
[Android Apps and Games] kotey:
Can't use custom ip, bug?

Was using 0.8.47 on multiple devices, no issue.

Updated to 0.8.58 today. Having issue on two jellybean devices.

Use custom ip no longer works. Used 0.0.0.0 all these time.

Tried, even typing in 127.0.0.1 doesn't work.

The dot can't be entered, and input stopped after three chars.

What's going on, bug? :fingers-crossed:

EDIT:

Pressing download always gave hosts file with default ip of 127..

Solution, vi /etc/hosts :%s/127.0.0.1/0.0.0.0/g

But not everyone have a clue what vim is (ie my little brother)
[Android Apps and Games] La_Globule:
:confused: Just for information, can you tell us what could be the interest of using 0.0.0.0 instead of 127.0.0.1 ?
[Android Apps and Games] JVogler:
Copy and pasting directly from my phone to app is massively faster than booting up a computer, if I'm even near one...or opening a mobile browser and logging in, etc. Just my scenario, if you ever decide to add the option to the app itself. I'd much rather pay a few bucks for a pro version and do it in app.

-- Note II, TapaTalk II--
[Android Apps and Games] kotey:
I'm no network expert. And it was universally known/told to use 127.0.0.1 aka localhost do to redirects. But I don't want to let apps do bogus calls to my own, non-existant web server (although sometimes i do run a localhost server for certain purposes) So there, i picked up an erroneous but valid ip, 0.0.0.0.

Does that answer your question?

On Windows 9x upto 8, OSX, Slackware, Fedora, Ubuntu, ip 0 'rejects' a call faster than localhost, hence the lack of 'really have to ping'. Not sure about other linux flavours.

On Android, the results 'felt' the same for both. I don't know why that is, perhaps mobile devices ethernet speed are yet to par with their desktop counterparts (think wlan, not 3g/4g).

But, I'm used to ip 0 for more than 10 years without a hitch, and it always won me over other guys with localhost ip....

Technical aside, admit it, 0.0.0.0 is sexy. 127.0.0.1 is not.

And moreover, it saves me 'precious' two TCP bytes for each request.

Hope that answers question about my choice. Anyway my previous post is not actually about the ip, its about the lack of ability to put *any* random ip in the custom box.

Btw, my main phone is the same as yours,

Samsung Galaxy S2 (GT-I9100) JB v4.1.2 (XWLSD) stock ROM rooted.

Perhaps your results are the same as mine?:highfive:
[Android Apps and Games] metalwraith:
One of my top favorite apps, has always worked great for me. Glad I found it again on slideme for my Nexus 7.
[Android Apps and Games] Senyaka:
I do realize devs need to make money, but this App has been so useful. So glad it's still around in some form.
[Android Apps and Games] Ci-Fi:
Anyone else seeing ads in Chrome Beta?
[Android Apps and Games] anuragchauhan00:
Thanks, so i used an app from xda to block ads in xda. :sly:
[Android Apps and Games] delta_foxtrot2:
0.0.0.0 will route over the net, where as 127.0.0.1 will only hit the local interface.

IPv4 has fixed header size, so you aren't saving anything.
[Android Apps and Games] delta_foxtrot2:
I'll look into the IP filtering I added so only valid IPs could be used.
[Android Apps and Games] delta_foxtrot2:
The next version I publish uses the default theme, so if you have a dark theme it will be dark.
[Android Apps and Games] delta_foxtrot2:
Do you have the IP set to 127.0.0.1?

depends what page you loaded, it may or may not have ads.