News for hackers. Stuff that matters.
Re:Block ads on home devices using a Raspberry Pi by gravypod on Friday December 25, 2015 @12:03AM (#10790474)
Why not just use a hosts file?
Re:Block ads on home devices using a Raspberry Pi by nacs on Friday December 25, 2015 @12:27AM (#10790513)
1) This is centralized so you wouldn't have to edit on every PC/device 2) It's a bit tricky to edit the hosts file on an iPhone..
Re:Block ads on home devices using a Raspberry Pi by gravypod on Friday December 25, 2015 @02:59AM (#10790701)
You can put a hosts file on your router. That way it is automatic to ALL devices, no need for DNS tinkering.
Re:Block ads on home devices using a Raspberry Pi by edent on Friday December 25, 2015 @05:18AM (#10790874)
Only if your router supports it. Many ISPs provide locked down routers with no access to hosts, no ability to change DNS servers, etc.
Re:Block ads on home devices using a Raspberry Pi by gravypod on Friday December 25, 2015 @06:07PM (#10792657)
I'd just get a new router or DD-WRT. If you are spending all of the money on a Raspberry Pi and all equipment you should probably get a router that is free*.

Hell, add a wifi dongle, and now you have a kindof-good router.

Re:Block ads on home devices using a Raspberry Pi by fancy_pantser on Friday December 25, 2015 @02:00AM (#10790611)
re #2: it's only two steps to install a proxy-based adblocker and then set a proxy for your internet connection. Same goes on Android.
Re:Block ads on home devices using a Raspberry Pi by gravypod on Friday December 25, 2015 @03:00AM (#10790705)
A hosts file on a router would be much faster than anything else. Nullrouting packets before they even enter your LAN is possible the best thing you can do.
Re:Block ads on home devices using a Raspberry Pi by mverwijs on Friday December 25, 2015 @02:26AM (#10790649)
A filtering proxy takes many more CPU cycles than this solution.

This is a lot more efficient.