aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
Commit message (Collapse)AuthorAge
* Refactor the heck out of crypto interface: admit that we will stick with one ↵Nick Mathewson2004-04-03
| | | | | | ciphersuite at a time, make const things const, and stop putting openssl in the headers. svn:r1458
* alice can intercept y.onion requests, do a lookup on them via tor,Roger Dingledine2004-04-03
| | | | | | | and receive a 404 svn:r1455
* Add new functions to wrap digest and sign/checksig.Nick Mathewson2004-04-01
| | | | svn:r1436
* Add helpful hybrid encryption functionsNick Mathewson2004-04-01
| | | | svn:r1423
* Parse and generate service descriptorsNick Mathewson2004-03-31
| | | | svn:r1403
* Add more key manipulation functions, and base32 functions, to cryptoNick Mathewson2004-03-30
| | | | svn:r1395
* clean up a few more bugsRoger Dingledine2004-03-29
| | | | svn:r1365
* Re-enable unit tests for directory generation.Nick Mathewson2004-03-29
| | | | svn:r1362
* there is yet another dns-pending-conn-clobbering bugRoger Dingledine2004-03-28
| | | | | | | somewhere svn:r1354
* Use strmap code for client DNS.Nick Mathewson2004-03-20
| | | | svn:r1309
* Add some wrappers around SPLAY_* for the common map-from-string-to-X case.Nick Mathewson2004-03-19
| | | | | | | | It will probably be less blindingly fast than using SPLAY_* directly, but only slightly so. svn:r1306
* make directory format tests quiet againRoger Dingledine2004-03-15
| | | | svn:r1287
* New, more flexible directory parsing backend. Uses a bit more RAM, but ↵Nick Mathewson2004-03-05
| | | | | | implements the new spec. Uses more RAM, but not so you would notice. svn:r1235
* make 'make test' exit(1) if a test fails.Nick Mathewson2004-03-01
| | | | svn:r1190
* disable buffer tests, until we rewrite them (one of them fails)Roger Dingledine2004-02-29
| | | | svn:r1177
* oh, and make it compileRoger Dingledine2004-01-11
| | | | | | | | still need to make a decision about per-connection rate limiting (take it out? update it?) svn:r984
* remove trailing whitespaceRoger Dingledine2003-12-17
| | | | svn:r951
* add H(K|1) to the onionskin replyRoger Dingledine2003-12-16
| | | | | | | | | | verify it at the client end abstract the onionskin handshake lengths breaks backward compatibility (again) svn:r941
* make --debuglogfile (or any second log file) workRoger Dingledine2003-12-14
| | | | svn:r935
* clean up some copyrightsRoger Dingledine2003-12-13
| | | | svn:r907
* revamp circuit node selection to use smartlists:Roger Dingledine2003-12-13
| | | | | | | | | * now we know for sure if an acceptable node is available; we don't have to keep guessing and checking * we try options.EntryNodes first for picking the first node svn:r904
* Add port ranges to exit policiesNick Mathewson2003-12-13
| | | | svn:r899
* Make router/directory parsing nondestructive and more const-friendlyNick Mathewson2003-12-08
| | | | svn:r890
* terminology shift:Roger Dingledine2003-12-05
| | | | | | | | | | | | | directory is the string that dirserv.c and directory.c deal with routerlist is routerinfo's that are bundled together in routers.c rename some of the get_routerlist functions to set_routerlist preparing to break into router.c for stuff the router does, and routerlist.c for handling routerlist. svn:r886
* Improved exit policy syntax; basic client-side DNS caching.Nick Mathewson2003-11-14
| | | | | | | | | | | | | | | | | | | | - Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and bitcounts 18.0.0.0/8. Policies are parsed on startup, not when comparing to them. - desired_path_len is now part of an opaque cpath_build_state_t structure. - END_REASON_EXITPOLICY cells no longer include a port. - RELAY_COMMAND_CONNECTED cells now include the IP address we've connected to. - connection_edge now has a client_dns cache to remember resolved addresses. It gets populated by RELAY_COMMAND_CONNECTED cells and END_REASON_EXITPOLICY cells. It gets used by connection_ap_handshake_send_begin. We don't compare it to exit policies yet. svn:r812
* let getconfig survive repeated calls. now we call it again when we hup.Roger Dingledine2003-11-13
| | | | | | | | change RecommendedVersions into a config option, so dirservers can hup for a new one svn:r809
* lay groundwork for EntryNodes and ExitNodesRoger Dingledine2003-11-12
| | | | svn:r805
* client now survives going offline betterRoger Dingledine2003-11-10
| | | | | | | | | fix badness in usage() if neither socksport nor orrport is defined, quit obsolete connection_flush_buf() svn:r780
* Check in a working cross-platform timegmNick Mathewson2003-11-10
| | | | svn:r779
* move closer to being able to reload config on HUPRoger Dingledine2003-10-21
| | | | | | | | rename APPort to SocksPort introduce new tor_free() macro svn:r642
* send the end cell when we realize we're going to end,Roger Dingledine2003-10-21
| | | | | | | | | | | | | | | not when we're closing the stream. this lets us put a payload in the end cell if we want to, to describe why we're closing the stream. there are still some places where we don't send the end cell immediately. i need to track them down. but it's a low priority, since i've made it send the end cell when we close the stream if we haven't already sent it. svn:r640
* 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