Border Check (BC) is a browser extension that illustrates the physical and political realities of the internet's infrastructure using free software tools. https://03c8.net
psy 784cdf9400 moved from https://github.com/epsylon/Border-Check | 6 rokov pred | |
---|---|---|
bin | 6 rokov pred | |
doc | 6 rokov pred | |
web | 6 rokov pred | |
.gitignore | 6 rokov pred | |
LICENSE | 6 rokov pred | |
README.md | 6 rokov pred | |
bc | 6 rokov pred | |
main.py | 6 rokov pred | |
options.py | 6 rokov pred | |
webserver.py | 6 rokov pred | |
xml_exporter.py | 6 rokov pred |
Border Check (BC) is a browser extension that illustrates the physical and political realities of the internet's infrastructure using free software tools.
As one surfs the net, data packets are sent from the user's computer to the target server. These data packets go on a journey hopping from server to server, potentially crossing multiple countries, until the packets reach the desired website. In each of the countries that are passed different laws and practices can apply to the data, influencing whether or not authorities can inspect, store or modify that data.
In realtime BC lets you know which countries you surf through as you browse the web. Additionally BC will illustrate this process on a world map and (where available) provide you with contextualizing information on that country's laws and practices regarding your data.
BC runs on OSx and Unix systems.
Currently supporting the following browsers on OSX and Unix systems: Firefox, Chromium, Chrome, Safari
NOTE: Browser history has to be enabled.
BC v0.2 (2015) provides a "Wizard" installer that makes installing the required libraries and packages for BC easier.
The wizard runs automatically the first time you run BC. It will check if your system has all the dependencies met for BC and if not the wizard will download and install them automagically. During the wizard BC will also install the required maps and databases.
Border Check has the following dependencies:
For Debian-based systems (ex: Ubuntu), first run:
sudo apt-get install python-pip
to install pip, python's super usefull package manager.
If you already have pip: pip install lxml
and pip install pygeoip
On OSX it's recommended you install Homebrew first and use that to get python + pip.
BC uses LFT v3.73 (08/2014) for tracerouting.
On Debian and Ubuntu it needs to be built from source and requires libpcap [sudo apt-get install python-libpcap
]
To make this process more easy, BC (v0.2 2015) provides you a binary with the source. It is called lft.linux
and is on folder bin
.
On OSX you can use Homebrew: brew install lft
which will automatically download and build the package.
We do provide a static compiled binary of lft in the bin directory.
Please consider that this is for convenience only, you are invited to make your own.
BC will automatically unpack the newest geoip databases on the first run.
Javascript mapping libraries are included in the package.
See the included examples for usage.
bc [OPTIONS]
--version show program's version number and exit
-h, --help show this help message and exit
-d, --debug debug mode
-l LFT_PATH path to lft (fetch from source or use provided binary)
--xml=EXPORT_XML export traces to xml (ex: --xml foo.xml)
--load=IMPORT_XML import traces (non root required) (ex: --load bar.xml)
--bh=BROWSER_HISTORY set browser's history path
-b BROWSER set browser type to be used: F = Firefox / C = Chrome / S = Safari / Ch = Chromium / N = None
Normal BC run:
$ python bc
Debug mode:
$ python bc --debug
Export 'tracing' results to xml:
$ python bc --xml "mytravel.xml"
Use Firefox browser:
$ python bc -b F
Use Chromium browser:
$ python bc -b Ch
Set browser's history path manually, on Galeon/Unix:
$ python bc --bh ".galeon/mozilla/galeon/places.sqlite"
Set browser's history path manually, on Chrome/OSx:
$ python bc --bh "Library/Application Support/Google/Chrome/Default/History"
Set browser's history path manually, on Safari/OSx:
$ python bc --bh "Library/Safari/History.plist"
Set browser's history path manually, on Firefox/Unix:
$ python bc --bh "Library/Safari/History.plist"
Import 'traces' from xml:
$ python bc --load "mytravel.xml"
Set lft path to be used by BC traces:
$ python bc -l "/usr/bin/lft"
Border Check is free software, and may be redistributed under [GPL v3].
If you want to contribute to BC development, reporting a bug, providing a patch, commenting on the code base or simply need to find help to run it, please go to:
irc.freenode.net / channel: #BorderCheck
If nobody gets back to you, then drop an e-mail.
To make donations use the following hashes:
- Bitcoin: 1Q63KtiLGzXiYA8XkWFPnWo7nKPWFr3nrc
- Ecoin: ETtSteMWxjY7RKWZGMNSkX7eC3BJ21VYXE
Please report any problems you encounter using/installing Border Check to: