aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
Commit message (Collapse)AuthorAge
* Implement several 008pre1 items: needs more testingNick Mathewson2004-06-21
| | | | svn:r1981
* Use intptr_t correctly in test.c; try to resolve ia64 warningsNick Mathewson2004-06-08
| | | | svn:r1963
* Check recommended-software string *early*, before actually parsing the ↵Nick Mathewson2004-06-01
| | | | | | directory. svn:r1930
* Not every RSA decrypt should warn on failure.Nick Mathewson2004-05-12
| | | | svn:r1853
* Split directory/router parsing functionality into separate file from ↵Nick Mathewson2004-05-10
| | | | | | routerlist.c svn:r1846
* Use intptr_t when playing with void*sNick Mathewson2004-05-05
| | | | svn:r1795
* Fix compilation warnings on 64-bit platformsNick Mathewson2004-05-05
| | | | svn:r1793
* patches on patchesRoger Dingledine2004-05-02
| | | | svn:r1763
* Documenmt buffers.c; remove function that nobody ever calls.Nick Mathewson2004-05-01
| | | | svn:r1760
* Handle windows socket errors correctly; comment most of common.Nick Mathewson2004-05-01
| | | | svn:r1756
* Remove IVs from cipher code, since AES-ctr has none.Nick Mathewson2004-04-28
| | | | svn:r1742
* Refactor crypto error handling to be more like TLS error handling:Nick Mathewson2004-04-26
| | | | | | | | | | | | | crypto_perror is a no-no, since an operation can set more than one error. Also, fix a bug in the unix crypto_seed_rng: mixing stdio with /dev/urandom is a bad idea, since fopen can make all kinds of weird extraneous syscalls (mmap, fcntl, stat64, etc.) and since fread tends to buffer data in big chunks, thus depleting the entropy pool. svn:r1717
* use tor_assertRoger Dingledine2004-04-25
| | | | | | | remove obsolete BUF_OK macro svn:r1697
* Merge flagday into main branch.Nick Mathewson2004-04-24
| | | | svn:r1683
* Never ever leave ri.platform unset.Nick Mathewson2004-04-14
| | | | svn:r1624
* remove a stray printfNick Mathewson2004-04-08
| | | | svn:r1575
* Fix base32 implementation; make base32 implementation follow standard; add ↵Nick Mathewson2004-04-08
| | | | | | more tests for base32 svn:r1574
* Fix unit tests (now that platform code works differently)Nick Mathewson2004-04-08
| | | | svn:r1573
* Delete trailing whitespace and expand tabs; remove unused aes decrypt codeNick Mathewson2004-04-07
| | | | svn:r1522
* Put ourself in router list; act accordingly.Nick Mathewson2004-04-07
| | | | svn:r1521
* Force hybrid encryption on for key negotiationNick Mathewson2004-04-06
| | | | svn:r1509
* 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