README 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Border Check v0.2 - 2015
  2. ========================
  3. Border Check (BC) is a browser extension that illustrates the physical and political realities of the internet's infrastructure using free software tools.
  4. 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.
  5. 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.
  6. Currently supporting the following browsers on OSX and Unix systems: Firefox, Chromium, Chrome, Safari
  7. NOTE: Browser history has to be enabled.
  8. See the included examples for usage.
  9. ```
  10. bc [OPTIONS]
  11. --version show program's version number and exit
  12. -h, --help show this help message and exit
  13. -d, --debug debug mode
  14. -l LFT_PATH path to lft (fetch from source or use provided binary)
  15. --xml=EXPORT_XML export traces to xml (ex: --xml foo.xml)
  16. --load=IMPORT_XML import traces (non root required) (ex: --load bar.xml)
  17. --bh=BROWSER_HISTORY set browser's history path
  18. -b BROWSER set browser type to be used: F = Firefox / C = Chrome / S = Safari / Ch = Chromium / N = None
  19. ```
  20. #### Examples of usage:
  21. Normal BC run:
  22. `$ python bc`
  23. Debug mode:
  24. `$ python bc --debug`
  25. Export 'tracing' results to xml:
  26. `$ python bc --xml "mytravel.xml"`
  27. #### More options (set browsers, paths, etc):
  28. Use Firefox browser:
  29. `$ python bc -b F`
  30. Use Chromium browser:
  31. `$ python bc -b Ch`
  32. Set browser's history path manually, on Galeon/Unix:
  33. `$ python bc --bh ".galeon/mozilla/galeon/places.sqlite"`
  34. Set browser's history path manually, on Chrome/OSx:
  35. `$ python bc --bh "Library/Application Support/Google/Chrome/Default/History"`
  36. Set browser's history path manually, on Safari/OSx:
  37. `$ python bc --bh "Library/Safari/History.plist"`
  38. Set browser's history path manually, on Firefox/Unix:
  39. `$ python bc --bh "Library/Safari/History.plist"`
  40. Import 'traces' from xml:
  41. `$ python bc --load "mytravel.xml"`
  42. Set lft path to be used by BC traces:
  43. `$ python bc -l "/usr/bin/lft"`
  44. ### Contribute:
  45. If you want to contribute to BC development, reporting a bug, providing a patch, commenting
  46. on the code base or simply need to find help to run it, please go to:
  47. irc.freenode.net / channel: #BorderCheck
  48. If nobody gets back to you, then drop an e-mail:
  49. - Roel Roscam Abbing (rscmbbng@riseup.net)
  50. - psy (epsylon@riseup.net)
  51. To make donations use the following hashes:
  52. - Bitcoin: 1Q63KtiLGzXiYA8XkWFPnWo7nKPWFr3nrc
  53. - Ecoin: ETtSteMWxjY7RKWZGMNSkX7eC3BJ21VYXE