Giter Site home page Giter Site logo

check's Introduction

Build Status

A new check.torproject.org, hopefully

Check could really use some love. Any volunteers please?
--Roger

https://lists.torproject.org/pipermail/tor-talk/2013-August/029306.html

Documentation

See /docs for an idea of what's going on here.

Development

Generating the exit list requires stem, Tor's python controller library. Assuming you have a virtualenv ready, just:

pip install -r requirements.txt

For the server itself, you'll need go and gettext. Installing that might look like:

apt-get install golang gettext
go get github.com/samuel/go-gettext/gettext

Then you can run make and wait for git and rsync to fetch all the data and launch the server.

Please run the tests before sending a pull request:

make test

Production

The data that make start pulls in will quickly become stale. What you want to do is run a tor instance with the following configurations in your torrc:

FetchDirInfoEarly 1
FetchDirInfoExtraEarly 1
FetchUselessDescriptors 1
UseMicrodescriptors 0
DownloadExtraInfo 1

Then setup a cron job to run a script like scripts/cpexits.sh every hour. Setting up TorDNSEL to get the exit addresses is beyond the scope of this readme.

Capacity planning

54.7 requests/sec - 47.0 kB/second - 879 B/request
487 requests currently being processed, 63 idle workers
that's check right now (43 million hits over the past 9 days)

License

MIT

check's People

Contributors

arlolra avatar mccajm avatar ryman avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.