yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Droidphilev:
Hi,

Thanks for your answer. Maybe the lists in adaway i more targeted to android. But it is indeed normal that i don't have a peerblock.dbx in list view?
[Xposed Framework Modules] DragonHunt3r:
Ye that's normal I removed it, instead it's saving it to the PeerBlock directory, you'll see there a file BlockList.dat

All the history/temp files etc are also there
[Xposed Framework Modules] Droidphilev:
Hi,

FYI:

For Xprivacy users: i get the feeling that when you block "storage" for an app in Xprivacy, this app will not show up in history of Peerblock. Tried this with Wordfeud. I was able to block the banner after disabling "storage" in xprivacy.

Thank Dragonhunt3r for the info
[Xposed Framework Modules] hcarrega:
Since some days ago...peer block lags on open and can't rebuilt cache
[Xposed Framework Modules] pavulon00:
I love peerblock, must have for windows and now for android ! thanks !
[Xposed Framework Modules] viethungyp:
can not download block list from http://www.iblocklist.com/list.php?list=bt_ads
[Xposed Framework Modules] DragonHunt3r:
Just a update: I'm still working at my own database format no worries It's going fine :)

Reason why I'm making my own database format is because SQLite, SharedPreferences didn't do the job.

Oh well my own format can now create Tables, Columns, insert data

Only things that are left in the format is update and delete and then some other nice features will be added quickly :highfive:

When the format is finished I hope the bug with the "no sdcard permissions" will get fixed
[Xposed Framework Modules] mnjm9b:
Couple of questions

1. Is there source available for this

2. Is there another place to download this as I don't have access to Google Play store.

3. Is there a whitelist from history available

4. Can you download lists from within the app or import/export to sdcard.
[Xposed Framework Modules] DragonHunt3r:
1. No the source code is not available, need to think about making it open-source or not

2. There is no other way currently as I removed the links from the thread so I get all the error reports etc

3. What do you mean exactly ?

4. List updater/downloader will be added in next update
[Xposed Framework Modules] mnjm9b:
1. I hope you do...I would love to contribute.

2. That is a shame as I am sure there are many others that don't have access to Google Play.

3. I meant that as opposed to being able to blacklist an IP from the history...can you also whitelist an IP.
[Xposed Framework Modules] DragonHunt3r:
Black/White listing for hostnames and ip addresses is at the todo's, will upload apk soon :)

Note: Look at the first post and you'll see at attachments the version 1.03 ;)
[Xposed Framework Modules] Publiuss:
Hi

firstly thanks for this useful xposed mod!

I've some questions:

- what is host:yolo? ("History,2013/08/27 22:57:31,yolo,#SWAG,0,some swag,true" in history file)

- how to come back if I wrongly added a host to block list (from history tab)?

- could you add to your todos a function to view just which host were blocked to an app (for ex, if you have 4 blocked, 1200 allowed...)

Well, keep rocking, bye! :cool:
[Xposed Framework Modules] DragonHunt3r:
Yo thanks for your response, lol the host "yolo" was a test I totally forgot to remove it it's already removed from the new version

Will be added to the todo's to remove a host that is blocked

And filtering at history for block/allowed connections I was actually working on it already ;)
[Xposed Framework Modules] Publiuss:
However "YOLO" is a good acronym! :cool:

Thanks, bye!
[Xposed Framework Modules] dirtyreturn:
I have some questions. Is this similar to adaway? If it is won't it eventually be removed from the play store? And since it doesn't use the hosts file, the app has its own list folder, it is safe to use this and adaway? I had downloaded the ad.text file from the first post.. How does the text file get updated? I did see a suggestion about an auto update feature.. Just curious. Thanks.
[Xposed Framework Modules] AndresOrue:
First to all great app, very useful...

Edit: I found the answer for my issue with chrome in the thread ... :)
[Xposed Framework Modules] hcarrega:
W8 for the next update :)
[Xposed Framework Modules] murphycr:
One thing I noticed is that a lot of applications using CDNs stopped working; after a bit of digging I found that "iad" is a common component of subdomains to indicate that a server is in the Washington, DC area due to Dulles International Airport having the airport code "IAD".

PeerBlock therefore started nuking connections to those servers, which tends to break things.

Is it possible to whitelist the "*iad*" pattern w/r/t the "ad" keyword filter?
[Xposed Framework Modules] roydest:
Great App, thank you for making it available for everyone!

I just found this thread, i use this app for a long time on Pc (and previously PeerGuardian), it's a must have for every user...

+DragonHunt3r,

i am not sure, but i think that only websites with the letters "ad" in the address and DNA will be blocked (at least on my phone). I have copied 12 lists into the folder "PeerBlockLists", the lists should block more (or PeerBlock does not show it). I don't know what is wrong...

Maybe something for your Todo's:

It would be great if you could make it possible that we can allow blocked addresses again, for example forever (permanently stored in an exclusion list) and only for limited time (selecting the blocked addresses in a window in real time). Something like that is in your Todo-list, but I do not know if in real-time.

For all:

I make my own blocklists for Pc using the Blocklist Manager from Bluetack (for Utorrent etc, with lists mainly direct from Bluetack - you have to register for download), so I just downloaded the most important new lists. They are all in *.txt format. If someone wants to have the lists (over 1.4 billion Ip addresses are blocked), just send me a message and i will send a Dropbox link... I have tested the lists in PeerBlock for Android and there is no noticeable delay when browsing.

Lists:

ads-trackers-and-bad-pr0n.txt

bogon.txt

dshield.txt

gnutella.txt

hijacked.txt

iana-multicast.txt

iana-private.txt

iana-reserved.txt

level1.txt

spider.txt

spyware.txt

malwaredomains.txt

domains.txt

...go on with your great work DragonHunt3r!

bye
[Xposed Framework Modules] DragonHunt3r:
I'm sorry for the people who are still waiting for the next update, It's currently busy at job :eek:

Oh well I really hope I can push the update asap :)

I begun with a small Q/A...

Question: Can I use this together with adaway ?

Answer: Yes you can.

Question: Does PeerBlock modifies the hosts file?

Answer: No it does not.

Question: Why does nothing gets blocked?

Answer: Most likely you disabled the option "Block DNS"
[Xposed Framework Modules] mnjm9b:
this is a perfect example of when open source is helpful.

other devs can push individual fixes and all you need to do is approve them.

plus you have the organization of issues and suggestions etc...
[Xposed Framework Modules] DragonHunt3r:
umm true I'll make it opensource then in few hours at codeplex since that's where I host everything

Don't mind the mess in the code :angel:
[Xposed Framework Modules] mnjm9b:
I have never used codeplex before...

does it work like github?

edit: apparently codeplex is open source hosting from Microsoft...

i wonder how many issues there will be for cross platform development...if any.
[Xposed Framework Modules] DragonHunt3r:
Added something new to the todo list "A popup window which shows allow/deny for establishing a connection"

I think this feature would be really neat since you can just see a connection being made

And with popup window I really mean a popup something like SuperSu does

It would be neat at 1 side but at the other side you might get spammed with those popups :P
[Xposed Framework Modules] jasonkhoo87:
I have problem now, previously it work find.

After a while, it start to allow all connection. I check the block box untick now. I try to re-tick both and refresh the cache.

Then I exit the application. I run back and found out the box untick again.. Anyone?
[Xposed Framework Modules] donthateme702:
When I try to download on chrome or opera mini, I'm not getting list? Help
[Xposed Framework Modules] godofgeeks:
You will not be able to download it through phone so ...either use computer or somebody few posts back had published lists use that....

- Sent from my Super Geeky Handheld Device :cool:
[Xposed Framework Modules] Looki75:
From the beginning, I had both hosts file and PeerBlock. Yesterday, I removed the hosts file and ads are back in the browsers... For example on the xdz website...

Why is PeerBlock not working by itself? In the "main" tab, it shows "Blocking 1,409,236 IPs" but "Blocking Hostnames: 0".

"Block DNS" and "Block 'ad' keyword" are checked. Others are unchecked.

Any idea?

Thanks for help!
[Xposed Framework Modules] roydest:
[MENTION=4772048]DragonHunt3r[/MENTION]

I think PeerBlock needs a possibility to limit the history, meanwhile the files are so large that PeerBlock crashes when loading...

I've done a few tests and i have a few questions: I tested my lists on the Pc. Result: PeerBlock blocked a lot more IP addresses than on the phone (with "Block DNS" and "ad" Keyword - same Websides).

The number of Ip's on the pc is 2.1 billion and 4.9 billion on the phone, why this difference?

PeerBlock blocked almost exclusively the "ad" keyword, it should be much more. I dont know the reason, do you have an explanation for this?

edit:

I think I have found the reason why PeerBlock blocked almost exclusively the "ad" keyword on my device: Peerblock does not create the "PeerBlock.dbx" (no matter how many lists i copy in "PeerBlockLists")

Thanks in advance
[Xposed Framework Modules] AndresOrue:
Same happen here..
[Xposed Framework Modules] roydest:
[MENTION=4330004]DeltaSync[/MENTION], [MENTION=2468642]Looki75[/MENTION]

If you rebuild cache blocklist, is there a "PeerBlock.dbx" ? I think that is the reason (at least on my phone).
[Xposed Framework Modules] AndresOrue:
In PeerBlock and PeerBlockLists Folders i dont have that file. Where i can find that file or i have to create it? :confused:
[Xposed Framework Modules] roydest:
Peerblock should create it by itself (but it does not), look at the screenshots in Post #1

http://xdaforums.com/showpost.php?p=44041345&postcount=1
[Xposed Framework Modules] Looki75:
So how to make PeerBlock build this file??? :eek:
[Xposed Framework Modules] roydest:
I dont know, maybe it's a bug. I think only the dev can answer this question...
[Xposed Framework Modules] DragonHunt3r:
I removed the .dbx from the list so it's not shown anymore and it will only show ur own lists

You can rebuild the file by pressing "Rebuild cache list"
[Xposed Framework Modules] roydest:
I know, but there is no file (...and never was...it does not matter whether I use one or more lists, i have only 46 blocked DNS Requests/ 1 blocked connection and 0 blocked Hostnames, but it would have to be thousands...) and i am not the only one with this problem -> Please read the previous posts, there are still some open questions, i think however that all questions / problems have to do with the (not existing) cache.

I also had to manually delete my history, because it was so large (filled with non-blocked addresses) that the program refused to work.

I think PeerBlock needs a adjustable history limitation, i hope you can add one and solve the problems ...

Thanks in advance
[Xposed Framework Modules] Looki75:
So what about the issues I described?

Hope you can update / solve the issues sometimes soon...

Thanks!
[Xposed Framework Modules] jasonkhoo87:
Will it work with new xposed framework? Because after flashing new rom. Running peerblock wont work. After ticked both option and reboot, rerun back peerblock and boxes remain unticked.

It did not request supersu too. I believe my supersu and rom no problem as I did try using new flashed rom.
[Xposed Framework Modules] aejazhaq:
Just wondering if I understood right the 7th item "Blocklist updater/downloader" in your todo list, is this where the app will be able to listen/sniff to where the traffic is going (like wireshark). For instance, like android OS uploads and downloads data in the background even when the device is in standby. Will this feature point out where the data is uploading to and downloaded from so that we can specifically block that IP without going bersbek with ranges?

If that is correct then this is one hell of an app! thanks
[Xposed Framework Modules] roydest:
The Blocklist Updater/Downloader should "only" download (update) the latest blocklist for PeerBlock, it should not be a protocol analyzer (sniffer), such as WireShark.
[Xposed Framework Modules] sam613:
I just wondered that could you consider to add function to clear history by a period of time, since that will become too large.
[Xposed Framework Modules] PunchUp:
Update coming anytime soon?
[Xposed Framework Modules] cdkg:
Can't wait for an update
[Xposed Framework Modules] marbulas:
Doesn't work on Galaxy Note 3...
[Xposed Framework Modules] leathan:
Most powerfull app ever! Wish it had more development. The raw essentials are there but lacks tuns and tune and tuns of user things... Like choices/gestures

Also lacks tools it could have. Havnt really used it yet but, noticed some shell scripts for history removal and updating. Incorporating this into app should be a must... Also an if statement to prevent blocking something thats blocked,, etc..

Also noticed bugs like rebooting

So amazing!

SOOOOO AMAZING!!!!!!

Edited-----
[Xposed Framework Modules] leathan:
Edit: Was this ever done??? Link?

---------- Post added at 12:47 PM ---------- Previous post was at 12:34 PM ----------

[/COLOR]

HUGE THUMBS UP...

I hate living in china,.. Its hell for us here.. HELL!

I always end up having to torrent...

I bring this up because apparently i had a bug specific to a "non official" version of this apk?...
[Xposed Framework Modules] leathan:
Wow! Ive had this app like one day and im utterly addicted!!! Im setting the real deal up on my pc now :)

Thank you SOOOOOO MUCH!

One last thing. Can i get a link to the "official" 1,03? I think mine still isnt official.

China is a %#!?¥ Need a vpn just to READ about android stuff..

Edit: i still really hope you can also link me source code. I have lots of freetime
[Xposed Framework Modules] leathan:
Nevermind

The yolo bug is also in the "official" version. And renders it unusable to the eye.

I used http://apps.evozi.com/apk-downloader/ and checked the md5. Clearly the author never used is :( very sad since its quite hard to find program like this. I found netflector and network log.

( this link above still downloads from play so im guessing its ok )

Network log is so beaitiful.... I now use it with block it for pretty much the same effect as peerblock.

Really hope this project gets reopened... Or made open.

Either way thanks.
[Xposed Framework Modules] hcarrega:
Using network log how u can block ads can u help me
[Xposed Framework Modules] leathan:
Hey man, im happy you tried network log :)

I bet you love it! Try to combine network log with.

Block it (very simple, very nice)

Xprivacy (amazing, uses xposed for system)

Peerblock (so nice but no developer? Sadly.. I recomend it ONLY AFTER author fixes.)

Netflector (doesnt seem to work with all kernels)

Im sure theres alot more out there. I know adaway lets you customize hosts to ban, but its hard. I recomend block it, and look for an alternative online (google play sucks for this)

Last note: dont install "we.cap"

I think it installs a process that keeps going even after you delete it... I had to nandroid.
[Xposed Framework Modules] Brandroid28:
Can you direct me to Block It? Just can't find it for some reason.
[Xposed Framework Modules] roydest:
https://play.google.com/store/apps/details?id=de.resolution.blockit&hl=de

(German play Store)
[Xposed Framework Modules] leathan:
Hey sure,

Direct download: (permalink) http://www.juliospinelli.com/axe/android/blockit.apk

Or download aptoide: www.google.com -> aptoide you can try ( http://www.juliospinelli.com/axe/aptoide.apk )

Then search block it.

Search network log.

Search process list

Search android firewall

Make sure the firewall is root and make sure your phone boots into airplane mode with no wifi. Make sure when you enable wifi your firewall is already on, good firewalls will let you load on boot, and some even in the init file. But so long as you boot with radios off its all fine.

I recently looked at this post http://www.xda-developers.com/android/logging-test-by-treve-sassibob-review/ and i actually have it all done and still i have tuns of leaks. My keyboard sends data a bunch of google usage collection servers... Even after i hacked, modded, and went through countless tutorials to further understand things.

Dont even bother with that last link... Just do what i said and its full proof. Maybe also look around for some lower lvl utility apps that are specific for your phone kernal. That way you can directly block things at the kernal level. Block it wont do that. Ill look around for your model and try to find something for you.

And i recomend always doing a whois and google search on urls before you ban them. Thats how i found all the google (illegal) (YES ILLEGAL BECAUSE I OPTED OUT!) crap and managed to block it :)
[Xposed Framework Modules] Brandroid28:
Wow. Thanks. I usually check Aptoide, but just used Google this time. Block It didn't return very helpful results. Lol. I'm still such a noob about privacy and unaware how invasive apps can be. I only use XPrivacy right now, but I'll try all of your recommendations. I use KToonsez kernel on the S4, and have no idea what to change. Only used his personal settings. Thanks for all the info.
[Xposed Framework Modules] leathan:
I copy ipadresses from network log into blockit or iptables.

Im still Still looking for perfect port of some low utility (but easy to use) apps from linux but

Apparantly even iptables is differant on android? You dont know what that is.. BUT. Install Afwall+ as your firewall... I didnt recomend one because usually people already have a favorite. But afwall+ is great because not only is it easy to use. But burried in there is the ability to write iptable scripts that are specific to the afwall iptables binary and not the default system ones which i think have lots of icompatabilities? You probably dont know what this all means but you dont have too.. But if you ever want to go a bit above and beyond you can Search... "Afwall+ iptables"

I can give you a link but so far everything has been free apps. Afwall also. And i recomend reading about iptables in general (i had issues porting them to android(not sure if i have an old binary)).

I just dont use gplay... I hate gapps with passion.. ^.^ (Unless i modify the code, which i cant always do right) if u need any links tell me tho.
[Xposed Framework Modules] mnjm9b:
Has this been done?

I searched codeplex for peerblock and it is not found.

If you don't have time or are unable to continue this...

maybe you can just zip up the code and

I could setup a github for this.
[Xposed Framework Modules] leathan:
TO COPY AN ADDRESS OR URL FROM NETWORK LOG JUST LONG CLICK ON THE ADDRESS/URL. (Network log may log traffic thats blocked, ill explain read on)

You can go into network log and into settings and check the box that reads "dont reverse lookup (copy real ipadress to clipboard)" or something like that lol.

Then go into block it and click the ipadress tab. And block the ipaddress.

Also if you see alot of ipadresses start with the same number you can block it like this.

123.0.0.6

123.0.0.5

123.0.0.7

To block this click ipadress tab. And add 123.0.0.0/255

Also what i do is add the addresses directly to iptabes that what i can block only incoming traffic, or only to a certain port.

https://github.com/ukanth/afwall/wiki/FAQ

Examples:

https://github.com/ukanth/afwall/wiki/CustomScripts

Blockit will sit and act as a vpn server would. It will buffer all data internally and not release it to the user space. However its now low level, the kernel will communicate regardless, but it will block many many many adds.

If you want easy big fat lists to auto block tons of adds and dont like adding them manually install andgaurd or adaway or lucky patcher. You can use them all at once.

Lucky patcher is my favorite app in the entire world... And i dont use it to "hack" apps. It has alot of good features. Like letting me patch out "do you agree windows?" Windows that force you to agree...

If they ask me if i agree it implies i have another answer ;) im just finding that inherent way to say nope disagree.....

Ip tables reject traffic at a lower level and can hence block non tcp traffic. Small scripts (i use android tuner to script) can mean 100% success blocking adds. But you have to manually code and its "a little" hard. Sadly i cannot find a app that acts as a front end app and makes the coding easy for noobs. Presently you need to atleast read 10hrs worth? To use them. Peerblock was getting close.

Edit: kernel should also be kept in control and eventually migrate towards that. I hate when i see my battery, cpu, and air being used to send information to google.... EVEN IF I DENY they do it!
[Xposed Framework Modules] pan.droid:
Okay. Has this been done or did big brother find your magic number?
[Xposed Framework Modules] DragonHunt3r:
From time to time I'm still working at this and this weekend I'll be working on it again,

I found some nice classes while browsing through the source code of PacMan rom

PeerBlock is now blocking every single ad that is being shown in a app even thought the block list don't need to contain the host name, this is only for those apps with annoying popups for example in angrybirds

It will also support soon Android 4.3.1

Thanks also for the bug reports, most of those bugs got fixed :)
[Xposed Framework Modules] DragonHunt3r:
For anyone interested in the source code, u can take a look here ;)

https://apeerblock.codeplex.com/

Warning: For right now the app from this build can't be used for normal use, we're modifying alot right now
[Xposed Framework Modules] M@|ice:
Absolutely love this. It stops every single stupid ad and pulls them out of everything. This is amazing.

I have one question. From time to time I notice the ads come back and when I open the PeerBlock app I see the options are unchecked. I only use the bottom two. The only thing I can figure to do to resolve this is I go within the apps install directory and delete the settings file. When I launch PeerBlock app again the checks are there and stay I just run my lists again on the next screen over and good to go.

What am I doing that's causing the option to uncheck?

I really like this project. A lot.
[Xposed Framework Modules] jasonkhoo87:
Not only u facing this. I'm too. From note 1. Till note 3. So we just can wait for its updated or else just use adaway to block the advertisement.
[Xposed Framework Modules] lunkwell:
For those link ending in ?list= use wget -O to write to a .gzf for example

http://list.iblocklist.com/?list=aphcqvpxuqgrkgufjruj should be written as

wget -O /sdcard/PeerBlockLists/bt_ads http://list.iblocklist.com/?list=bt_ads

or

wget -O /sdcard/PeerBlockLists/bt_ads.gz http://list.iblocklist.com/?list=bt_ads
[Xposed Framework Modules] adlx.xda:
Installed this app last week, and I have noticed the same behaviour too. Actually I haven't been able to use it successfully due to this I believe :(
[Xposed Framework Modules] jbryson16:
There is no "update button" on iblocklist site. I tried Firefox and the stock browser. How do I download? Do I have to use a pc? Thanks in advance
[Xposed Framework Modules] godofgeeks:
Well you can use terminal emulator with lunkwell script to solve your purpose

- Sent from my Super Geeky Handheld Device :cool:
[Xposed Framework Modules] jbryson16:
Please forgive if this a stupid question. But are you saying I can use terminal emulator to download the list from iblocklist?