aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
Commit message (Collapse)AuthorAge
* Add logic in routerparse to not read overlong private keysNick Mathewson2011-01-10
| | | | | I am not at all sure that it is possible to trigger a bug here, but better safe than sorry.
* Bump copyright statements to 2011Nick Mathewson2011-01-03
|
* testsuite: Prevent the main thread from starving the worker threadsPeter Palfrader2010-04-12
|
* testsuite: Only free the main mutex when and if all the worker threads are donePeter Palfrader2010-04-12
|
* Backport fix for time-goes-forward test. Fix bug 1267Nick Mathewson2010-03-02
|
* Update Tor Project copyright yearsNick Mathewson2010-02-27
|
* Fix compile warnings on Snow LeopardSebastian Hahn2009-09-01
| | | | Big thanks to nickm and arma for helping me with this!
* Fix unit tests that were broken after last fix of #932.Karsten Loesing2009-05-27
| | | | | | | | With the last fix of task 932 (5f03d6c), client requests are only added to the history when they happen after the start of the current history. This conflicts with the unit tests that insert current requests first (defining the start of the client request history) followed by requests in the past. The fix is to insert requests in chronological order in the unit tests.
* Spell-check Tor.Nick Mathewson2009-05-27
|
* Update copyright to 2009.Karsten Loesing2009-05-04
|
* log more verbosely when we accept or decline a router descriptor,Roger Dingledine2009-04-01
| | | | | | | | to help track whether we received them when a relay operator claims they got sent. svn:r19213
* Actually use tor_sscanf() to parse untrusted input.Nick Mathewson2009-03-03
| | | | svn:r18761
* Add a simple locale-independent no-surprises sscanf replacement.Nick Mathewson2009-03-03
| | | | | | | | | | tor_sscanf() only handles %u and %s for now, which will make it adequate to replace sscanf() for date/time/IP parsing. We want this to prevent attackers from constructing weirdly formed descriptors, cells, addresses, HTTP responses, etc, that validate under some locales but not others. svn:r18760
* True, 17 is greater than 0. But this applies to 4111 as well.Karsten Loesing2009-01-13
| | | | svn:r18097
* Fix up (I hope) most ot the things that coverity suddenly claimed were ↵Nick Mathewson2009-01-13
| | | | | | REVERSE_INULL. This is what we get for bragging about being down to 0 issues. svn:r18096
* Do the tor_assert hack everywhere in test_crypto_aes_iv.Nick Mathewson2009-01-13
| | | | svn:r18095
* Another round of downgrading removing or postponing XXXX021 issues. Some ↵Nick Mathewson2009-01-04
| | | | | | remain, though. svn:r17888
* Fix the oldest bug in a while: stop accepting 1.2.3 as a valid IPv4 address ↵Nick Mathewson2009-01-04
| | | | | | on any platform. svn:r17887
* Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson2009-01-04
| | | | | | | | The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
* Refactor tor_addr_compare_masked() so that CMP_SEMANTIC makes more sense, ↵Nick Mathewson2008-12-26
| | | | | | and has decent semantics for maskbits; and so that CMP_EXACT works right for bits==0. svn:r17788
* some fixes i found in my sandboxRoger Dingledine2008-12-25
| | | | svn:r17771
* Remove bogus extern declaration for unused (and nonexistant) field from test.cNick Mathewson2008-12-23
| | | | svn:r17755
* Document most undocumented variables.Nick Mathewson2008-12-23
| | | | svn:r17754
* Make freelist_len in memarea.c static; document a few variables.Nick Mathewson2008-12-22
| | | | svn:r17741
* Expose bench_* functions via test cliNick Mathewson2008-12-22
| | | | svn:r17740
* Add DOCDOC entries for undocumented static and global variables.Nick Mathewson2008-12-22
| | | | svn:r17739
* Fix most DOCDOCs remaining and/or added by redox.Nick Mathewson2008-12-22
| | | | svn:r17734
* Add DOCDOC comments for all undocumented functions. Add missing *s to other ↵Nick Mathewson2008-12-22
| | | | | | comments so that they will get recognized as doxygen. svn:r17729
* Fix all of the doxygen warnings not pertaining to missing documentation.Nick Mathewson2008-12-22
| | | | svn:r17727
* Move in-addr.arpa parsing and generation into address.c, and simplify the ↵Nick Mathewson2008-12-19
| | | | | | code that does it elsewhere. Incidentally, this lets exit servers answer requests for ip6.arpa addresses. svn:r17707
* Replace calls to time(NULL) that occur on the order of once per read, one ↵Nick Mathewson2008-12-18
| | | | | | per write, or once per cell with calls to a function that looks at a cached value of time. This is tricksy to benchmark, since it will only help on systems where time() is a syscall and syscalls are relatively slow. svn:r17690
* whitespace fixes.Nick Mathewson2008-12-18
| | | | svn:r17683
* Make unit tests slower but more reliable by disabling an old optimization.Nick Mathewson2008-12-18
| | | | | | To turn it back on, re-define CACHE_GENERATED_KEYS option in test.c. svn:r17677
* Fix more leaks in unit tests.Nick Mathewson2008-12-18
| | | | svn:r17676
* Fix bug 889: share deep-copied keys between threads to avoid races in ↵Nick Mathewson2008-12-18
| | | | | | reference counts. Bugfix on 0.1.0.1-rc. svn:r17672
* Massage a little code to hopfully please coverity.Nick Mathewson2008-12-18
| | | | svn:r17669
* Make return code from router_add_to_routerlist a nice sensible enum. Based ↵Nick Mathewson2008-12-17
| | | | | | on patch from Sebastian. svn:r17656
* Implement the /tor/keys/fp-sk/ URL format. That mostly finishes the server ↵Nick Mathewson2008-12-12
| | | | | | side of 157. svn:r17611
* Add cross-certification to authority key certificates. Partial ↵Nick Mathewson2008-12-12
| | | | | | implementation of proposal 157. svn:r17610
* Do not discard sign on return values of iv crypto functions in tests. May ↵Nick Mathewson2008-12-11
| | | | | | fix CID 9. Might not. svn:r17603
* Fix two more unit-test bugs (deadcode this time) spotted by Coverity run 7.Nick Mathewson2008-12-11
| | | | | | CIDs == 357, 356. svn:r17599
* Fix error in last unit test mem-leak-fixing.Nick Mathewson2008-12-11
| | | | svn:r17596
* Fix memory leaks in test_util_smartlist_* functions.Nick Mathewson2008-12-11
| | | | svn:r17580
* Fix memory leaks in test_v3_networkstatus.Nick Mathewson2008-12-11
| | | | svn:r17579
* Fix memory leaks in test_dir_formatNick Mathewson2008-12-11
| | | | svn:r17578
* New DirPortFrontPage option that takes an html file and publishes it as "/" ↵Jacob Appelbaum2008-12-07
| | | | | | on the DirPort. Now relay operators can provide a disclaimer without needin to set up a separate webserver. There's a sample disclaimer in contrib/tor-exit-notice.html. svn:r17500
* Fix more leaks in test_util_memarea().Nick Mathewson2008-12-05
| | | | svn:r17491
* Fix a resource leak in test_dir_formats()Nick Mathewson2008-12-05
| | | | svn:r17488
* Split test_util_smartlist into manageable chunks; make them free memory ↵Nick Mathewson2008-12-05
| | | | | | properly. svn:r17487
* Add a few more tests to our tests so that our tests make sense to coverity. ↵Nick Mathewson2008-12-05
| | | | | | CIDs 139, 138, 137. svn:r17486