Giter Site home page Giter Site logo

check's People

Contributors

amoghbl1 avatar arlolra avatar irl avatar mccajm avatar ryman avatar sysrqb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

check's Issues

Project requires exit-data or retrieval information

check won't run unless there is data/exit-policies available
exitips won't run unless there public/exit-addresses is available so it won't generate a new exit-policy listing

I suggest either including these files back into the repo for testing or adding instructions to the readme on how to get either one of these files easily.

Translations

Transifex seems to have many more check translations than are listed on https://check2.torproject.org/

It would be good to get that updated and generate a new .pot file that contains the missing strings (ex. "This page is also available in the following languages").

What to do about false positives that are found?

Perhaps add a wiki page to list false positives at specific times to see if we can track down causes?

I just exited from 199.48.147.41 @ 00.34 GMT+1 27/09/2013 and got a 'You're not connected to Tor' message but I've verified I can connect to onions and such, so I'm pretty sure it's wrong. This is likely due to missing an ip from TorDNSEL but I can't check it right this moment so I'm leaving it here to investigate later! Which reminds me, we should probably add investigation instructions to the docs?

I guess this is really a false negative. Regular check.tpo gets it right.

Extending B) from https://trac.torproject.org/projects/tor/ticket/9204

(Just creating an issue to track this here)

"For users who want to consider all relays in the past n hours, this script should be
able to handle reading multiple consensus files (ideally just by concatenating them
before they go in)."

Tordnsel disregards things not seen in 48hours according to the exit-list format spec. If the user wants to check n > 48, then do we also need to handle that?

Thinking about this, I've noticed that quite a few addresses are not listed in the exitlists file, if you edit exitips.py@line25 you can see also.

if router.fingerprint in exits:
    if r.Address == exits[router.fingerprint]:
        print "Already have correct IP %s" % r.Address
    else:
        print "OK %s" % r.Address
    r.Address = exits[router.fingerprint]
else:
    print "Not found in exits: %s" % r.Address

I'm not sure exactly what this means for check, the consensus is meant to be relays thought to be running at a given time? Is Tordnsel slacking?

gzip vs no gzip

What kind of infrastructure will check run on? If the server has a weak CPU, gzip should be disabled. If there's free capacity though, I'll send a pull request for the code.

Here's some initial stats for a linode 1024 at a concurrency of 400 (as required), without making any attempts to improve performance. The key thing here is the document length from the end-user point of view.

Testing was done over a 12MB/s link at a latency of 100ms.

Without gzip:(cpu: 350%, mem: 120MB on an 8 core VM)
Document Path: /
Document Length: 2739 bytes

Concurrency Level: 400
Time taken for tests: 6.633 seconds
Total transferred: 45664000 bytes
HTML transferred: 43824000 bytes
Requests per second: 2412.24 #/sec
Time per request: 165.821 ms
Transfer rate: 6723.18 [Kbytes/sec] received

With gzip: (cpu: 450%, mem: 100MB on an 8 core VM)
Document Path: /
Document Length: 1027 bytes

Concurrency Level: 400
Time taken for tests: 8.415 seconds
Total transferred: 19008000 bytes
HTML transferred: 16432000 bytes
Requests per second: 1901.29 #/sec
Time per request: 210.383 ms
Time per request: 0.526 [ms](mean, across all concurrent requests)
Transfer rate: 2205.80 [Kbytes/sec] received

Tests

Should be possible to add tests against the datastore and exitips script.

"This browser"

Use the wording "This browser" instead of "Your browser". Mentioned in #tor-dev.

velope: please, please, can we at least get one basic wording fix done -- "This browser"
velope: yes. this point was made quite a while ago, based on observing new users
velope: "your browser" is the one they already have and know how to use, and running TBB does not make that one safe

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.