Open GoogleCodeExporter opened 9 years ago
Works fine for and hour or so but breaks my dnsmasq so I'm unable to obtain IP
on wifi.
Original comment by kitch2400
on 23 Nov 2014 at 3:53
I experience same problem. Couldn't connect to my WiFi after a while :-(
Really want this to work globally
Original comment by ji...@warting.se
on 23 Nov 2014 at 4:37
I noticed this happening to me as well, however I was thinking it was a
configuration error only I would experience.
The fix for me was to go to the DHCP settings and ensure
Gateway: Make sure this is not blank
DNS: Make sure the only entry is that of the router you run this script on.
For me, both the gateway and the DNS were blank. When wifi clients connected
they would try then fail. After the changes (and applying them) wifi clients
connected without any issue. Reply back if this works.
Original comment by yuri.ver...@gmail.com
on 24 Nov 2014 at 12:20
I'll look into this tonight and post laster for verification.
Original comment by kitch2400
on 25 Nov 2014 at 2:04
FYI i should clarify for those that don't have a strong understanding of TCP/IP
addressing.
The Gateway IP is that which the clients will use when exiting your network
(usually to the internet). It is almost always that of your ASUS router. So if
you access your ASUS router at http://192.168.1.1, then the gateway you will be
specifying for DHCP client settings will be 192.168.1.1
Similarly the DNS server will be that of your router - 192.168.1.1, the router
will be accepting your DNS requests (converting something.com into an IP
address) and if it cannot fulfil them, it will forward those onto your ISP DNS
(or whatever you have defined as your WAN DNS server, if unsure use 8.8.8.8 and
8.8.4.4 as your WAN connection DNS - NOT YOUR DHCP DNS)
All this script is doing is effectively returning a bad ip address for DNS
requests for Advertisements and malware. This causes the request for the image
or file to fail, and you are left with a wonderful ad-free experience.
Original comment by yuri.ver...@gmail.com
on 25 Nov 2014 at 4:20
Confirmed. All is good after manually reverting default gateway and DNS server
to previous values.
Original comment by kitch2400
on 27 Nov 2014 at 12:00
Sorry, can't post it as I (or someone from this project) haven't test it.
But I've looked at your code and fixed it a little...
https://dl.dropboxusercontent.com/u/44733876/tmp/adblock.sh
(https://dl.dropboxusercontent.com/u/44733876/tmp/resourses.txt)
Usage: ./adblock.sh /path/to/file/with/links.txt -r
So it reads links from given text file. http and https protocols are supported.
(openssl binary is required for https).
For example:
./adblock.sh resourses.txt -r
Pls, let me know if it works or any fixes needed...
Original comment by d...@soulblader.com
on 28 Nov 2014 at 9:39
Issue 1419 has been merged into this issue.
Original comment by d...@soulblader.com
on 7 Feb 2015 at 9:52
[deleted comment]
My take on adblocking might be a bit heavy compared to the other ones
https://www.dropbox.com/sh/vwyjbsbey84q2hs/AAA9vP7lVJ94-ZdupW-FxaHha?dl=0
Original comment by toast.ro...@gmail.com
on 25 Mar 2015 at 9:59
Original issue reported on code.google.com by
yuri.ver...@gmail.com
on 14 Nov 2014 at 8:49