| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Remove a couple of allow(unused) notations | Nick Mathewson | 2020-10-09 | 2 | -2/+0 | |
| | | ||||||
| * | mark off a TODO item. | Nick Mathewson | 2020-10-09 | 1 | -1/+1 | |
| | | ||||||
| * | Fix a pair of bugs in SENDME handling. | Nick Mathewson | 2020-10-09 | 1 | -13/+10 | |
| | | | | | | | | | | The problem is that we would count begin and end cells towards towards window totals when we are only supposed to count DATA cells, *and* that we would we send our sendmes one cell too early (or maybe late?). Closes #1. | |||||
| * | Move counts_towards_windows() code into circuit module | Nick Mathewson | 2020-10-09 | 6 | -19/+19 | |
| | | ||||||
| * | client-main: Add an option to run a test more than once | Nick Mathewson | 2020-10-09 | 2 | -6/+12 | |
| | | ||||||
| * | add point estimates to TODO | Nick Mathewson | 2020-10-09 | 1 | -37/+45 | |
| | | ||||||
| * | check off the deadlock in the todo. | Nick Mathewson | 2020-10-09 | 1 | -1/+1 | |
| | | ||||||
| * | Split information about circuit hops into inbound and outbound. | Nick Mathewson | 2020-10-09 | 2 | -61/+172 | |
| | | | | | | | | | | | | | | | | | | | Previously the circuit object owned not only the outbound crypto, but also the inbound crypto and the stream maps. That's not so great, since the reactor needs to use the inbound crypto and the stream maps all the time, whereas the circuit doesn't need them much (or at all). Moving these objects to the reactor-owned structure should let us fix the deadlock case in stream sendme handling, since the circuit reactor no longer needs to lock the circuit in order to do crypto and demultiplexing. It should also speed up the code a bit, since it doesn't need to grab the circuit lock nearly so often as before. This change forced me to add a couple of new reactor CtrlMsg values, since the circuit can no longer add streams and layers directly. I think it will still be a performance win, though. | |||||
| * | Split client relay crypto into separate directions | Nick Mathewson | 2020-10-09 | 3 | -77/+179 | |
| | | | | | | I think we should have the reactor task own the reverse crypto and the circuit own the forward crypto. | |||||
| * | client-demo:Be louder on reactor failure. | Nick Mathewson | 2020-10-09 | 1 | -1/+4 | |
| | | ||||||
| * | Fix counting rules for circuit-level sendmes. | Nick Mathewson | 2020-10-09 | 1 | -4/+4 | |
| | | ||||||
| * | Logic error: negate test for sendme cells in counts_towards_windows | Nick Mathewson | 2020-10-09 | 1 | -1/+1 | |
| | | ||||||
| * | Expose --flood and --dl switches on client-demo | Nick Mathewson | 2020-10-09 | 1 | -4/+22 | |
| | | | | | These are for testing sendmes. | |||||
| * | Add routerdesc examples | Nick Mathewson | 2020-10-07 | 7 | -0/+343 | |
| | | ||||||
| * | netdoc: more tests for routerdesc parsing | Nick Mathewson | 2020-10-07 | 2 | -5/+107 | |
| | | ||||||
| * | A few more tests in tor-netdoc | Nick Mathewson | 2020-10-07 | 2 | -3/+90 | |
| | | ||||||
| * | netdoc: test for signature/key checking func | Nick Mathewson | 2020-10-07 | 1 | -0/+11 | |
| | | ||||||
| * | mdconsensus: add tests for a few accessors | Nick Mathewson | 2020-10-06 | 1 | -3/+26 | |
| | | ||||||
| * | tests for some failing cases in mdconsensus | Nick Mathewson | 2020-10-06 | 12 | -7/+781 | |
| | | ||||||
| * | Tokenize: report accurate positions for more parsing errors | Nick Mathewson | 2020-10-02 | 1 | -2/+18 | |
| | | ||||||
| * | microdesc parsing: tests for bad microdescs | Nick Mathewson | 2020-10-02 | 3 | -0/+66 | |
| | | ||||||
| * | tests and fixes for md content parsing | Nick Mathewson | 2020-10-02 | 2 | -11/+46 | |
| | | ||||||
| * | Make rsa::PublicKey derive Debug. | Nick Mathewson | 2020-10-02 | 1 | -1/+1 | |
| | | ||||||
| * | Remove an unwrap() from tor-cert. | Nick Mathewson | 2020-10-02 | 1 | -6/+6 | |
| | | ||||||
| * | Use batch verification in client<->relay handshake. | Nick Mathewson | 2020-10-02 | 2 | -7/+20 | |
| | | ||||||
| * | Enable batch ed25519 verification. | Nick Mathewson | 2020-10-02 | 4 | -3/+62 | |
| | | ||||||
| * | netdoc: remove some outdated/unused stuff. | Nick Mathewson | 2020-10-02 | 2 | -12/+6 | |
| | | ||||||
| * | authcert: test error recovery. | Nick Mathewson | 2020-10-02 | 1 | -10/+36 | |
| | | ||||||
| * | Netdoc: use a more bulletproof pattern to prevent infinite loops | Nick Mathewson | 2020-10-02 | 5 | -15/+84 | |
| | | | | | | | | | | | | | | | | | Previously our "read a bunch of this kind of document" functions had a common problem, where they could get into an infinite loop if the underlying "read this kind of document" function failed without consuming any tokens. I _think_ that this error case was unreachable (or else fuzzing would have found it, right?), but proving that it was unreachable was a bit fiddly, and I couldn't follow my own arguments about it. Instead, we just store the position of the reader before we start reading, and make sure that it has consumed at least some data. If it hasn't, then we consume and drop a token before advancing to the next document. | |||||
| * | authcert: add tests for several ways certs can fail. | Nick Mathewson | 2020-10-02 | 6 | -1/+263 | |
| | | ||||||
| * | authcert: fix an error, and detect mismatched fingerprints | Nick Mathewson | 2020-10-02 | 1 | -4/+14 | |
| | | ||||||
| * | netdoc: rename BadVersion to BadTorVersion for clarity | Nick Mathewson | 2020-10-01 | 2 | -7/+7 | |
| | | ||||||
| * | improve errors in authcert.rs | Nick Mathewson | 2020-10-01 | 2 | -12/+30 | |
| | | ||||||
| * | Remove redundant signature check in authcert parsing. | Nick Mathewson | 2020-09-30 | 1 | -4/+0 | |
| | | ||||||
| * | More tests on parsing, plus remove dead code. | Nick Mathewson | 2020-09-30 | 2 | -20/+56 | |
| | | ||||||
| * | Start on some parser backend tests | Nick Mathewson | 2020-09-30 | 1 | -0/+77 | |
| | | ||||||
| * | tokenize: accept base64 with funny linewraps. | Nick Mathewson | 2020-09-30 | 1 | -3/+3 | |
| | | ||||||
| * | README edits | Nick Mathewson | 2020-09-30 | 1 | -10/+19 | |
| | | ||||||
| * | More tests for tokenize.rs, with some bugfixes | Nick Mathewson | 2020-09-30 | 2 | -47/+192 | |
| | | ||||||
| * | Start on some tests for parse::tokenize.rs | Nick Mathewson | 2020-09-29 | 4 | -4/+60 | |
| | | ||||||
| * | Add tests for macros module in tor-netdoc. | Nick Mathewson | 2020-09-29 | 1 | -4/+57 | |
| | | | | | Also improve output for multi-keyword tokens. | |||||
| * | cargo upgrade | Nick Mathewson | 2020-09-29 | 2 | -3/+3 | |
| | | ||||||
| * | Throw a rudimentary CLI onto client-demo. | Nick Mathewson | 2020-09-29 | 2 | -14/+37 | |
| | | ||||||
| * | Tests and minor debugging in tor_netdoc::types::policy | Nick Mathewson | 2020-09-29 | 4 | -23/+250 | |
| | | ||||||
| * | More tests for tor_netdoc::types | Nick Mathewson | 2020-09-29 | 4 | -4/+264 | |
| | | ||||||
| * | Move around the modules inside tor-netdoc. | Nick Mathewson | 2020-09-29 | 26 | -350/+353 | |
| | | | | | | This change just gives them a more logical breakdown into parsing, documents, and misc other types. | |||||
| * | Move RelayCell into a more reasonable place. | Nick Mathewson | 2020-09-29 | 6 | -116/+118 | |
| | | ||||||
| * | Remove idmap as needlessly complex. | Nick Mathewson | 2020-09-29 | 4 | -52/+39 | |
| | | ||||||
| * | make it work on rust 1.45 | Nick Mathewson | 2020-09-28 | 1 | -1/+1 | |
| | | ||||||
| * | test vectors for cell crypto. | Nick Mathewson | 2020-09-28 | 3 | -3/+61 | |
| | | ||||||
