summaryrefslogtreecommitdiff
path: root/src/or/test.c
AgeCommit message (Collapse)Author
2004-03-15make directory format tests quiet againRoger Dingledine
svn:r1287
2004-03-05New, more flexible directory parsing backend. Uses a bit more RAM, but ↵Nick Mathewson
implements the new spec. Uses more RAM, but not so you would notice. svn:r1235
2004-03-01make 'make test' exit(1) if a test fails.Nick Mathewson
svn:r1190
2004-02-29disable buffer tests, until we rewrite them (one of them fails)Roger Dingledine
svn:r1177
2004-01-11oh, and make it compileRoger Dingledine
still need to make a decision about per-connection rate limiting (take it out? update it?) svn:r984
2003-12-17remove trailing whitespaceRoger Dingledine
svn:r951
2003-12-16add H(K|1) to the onionskin replyRoger Dingledine
verify it at the client end abstract the onionskin handshake lengths breaks backward compatibility (again) svn:r941
2003-12-14make --debuglogfile (or any second log file) workRoger Dingledine
svn:r935
2003-12-13clean up some copyrightsRoger Dingledine
svn:r907
2003-12-13revamp circuit node selection to use smartlists:Roger Dingledine
* 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
2003-12-13Add port ranges to exit policiesNick Mathewson
svn:r899
2003-12-08Make router/directory parsing nondestructive and more const-friendlyNick Mathewson
svn:r890
2003-12-05terminology shift:Roger Dingledine
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
2003-11-14Improved exit policy syntax; basic client-side DNS caching.Nick Mathewson
- 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
2003-11-13let getconfig survive repeated calls. now we call it again when we hup.Roger Dingledine
change RecommendedVersions into a config option, so dirservers can hup for a new one svn:r809
2003-11-12lay groundwork for EntryNodes and ExitNodesRoger Dingledine
svn:r805
2003-11-10client now survives going offline betterRoger Dingledine
fix badness in usage() if neither socksport nor orrport is defined, quit obsolete connection_flush_buf() svn:r780
2003-11-10Check in a working cross-platform timegmNick Mathewson
svn:r779
2003-10-21move closer to being able to reload config on HUPRoger Dingledine
rename APPort to SocksPort introduce new tor_free() macro svn:r642
2003-10-21send the end cell when we realize we're going to end,Roger Dingledine
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
2003-10-14Make buffers grow and shrink as needed.Nick Mathewson
svn:r583
2003-10-10change WARNING to WARNRoger Dingledine
and fix a few typos svn:r571
2003-10-08Update LICENSE and copyright dates.Nick Mathewson
svn:r560
2003-10-01Make testcases run again; more sanity checking to descriptor generation.Nick Mathewson
svn:r532
2003-09-26Refactor common file code into util.c; add published to descriptorsNick Mathewson
svn:r487
2003-09-25Refactor buffers; implement descriptors.Nick Mathewson
'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
2003-09-10Make crypto structures private to crypto.cNick Mathewson
svn:r437
2003-08-28Fix memory leaks in directory parsingNick Mathewson
svn:r421
2003-08-27remove last vestiges of op_portRoger Dingledine
svn:r418
2003-08-23start honoring the recommended_versions stringRoger Dingledine
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
2003-08-14Attempt to make sockets code work right on windows.Nick Mathewson
svn:r398
2003-08-12Start of port to win32. Missing are:Nick Mathewson
- 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
2003-07-30Be smarter about getting key matter from DH.Nick Mathewson
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
2003-06-30Add AES counter-mode support to the crypt libraryNick Mathewson
svn:r362
2003-06-25simplify fetch_from_buf; cull idle dnsworkers.Roger Dingledine
svn:r354
2003-06-21Remove false warnings from printf checksNick Mathewson
svn:r340
2003-06-20Fix a bug where we'd sometimes run off the end of an array whileNick Mathewson
testing stream encryption. svn:r339
2003-06-17Make sure crypt_seed_rng succeedsNick Mathewson
svn:r329
2003-06-14Dont test handshakes in an infinite loopNick Mathewson
svn:r324
2003-06-14Fix the periodic bug that would make handshaking fail.Nick Mathewson
The culprit: sometimes DH_calculate_key returns less than DH_KEY_LEN bytes; we needed to check the return value. svn:r322
2003-06-13Better test messages for onion skin bugNick Mathewson
svn:r319
2003-06-13remove on-the-fly compression featureRoger Dingledine
it wasn't working, and it was harder than we'd anticipated not worth it. svn:r316
2003-06-12implement truncate and truncated (untested)Roger Dingledine
clean up circuit_deliver_relay_cell convention svn:r312
2003-05-20add circuit-level sendme relay cellsRoger Dingledine
remove sendme cells replace malloc with tor_malloc patch (but not track down) bug in onion pending list streamline connection_ap handshake svn:r293
2003-05-09Routerinfos are no longer linkedNick Mathewson
svn:r283
2003-05-09Thats the letter I and the number 2. (Apologies to Negativland)Nick Mathewson
svn:r279
2003-05-07Tested backends for directory signing and checking. Directory parser ↵Nick Mathewson
completely refactored. Need documentation and integration. Explanitory mail forthcoming. svn:r271
2003-05-07Decrease DH group length to 1024. (Roger, you may want to read section 1 of ↵Nick Mathewson
the IETF draft: a 1024-bit DH key probably reduces our cipher strength to ~80 bits.) svn:r269
2003-05-07More work on directories. Signed directories not yet tested. No support for ↵Nick Mathewson
checking sigs yet svn:r268
2003-05-06Refactor directories; add unit tests; add router keywordNick Mathewson
svn:r266