aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
Commit message (Collapse)AuthorAge
* Make buffers grow and shrink as needed.Nick Mathewson2003-10-14
| | | | svn:r583
* change WARNING to WARNRoger Dingledine2003-10-10
| | | | | | | and fix a few typos svn:r571
* Update LICENSE and copyright dates.Nick Mathewson2003-10-08
| | | | svn:r560
* Make testcases run again; more sanity checking to descriptor generation.Nick Mathewson2003-10-01
| | | | svn:r532
* Refactor common file code into util.c; add published to descriptorsNick Mathewson2003-09-26
| | | | svn:r487
* Refactor buffers; implement descriptors.Nick Mathewson2003-09-25
| | | | | | | | | | | | | | | | | 'buf_t' is now an opaque type defined in buffers.c . Router descriptors now include all keys; routers generate keys as needed on startup (in a newly defined "data directory"), and generate their own descriptors. Descriptors are now self-signed. Implementation is not complete: descriptors are never published; and upon receiving a descriptor, the directory doesn't do anything with it. At least "routers.or" and orkeygen are now obsolete, BTW. svn:r483
* Make crypto structures private to crypto.cNick Mathewson2003-09-10
| | | | svn:r437
* Fix memory leaks in directory parsingNick Mathewson2003-08-28
| | | | svn:r421
* remove last vestiges of op_portRoger Dingledine2003-08-27
| | | | svn:r418
* start honoring the recommended_versions stringRoger Dingledine2003-08-23
| | | | | | | | | your client exits if you're running a version not in the directory's list of acceptable versions (unless you have a config variable set to override). svn:r408
* Attempt to make sockets code work right on windows.Nick Mathewson2003-08-14
| | | | svn:r398
* Start of port to win32. Missing are:Nick Mathewson2003-08-12
| | | | | | | | | | | | | | | | - signal support - forking for DNS farm - changes for async IO - daemonizing In other words, some files still don't build, and the ones that do build, do nonblocking IO incorrectly. I'm also not checking in the project files till I have a good place for them. svn:r380
* Be smarter about getting key matter from DH.Nick Mathewson2003-07-30
| | | | | | | | | | | Formerly, once we had g^xy, we took the last N bytes from g^xy. Now, we take SHA(g^xy || [0]) || SHA1(g^xy || [1]) || ... , in order to use all bits from g^xy equally, and generate as much key material as we need. svn:r370
* Add AES counter-mode support to the crypt libraryNick Mathewson2003-06-30
| | | | svn:r362
* simplify fetch_from_buf; cull idle dnsworkers.Roger Dingledine2003-06-25
| | | | svn:r354
* Remove false warnings from printf checksNick Mathewson2003-06-21
| | | | svn:r340
* Fix a bug where we'd sometimes run off the end of an array whileNick Mathewson2003-06-20
| | | | | | | testing stream encryption. svn:r339
* Make sure crypt_seed_rng succeedsNick Mathewson2003-06-17
| | | | svn:r329
* Dont test handshakes in an infinite loopNick Mathewson2003-06-14
| | | | svn:r324
* Fix the periodic bug that would make handshaking fail.Nick Mathewson2003-06-14
| | | | | | | | The culprit: sometimes DH_calculate_key returns less than DH_KEY_LEN bytes; we needed to check the return value. svn:r322
* Better test messages for onion skin bugNick Mathewson2003-06-13
| | | | svn:r319
* remove on-the-fly compression featureRoger Dingledine2003-06-13
| | | | | | | | | it wasn't working, and it was harder than we'd anticipated not worth it. svn:r316
* implement truncate and truncated (untested)Roger Dingledine2003-06-12
| | | | | | | clean up circuit_deliver_relay_cell convention svn:r312
* add circuit-level sendme relay cellsRoger Dingledine2003-05-20
| | | | | | | | | | remove sendme cells replace malloc with tor_malloc patch (but not track down) bug in onion pending list streamline connection_ap handshake svn:r293
* Routerinfos are no longer linkedNick Mathewson2003-05-09
| | | | svn:r283
* Thats the letter I and the number 2. (Apologies to Negativland)Nick Mathewson2003-05-09
| | | | svn:r279
* Tested backends for directory signing and checking. Directory parser ↵Nick Mathewson2003-05-07
| | | | | | completely refactored. Need documentation and integration. Explanitory mail forthcoming. svn:r271
* Decrease DH group length to 1024. (Roger, you may want to read section 1 of ↵Nick Mathewson2003-05-07
| | | | | | the IETF draft: a 1024-bit DH key probably reduces our cipher strength to ~80 bits.) svn:r269
* More work on directories. Signed directories not yet tested. No support for ↵Nick Mathewson2003-05-07
| | | | | | checking sigs yet svn:r268
* Refactor directories; add unit tests; add router keywordNick Mathewson2003-05-06
| | | | svn:r266
* put some symbolic constants to the onion skin lengthsRoger Dingledine2003-05-06
| | | | svn:r265
* Tests, headers, and debugging for onion skin backendNick Mathewson2003-05-05
| | | | svn:r263
* cpath is now a doubly linked list, not an arrayRoger Dingledine2003-05-01
| | | | svn:r260
* Implement core of onion-skin-based handshakeNick Mathewson2003-05-01
| | | | svn:r259
* Basic diffie-helman wrappers with fixed modulus and testsNick Mathewson2003-05-01
| | | | svn:r257
* 17 does not divide 1024, but it can stomp some interesting pointers and ↵Nick Mathewson2003-04-17
| | | | | | segfault the test suite svn:r244
* further cleanup, test.c still has some bugsRoger Dingledine2003-04-16
| | | | svn:r241
* Tests for crypto; more tests for buffersNick Mathewson2003-04-16
| | | | svn:r234
* divorce circuit building from user connectionsRoger Dingledine2003-04-16
| | | | | | | | now we rebuild the circuit periodically (but only if it's been used), and we can further abstract it to do incremental circuit building, etc. svn:r233
* Introduce a few unit tests (from older code), refactor compression ↵Nick Mathewson2003-04-15
| | | | | | setup/teardown svn:r232
* First test addedNick Mathewson2003-04-07
| | | | svn:r226
* Add magic to end of C files to make emacs happy; split test invocation into ↵Nick Mathewson2003-04-07
separate file. svn:r224