/snoopers-obfuscator

A script to give internet users a little more protection from government surveillance

Primary LanguagePerlMIT LicenseMIT

Snooper's Obfuscator

The UK Government's Investigatory Powers bill proposes that internet service providers should be compelled to keep a record of every website every person in the UK visits.

The Home Secretary Theresa May has said this is "simply the modern equivalent of an itemised phone bill."

It is not. It is so much more.

Security through obscurity

Internet users should have the right to protection against intrusive government surveillance.

This script aims to provide a little security to internet users by:

  1. Obscuring your actual browsing habits by adding a constant 'random surfer' to your home
  2. Place more burdens on the practicality of the legislation by filling up logs with useless information

It does this by constantly requesting random websites from Quantcast's top websites list, or performing a Google search of 1 to 3 random words from the 20k most common google searches.

Install

Install Perl >= 5.10, and these modules:

  • Mojolicious
  • Modern::Perl

The modules can be installed by running bash install.sh on Linux.

Run

To run in the background:

nohup perl obfuscate.pl 2>1 &

The rate of spidering can be scaled. To run five times slower just add "5" as an argument,

nohup perl obfuscate.pl 5 2>1 &

The script runs in an infinite loop but it's possible it could encounter an error and stop, so you may want to write a shell script & cron job to ensure it keeps running like,

while true ; do perl obfuscate.pl 2>1 ; done

Abort

When you run it, the output should be something like

[1] 14194

14914 is the PID of this process.