Avoid Tracking - Best Bang for Your Buck
With all of the changes, aka the đ© show going on in the US right now, a few people have reached out asking how to be more secure online and avoid tracking. They usually start off with âWhat VPN should I use?â
The money spent by VPN companies on marketing appears to have worked, people think that using a VPN will protect their privacy online and that obscuring their IP address will somehow make them secure. They also seem to imply that doing so will block cookies as evidenced by an ad I saw on the Metro.
This is not to say that the VPNs donât serve a purpose and that they arenât good, hell I pay for a Mullvad subscription. These are broad generalizations but close enough for the general public to understand what VPNs do.
Work
Workplaces will often have your computer connect via a VPN. This covers four things.
-
Puts all of your traffic through a secure tunnel to a server controlled by your job.
-
Helps to insure that if you use an insecure protocol someone at the cafe canât snoop on your traffic.
-
Usually has the benefit of forcing you to use their DNS which will let you find internal servers.
-
Lastly it allows them to control and see where you go online. This isnât really bad per se itâs their computer they control it.
Home
Using a VPN at home (or from a cafe) does the following. This makes a few assumptions again but is generally true.
-
Funnels all of your traffic via a tunnel to the VPN sever, this hides where you are going from the cafe.
-
Usually you can chose the VPN exit location. This means you can use an IP address in another location. A common example is saying youâre in the US to watch localized Hulu.
-
Make you appear to the sites you are visiting that you are coming from a different location.
The tl;dr for VPNs it that you can appear to be calling from another place and share resources with other devices on your VPN but it doesnât really block tracking.
How I Block Ads at the DNS Level
The VPN doesnât really stop companies from tracking you, youâre basically spoofing the caller id but when someone picks up the line on the other side youâre still saying âHi, Iâm Dan how are you doing?â If you want to stop this type of tracking, usually done through cookies, you can mitigate a LOT of this via ad blockers. There are several browser plugins that can block ads and those work pretty well, but I prefer to nip to the problem in the bud by blocking ads at the DNS level.
When you load a web page it make a series of calls to multiple servers. Iâm using CNN as an example but this is how most modern web pages work so there isnât anything particularly nefarious about what CNN is doing.
I used HTTP Toolkit to gather all of the requests if you look you can see the initial request, GET, for www.cnn.com with the status 200 which means âOKâ Letâs skip down and look at one of the GETs with a đ« icon. My snooping tool tells me me this about my request for https://get.s-onetag.com/c15ddde9-ec7d-4a49-b8ca-7a21bc4b943b/tag.min.js
The upstream server hostname could be not found, so HTTP Toolkit did not forward the request. This typically means the host doesnât exist, although it could be an issue with your DNS or network configuration.
This means that when it tried to look up the server using DNS (what translates names to IPs) that it came back empty. I wouldnât call this an âissueâ with my DNS or network configuration but instead a feature. I use the software tool Pi-hole to lookup my DNS requests. Pi-hole maintains a list of servers that are specifically used for ad-tracking and when requested tells my browser ânope that doensât existâ This is very effective in cutting down tracking because requests to share your info are not able to phone home.
How pervasive is this you may ask? Of the 60 requests my browser made to request the page 40 of them were to tracking services. (âŻÂ°âĄÂ°ïŒâŻïž” â»ââ»)
Why do I prefer DNS blocking vs browser ad blocking you may ask? Well because it not only works in my browser, but in my email, on the devices I use around the house including things you never really think about, like your TV.
What are the downsides blocking ads on the DNS level? It will sometimes break things, you can make exceptions for those sites you want to report back to or in the case of Pi-hole temporarily disable the blocker for a while to see if it is even problem. Some sites can detect that youâre blocking ads and will show you a popup. Sometimes it will let you through trying to guilt you into unblocking their site and other times it wonât. ÂŻ_(ă)_/ÂŻ
I realize not everyone has the desire or skills to run a Pi-hole what can they do? There are services that offer similar functionality to a Pi-hole. One of them that a lot of people recommend is NextDNS Iâve not personally used them nor am I getting paid or a referral bonus to recommend them but they have a free tier you can try and the paid tier is $19.90 a year.
Does this mean you canât be tracked online all together? Not really the EFFâs Cover Your Tracks will give you a better idea of whatâs going on.
Have questions or is something I said blatantly wrong shoot me an email.