Table of Contents
Your browser is the first exposed.
- configurations in about:config with the file
- Firefox preferences:
- in the privacy tab precise that you do not want to be tracked by sites;
- do not accept cookies from sites and allow (for session only) sites you trust ( example);
- install Tor/Privoxy and use FoxyProxy to switch faster between Tor and the “no proxy” mode;
- do not use Tor without HTTPS on sensible sites;
- avoid using Google DNS (even if they are fast and reliable). Prefer French Data Network DNS resolvers (22.214.171.124, 126.96.36.199).
Another good solution is to use the Tor Browser which is based on Firefox and pre-configured with the best settings for your privacy and uses the Tor network by default. No technical knowledge is required.
If you are using a public computer I recommend you Tails.
- check for the “lock” icon on the status bar (depends on the browser) that shows that you are on a secured web site. Also check that the URL begins with “https” in the location bar when making transactions online;
- always check the URL before clicking on a link;
- use the navigation bar history to prevent malicious URL;
- check that your browser is able to automatically fill in login forms with your information;
- limit the usage of social networking services;
- check your public identity, for example by searching your name in Google (you can use Google Alerts or a script you wrote);
- disable Google search history and Google location history;
- when possible, use two-factor authentication (possible with Google and Github for instance);
- do not log into private services on public computers;
- do not hook all your online services together;
- do not share your phone's location data;
- do not upload geotagged photos in the region your living (check the configuration of your smartphone and/or tablet);
- do not allow people to tag your face;
- do not share your Likes, +1s or whish lists. Prefer the use of bookmarks;
Alternatives to well known spied systems:
The content of my
/etc/hosts file is based on this very good example.
Choose the Domain Name Server you want to use.
Probably the best solution. Lets you add your DNS servers with a higher priority than the DNS servers provided by the DHCP.
resolvconf is a set of scripts and hooks managing DNS resolution.
The configuration of the internet connection is specified in the file
/etc/resolvconf. It is possible to edit this file, but any change manually done will be lost as it gets overwritten next time something triggers resolvconf.
A solution is to use the file
/etc/resolvconf/resolv.conf.d/head in order to ensure a DNS server is always the first one in the list.
# apt-get install resolvconf # cat /etc/resolvconf/resolv.conf.d/head # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN # French Data Network DNS resolvers nameserver 188.8.131.52 nameserver 184.108.40.206 # resolvconf -u
If your interface is configured statically then you can change your DNS by this manner:
# vim /etc/network/interfaces
Add this section:
iface eth0 inet static address 192.168.1.11 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 220.127.116.11 18.104.22.168
Restart the interface and check:
# ifdown eth0 # ifup eth0 # exit $ nslookup cedricbonhomme.org Server: 22.214.171.124 Address: 126.96.36.199#53
An alternative is to use the NetworkManager.
- bring a special care to the choice of service providers you use. For example if your country is under surveillance (like France), avoid as much as possible services from this country (Orange, SFR, etc.). A good idea is to configure Tor in order to never use an exit node in this country;